Home
last modified time | relevance | path

Searched refs:mInputHub (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/tests/input/evdev/
DInputHub_test.cpp78 mInputHub = std::make_shared<InputHub>(mCallback); in SetUp()
82 std::shared_ptr<InputHub> mInputHub; member in android::tests::InputHubTest
87 auto f = delay_async(100ms, [&]() { EXPECT_EQ(OK, mInputHub->wake()); }); in TEST_F()
90 EXPECT_EQ(OK, mInputHub->poll()); in TEST_F()
105 ASSERT_EQ(OK, mInputHub->registerDevicePath(tempDir->getName())); in TEST_F()
117 EXPECT_EQ(OK, mInputHub->poll()); in TEST_F()
144 ASSERT_EQ(OK, mInputHub->registerDevicePath(tempDir->getName())); in TEST_F()
151 EXPECT_EQ(OK, mInputHub->poll()); in TEST_F()
191 ASSERT_EQ(OK, mInputHub->registerDevicePath(tempDir->getName())); in TEST_F()
194 EXPECT_EQ(OK, mInputHub->poll()); in TEST_F()
[all …]
/hardware/libhardware/modules/input/evdev/
DEvdevModule.cpp51 std::unique_ptr<InputHub> mInputHub; member in android::EvdevModule
60 mInputHub(std::make_unique<InputHub>(mDeviceManager)) {} in EvdevModule()
65 mInputHub->registerDevicePath(kDevInput); in init()
84 mInputHub->poll(); in loop()