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

/hardware/libhardware/modules/input/evdev/
H A DInputDeviceManager.cpp28 void InputDeviceManager::onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event,
37 void InputDeviceManager::onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) {
41 void InputDeviceManager::onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) {
46 // TODO: tell the InputDevice and InputDeviceNode that they are being
H A 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;
H A DInputHub.h51 * An InputDeviceNode represents a device node in the Linux system. It can be
54 * An InputDeviceNode should only be used on the same thread that is polling for
57 class InputDeviceNode { class in namespace:android
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* nod
[all...]
H A DInputDevice.h33 class InputDeviceNode;
58 EvdevDevice(InputHostInterface* host, const std::shared_ptr<InputDeviceNode>& node);
69 std::shared_ptr<InputDeviceNode> mDeviceNode;
H A DInputMapper.h24 class InputDeviceNode;
48 virtual bool configureInputReport(InputDeviceNode* devNode, InputReportDefinition* report) {
58 virtual bool configureOutputReport(InputDeviceNode* devNode, InputReportDefinition* report) {
H A DSwitchInputMapper.h34 virtual bool configureInputReport(InputDeviceNode* devNode,
H A DMouseInputMapper.h33 virtual bool configureInputReport(InputDeviceNode* devNode,
H A DSwitchInputMapper.cpp59 bool SwitchInputMapper::configureInputReport(InputDeviceNode* devNode,
H A DInputDevice.cpp45 static InputBus getInputBus(const std::shared_ptr<InputDeviceNode>& node) {
111 EvdevDevice::EvdevDevice(InputHostInterface* host, const std::shared_ptr<InputDeviceNode>& node) :
H A DMouseInputMapper.cpp51 bool MouseInputMapper::configureInputReport(InputDeviceNode* devNode,
H A DInputHub.cpp83 class EvdevDeviceNode : public InputDeviceNode {
568 std::shared_ptr<InputDeviceNode> deviceNode;
755 std::shared_ptr<InputDeviceNode> InputHub::openNode(const std::string& path) {
798 status_t InputHub::closeNode(const InputDeviceNode* node) {
818 std::shared_ptr<InputDeviceNode> InputHub::findNodeByPath(const std::string& path) {
/hardware/libhardware/tests/input/evdev/
H A DInputHub_test.cpp41 using InputCbFunc = std::function<void(const std::shared_ptr<InputDeviceNode>&, InputEvent&, nsecs_t)>;
42 using DeviceCbFunc = std::function<void(const std::shared_ptr<InputDeviceNode>&)>;
44 static const InputCbFunc kNoopInputCb = [](const std::shared_ptr<InputDeviceNode>&, InputEvent&, nsecs_t){};
45 static const DeviceCbFunc kNoopDeviceCb = [](const std::shared_ptr<InputDeviceNode>&){};
57 virtual void onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event,
61 virtual void onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) override {
64 virtual void onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) override {
101 [&](const std::shared_ptr<InputDeviceNode>& node) {
133 std::shared_ptr<InputDeviceNode> tempNode;
136 [&](const std::shared_ptr<InputDeviceNode>
[all...]
H A DInputMocks.h30 class MockInputDeviceNode : public InputDeviceNode {

Completed in 148 milliseconds