Searched refs:mTimerFd (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Timer.cpp | 51 mTimerFd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | TFD_NONBLOCK); in reset() 61 if (mTimerFd != -1) { in cleanup() 62 close(mTimerFd); in cleanup() 63 mTimerFd = -1; in cleanup() 106 if (timerfd_settime(mTimerFd, TFD_TIMER_ABSTIME, &new_timer, &old_timer)) { in alarmAt() 123 if (timerfd_settime(mTimerFd, 0, &new_timer, &old_timer)) { in alarmCancel() 150 if (epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mTimerFd, &timerEvent) == -1) { in dispatch() 191 read(mTimerFd, &mIgnored, sizeof(mIgnored)); in dispatch()
|
D | Timer.h | 46 int mTimerFd = -1; variable
|