Home
last modified time | relevance | path

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

/system/core/libutils/
DLooper.cpp133 if (mEpollFd >= 0) { in rebuildEpollLocked()
137 mEpollFd.reset(); in rebuildEpollLocked()
141 mEpollFd.reset(epoll_create1(EPOLL_CLOEXEC)); in rebuildEpollLocked()
142 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance: %s", strerror(errno)); in rebuildEpollLocked()
148 int result = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, mWakeEventFd.get(), &eventItem); in rebuildEpollLocked()
157 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, request.fd, &eventItem); in rebuildEpollLocked()
239 int eventCount = epoll_wait(mEpollFd.get(), eventItems, EPOLL_MAX_EVENTS, timeoutMillis); in pollInner()
467 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, fd, &eventItem); in addFd()
474 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_MOD, fd, &eventItem); in addFd()
495 epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, fd, &eventItem); in addFd()
[all …]
/system/core/libutils/include/utils/
DLooper.h463 android::base::unique_fd mEpollFd; // guarded by mLock but only modified on the looper thread variable