/frameworks/native/services/inputflinger/reader/mapper/ |
D | InputMapper.h | 106 virtual bool setLightColor(int32_t lightId, int32_t color) { return true; } in setLightColor() 107 virtual bool setLightPlayerId(int32_t lightId, int32_t playerId) { return true; } in setLightPlayerId() 108 virtual std::optional<int32_t> getLightColor(int32_t lightId) { return std::nullopt; } in getLightColor() 109 virtual std::optional<int32_t> getLightPlayerId(int32_t lightId) { return std::nullopt; } in getLightPlayerId()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | PersistentDataStore.java | 156 public boolean setKeyboardBacklightBrightness(String inputDeviceDescriptor, int lightId, in setKeyboardBacklightBrightness() 166 public OptionalInt getKeyboardBacklightBrightness(String inputDeviceDescriptor, int lightId) { in getKeyboardBacklightBrightness() 410 public boolean setKeyboardBacklightBrightness(int lightId, int brightness) { in setKeyboardBacklightBrightness() 418 public OptionalInt getKeyboardBacklightBrightness(int lightId) { in getKeyboardBacklightBrightness() 467 int lightId = parser.getAttributeInt(null, "light-id"); in loadFromXml() local
|
D | NativeInputManagerService.java | 170 int getLightPlayerId(int deviceId, int lightId); in getLightPlayerId() 172 int getLightColor(int deviceId, int lightId); in getLightColor() 174 void setLightPlayerId(int deviceId, int lightId, int playerId); in setLightPlayerId() 176 void setLightColor(int deviceId, int lightId, int color); in setLightColor() 440 public native int getLightPlayerId(int deviceId, int lightId); in getLightPlayerId() 443 public native int getLightColor(int deviceId, int lightId); in getLightColor() 446 public native void setLightPlayerId(int deviceId, int lightId, int playerId); in setLightPlayerId() 449 public native void setLightColor(int deviceId, int lightId, int color); in setLightColor()
|
D | InputManagerService.java | 1945 public @Nullable LightState getLightState(int deviceId, int lightId) { in getLightState()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | InputReaderFuzzer.cpp | 138 bool setLightColor(int32_t deviceId, int32_t lightId, int32_t color) { in setLightColor() 142 bool setLightPlayerId(int32_t deviceId, int32_t lightId, int32_t playerId) { in setLightPlayerId() 146 std::optional<int32_t> getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() 150 std::optional<int32_t> getLightPlayerId(int32_t deviceId, int32_t lightId) { in getLightPlayerId()
|
D | MapperHelpers.h | 169 std::optional<RawLightInfo> getRawLightInfo(int32_t deviceId, int32_t lightId) const override { in getRawLightInfo() 172 std::optional<int32_t> getLightBrightness(int32_t deviceId, int32_t lightId) const override { in getLightBrightness() 175 void setLightBrightness(int32_t deviceId, int32_t lightId, int32_t brightness) override{}; in setLightBrightness() 177 int32_t deviceId, int32_t lightId) const override { in getLightIntensities() 180 void setLightIntensities(int32_t deviceId, int32_t lightId, in setLightIntensities()
|
/frameworks/native/services/inputflinger/reader/controller/ |
D | PeripheralController.cpp | 552 bool PeripheralController::setLightColor(int32_t lightId, int32_t color) { in setLightColor() 565 std::optional<int32_t> PeripheralController::getLightColor(int32_t lightId) { in getLightColor() 579 bool PeripheralController::setLightPlayerId(int32_t lightId, int32_t playerId) { in setLightPlayerId() 588 std::optional<int32_t> PeripheralController::getLightPlayerId(int32_t lightId) { in getLightPlayerId()
|
/frameworks/base/core/java/android/hardware/lights/ |
D | ILightsManager.aidl | 31 LightState getLightState(int lightId); in getLightState()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 349 inline std::optional<RawLightInfo> getRawLightInfo(int32_t lightId) { in getRawLightInfo() 353 inline std::optional<int32_t> getLightBrightness(int32_t lightId) { in getLightBrightness() 357 inline void setLightBrightness(int32_t lightId, int32_t brightness) { in setLightBrightness() 362 int32_t lightId) { in getLightIntensities() 366 inline void setLightIntensities(int32_t lightId, in setLightIntensities()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 660 bool InputDevice::setLightColor(int32_t lightId, int32_t color) { in setLightColor() 664 bool InputDevice::setLightPlayerId(int32_t lightId, int32_t playerId) { in setLightPlayerId() 668 std::optional<int32_t> InputDevice::getLightColor(int32_t lightId) { in getLightColor() 672 std::optional<int32_t> InputDevice::getLightPlayerId(int32_t lightId) { in getLightPlayerId()
|
D | InputReader.cpp | 828 bool InputReader::setLightColor(int32_t deviceId, int32_t lightId, int32_t color) { in setLightColor() 838 bool InputReader::setLightPlayerId(int32_t deviceId, int32_t lightId, int32_t playerId) { in setLightPlayerId() 848 std::optional<int32_t> InputReader::getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor() 858 std::optional<int32_t> InputReader::getLightPlayerId(int32_t deviceId, int32_t lightId) { in getLightPlayerId()
|
D | EventHub.cpp | 1397 void EventHub::setLightBrightness(int32_t deviceId, int32_t lightId, int32_t brightness) { in setLightBrightness() 1414 void EventHub::setLightIntensities(int32_t deviceId, int32_t lightId, in setLightIntensities()
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 85 void setRequest(int lightId, LightState state) { in setRequest() 152 public @Nullable LightState getLightState(int lightId) { in getLightState()
|
/frameworks/base/tests/Input/src/com/android/server/input/ |
D | KeyboardBacklightControllerTests.kt | 729 val lightId = light.id in createKeyboard() constant
|
/frameworks/native/services/inputflinger/tests/ |
D | FakeEventHub.cpp | 603 void FakeEventHub::setLightBrightness(int32_t deviceId, int32_t lightId, int32_t brightness) { in setLightBrightness() 607 void FakeEventHub::setLightIntensities(int32_t deviceId, int32_t lightId, in setLightIntensities()
|
D | InputReader_test.cpp | 1314 bool setLightColor(int32_t lightId, int32_t color) override { in setLightColor() 1319 std::optional<int32_t> getLightColor(int32_t lightId) override { in getLightColor() 1327 bool setLightPlayerId(int32_t lightId, int32_t playerId) override { return true; } in setLightPlayerId() 1329 std::optional<int32_t> getLightPlayerId(int32_t lightId) override { return std::nullopt; } in getLightPlayerId()
|
/frameworks/base/core/java/android/hardware/input/ |
D | IInputManager.aidl | 192 LightState getLightState(int deviceId, int lightId); in getLightState()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 2357 jint lightId) { in nativeGetLightPlayerId() 2366 static jint nativeGetLightColor(JNIEnv* env, jobject nativeImplObj, jint deviceId, jint lightId) { in nativeGetLightColor() 2374 static void nativeSetLightPlayerId(JNIEnv* env, jobject nativeImplObj, jint deviceId, jint lightId, in nativeSetLightPlayerId() 2381 static void nativeSetLightColor(JNIEnv* env, jobject nativeImplObj, jint deviceId, jint lightId, in nativeSetLightColor()
|