Home
last modified time | relevance | path

Searched refs:getLight (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationRecordTest.java346 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()
DNotificationManagerServiceTest.java184 when(mockLightsManager.getLight(anyInt())).thenReturn(mock(Light.class)); in setUp()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsManager.java32 public abstract Light getLight(int id); in getLight() method in LightsManager
DLightsService.java198 public Light getLight(int id) {
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java365 proto.write(NotificationRecordProto.CAN_SHOW_LIGHT, getLight() != null); in dump()
854 public Light getLight() { in getLight() method in NotificationRecord
DNotificationManagerService.java1287 mNotificationLight = lightsManager.getLight(LightsManager.LIGHT_ID_NOTIFICATIONS); in init()
1288 mAttentionLight = lightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION); in init()
4106 if (record.getLight() != null && aboveThreshold
5040 NotificationRecord.Light light = ledNotification.getLight();
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java186 mBacklight = lights.getLight(LightsManager.LIGHT_ID_BACKLIGHT); in LocalDisplayDevice()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java891 mBatteryLight = lights.getLight(LightsManager.LIGHT_ID_BATTERY); in Led()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java749 mAttentionLight = mLightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION); in systemReady()
/frameworks/base/services/
Dart-profile5381 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;