Searched refs:InputDeviceNode (Results 1 – 13 of 13) sorted by relevance
/hardware/libhardware/modules/input/evdev/ |
D | InputHub.h | 57 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;
|
D | InputDeviceManager.h | 43 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;
|
D | InputDeviceManager.cpp | 28 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()
|
D | InputMapper.h | 24 class InputDeviceNode; variable 48 virtual bool configureInputReport(InputDeviceNode* devNode, InputReportDefinition* report) { in configureInputReport() 58 virtual bool configureOutputReport(InputDeviceNode* devNode, InputReportDefinition* report) { in configureOutputReport()
|
D | InputDevice.h | 33 class InputDeviceNode; variable 58 EvdevDevice(InputHostInterface* host, const std::shared_ptr<InputDeviceNode>& node); 69 std::shared_ptr<InputDeviceNode> mDeviceNode;
|
D | SwitchInputMapper.h | 34 virtual bool configureInputReport(InputDeviceNode* devNode,
|
D | MouseInputMapper.h | 33 virtual bool configureInputReport(InputDeviceNode* devNode,
|
D | InputDevice.cpp | 43 static InputBus getInputBus(const std::shared_ptr<InputDeviceNode>& node) { in getInputBus() 96 EvdevDevice::EvdevDevice(InputHostInterface* host, const std::shared_ptr<InputDeviceNode>& node) : in EvdevDevice()
|
D | InputHub.cpp | 69 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()
|
D | SwitchInputMapper.cpp | 84 bool SwitchInputMapper::configureInputReport(InputDeviceNode* devNode, in configureInputReport()
|
D | MouseInputMapper.cpp | 51 bool MouseInputMapper::configureInputReport(InputDeviceNode* devNode, in configureInputReport()
|
/hardware/libhardware/tests/input/evdev/ |
D | InputHub_test.cpp | 41 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 …]
|
D | InputMocks.h | 30 class MockInputDeviceNode : public InputDeviceNode {
|