Searched refs:getLight (Results 1 – 10 of 10) sorted by relevance
37 public abstract LogicalLight getLight(int id); in getLight() method in LightsManager
515 public LogicalLight getLight(int lightType) {
427 assertNull(record.getLight()); in testLights_preUpgrade_noLight()437 assertEquals(CUSTOM_LIGHT, record.getLight()); in testLights_preUpgrade()449 assertNotEquals(CUSTOM_LIGHT, record.getLight()); in testLights_locked_preUpgrade()467 assertEquals(expected, record.getLight()); in testLights_upgrade_defaultLights()483 assertEquals(expected, record.getLight()); in testLights_upgrade()492 assertNull(record.getLight()); in testLights_upgrade_noLight()
527 when(mockLightsManager.getLight(anyInt())).thenReturn(mock(LogicalLight.class)); in setUp()
455 proto.write(NotificationRecordProto.CAN_SHOW_LIGHT, getLight() != null); in dump()1161 public Light getLight() { in getLight() method in NotificationRecord
2374 mNotificationLight = lightsManager.getLight(LightsManager.LIGHT_ID_NOTIFICATIONS); in init()2375 mAttentionLight = lightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION); in init()8479 if (record.getLight() == null) {9871 NotificationRecord.Light light = ledNotification.getLight();
880 .getLight(LightsManager.LIGHT_ID_BACKLIGHT); in testBacklightAdapter_withoutSourceControlSupport_defaultDisplay()893 .getLight(LightsManager.LIGHT_ID_BACKLIGHT); in testBacklightAdapter_withoutSourceControlSupport_nonDefaultDisplay()
1539 mBacklight = lights.getLight(LightsManager.LIGHT_ID_BACKLIGHT);
1246 mBatteryLight = lights.getLight(LightsManager.LIGHT_ID_BATTERY); in Led()
1358 mAttentionLight = mLightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION);