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.cpp284 if (light->type != InputDeviceLightType::KEYBOARD_BACKLIGHT) { in getPreferredBrightnessLevels()
485 ? InputDeviceLightType::KEYBOARD_BACKLIGHT in configureLights()
486 : InputDeviceLightType::INPUT, in configureLights()
500 InputDeviceLightType type; in configureLights()
502 type = InputDeviceLightType::KEYBOARD_BACKLIGHT; in configureLights()
504 type = InputDeviceLightType::KEYBOARD_MIC_MUTE; in configureLights()
506 type = InputDeviceLightType::KEYBOARD_VOLUME_MUTE; in configureLights()
508 type = InputDeviceLightType::INPUT; in configureLights()
/frameworks/native/include/input/
DInputDevice.h129 enum class InputDeviceLightType : int32_t { enum
210 explicit InputDeviceLightInfo(std::string name, int32_t id, InputDeviceLightType type, in InputDeviceLightInfo()
225 InputDeviceLightType type;
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2807 if (lightInfo.type == InputDeviceLightType::INPUT) { in nativeGetLights()
2809 } else if (lightInfo.type == InputDeviceLightType::PLAYER_ID) { in nativeGetLights()
2812 } else if (lightInfo.type == InputDeviceLightType::KEYBOARD_BACKLIGHT) { in nativeGetLights()
2815 } else if (lightInfo.type == InputDeviceLightType::KEYBOARD_MIC_MUTE) { in nativeGetLights()
2818 } else if (lightInfo.type == InputDeviceLightType::KEYBOARD_VOLUME_MUTE) { in nativeGetLights()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp9103 ASSERT_EQ(InputDeviceLightType::INPUT, lights[0].type); in TEST_F()
9128 ASSERT_EQ(InputDeviceLightType::KEYBOARD_MIC_MUTE, lights[0].type); in TEST_F()
9146 ASSERT_EQ(InputDeviceLightType::KEYBOARD_BACKLIGHT, lights[0].type); in TEST_F()
9273 ASSERT_EQ(InputDeviceLightType::INPUT, lights[0].type); in TEST_F()
9309 ASSERT_EQ(InputDeviceLightType::KEYBOARD_BACKLIGHT, lights[0].type); in TEST_F()
9349 ASSERT_EQ(InputDeviceLightType::INPUT, lights[0].type); in TEST_F()
9373 ASSERT_EQ(InputDeviceLightType::INPUT, lights[0].type); in TEST_F()
9398 ASSERT_EQ(InputDeviceLightType::KEYBOARD_BACKLIGHT, lights[0].type); in TEST_F()
9438 ASSERT_EQ(InputDeviceLightType::PLAYER_ID, lights[0].type); in TEST_F()
9480 ASSERT_EQ(InputDeviceLightType::PLAYER_ID, lights[0].type); in TEST_F()