Home
last modified time | relevance | path

Searched defs:lightId (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.h83 virtual bool setLightColor(int32_t lightId, int32_t color) { return true; } in setLightColor()
84 virtual bool setLightPlayerId(int32_t lightId, int32_t playerId) { return true; } in setLightPlayerId()
85 virtual std::optional<int32_t> getLightColor(int32_t lightId) { return std::nullopt; } in getLightColor()
86 virtual std::optional<int32_t> getLightPlayerId(int32_t lightId) { return std::nullopt; } in getLightPlayerId()
/frameworks/base/core/java/android/hardware/lights/
DILightsManager.aidl29 LightState getLightState(int lightId); in getLightState()
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp482 bool PeripheralController::setLightColor(int32_t lightId, int32_t color) { in setLightColor()
495 std::optional<int32_t> PeripheralController::getLightColor(int32_t lightId) { in getLightColor()
509 bool PeripheralController::setLightPlayerId(int32_t lightId, int32_t playerId) { in setLightPlayerId()
518 std::optional<int32_t> PeripheralController::getLightPlayerId(int32_t lightId) { in getLightPlayerId()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h291 inline std::optional<RawLightInfo> getRawLightInfo(int32_t lightId) { in getRawLightInfo()
295 inline std::optional<int32_t> getLightBrightness(int32_t lightId) { in getLightBrightness()
299 inline void setLightBrightness(int32_t lightId, int32_t brightness) { in setLightBrightness()
304 int32_t lightId) { in getLightIntensities()
308 inline void setLightIntensities(int32_t lightId, in setLightIntensities()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java137 int getLightPlayerId(int deviceId, int lightId); in getLightPlayerId()
139 int getLightColor(int deviceId, int lightId); in getLightColor()
141 void setLightPlayerId(int deviceId, int lightId, int playerId); in setLightPlayerId()
143 void setLightColor(int deviceId, int lightId, int color); in setLightColor()
329 public native int getLightPlayerId(int deviceId, int lightId); in getLightPlayerId()
332 public native int getLightColor(int deviceId, int lightId); in getLightColor()
335 public native void setLightPlayerId(int deviceId, int lightId, int playerId); in setLightPlayerId()
338 public native void setLightColor(int deviceId, int lightId, int color); in setLightColor()
DInputManagerService.java2625 public @Nullable LightState getLightState(int deviceId, int lightId) { in getLightState()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp563 bool InputDevice::setLightColor(int32_t lightId, int32_t color) { in setLightColor()
567 bool InputDevice::setLightPlayerId(int32_t lightId, int32_t playerId) { in setLightPlayerId()
571 std::optional<int32_t> InputDevice::getLightColor(int32_t lightId) { in getLightColor()
575 std::optional<int32_t> InputDevice::getLightPlayerId(int32_t lightId) { in getLightPlayerId()
DInputReader.cpp729 bool InputReader::setLightColor(int32_t deviceId, int32_t lightId, int32_t color) { in setLightColor()
739 bool InputReader::setLightPlayerId(int32_t deviceId, int32_t lightId, int32_t playerId) { in setLightPlayerId()
749 std::optional<int32_t> InputReader::getLightColor(int32_t deviceId, int32_t lightId) { in getLightColor()
759 std::optional<int32_t> InputReader::getLightPlayerId(int32_t deviceId, int32_t lightId) { in getLightPlayerId()
DEventHub.cpp1110 std::optional<RawLightInfo> EventHub::getRawLightInfo(int32_t deviceId, int32_t lightId) { in getRawLightInfo()
1123 std::optional<int32_t> EventHub::getLightBrightness(int32_t deviceId, int32_t lightId) { in getLightBrightness()
1140 int32_t deviceId, int32_t lightId) { in getLightIntensities()
1179 void EventHub::setLightBrightness(int32_t deviceId, int32_t lightId, int32_t brightness) { in setLightBrightness()
1196 void EventHub::setLightIntensities(int32_t deviceId, int32_t lightId, in setLightIntensities()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java82 void setRequest(int lightId, LightState state) { in setRequest()
148 public @Nullable LightState getLightState(int lightId) { in getLightState()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl150 LightState getLightState(int deviceId, int lightId); in getLightState()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1031 std::optional<RawLightInfo> getRawLightInfo(int32_t deviceId, int32_t lightId) override { in getRawLightInfo()
1039 void setLightBrightness(int32_t deviceId, int32_t lightId, int32_t brightness) override { in setLightBrightness()
1043 void setLightIntensities(int32_t deviceId, int32_t lightId, in setLightIntensities()
1048 std::optional<int32_t> getLightBrightness(int32_t deviceId, int32_t lightId) override { in getLightBrightness()
1057 int32_t deviceId, int32_t lightId) override { in getLightIntensities()
2181 bool setLightColor(int32_t lightId, int32_t color) override { in setLightColor()
2186 std::optional<int32_t> getLightColor(int32_t lightId) override { in getLightColor()
2194 bool setLightPlayerId(int32_t lightId, int32_t playerId) override { return true; } in setLightPlayerId()
2196 std::optional<int32_t> getLightPlayerId(int32_t lightId) override { return std::nullopt; } in getLightPlayerId()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2043 jint lightId) { in nativeGetLightPlayerId()
2052 static jint nativeGetLightColor(JNIEnv* env, jobject nativeImplObj, jint deviceId, jint lightId) { in nativeGetLightColor()
2060 static void nativeSetLightPlayerId(JNIEnv* env, jobject nativeImplObj, jint deviceId, jint lightId, in nativeSetLightPlayerId()
2067 static void nativeSetLightColor(JNIEnv* env, jobject nativeImplObj, jint deviceId, jint lightId, in nativeSetLightColor()