Searched refs:mEpollFd (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 267 mEpollFd = epoll_create1(EPOLL_CLOEXEC); in EventHub() 268 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance: %s", strerror(errno)); in EventHub() 287 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub() 306 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, &eventItem); in EventHub() 325 ::close(mEpollFd); in ~EventHub() 1037 int pollResult = epoll_wait(mEpollFd, mPendingEventItems, EPOLL_MAX_EVENTS, timeoutMillis); in getEvents() 1134 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, fd, &eventItem)) { in registerFdForEpoll() 1142 if (epoll_ctl(mEpollFd, EPOLL_CTL_DEL, fd, nullptr)) { in unregisterFdFromEpoll()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | EventHub.h | 462 int mEpollFd; variable
|