Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/lights/
DLightsServiceTest.java56 public HwLight[] getLights() {
99 assertThat(manager.getLights().size()).isEqualTo(4); in testGetLights_filtersSystemLights()
110 .setLight(manager.getLights().get(0), new LightState(0xf1)) in testControlMultipleLights()
111 .setLight(manager.getLights().get(1), new LightState(0xf2)) in testControlMultipleLights()
112 .setLight(manager.getLights().get(2), new LightState(0xf3)) in testControlMultipleLights()
116 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()
128 Light micLight = manager.getLights().get(0); in testControlLights_onlyEffectiveForLifetimeOfClient()
[all …]
/frameworks/base/core/java/android/hardware/lights/
DLightsManager.java97 public @NonNull List<Light> getLights() { in getLights() method in LightsManager
99 return mService.getLights(); in getLights()
DILightsManager.aidl28 List<Light> getLights(); in getLights() method
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java98 public List<Light> getLights() { in getLights() method in LightsService.LightsManagerBinderService
504 for (HwLight hwLight : mVintfLights.get().getLights()) { in populateAvailableLightsFromAidl()
/frameworks/base/api/
Dtest-current.txt1448 …permission.CONTROL_DEVICE_LIGHTS) public java.util.List<android.hardware.lights.Light> getLights();
Dsystem-current.txt2844 …permission.CONTROL_DEVICE_LIGHTS) public java.util.List<android.hardware.lights.Light> getLights();
/frameworks/base/non-updatable-api/
Dsystem-current.txt2792 …permission.CONTROL_DEVICE_LIGHTS) public java.util.List<android.hardware.lights.Light> getLights();