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.java112 assertThat(manager.getLightState(manager.getLights().get(0)).getColor()).isEqualTo(0xf1); in testControlMultipleLights()
113 assertThat(manager.getLightState(manager.getLights().get(1)).getColor()).isEqualTo(0xf2); in testControlMultipleLights()
114 assertThat(manager.getLightState(manager.getLights().get(2)).getColor()).isEqualTo(0xf3); in testControlMultipleLights()
117 assertThat(manager.getLightState(manager.getLights().get(3)).getColor()).isEqualTo(0x00); in testControlMultipleLights()
127 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(0x00000000); in testControlLights_onlyEffectiveForLifetimeOfClient()
133 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(0xff00ff00); in testControlLights_onlyEffectiveForLifetimeOfClient()
138 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(0x00000000); in testControlLights_onlyEffectiveForLifetimeOfClient()
154 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(0xff0000ff); in testControlLights_firstCallerWinsContention()
159 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(0xffffffff); in testControlLights_firstCallerWinsContention()
164 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.java134 public @Nullable LightState getLightState(int lightId) { in getLightState() method in LightsService.LightsManagerBinderService
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java1923 while (mDeviceIdleController.getLightState() != lightState) { in enterLightState()
1931 lightStateToString(mDeviceIdleController.getLightState())); in enterLightState()
2065 int curLightState = mDeviceIdleController.getLightState(); in verifyLightStateConditions()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java2968 int getLightState() { in getLightState() method in DeviceIdleController
/frameworks/base/api/
Dtest-current.txt1010 …sion.CONTROL_DEVICE_LIGHTS) public android.hardware.lights.LightState getLightState(@NonNull andro…