Searched refs:iev (Results 1 – 2 of 2) sorted by relevance
165 struct input_event iev; in TEST_F() local166 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() local236 iev.time = { 1, 0 }; in TEST_F()237 iev.type = EV_KEY; in TEST_F()[all …]
615 auto& iev = ievs[i]; in poll() local616 auto when = s2ns(iev.time.tv_sec) + us2ns(iev.time.tv_usec); in poll()617 InputEvent inputEvent = { when, iev.type, iev.code, iev.value }; in poll()