Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/lights/
DLightsManager.java35 public abstract LogicalLight getLight(int id); in getLight() method in LightsManager
DLightsService.java499 public LogicalLight getLight(int lightType) {
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java363 assertNull(record.getLight()); in testLights_preUpgrade_noLight()
373 assertEquals(CUSTOM_LIGHT, record.getLight()); in testLights_preUpgrade()
385 assertNotEquals(CUSTOM_LIGHT, record.getLight()); in testLights_locked_preUpgrade()
403 assertEquals(expected, record.getLight()); in testLights_upgrade_defaultLights()
419 assertEquals(expected, record.getLight()); in testLights_upgrade()
428 assertNull(record.getLight()); in testLights_upgrade_noLight()
DNotificationManagerServiceTest.java355 when(mockLightsManager.getLight(anyInt())).thenReturn(mock(LogicalLight.class)); in setUp()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java428 proto.write(NotificationRecordProto.CAN_SHOW_LIGHT, getLight() != null); in dump()
991 public Light getLight() { in getLight() method in NotificationRecord
DNotificationManagerService.java1738 mNotificationLight = lightsManager.getLight(LightsManager.LIGHT_ID_NOTIFICATIONS); in init()
1739 mAttentionLight = lightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION); in init()
6044 if (record.getLight() == null) {
7179 NotificationRecord.Light light = ledNotification.getLight();
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java200 mBacklight = lights.getLight(LightsManager.LIGHT_ID_BACKLIGHT); in LocalDisplayDevice()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1086 mBatteryLight = lights.getLight(LightsManager.LIGHT_ID_BATTERY); in Led()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java861 mAttentionLight = mLightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION); in systemReady()
/frameworks/base/services/
Dart-profile7832 HSPLcom/android/server/lights/LightsService$1;->getLight(I)Lcom/android/server/lights/Light;