Home
last modified time | relevance | path

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

/system/core/libutils/
DLooper.cpp90 mEpollFd = epoll_create(EPOLL_SIZE_HINT); in Looper()
91 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance. errno=%d", errno); in Looper()
97 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, & eventItem); in Looper()
105 close(mEpollFd); in ~Looper()
223 int eventCount = epoll_wait(mEpollFd, eventItems, EPOLL_MAX_EVENTS, timeoutMillis); in pollInner()
448 int epollResult = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, fd, & eventItem); in addFd()
455 int epollResult = epoll_ctl(mEpollFd, EPOLL_CTL_MOD, fd, & eventItem); in addFd()
478 int epollResult = epoll_ctl(mEpollFd, EPOLL_CTL_DEL, fd, NULL); in removeFd()
/system/core/include/utils/
DLooper.h456 int mEpollFd; // immutable variable