Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.h64 InputDeviceLightType type) in Light()
70 InputDeviceLightType type;
86 : Light(context, name, id, InputDeviceLightType::MONO), rawId(rawId) {} in MonoLight()
98 : Light(context, "RGB", id, InputDeviceLightType::RGB), in RgbLight()
119 : Light(context, name, id, InputDeviceLightType::MULTI_COLOR), rawId(rawId) {} in MultiColorLight()
130 : Light(context, name, id, InputDeviceLightType::PLAYER_ID), in PlayerIdLight()
/frameworks/native/include/input/
DInputDevice.h106 enum class InputDeviceLightType : int32_t { enum
172 explicit InputDeviceLightInfo(std::string name, int32_t id, InputDeviceLightType type, in InputDeviceLightInfo()
180 InputDeviceLightType type;
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2011 if (lightInfo.type == InputDeviceLightType::MONO) { in nativeGetLights()
2014 } else if (lightInfo.type == InputDeviceLightType::RGB || in nativeGetLights()
2015 lightInfo.type == InputDeviceLightType::MULTI_COLOR) { in nativeGetLights()
2021 } else if (lightInfo.type == InputDeviceLightType::PLAYER_ID) { in nativeGetLights()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp9980 ASSERT_EQ(InputDeviceLightType::MONO, lights[0].type); in TEST_F()
10011 ASSERT_EQ(InputDeviceLightType::RGB, lights[0].type); in TEST_F()
10033 ASSERT_EQ(InputDeviceLightType::MULTI_COLOR, lights[0].type); in TEST_F()
10070 ASSERT_EQ(InputDeviceLightType::PLAYER_ID, lights[0].type); in TEST_F()