Searched refs:deviceNode (Results 1 – 2 of 2) sorted by relevance
48 MockInputDeviceNode deviceNode; in TEST_F() local49 deviceNode.addKeys(BTN_LEFT, BTN_RIGHT, BTN_MIDDLE); in TEST_F()50 deviceNode.addRelAxis(REL_X); in TEST_F()51 deviceNode.addRelAxis(REL_Y); in TEST_F()63 EXPECT_TRUE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F()68 MockInputDeviceNode deviceNode; in TEST_F() local74 EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F()79 MockInputDeviceNode deviceNode; in TEST_F() local80 deviceNode.addKeys(BTN_LEFT, BTN_RIGHT, BTN_MIDDLE); in TEST_F()81 deviceNode.addRelAxis(REL_X); in TEST_F()[all …]
554 std::shared_ptr<InputDeviceNode> deviceNode; in poll() local588 deviceNode = mDeviceNodes[inputFd]; in poll()590 if (deviceNode == nullptr) { in poll()618 mInputCallback->onInputEvent(deviceNode, inputEvent, now); in poll()633 auto deviceNode = mDeviceNodes[deviceFd]; in poll() local634 if (deviceNode != nullptr) { in poll()639 mInputCallback->onDeviceRemoved(deviceNode); in poll()688 auto deviceNode = openNode(path); in readNotify() local689 if (deviceNode == nullptr) { in readNotify()692 mInputCallback->onDeviceAdded(deviceNode); in readNotify()[all …]