Searched refs:getLight (Results 1 – 10 of 10) sorted by relevance
35 public abstract LogicalLight getLight(int id); in getLight() method in LightsManager
499 public LogicalLight getLight(int lightType) {
363 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()
355 when(mockLightsManager.getLight(anyInt())).thenReturn(mock(LogicalLight.class)); in setUp()
428 proto.write(NotificationRecordProto.CAN_SHOW_LIGHT, getLight() != null); in dump()991 public Light getLight() { in getLight() method in NotificationRecord
1738 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();
200 mBacklight = lights.getLight(LightsManager.LIGHT_ID_BACKLIGHT); in LocalDisplayDevice()
1086 mBatteryLight = lights.getLight(LightsManager.LIGHT_ID_BATTERY); in Led()
861 mAttentionLight = mLightsManager.getLight(LightsManager.LIGHT_ID_ATTENTION); in systemReady()
7832 HSPLcom/android/server/lights/LightsService$1;->getLight(I)Lcom/android/server/lights/Light;