HomeSort by relevance Sort by last modified time
    Searched refs:UInput (Results 1 - 3 of 3) sorted by null

  /frameworks/native/services/vr/virtual_touchpad/
EvdevInjector.h 5 #include <linux/uinput.h>
39 // UInput provides a shim to intercept /dev/uinput operations
42 class UInput {
44 UInput() {}
45 virtual ~UInput() {}
113 inline void SetUInputForTesting(UInput* uinput) { uinput_ = uinput; }
131 // Active pointer to owned or testing UInput
    [all...]
EvdevInjector.cpp 14 int EvdevInjector::UInput::Open() {
16 fd_.reset(open("/dev/uinput", O_WRONLY | O_NONBLOCK));
18 ALOGE("couldn't open uinput (r=%d errno=%d)", fd_.get(), errno);
23 int EvdevInjector::UInput::Close() {
29 int EvdevInjector::UInput::Write(const void* buf, size_t count) {
30 ALOGV("UInput::Write(%zu, %02X...)", count, *static_cast<const char*>(buf));
39 int EvdevInjector::UInput::IoctlSetInt(int request, int value) {
40 ALOGV("UInput::IoctlSetInt(0x%X, 0x%X)", request, value);
49 int EvdevInjector::UInput::IoctlVoid(int request) {
50 ALOGV("UInput::IoctlVoid(0x%X)", request)
    [all...]
  /frameworks/native/services/vr/virtual_touchpad/tests/
VirtualTouchpad_test.cpp 16 class UInputForTesting : public EvdevInjector::UInput {
29 // Recording test implementation of UInput.
39 // UInput overrides:

Completed in 266 milliseconds