Home
last modified time | relevance | path

Searched refs:getLightState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/lights/
DLightsServiceTest.java116 assertThat(manager.getLightState(manager.getLights().get(0)).getColor()).isEqualTo(0xf1); in testControlMultipleLights()
117 assertThat(manager.getLightState(manager.getLights().get(1)).getColor()).isEqualTo(0xf2); in testControlMultipleLights()
118 assertThat(manager.getLightState(manager.getLights().get(2)).getColor()).isEqualTo(0xf3); in testControlMultipleLights()
121 assertThat(manager.getLightState(manager.getLights().get(3)).getColor()).isEqualTo(0x00); in testControlMultipleLights()
131 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(TRANSPARENT); in testControlLights_onlyEffectiveForLifetimeOfClient()
137 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(GREEN); in testControlLights_onlyEffectiveForLifetimeOfClient()
142 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(TRANSPARENT); in testControlLights_onlyEffectiveForLifetimeOfClient()
158 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(BLUE); in testControlLights_firstCallerWinsContention()
163 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(WHITE); in testControlLights_firstCallerWinsContention()
168 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(0); in testControlLights_firstCallerWinsContention()
[all …]
/frameworks/base/core/java/android/hardware/lights/
DLightsManager.java112 public @NonNull LightState getLightState(@NonNull Light light) { in getLightState() method in LightsManager
115 return mService.getLightState(light.getId()); in getLightState()
DILightsManager.aidl29 LightState getLightState(int lightId); in getLightState() method
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java141 public @Nullable LightState getLightState(int lightId) { in getLightState() method in LightsService.LightsManagerBinderService
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java2037 while (mDeviceIdleController.getLightState() != lightState) { in enterLightState()
2045 lightStateToString(mDeviceIdleController.getLightState())); in enterLightState()
2179 int curLightState = mDeviceIdleController.getLightState(); in verifyLightStateConditions()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2999 int getLightState() { in getLightState() method in DeviceIdleController
/frameworks/base/api/
Dtest-current.txt1447 …sion.CONTROL_DEVICE_LIGHTS) public android.hardware.lights.LightState getLightState(@NonNull andro…