/frameworks/base/core/tests/coretests/src/android/hardware/input/ |
D | InputDeviceLightsManagerTest.java | 123 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/ |
D | LightsServiceTest.java | 60 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/ |
D | SystemLightsManager.java | 73 public @NonNull List<Light> getLights() { in getLights() method in SystemLightsManager 75 return mService.getLights(); in getLights() 166 List<Integer> idList = request.getLights(); in requestLights()
|
D | ILightsManager.aidl | 28 List<Light> getLights(); in getLights() method
|
D | LightsManager.java | 74 public @NonNull abstract List<Light> getLights(); in getLights() method in LightsManager
|
D | LightsRequest.java | 57 public @NonNull List<Integer> getLights() { in getLights() method in LightsRequest
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputDeviceLightsManager.java | 59 public @NonNull List<Light> getLights() { in getLights() method in InputDeviceLightsManager 60 return mInputManager.getLights(mDeviceId); in getLights()
|
D | IInputManager.aidl | 138 List<Light> getLights(int deviceId); in getLights() method
|
D | InputManager.java | 1588 @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/ |
D | LightsService.java | 105 public List<Light> getLights() { in getLights() method in LightsService.LightsManagerBinderService 477 for (HwLight hwLight : mVintfLights.get().getLights()) { in populateAvailableLightsFromAidl()
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 116 virtual std::vector<InputDeviceLightInfo> getLights(int32_t deviceId) = 0;
|
/frameworks/native/libs/input/ |
D | InputDevice.cpp | 259 std::vector<InputDeviceLightInfo> InputDeviceInfo::getLights() { in getLights() function in android::InputDeviceInfo
|
/frameworks/native/include/input/ |
D | InputDevice.h | 262 std::vector<InputDeviceLightInfo> getLights();
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputReader.h | 102 std::vector<InputDeviceLightInfo> getLights(int32_t deviceId) override;
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 694 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/ |
D | InputReader_test.cpp | 8808 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/ |
D | InputManagerService.java | 2469 public List<Light> getLights(int deviceId) { in getLights() method in InputManagerService
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1988 im->getInputManager()->getReader()->getLights(deviceId); in nativeGetLights()
|
/frameworks/base/core/api/ |
D | current.txt | 19018 method @NonNull public abstract java.util.List<android.hardware.lights.Light> getLights(); 19029 method @NonNull public java.util.List<java.lang.Integer> getLights();
|