Searched refs:mEpollFd (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/ |
D | EventHub.cpp | 185 mEpollFd = epoll_create(EPOLL_SIZE_HINT); in EventHub() 186 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance. errno=%d", errno); in EventHub() 197 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub() 216 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, &eventItem); in EventHub() 235 ::close(mEpollFd); in ~EventHub() 975 int pollResult = epoll_wait(mEpollFd, mPendingEventItems, EPOLL_MAX_EVENTS, timeoutMillis); in getEvents() 1302 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, fd, &eventItem)) { in openDeviceLocked() 1506 if (epoll_ctl(mEpollFd, EPOLL_CTL_DEL, device->fd, NULL)) { in closeDeviceLocked()
|
D | EventHub.h | 431 int mEpollFd; variable
|