Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.h62 InputDeviceLightType type) in Light()
68 InputDeviceLightType type;
84 : Light(context, name, id, InputDeviceLightType::MONO), rawId(rawId) {} in MonoLight()
96 : Light(context, "RGB", id, InputDeviceLightType::RGB), in RgbLight()
117 : Light(context, name, id, InputDeviceLightType::MULTI_COLOR), rawId(rawId) {} in MultiColorLight()
128 : Light(context, name, id, InputDeviceLightType::PLAYER_ID), in PlayerIdLight()
/frameworks/native/include/input/
DInputDevice.h103 enum class InputDeviceLightType : int32_t { enum
167 explicit InputDeviceLightInfo(std::string name, int32_t id, InputDeviceLightType type, in InputDeviceLightInfo()
175 InputDeviceLightType type;
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1997 if (lightInfo.type == InputDeviceLightType::MONO) { in nativeGetLights()
2000 } else if (lightInfo.type == InputDeviceLightType::RGB || in nativeGetLights()
2001 lightInfo.type == InputDeviceLightType::MULTI_COLOR) { in nativeGetLights()
2007 } else if (lightInfo.type == InputDeviceLightType::PLAYER_ID) { in nativeGetLights()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp8810 ASSERT_EQ(InputDeviceLightType::MONO, lights[0].type); in TEST_F()
8841 ASSERT_EQ(InputDeviceLightType::RGB, lights[0].type); in TEST_F()
8863 ASSERT_EQ(InputDeviceLightType::MULTI_COLOR, lights[0].type); in TEST_F()
8900 ASSERT_EQ(InputDeviceLightType::PLAYER_ID, lights[0].type); in TEST_F()