Lines Matching refs:TimerState
126 [this, callback] { std::invoke(callback, this, TimerState::Reset); }, in Scheduler()
127 [this, callback] { std::invoke(callback, this, TimerState::Expired); }); in Scheduler()
135 [this] { touchTimerCallback(TimerState::Reset); }, in Scheduler()
136 [this] { touchTimerCallback(TimerState::Expired); }); in Scheduler()
143 [this] { displayPowerTimerCallback(TimerState::Reset); }, in Scheduler()
144 [this] { displayPowerTimerCallback(TimerState::Expired); }); in Scheduler()
537 void Scheduler::kernelIdleTimerCallback(TimerState state) { in kernelIdleTimerCallback()
544 if (state == TimerState::Reset && refreshRate.getFps() > FPS_THRESHOLD_FOR_KERNEL_TIMER) { in kernelIdleTimerCallback()
549 } else if (state == TimerState::Expired && in kernelIdleTimerCallback()
557 mSchedulerCallback.kernelTimerChanged(state == TimerState::Expired); in kernelIdleTimerCallback()
560 void Scheduler::idleTimerCallback(TimerState state) { in idleTimerCallback()
565 void Scheduler::touchTimerCallback(TimerState state) { in touchTimerCallback()
566 const TouchState touch = state == TimerState::Reset ? TouchState::Active : TouchState::Inactive; in touchTimerCallback()
573 void Scheduler::displayPowerTimerCallback(TimerState state) { in displayPowerTimerCallback()
627 mFeatures.displayPowerTimer == TimerState::Reset)) { in calculateRefreshRateConfigIndexType()
632 const bool idle = mIdleTimer && mFeatures.idleTimer == TimerState::Expired; in calculateRefreshRateConfigIndexType()