Searched refs:mTimerFd (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/src/ |
D | Timer.cpp | 62 mTimerFd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | TFD_NONBLOCK); in reset() 77 if (mTimerFd != -1) { in cleanup() 78 close(mTimerFd); in cleanup() 79 mTimerFd = -1; in cleanup() 124 if (timerfd_settime(mTimerFd, TFD_TIMER_ABSTIME, &new_timer, &old_timer)) { in alarmAt() 141 if (timerfd_settime(mTimerFd, 0, &new_timer, &old_timer)) { in alarmCancel() 170 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mTimerFd, &timerEvent) == -1) { in dispatch() 207 read(mTimerFd, &mIgnored, sizeof(mIgnored)); in dispatch()
|
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | Timer.h | 65 int mTimerFd = -1; variable
|