Lines Matching refs:iev
165 struct input_event iev; in TEST_F() local
166 iev.time = { 1, 0 }; in TEST_F()
167 iev.type = EV_KEY; in TEST_F()
168 iev.code = KEY_HOME; in TEST_F()
169 iev.value = 0x01; in TEST_F()
173 ssize_t nWrite = TEMP_FAILURE_RETRY(write(deviceFile->getFd(), &iev, sizeof(iev))); in TEST_F()
175 ASSERT_EQ(static_cast<ssize_t>(sizeof(iev)), nWrite) << "could not write to " in TEST_F()
235 struct input_event iev; in TEST_F() local
236 iev.time = { 1, 0 }; in TEST_F()
237 iev.type = EV_KEY; in TEST_F()
238 iev.code = KEY_HOME; in TEST_F()
239 iev.value = 0x01; in TEST_F()
241 ssize_t nWrite = TEMP_FAILURE_RETRY(write(deviceFile1->getFd(), &iev, sizeof(iev))); in TEST_F()
243 ASSERT_EQ(static_cast<ssize_t>(sizeof(iev)), nWrite) << "could not write to " in TEST_F()