Home
last modified time | relevance | path

Searched refs:InputLightClass (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp442 if (rawInfo->flags.test(InputLightClass::KEYBOARD_BACKLIGHT)) { in configureLights()
446 if (rawInfo->flags.test(InputLightClass::RED)) { in configureLights()
450 if (rawInfo->flags.test(InputLightClass::GREEN)) { in configureLights()
454 if (rawInfo->flags.test(InputLightClass::BLUE)) { in configureLights()
458 if (rawInfo->flags.test(InputLightClass::GLOBAL)) { in configureLights()
515 } else if (rawInfo.flags.test(InputLightClass::KEYBOARD_MIC_MUTE)) { in configureLights()
522 if (rawInfo.flags.test(InputLightClass::MULTI_INDEX) && in configureLights()
523 rawInfo.flags.test(InputLightClass::MULTI_INTENSITY)) { in configureLights()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp117 static const std::unordered_map<std::string, InputLightClass> LIGHT_CLASSES =
118 {{"red", InputLightClass::RED},
119 {"green", InputLightClass::GREEN},
120 {"blue", InputLightClass::BLUE},
121 {"global", InputLightClass::GLOBAL},
122 {"brightness", InputLightClass::BRIGHTNESS},
123 {"multi_index", InputLightClass::MULTI_INDEX},
124 {"multi_intensity", InputLightClass::MULTI_INTENSITY},
125 {"max_brightness", InputLightClass::MAX_BRIGHTNESS},
126 {"kbd_backlight", InputLightClass::KEYBOARD_BACKLIGHT},
[all …]
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp686 .flags = InputLightClass::BRIGHTNESS, in TEST_F()
1401 .flags = InputLightClass::BRIGHTNESS, in TEST_F()
10277 .flags = InputLightClass::BRIGHTNESS, in TEST_F()
10297 .flags = InputLightClass::BRIGHTNESS | in TEST_F()
10298 InputLightClass::KEYBOARD_MIC_MUTE, in TEST_F()
10319 .flags = InputLightClass::BRIGHTNESS | in TEST_F()
10320 InputLightClass::KEYBOARD_BACKLIGHT, in TEST_F()
10340 .flags = InputLightClass::BRIGHTNESS, in TEST_F()
10362 .flags = InputLightClass::BRIGHTNESS | in TEST_F()
10363 InputLightClass::KEYBOARD_BACKLIGHT, in TEST_F()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h164 enum class InputLightClass : uint32_t { enum
201 ftl::Flags<InputLightClass> flags;