Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DTimer.cpp51 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()
DTimer.h46 int mTimerFd = -1; variable