Searched refs:mWakeEventFd (Results 1 – 2 of 2) sorted by relevance
/hardware/libhardware/modules/input/evdev/ |
D | InputHub.cpp | 466 mWakeEventFd = eventfd(0, EFD_NONBLOCK); in InputHub() 467 LOG_ALWAYS_FATAL_IF(mWakeEventFd == -1, "Could not create wake event fd. errno=%d", errno); in InputHub() 469 eventItem.data.u32 = mWakeEventFd; in InputHub() 470 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeEventFd, &eventItem); in InputHub() 477 ::close(mWakeEventFd); in ~InputHub() 568 if (dataFd == mWakeEventFd) { in poll() 572 ssize_t nRead = TEMP_FAILURE_RETRY(read(mWakeEventFd, &u, sizeof(uint64_t))); in poll() 656 ssize_t nWrite = TEMP_FAILURE_RETRY(write(mWakeEventFd, &u, sizeof(uint64_t))); in wake()
|
D | InputHub.h | 215 int mWakeEventFd; variable
|