Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.cpp209 mEpollFd = epoll_create(EPOLL_SIZE_HINT); in EventHub()
210 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance. errno=%d", errno); in EventHub()
221 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub()
240 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, &eventItem); in EventHub()
259 ::close(mEpollFd); in ~EventHub()
1009 int pollResult = epoll_wait(mEpollFd, mPendingEventItems, EPOLL_MAX_EVENTS, timeoutMillis); in getEvents()
1093 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, device->fd, &eventItem)) { in registerDeviceForEpollLocked()
1102 if (epoll_ctl(mEpollFd, EPOLL_CTL_DEL, device->fd, NULL)) { in unregisterDeviceFromEpollLocked()
DEventHub.h462 int mEpollFd; variable