Home
last modified time | relevance | path

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

/system/core/libutils/
DLooper.cpp68 mWakeEventFd.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in Looper()
69 … LOG_ALWAYS_FATAL_IF(mWakeEventFd.get() < 0, "Could not make wake event fd: %s", strerror(errno)); in Looper()
145 eventItem.data.fd = mWakeEventFd.get(); in rebuildEpollLocked()
146 int result = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, mWakeEventFd.get(), &eventItem); in rebuildEpollLocked()
279 if (fd == mWakeEventFd.get()) { in pollInner()
399 ssize_t nWrite = TEMP_FAILURE_RETRY(write(mWakeEventFd.get(), &inc, sizeof(uint64_t))); in wake()
403 mWakeEventFd.get(), nWrite, strerror(errno)); in wake()
414 TEMP_FAILURE_RETRY(read(mWakeEventFd.get(), &counter, sizeof(uint64_t))); in awoken()
/system/core/libutils/include/utils/
DLooper.h452 android::base::unique_fd mWakeEventFd; // immutable variable