Home
last modified time | relevance | path

Searched refs:InputDeviceNode (Results 1 – 13 of 13) sorted by relevance

/hardware/libhardware/modules/input/evdev/
DInputHub.h57 class InputDeviceNode {
111 InputDeviceNode() = default;
112 virtual ~InputDeviceNode() = default;
118 virtual void onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event,
120 virtual void onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) = 0;
121 virtual void onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) = 0;
172 std::shared_ptr<InputDeviceNode> openNode(const std::string& path);
173 status_t closeNode(const InputDeviceNode* node);
175 std::shared_ptr<InputDeviceNode> findNodeByPath(const std::string& path);
223 std::unordered_map<int, std::shared_ptr<InputDeviceNode>> mDeviceNodes;
DInputDeviceManager.h43 virtual void onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event,
45 virtual void onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) override;
46 virtual void onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) override;
54 DeviceMap<InputDeviceNode, InputDeviceInterface> mDevices;
DInputDeviceManager.cpp28 void InputDeviceManager::onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& eve… in onInputEvent()
37 void InputDeviceManager::onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) { in onDeviceAdded()
41 void InputDeviceManager::onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) { in onDeviceRemoved()
DInputMapper.h24 class InputDeviceNode; variable
48 virtual bool configureInputReport(InputDeviceNode* devNode, InputReportDefinition* report) { in configureInputReport()
58 virtual bool configureOutputReport(InputDeviceNode* devNode, InputReportDefinition* report) { in configureOutputReport()
DInputDevice.h33 class InputDeviceNode; variable
58 EvdevDevice(InputHostInterface* host, const std::shared_ptr<InputDeviceNode>& node);
69 std::shared_ptr<InputDeviceNode> mDeviceNode;
DSwitchInputMapper.h34 virtual bool configureInputReport(InputDeviceNode* devNode,
DMouseInputMapper.h33 virtual bool configureInputReport(InputDeviceNode* devNode,
DInputDevice.cpp43 static InputBus getInputBus(const std::shared_ptr<InputDeviceNode>& node) { in getInputBus()
96 EvdevDevice::EvdevDevice(InputHostInterface* host, const std::shared_ptr<InputDeviceNode>& node) : in EvdevDevice()
DInputHub.cpp69 class EvdevDeviceNode : public InputDeviceNode {
554 std::shared_ptr<InputDeviceNode> deviceNode; in poll()
740 std::shared_ptr<InputDeviceNode> InputHub::openNode(const std::string& path) { in openNode()
783 status_t InputHub::closeNode(const InputDeviceNode* node) { in closeNode()
803 std::shared_ptr<InputDeviceNode> InputHub::findNodeByPath(const std::string& path) { in findNodeByPath()
DSwitchInputMapper.cpp84 bool SwitchInputMapper::configureInputReport(InputDeviceNode* devNode, in configureInputReport()
DMouseInputMapper.cpp51 bool MouseInputMapper::configureInputReport(InputDeviceNode* devNode, in configureInputReport()
/hardware/libhardware/tests/input/evdev/
DInputHub_test.cpp41 using InputCbFunc = std::function<void(const std::shared_ptr<InputDeviceNode>&, InputEvent&, nsecs_…
42 using DeviceCbFunc = std::function<void(const std::shared_ptr<InputDeviceNode>&)>;
44 static const InputCbFunc kNoopInputCb = [](const std::shared_ptr<InputDeviceNode>&, InputEvent&, ns… in __anon5f3141d90102() argument
45 static const DeviceCbFunc kNoopDeviceCb = [](const std::shared_ptr<InputDeviceNode>&){}; in __anon5f3141d90202() argument
57 virtual void onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event, in onInputEvent()
61 virtual void onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) override { in onDeviceAdded()
64 virtual void onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) override { in onDeviceRemoved()
101 [&](const std::shared_ptr<InputDeviceNode>& node) { in TEST_F()
133 std::shared_ptr<InputDeviceNode> tempNode; in TEST_F()
136 [&](const std::shared_ptr<InputDeviceNode>& node) { in TEST_F()
[all …]
DInputMocks.h30 class MockInputDeviceNode : public InputDeviceNode {