Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.cpp192 mEpollFd = epoll_create(EPOLL_SIZE_HINT); in EventHub()
193 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance. errno=%d", errno); in EventHub()
204 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub()
223 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, &eventItem); in EventHub()
242 ::close(mEpollFd); in ~EventHub()
992 int pollResult = epoll_wait(mEpollFd, mPendingEventItems, EPOLL_MAX_EVENTS, timeoutMillis); in getEvents()
1346 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, fd, &eventItem)) { in openDeviceLocked()
1560 if (epoll_ctl(mEpollFd, EPOLL_CTL_DEL, device->fd, NULL)) { in closeDeviceLocked()
DEventHub.h443 int mEpollFd; variable