Lines Matching refs:device

69     auto device = std::make_unique<EvdevDevice>(&mHost, node);  in TEST_F()  local
70 ASSERT_TRUE(device != nullptr); in TEST_F()
78 device->processInput(event, now); in TEST_F()
85 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
86 ASSERT_TRUE(device != nullptr); in TEST_F()
95 device->processInput(event, now - s2ns(11)); in TEST_F()
102 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
104 device->getInputClasses()); in TEST_F()
109 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
110 EXPECT_EQ(INPUT_DEVICE_CLASS_KEYBOARD, device->getInputClasses()); in TEST_F()
123 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
124 EXPECT_EQ(INPUT_DEVICE_CLASS_SWITCH, device->getInputClasses()); in TEST_F()
129 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
130 EXPECT_EQ(INPUT_DEVICE_CLASS_KEYBOARD, device->getInputClasses()); in TEST_F()
135 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
136 EXPECT_EQ(INPUT_DEVICE_CLASS_KEYBOARD, device->getInputClasses()); in TEST_F()
141 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
142 EXPECT_EQ(INPUT_DEVICE_CLASS_KEYBOARD, device->getInputClasses()); in TEST_F()
147 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
148 EXPECT_EQ(INPUT_DEVICE_CLASS_KEYBOARD, device->getInputClasses()); in TEST_F()
153 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
154 EXPECT_EQ(INPUT_DEVICE_CLASS_KEYBOARD, device->getInputClasses()); in TEST_F()
159 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local
160 EXPECT_EQ(INPUT_DEVICE_CLASS_JOYSTICK|INPUT_DEVICE_CLASS_KEYBOARD, device->getInputClasses()); in TEST_F()
165 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F() local