/frameworks/base/services/tests/servicestests/src/com/android/server/lights/ |
D | LightsServiceTest.java | 133 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/ |
D | InputDeviceLightsManagerTest.java | 114 }).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/ |
D | InputDeviceLightsManager.java | 68 public @NonNull LightState getLightState(@NonNull Light light) { in getLightState() method in InputDeviceLightsManager 70 return mGlobal.getLightState(mDeviceId, light); in getLightState()
|
D | IInputManager.aidl | 192 LightState getLightState(int deviceId, int lightId); in getLightState() method
|
D | InputManagerGlobal.java | 1181 @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/ |
D | SystemLightsManager.java | 87 public @NonNull LightState getLightState(@NonNull Light light) { in getLightState() method in SystemLightsManager 90 return mService.getLightState(light.getId()); in getLightState()
|
D | ILightsManager.aidl | 31 LightState getLightState(int lightId); in getLightState() method
|
D | LightsManager.java | 75 public abstract @NonNull LightState getLightState(@NonNull Light light); in getLightState() method in LightsManager
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 152 public @Nullable LightState getLightState(int lightId) { in getLightState() method in LightsService.LightsManagerBinderService
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 2742 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/ |
D | InputManagerService.java | 1945 public @Nullable LightState getLightState(int deviceId, int lightId) { in getLightState() method in InputManagerService
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | DeviceIdleController.java | 3732 int getLightState() { in getLightState() method in DeviceIdleController
|
/frameworks/base/core/api/ |
D | current.txt | 20508 …method @NonNull public abstract android.hardware.lights.LightState getLightState(@NonNull android.…
|