Home
last modified time | relevance | path

Searched refs:InputDeviceLightType (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.h63 InputDeviceLightType type) in Light()
69 InputDeviceLightType type;
86 InputDeviceLightType type, int32_t rawId) in MonoLight()
98 explicit RgbLight(InputDeviceContext& context, int32_t id, InputDeviceLightType type, in RgbLight()
121 InputDeviceLightType type, int32_t rawId) in MultiColorLight()
136 : Light(context, name, id, InputDeviceLightType::PLAYER_ID), in PlayerIdLight()
DPeripheralController.cpp293 light->type != InputDeviceLightType::KEYBOARD_BACKLIGHT) { in getPreferredBrightnessLevels()
497 ? InputDeviceLightType::KEYBOARD_BACKLIGHT in configureLights()
498 : InputDeviceLightType::INPUT, in configureLights()
512 InputDeviceLightType type; in configureLights()
514 type = InputDeviceLightType::KEYBOARD_BACKLIGHT; in configureLights()
516 type = InputDeviceLightType::KEYBOARD_MIC_MUTE; in configureLights()
518 type = InputDeviceLightType::INPUT; in configureLights()
/frameworks/native/include/input/
DInputDevice.h129 enum class InputDeviceLightType : int32_t { enum
209 explicit InputDeviceLightInfo(std::string name, int32_t id, InputDeviceLightType type, in InputDeviceLightInfo()
224 InputDeviceLightType type;
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2305 if (lightInfo.type == InputDeviceLightType::INPUT) { in nativeGetLights()
2307 } else if (lightInfo.type == InputDeviceLightType::PLAYER_ID) { in nativeGetLights()
2310 } else if (lightInfo.type == InputDeviceLightType::KEYBOARD_BACKLIGHT) { in nativeGetLights()
2313 } else if (lightInfo.type == InputDeviceLightType::KEYBOARD_MIC_MUTE) { in nativeGetLights()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp10286 ASSERT_EQ(InputDeviceLightType::INPUT, lights[0].type); in TEST_F()
10311 ASSERT_EQ(InputDeviceLightType::KEYBOARD_MIC_MUTE, lights[0].type); in TEST_F()
10329 ASSERT_EQ(InputDeviceLightType::KEYBOARD_BACKLIGHT, lights[0].type); in TEST_F()
10456 ASSERT_EQ(InputDeviceLightType::INPUT, lights[0].type); in TEST_F()
10492 ASSERT_EQ(InputDeviceLightType::KEYBOARD_BACKLIGHT, lights[0].type); in TEST_F()
10532 ASSERT_EQ(InputDeviceLightType::INPUT, lights[0].type); in TEST_F()
10556 ASSERT_EQ(InputDeviceLightType::INPUT, lights[0].type); in TEST_F()
10581 ASSERT_EQ(InputDeviceLightType::KEYBOARD_BACKLIGHT, lights[0].type); in TEST_F()
10621 ASSERT_EQ(InputDeviceLightType::PLAYER_ID, lights[0].type); in TEST_F()
10663 ASSERT_EQ(InputDeviceLightType::PLAYER_ID, lights[0].type); in TEST_F()