Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DUinputDevice.cpp77 UinputKeyboard::UinputKeyboard(std::initializer_list<int> keys) in UinputKeyboard() function in android::UinputKeyboard
78 : UinputDevice(UinputKeyboard::KEYBOARD_NAME), mKeys(keys.begin(), keys.end()) {} in UinputKeyboard()
80 void UinputKeyboard::configureDevice(int fd, uinput_user_dev* device) { in configureDevice()
99 void UinputKeyboard::pressKey(int key) { in pressKey()
107 void UinputKeyboard::releaseKey(int key) { in releaseKey()
115 void UinputKeyboard::pressAndReleaseKey(int key) { in pressAndReleaseKey()
122 UinputHomeKey::UinputHomeKey() : UinputKeyboard({KEY_HOME}) {} in UinputHomeKey()
129 UinputSteamController::UinputSteamController() : UinputKeyboard({BTN_GEAR_DOWN, BTN_GEAR_UP}) {} in UinputSteamController()
DUinputDevice.h73 class UinputKeyboard : public UinputDevice {
88 UinputKeyboard(std::initializer_list<int> keys = {});
99 class UinputHomeKey : public UinputKeyboard {
112 class UinputSteamController : public UinputKeyboard {