Home
last modified time | relevance | path

Searched refs:OneShotTimer (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DOneShotTimer.cpp42 OneShotTimer::OneShotTimer(std::string name, const Interval& interval, in OneShotTimer() function in android::scheduler::OneShotTimer
54 OneShotTimer::~OneShotTimer() { in ~OneShotTimer()
58 void OneShotTimer::start() { in start()
64 mThread = std::thread(&OneShotTimer::loop, this); in start()
68 void OneShotTimer::stop() { in stop()
80 void OneShotTimer::loop() { in loop()
173 OneShotTimer::TimerState OneShotTimer::checkForResetAndStop(TimerState state) { in checkForResetAndStop()
186 void OneShotTimer::reset() { in reset()
197 void OneShotTimer::pause() { in pause()
201 void OneShotTimer::resume() { in resume()
DOneShotTimer.h35 class OneShotTimer {
41 OneShotTimer(std::string name, const Interval& interval, const ResetCallback& resetCallback,
44 ~OneShotTimer();
DScheduler.h491 ftl::Optional<OneShotTimer> mTouchTimer;
493 ftl::Optional<OneShotTimer> mDisplayPowerTimer;
DRefreshRateSelector.h583 ftl::Optional<scheduler::OneShotTimer> mIdleTimer;
DScheduler.cpp861 dumper.dump("touchTimer"sv, mTouchTimer.transform(&OneShotTimer::interval)); in dump()
862 dumper.dump("displayPowerTimer"sv, mDisplayPowerTimer.transform(&OneShotTimer::interval)); in dump()
DRefreshRateSelector.cpp1620 dumper.dump("interval"sv, mIdleTimer.transform(&OneShotTimer::interval)); in dump()
/frameworks/native/services/surfaceflinger/tests/unittests/
DOneShotTimerTest.cpp41 std::unique_ptr<OneShotTimer> mIdleTimer;
52 mIdleTimer = std::make_unique<scheduler::OneShotTimer>( in TEST_F()
58 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
78 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
101 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
136 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
169 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
186 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
212 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
230 mIdleTimer = std::make_unique<scheduler::OneShotTimer>("TestTimer", 1ms, in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.h107 scheduler::OneShotTimer mIdleTimer;
DAndroid.bp202 "Scheduler/OneShotTimer.cpp",
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.h165 std::optional<scheduler::OneShotTimer> mScreenUpdateTimer;