Searched refs:mEpollFd (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Timer.cpp | 52 mEpollFd = epoll_create1(EPOLL_CLOEXEC); in reset() 66 if (mEpollFd != -1) { in cleanup() 67 close(mEpollFd); in cleanup() 68 mEpollFd = -1; in cleanup() 150 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mTimerFd, &timerEvent) == -1) { in dispatch() 158 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mPipes[kReadPipe], &terminateEvent) == -1) { in dispatch() 171 int nfds = epoll_wait(mEpollFd, events, DispatchType::MAX_DISPATCH_TYPE, -1); in dispatch()
|
D | Timer.h | 47 int mEpollFd = -1; variable
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 297 mEpollFd = epoll_create1(EPOLL_CLOEXEC); in EventHub() 298 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance: %s", strerror(errno)); in EventHub() 316 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub() 335 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, &eventItem); in EventHub() 349 ::close(mEpollFd); in ~EventHub() 1058 int pollResult = epoll_wait(mEpollFd, mPendingEventItems, EPOLL_MAX_EVENTS, timeoutMillis); in getEvents() 1154 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, fd, &eventItem)) { in registerFdForEpoll() 1162 if (epoll_ctl(mEpollFd, EPOLL_CTL_DEL, fd, nullptr)) { in unregisterFdFromEpoll()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | EventHub.h | 463 int mEpollFd; variable
|