Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/hardware/input/
DInputDeviceLightsManagerTest.java123 when(mIInputManagerMock.getLights(eq(DEVICE_ID))).thenReturn( in mockLights()
143 List<Light> lights = lightsManager.getLights(); in testGetInputDeviceLights()
144 verify(mIInputManagerMock).getLights(eq(DEVICE_ID)); in testGetInputDeviceLights()
166 List<Light> lightList = lightsManager.getLights(); in testControlMultipleLights()
172 .addLight(lightsManager.getLights().get(0), states[0]) in testControlMultipleLights()
173 .addLight(lightsManager.getLights().get(1), states[1]) in testControlMultipleLights()
174 .addLight(lightsManager.getLights().get(2), states[2]) in testControlMultipleLights()
184 assertThat(lightsManager.getLightState(lightsManager.getLights().get(0)).getColor()) in testControlMultipleLights()
186 assertThat(lightsManager.getLightState(lightsManager.getLights().get(1)).getColor()) in testControlMultipleLights()
188 assertThat(lightsManager.getLightState(lightsManager.getLights().get(2)).getColor()) in testControlMultipleLights()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/lights/
DLightsServiceTest.java60 public HwLight[] getLights() {
103 assertThat(manager.getLights().size()).isEqualTo(4); in testGetLights_filtersSystemLights()
114 .addLight(manager.getLights().get(0), new LightState(0xf1)) in testControlMultipleLights()
115 .addLight(manager.getLights().get(1), new LightState(0xf2)) in testControlMultipleLights()
116 .addLight(manager.getLights().get(2), new LightState(0xf3)) in testControlMultipleLights()
120 assertThat(manager.getLightState(manager.getLights().get(0)).getColor()).isEqualTo(0xf1); in testControlMultipleLights()
121 assertThat(manager.getLightState(manager.getLights().get(1)).getColor()).isEqualTo(0xf2); in testControlMultipleLights()
122 assertThat(manager.getLightState(manager.getLights().get(2)).getColor()).isEqualTo(0xf3); in testControlMultipleLights()
125 assertThat(manager.getLightState(manager.getLights().get(3)).getColor()).isEqualTo(0x00); in testControlMultipleLights()
132 Light micLight = manager.getLights().get(0); in testControlLights_onlyEffectiveForLifetimeOfClient()
[all …]
/frameworks/base/core/java/android/hardware/lights/
DSystemLightsManager.java73 public @NonNull List<Light> getLights() { in getLights() method in SystemLightsManager
75 return mService.getLights(); in getLights()
166 List<Integer> idList = request.getLights(); in requestLights()
DILightsManager.aidl28 List<Light> getLights(); in getLights() method
DLightsManager.java74 public @NonNull abstract List<Light> getLights(); in getLights() method in LightsManager
DLightsRequest.java57 public @NonNull List<Integer> getLights() { in getLights() method in LightsRequest
/frameworks/base/core/java/android/hardware/input/
DInputDeviceLightsManager.java59 public @NonNull List<Light> getLights() { in getLights() method in InputDeviceLightsManager
60 return mInputManager.getLights(mDeviceId); in getLights()
DIInputManager.aidl138 List<Light> getLights(int deviceId); in getLights() method
DInputManager.java1588 @NonNull List<Light> getLights(int deviceId) { in getLights() method in InputManager
1590 return mIm.getLights(deviceId); in getLights()
1615 List<Integer> lightIdList = request.getLights(); in requestLights()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java105 public List<Light> getLights() { in getLights() method in LightsService.LightsManagerBinderService
477 for (HwLight hwLight : mVintfLights.get().getLights()) { in populateAvailableLightsFromAidl()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h116 virtual std::vector<InputDeviceLightInfo> getLights(int32_t deviceId) = 0;
/frameworks/native/libs/input/
DInputDevice.cpp259 std::vector<InputDeviceLightInfo> InputDeviceInfo::getLights() { in getLights() function in android::InputDeviceInfo
/frameworks/native/include/input/
DInputDevice.h262 std::vector<InputDeviceLightInfo> getLights();
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h102 std::vector<InputDeviceLightInfo> getLights(int32_t deviceId) override;
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp694 std::vector<InputDeviceLightInfo> InputReader::getLights(int32_t deviceId) { in getLights() function in android::InputReader
702 return device->getDeviceInfo().getLights(); in getLights()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp8808 std::vector<InputDeviceLightInfo> lights = info.getLights(); in TEST_F()
8839 std::vector<InputDeviceLightInfo> lights = info.getLights(); in TEST_F()
8861 std::vector<InputDeviceLightInfo> lights = info.getLights(); in TEST_F()
8898 std::vector<InputDeviceLightInfo> lights = info.getLights(); in TEST_F()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java2469 public List<Light> getLights(int deviceId) { in getLights() method in InputManagerService
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1988 im->getInputManager()->getReader()->getLights(deviceId); in nativeGetLights()
/frameworks/base/core/api/
Dcurrent.txt19018 method @NonNull public abstract java.util.List<android.hardware.lights.Light> getLights();
19029 method @NonNull public java.util.List<java.lang.Integer> getLights();