Home
last modified time | relevance | path

Searched refs:InputEvent (Results 1 – 15 of 15) sorted by relevance

/hardware/libhardware/tests/input/evdev/
DInputDevice_test.cpp76 InputEvent msc1 = { when, EV_MSC, MSC_ANDROID_TIME_SEC, 1 }; in TEST_F()
77 InputEvent msc2 = { when, EV_MSC, MSC_ANDROID_TIME_USEC, 900000 }; in TEST_F()
80 InputEvent keyDown = { when, EV_KEY, KEY_HOME, 1 }; in TEST_F()
81 InputEvent syn = { when, EV_SYN, SYN_REPORT, 0 }; in TEST_F()
84 InputEvent keyUp = { when, EV_KEY, KEY_HOME, 0 }; in TEST_F()
107 InputEvent event = { now + s2ns(60), EV_KEY, KEY_HOME, 1 }; in TEST_F()
122 InputEvent event = { now, EV_KEY, KEY_HOME, 1 }; in TEST_F()
DInputHub_test.cpp41 using InputCbFunc = std::function<void(const std::shared_ptr<InputDeviceNode>&, InputEvent&, nsecs_…
44 static const InputCbFunc kNoopInputCb = [](const std::shared_ptr<InputDeviceNode>&, InputEvent&, ns… in __anon1e12701e0102() argument
57 virtual void onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event, in onInputEvent()
182 [&](const std::shared_ptr<InputDeviceNode>& node, InputEvent& event, in TEST_F()
212 [&](const std::shared_ptr<InputDeviceNode>&, InputEvent&, nsecs_t) { in TEST_F() argument
DSwitchInputMapper_test.cpp93 InputEvent events[] = { in TEST_F()
DMouseInputMapper_test.cpp107 InputEvent events[] = { in TEST_F()
/hardware/libhardware/modules/input/evdev/
DInputDevice.h35 struct InputEvent;
45 virtual void processInput(InputEvent& event, nsecs_t currentTime) = 0;
61 virtual void processInput(InputEvent& event, nsecs_t currentTime) override;
DInputMapper.h27 struct InputEvent;
65 virtual void process(const InputEvent& event) = 0;
DSwitchInputMapper.h36 virtual void process(const InputEvent& event) override;
DMouseInputMapper.h35 virtual void process(const InputEvent& event) override;
DInputDeviceManager.cpp28 void InputDeviceManager::onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& eve… in onInputEvent()
DInputHub.h33 struct InputEvent { struct
118 virtual void onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event,
DInputDeviceManager.h43 virtual void onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event,
DSwitchInputMapper.cpp78 void SwitchInputMapper::process(const InputEvent& event) { in process()
DMouseInputMapper.cpp90 void MouseInputMapper::process(const InputEvent& event) { in process()
DInputDevice.cpp244 void EvdevDevice::processInput(InputEvent& event, nsecs_t currentTime) { in processInput()
DInputHub.cpp631 InputEvent inputEvent = { when, iev.type, iev.code, iev.value }; in poll()