Home
last modified time | relevance | path

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

/system/core/libutils/
DLooper.cpp70 mWakeEventFd.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in Looper()
71 … LOG_ALWAYS_FATAL_IF(mWakeEventFd.get() < 0, "Could not make wake event fd: %s", strerror(errno)); in Looper()
147 eventItem.data.fd = mWakeEventFd.get(); in rebuildEpollLocked()
148 int result = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, mWakeEventFd.get(), &eventItem); in rebuildEpollLocked()
281 if (fd == mWakeEventFd.get()) { in pollInner()
401 ssize_t nWrite = TEMP_FAILURE_RETRY(write(mWakeEventFd.get(), &inc, sizeof(uint64_t))); in wake()
405 mWakeEventFd.get(), nWrite, strerror(errno)); in wake()
416 TEMP_FAILURE_RETRY(read(mWakeEventFd.get(), &counter, sizeof(uint64_t))); in awoken()
/system/core/libutils/include/utils/
DLooper.h453 android::base::unique_fd mWakeEventFd; // immutable variable