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()
78 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
83 mIdleTimer->start(); in TEST_F()
88 mIdleTimer->reset(); in TEST_F()
101 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
105 mIdleTimer->start(); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.h401 if (mIdleTimer) { in startIdleTimer()
402 mIdleTimer->start(); in startIdleTimer()
408 if (mIdleTimer) { in stopIdleTimer()
409 mIdleTimer->stop(); in stopIdleTimer()
414 if (mIdleTimer && mConfig.kernelIdleTimerController) { in resetKernelIdleTimer()
415 mIdleTimer->reset(); in resetKernelIdleTimer()
420 if (mIdleTimer) { in resetIdleTimer()
421 mIdleTimer->reset(); in resetIdleTimer()
583 ftl::Optional<scheduler::OneShotTimer> mIdleTimer; variable
DRefreshRateSelector.cpp1270 mIdleTimer.emplace( in initializeIdleTimer()
1398 LOG_ALWAYS_FATAL_IF(!mIdleTimer); in setPolicy()
1400 mIdleTimer->setInterval(mConfig.legacyIdleTimerTimeout); in setPolicy()
1401 mIdleTimer->resume(); in setPolicy()
1403 mIdleTimer->pause(); in setPolicy()
1408 if (!mIdleTimer) { in setPolicy()
1411 mIdleTimer->start(); in setPolicy()
1414 mIdleTimer->setInterval(timeout); in setPolicy()
1415 mIdleTimer->resume(); in setPolicy()
1418 if (mIdleTimer) { in setPolicy()
[all …]
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp103 mIdleTimer( in RegionSamplingThread()
111 mIdleTimer.start();
121 mIdleTimer.stop(); in ~RegionSamplingThread()
189 mIdleTimer.reset(); in doSample()
DRegionSamplingThread.h107 scheduler::OneShotTimer mIdleTimer; variable