Searched refs:mEpollFd (Results 1 – 2 of 2) sorted by relevance
/system/core/libutils/ |
D | Looper.cpp | 131 if (mEpollFd >= 0) { in rebuildEpollLocked() 135 mEpollFd.reset(); in rebuildEpollLocked() 139 mEpollFd.reset(epoll_create1(EPOLL_CLOEXEC)); in rebuildEpollLocked() 140 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance: %s", strerror(errno)); in rebuildEpollLocked() 146 int result = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, mWakeEventFd.get(), &eventItem); in rebuildEpollLocked() 155 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, request.fd, &eventItem); in rebuildEpollLocked() 237 int eventCount = epoll_wait(mEpollFd.get(), eventItems, EPOLL_MAX_EVENTS, timeoutMillis); in pollInner() 465 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, fd, &eventItem); in addFd() 472 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_MOD, fd, &eventItem); in addFd() 493 epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, fd, &eventItem); in addFd() [all …]
|
/system/core/libutils/include/utils/ |
D | Looper.h | 462 android::base::unique_fd mEpollFd; // guarded by mLock but only modified on the looper thread variable
|