Home
last modified time | relevance | path

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

/hardware/libhardware/tests/input/evdev/
DInputHub_test.cpp173 ssize_t nWrite = TEMP_FAILURE_RETRY(write(deviceFile->getFd(), &iev, sizeof(iev))); in TEST_F() local
175 ASSERT_EQ(static_cast<ssize_t>(sizeof(iev)), nWrite) << "could not write to " in TEST_F()
241 ssize_t nWrite = TEMP_FAILURE_RETRY(write(deviceFile1->getFd(), &iev, sizeof(iev))); in TEST_F() local
243 ASSERT_EQ(static_cast<ssize_t>(sizeof(iev)), nWrite) << "could not write to " in TEST_F()
/hardware/libhardware/modules/input/evdev/
DInputHub.cpp656 ssize_t nWrite = TEMP_FAILURE_RETRY(write(mWakeEventFd, &u, sizeof(uint64_t))); in wake() local
658 if (nWrite != sizeof(uint64_t) && errno != EAGAIN) { in wake()