Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/lights/
DLightsServiceTest.java133 assertThat(manager.getLightState(manager.getLights().get(0)).getColor()).isEqualTo(0xf1); in testControlMultipleLights()
134 assertThat(manager.getLightState(manager.getLights().get(1)).getColor()).isEqualTo(0xf2); in testControlMultipleLights()
135 assertThat(manager.getLightState(manager.getLights().get(2)).getColor()).isEqualTo(0xf3); in testControlMultipleLights()
138 assertThat(manager.getLightState(manager.getLights().get(3)).getColor()).isEqualTo(0x00); in testControlMultipleLights()
148 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(TRANSPARENT); in testControlLights_onlyEffectiveForLifetimeOfClient()
154 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(GREEN); in testControlLights_onlyEffectiveForLifetimeOfClient()
160 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(TRANSPARENT); in testControlLights_onlyEffectiveForLifetimeOfClient()
176 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(BLUE); in testControlLights_firstCallerWinsContention()
182 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(WHITE); in testControlLights_firstCallerWinsContention()
188 assertThat(manager.getLightState(micLight).getColor()).isEqualTo(0); in testControlLights_firstCallerWinsContention()
[all …]
/frameworks/base/tests/Input/src/android/hardware/input/
DInputDeviceLightsManagerTest.java114 }).when(mIInputManagerMock).getLightState(eq(DEVICE_ID), anyInt()); in setUp()
194 assertThat(lightsManager.getLightState(lightsManager.getLights().get(0)).getColor()) in testControlMultipleLights()
196 assertThat(lightsManager.getLightState(lightsManager.getLights().get(1)).getColor()) in testControlMultipleLights()
198 assertThat(lightsManager.getLightState(lightsManager.getLights().get(2)).getColor()) in testControlMultipleLights()
202 assertThat(lightsManager.getLightState(lightsManager.getLights().get(3)).getColor()) in testControlMultipleLights()
241 assertThat(lightsManager.getLightState(lightsManager.getLights().get(0)).getColor()) in testControlPlayerIdLight()
243 assertThat(lightsManager.getLightState(lightsManager.getLights().get(0)).getPlayerId()) in testControlPlayerIdLight()
/frameworks/base/core/java/android/hardware/input/
DInputDeviceLightsManager.java68 public @NonNull LightState getLightState(@NonNull Light light) { in getLightState() method in InputDeviceLightsManager
70 return mGlobal.getLightState(mDeviceId, light); in getLightState()
DIInputManager.aidl192 LightState getLightState(int deviceId, int lightId); in getLightState() method
DInputManagerGlobal.java1181 @NonNull LightState getLightState(int deviceId, @NonNull Light light) { in getLightState() method in InputManagerGlobal
1183 return mIm.getLightState(deviceId, light.getId()); in getLightState()
/frameworks/base/core/java/android/hardware/lights/
DSystemLightsManager.java87 public @NonNull LightState getLightState(@NonNull Light light) { in getLightState() method in SystemLightsManager
90 return mService.getLightState(light.getId()); in getLightState()
DILightsManager.aidl31 LightState getLightState(int lightId); in getLightState() method
DLightsManager.java75 public abstract @NonNull LightState getLightState(@NonNull Light light); in getLightState() method in LightsManager
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java152 public @Nullable LightState getLightState(int lightId) { in getLightState() method in LightsService.LightsManagerBinderService
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java2742 while (mDeviceIdleController.getLightState() != lightState) { in enterLightState()
2750 lightStateToString(mDeviceIdleController.getLightState())); in enterLightState()
2899 int curLightState = mDeviceIdleController.getLightState(); in verifyLightStateConditions()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1945 public @Nullable LightState getLightState(int deviceId, int lightId) { in getLightState() method in InputManagerService
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java3732 int getLightState() { in getLightState() method in DeviceIdleController
/frameworks/base/core/api/
Dcurrent.txt20508 …method @NonNull public abstract android.hardware.lights.LightState getLightState(@NonNull android.…