Searched refs:deviceNode (Results 1 – 3 of 3) sorted by relevance
/hardware/libhardware/tests/input/evdev/ |
D | MouseInputMapper_test.cpp | 48 MockInputDeviceNode deviceNode; in TEST_F() local 49 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() local 74 EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F() 79 MockInputDeviceNode deviceNode; in TEST_F() local 80 deviceNode.addKeys(BTN_LEFT, BTN_RIGHT, BTN_MIDDLE); in TEST_F() 81 deviceNode.addRelAxis(REL_X); in TEST_F() [all …]
|
D | SwitchInputMapper_test.cpp | 48 MockInputDeviceNode deviceNode; in TEST_F() local 49 deviceNode.addSwitch(SW_LID); in TEST_F() 50 deviceNode.addSwitch(SW_CAMERA_LENS_COVER); in TEST_F() 57 EXPECT_TRUE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F() 62 MockInputDeviceNode deviceNode; in TEST_F() local 67 EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F() 72 MockInputDeviceNode deviceNode; in TEST_F() local 73 deviceNode.addSwitch(SW_LID); in TEST_F() 78 mMapper->configureInputReport(&deviceNode, &reportDef); in TEST_F()
|
/hardware/libhardware/modules/input/evdev/ |
D | InputHub.cpp | 554 std::shared_ptr<InputDeviceNode> deviceNode; in poll() local 588 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() local 634 if (deviceNode != nullptr) { in poll() 639 mInputCallback->onDeviceRemoved(deviceNode); in poll() 688 auto deviceNode = openNode(path); in readNotify() local 689 if (deviceNode == nullptr) { in readNotify() 692 mInputCallback->onDeviceAdded(deviceNode); in readNotify() [all …]
|