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

  /hardware/libhardware/modules/input/evdev/
InputDeviceManager.h 39 virtual void onInputEvent(std::shared_ptr<InputDeviceNode> node, InputEvent& event,
41 virtual void onDeviceAdded(std::shared_ptr<InputDeviceNode> node) override;
42 virtual void onDeviceRemoved(std::shared_ptr<InputDeviceNode> node) override;
48 DeviceMap<InputDeviceNode, InputDeviceInterface> mDevices;
InputDeviceManager.cpp 27 void InputDeviceManager::onInputEvent(std::shared_ptr<InputDeviceNode> node, InputEvent& event,
36 void InputDeviceManager::onDeviceAdded(std::shared_ptr<InputDeviceNode> node) {
40 void InputDeviceManager::onDeviceRemoved(std::shared_ptr<InputDeviceNode> node) {
45 // TODO: tell the InputDevice and InputDeviceNode that they are being
InputDevice.h 46 explicit EvdevDevice(std::shared_ptr<InputDeviceNode> node);
52 std::shared_ptr<InputDeviceNode> mDeviceNode;
InputHub.h 51 * 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 {
85 InputDeviceNode() = default;
86 virtual ~InputDeviceNode() = default;
92 virtual void onInputEvent(std::shared_ptr<InputDeviceNode> node, InputEvent& event,
94 virtual void onDeviceAdded(std::shared_ptr<InputDeviceNode> node) = 0;
95 virtual void onDeviceRemoved(std::shared_ptr<InputDeviceNode> node) = 0;
146 status_t openNode(const std::string& path, std::shared_ptr<InputDeviceNode>* outNode);
147 status_t closeNode(const std::shared_ptr<InputDeviceNode>& node)
    [all...]
InputDevice.cpp 37 EvdevDevice::EvdevDevice(std::shared_ptr<InputDeviceNode> node) :
InputHub.cpp 82 class EvdevDeviceNode : public InputDeviceNode {
538 std::shared_ptr<InputDeviceNode> deviceNode;
673 std::shared_ptr<InputDeviceNode> deviceNode;
715 std::shared_ptr<InputDeviceNode> node;
727 std::shared_ptr<InputDeviceNode>* outNode) {
736 *outNode = std::static_pointer_cast<InputDeviceNode>(evdevNode);
771 status_t InputHub::closeNode(const std::shared_ptr<InputDeviceNode>& node) {
791 std::shared_ptr<InputDeviceNode> InputHub::findNodeByPath(const std::string& path) {
  /hardware/libhardware/tests/input/evdev/
InputHub_test.cpp 44 using InputCbFunc = std::function<void(std::shared_ptr<InputDeviceNode>, InputEvent&, nsecs_t)>;
45 using DeviceCbFunc = std::function<void(std::shared_ptr<InputDeviceNode>)>;
47 static const InputCbFunc kNoopInputCb = [](std::shared_ptr<InputDeviceNode>, InputEvent&, nsecs_t){};
48 static const DeviceCbFunc kNoopDeviceCb = [](std::shared_ptr<InputDeviceNode>){};
60 virtual void onInputEvent(std::shared_ptr<InputDeviceNode> node, InputEvent& event,
64 virtual void onDeviceAdded(std::shared_ptr<InputDeviceNode> node) override {
67 virtual void onDeviceRemoved(std::shared_ptr<InputDeviceNode> node) override {
104 [&](std::shared_ptr<InputDeviceNode> node) {
136 std::shared_ptr<InputDeviceNode> tempNode;
139 [&](std::shared_ptr<InputDeviceNode> node)
    [all...]
InputDevice_test.cpp 38 class MockInputDeviceNode : public InputDeviceNode {

Completed in 1867 milliseconds