Searched refs:getLight (Results 1 – 10 of 10) sorted by relevance
346 assertNull(record.getLight()); in testLights_preUpgrade_noLight()356 assertEquals(CUSTOM_LIGHT, record.getLight()); in testLights_preUpgrade()368 assertFalse(CUSTOM_LIGHT.equals(record.getLight())); in testLights_locked_preUpgrade()386 assertEquals(expected, record.getLight()); in testLights_upgrade_defaultLights()402 assertEquals(expected, record.getLight()); in testLights_upgrade()411 assertNull(record.getLight()); in testLights_upgrade_noLight()
184 when(mockLightsManager.getLight(anyInt())).thenReturn(mock(Light.class)); in setUp()
32 public abstract Light getLight(int id); in getLight() method in LightsManager
198 public Light getLight(int id) {
365 proto.write(NotificationRecordProto.CAN_SHOW_LIGHT, getLight() != null); in dump()854 public Light getLight() { in getLight() method in NotificationRecord
1287 mNotificationLight = lightsManager.getLight(LightsManager.LIGHT_ID_NOTIFICATIONS); in init()1288 mAttentionLight = lightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION); in init()4106 if (record.getLight() != null && aboveThreshold5040 NotificationRecord.Light light = ledNotification.getLight();
186 mBacklight = lights.getLight(LightsManager.LIGHT_ID_BACKLIGHT); in LocalDisplayDevice()
891 mBatteryLight = lights.getLight(LightsManager.LIGHT_ID_BATTERY); in Led()
749 mAttentionLight = mLightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION); in systemReady()
5381 HSPLcom/android/server/lights/LightsManager;->getLight(I)Lcom/android/server/lights/Light;11883 PLcom/android/server/notification/NotificationRecord;->getLight()Lcom/android/server/notification/N…16751 SPLcom/android/server/lights/LightsService$1;->getLight(I)Lcom/android/server/lights/Light;