Searched refs:UinputDevice (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/cmds/uinput/jni/ |
D | com_android_commands_uinput_Device.cpp | 99 std::unique_ptr<UinputDevice> UinputDevice::open(int32_t id, const char* name, int32_t vendorId, in open() 144 return std::unique_ptr<UinputDevice>(new UinputDevice(id, std::move(fd), std::move(callback))); in open() 147 UinputDevice::UinputDevice(int32_t id, android::base::unique_fd fd, in UinputDevice() function in android::uinput::UinputDevice 158 UinputDevice* d = reinterpret_cast<UinputDevice*>(data); in UinputDevice() 165 UinputDevice::~UinputDevice() { in ~UinputDevice() 169 void UinputDevice::injectEvent(std::chrono::microseconds timestamp, uint16_t type, uint16_t code, in injectEvent() 184 int UinputDevice::handleEvents(int events) { in handleEvents() 258 std::unique_ptr<uinput::UinputDevice> d = in openUinputDevice() 259 uinput::UinputDevice::open(id, name.c_str(), vendorId, productId, versionId, bus, in openUinputDevice() 265 uinput::UinputDevice* d = reinterpret_cast<uinput::UinputDevice*>(ptr); in closeUinputDevice() [all …]
|
D | com_android_commands_uinput_Device.h | 48 class UinputDevice { 50 static std::unique_ptr<UinputDevice> open(int32_t id, const char* name, int32_t vendorId, 55 virtual ~UinputDevice(); 62 UinputDevice(int32_t id, android::base::unique_fd fd, std::unique_ptr<DeviceCallback> callback);
|
/frameworks/native/services/inputflinger/tests/ |
D | UinputDevice.cpp | 27 UinputDevice::UinputDevice(const char* name, int16_t productId) in UinputDevice() function in android::UinputDevice 30 UinputDevice::~UinputDevice() { in ~UinputDevice() 37 void UinputDevice::init() { in init() 62 void UinputDevice::injectEvent(uint16_t type, uint16_t code, int32_t value) { in injectEvent() 81 : UinputDevice(name, productId), mKeys(keys.begin(), keys.end()) {} in UinputKeyboard()
|
D | UinputDevice.h | 42 class UinputDevice { 44 virtual ~UinputDevice(); 56 explicit UinputDevice(const char* name, int16_t productId); 73 class UinputKeyboard : public UinputDevice {
|
D | Android.bp | 86 "UinputDevice.cpp",
|
D | InputReader_test.cpp | 1487 class InvalidUinputDevice : public UinputDevice { in TEST_F() 1489 InvalidUinputDevice() : UinputDevice("Invalid Device", /*productId=*/99) {} in TEST_F() 1499 std::unique_ptr<UinputDevice> invalidDevice = createUinputDevice<InvalidUinputDevice>(); in TEST_F()
|
/frameworks/base/cmds/uinput/ |
D | README.md | 7 or app (such as the CTS tests via [`UinputDevice`][UinputDevice]). 13 [UinputDevice]: https://cs.android.com/android/platform/superproject/main/+/main:cts/libs/input/src…
|