Searched refs:getLightState (Results 1 – 7 of 7) sorted by relevance
112 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 …]
112 public @NonNull LightState getLightState(@NonNull Light light) { in getLightState() method in LightsManager115 return mService.getLightState(light.getId()); in getLightState()
29 LightState getLightState(int lightId); in getLightState() method
134 public @Nullable LightState getLightState(int lightId) { in getLightState() method in LightsService.LightsManagerBinderService
1923 while (mDeviceIdleController.getLightState() != lightState) { in enterLightState()1931 lightStateToString(mDeviceIdleController.getLightState())); in enterLightState()2065 int curLightState = mDeviceIdleController.getLightState(); in verifyLightStateConditions()
2968 int getLightState() { in getLightState() method in DeviceIdleController
1010 …sion.CONTROL_DEVICE_LIGHTS) public android.hardware.lights.LightState getLightState(@NonNull andro…