Home
last modified time | relevance | path

Searched refs:mIdleTimer (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DOneShotTimerTest.cpp41 std::unique_ptr<OneShotTimer> mIdleTimer; member in android::scheduler::OneShotTimerTest
52 mIdleTimer = std::make_unique<scheduler::OneShotTimer>( in TEST_F()
58 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
62 mIdleTimer->start(); in TEST_F()
72 mIdleTimer->stop(); in TEST_F()
77 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
82 mIdleTimer->start(); in TEST_F()
87 mIdleTimer->reset(); in TEST_F()
99 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
103 mIdleTimer->start(); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp135 mIdleTimer.emplace( in Scheduler()
139 mIdleTimer->start(); in Scheduler()
179 mIdleTimer.reset(); in ~Scheduler()
656 if (mIdleTimer) { in resetIdleTimer()
657 mIdleTimer->reset(); in resetIdleTimer()
665 if (mOptions.supportKernelTimer && mIdleTimer) { in notifyTouchEvent()
666 mIdleTimer->reset(); in notifyTouchEvent()
735 StringAppendF(&result, "+ Idle timer: %s\n", mIdleTimer ? mIdleTimer->dump().c_str() : "off"); in dump()
845 const bool idle = mIdleTimer && mFeatures.idleTimer == TimerState::Expired; in calculateRefreshRateModeId()
DScheduler.h137 bool isIdleTimerEnabled() const { return mIdleTimer.has_value(); } in isIdleTimerEnabled()
274 std::optional<scheduler::OneShotTimer> mIdleTimer; variable
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp103 mIdleTimer( in RegionSamplingThread()
111 mIdleTimer.start();
121 mIdleTimer.stop(); in ~RegionSamplingThread()
189 mIdleTimer.reset(); in doSample()
DRegionSamplingThread.h109 scheduler::OneShotTimer mIdleTimer; variable