Home
last modified time | relevance | path

Searched refs:UinputKeyboard (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DUinputDevice.cpp80 UinputKeyboard::UinputKeyboard(const char* name, int16_t productId, std::initializer_list<int> keys) in UinputKeyboard() function in android::UinputKeyboard
83 void UinputKeyboard::configureDevice(int fd, uinput_user_dev* device) { in configureDevice()
102 void UinputKeyboard::pressKey(int key) { in pressKey()
110 void UinputKeyboard::releaseKey(int key) { in releaseKey()
118 void UinputKeyboard::pressAndReleaseKey(int key) { in pressAndReleaseKey()
125 UinputHomeKey::UinputHomeKey() : UinputKeyboard(DEVICE_NAME, PRODUCT_ID, {KEY_HOME}) {} in UinputHomeKey()
134 : UinputKeyboard(DEVICE_NAME, PRODUCT_ID, {BTN_GEAR_DOWN, BTN_GEAR_UP}) {} in UinputSteamController()
139 : UinputKeyboard(DEVICE_NAME, PRODUCT_ID, {BTN_STYLUS, BTN_STYLUS2, BTN_STYLUS3}) {} in UinputExternalStylus()
144 : UinputKeyboard(DEVICE_NAME, PRODUCT_ID, {BTN_STYLUS, BTN_STYLUS2, BTN_STYLUS3}) {} in UinputExternalStylusWithPressure()
147 UinputKeyboard::configureDevice(fd, device); in configureDevice()
[all …]
DUinputDevice.h73 class UinputKeyboard : public UinputDevice {
89 explicit UinputKeyboard(const char* name, int16_t productId = PRODUCT_ID,
101 class UinputHomeKey : public UinputKeyboard {
119 class UinputSteamController : public UinputKeyboard {
134 class UinputExternalStylus : public UinputKeyboard {
149 class UinputExternalStylusWithPressure : public UinputKeyboard {
171 class UinputKeyboardWithHidUsage : public UinputKeyboard {
188 class UinputTouchScreen : public UinputKeyboard {
DInputReader_test.cpp1593 std::unique_ptr<UinputKeyboard> keyboard = in TEST_F()
1594 createUinputDevice<UinputKeyboard>("KeyboardWithStylusButtons", /*productId=*/99, in TEST_F()