Searched refs:mEpollFd (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/ |
D | EventHub.cpp | 253 mEpollFd = epoll_create1(EPOLL_CLOEXEC); in EventHub() 254 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance: %s", strerror(errno)); in EventHub() 273 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub() 292 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, &eventItem); in EventHub() 311 ::close(mEpollFd); in ~EventHub() 1028 int pollResult = epoll_wait(mEpollFd, mPendingEventItems, EPOLL_MAX_EVENTS, timeoutMillis); in getEvents() 1125 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, fd, &eventItem)) { in registerFdForEpoll() 1133 if (epoll_ctl(mEpollFd, EPOLL_CTL_DEL, fd, nullptr)) { in unregisterFdFromEpoll()
|
D | EventHub.h | 466 int mEpollFd; variable
|