Home
last modified time | relevance | path

Searched refs:IdleTimer (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DIdleTimer.cpp25 IdleTimer::IdleTimer(const Interval& interval, const ResetCallback& resetCallback, in IdleTimer() function in android::scheduler::IdleTimer
29 IdleTimer::~IdleTimer() { in ~IdleTimer()
33 void IdleTimer::start() { in start()
38 mThread = std::thread(&IdleTimer::loop, this); in start()
41 void IdleTimer::stop() { in stop()
52 void IdleTimer::loop() { in loop()
103 void IdleTimer::reset() { in reset()
DScheduler.h268 std::unique_ptr<scheduler::IdleTimer> mIdleTimer;
275 std::unique_ptr<scheduler::IdleTimer> mTouchTimer;
DScheduler.cpp90 std::make_unique<scheduler::IdleTimer>(std::chrono::milliseconds( in Scheduler()
97 mIdleTimer = std::make_unique<scheduler::IdleTimer>(std::chrono::milliseconds( in Scheduler()
108 std::make_unique<scheduler::IdleTimer>(std::chrono::milliseconds(mSetTouchTimerMs), in Scheduler()
/frameworks/native/services/surfaceflinger/tests/unittests/
DIdleTimerTest.cpp49 std::unique_ptr<IdleTimer> mIdleTimer;
59 mIdleTimer = std::make_unique<scheduler::IdleTimer>(3ms, [] {}, [] {}); in TEST_F()
63 mIdleTimer = std::make_unique<scheduler::IdleTimer>(30ms, mResetTimerCallback.getInvocable(), in TEST_F()
83 mIdleTimer = std::make_unique<scheduler::IdleTimer>(20ms, mResetTimerCallback.getInvocable(), in TEST_F()
108 mIdleTimer = std::make_unique<scheduler::IdleTimer>(20ms, mResetTimerCallback.getInvocable(), in TEST_F()
139 mIdleTimer = std::make_unique<scheduler::IdleTimer>(3ms, mResetTimerCallback.getInvocable(), in TEST_F()
151 mIdleTimer = std::make_unique<scheduler::IdleTimer>(3ms, mResetTimerCallback.getInvocable(), in TEST_F()
171 mIdleTimer = std::make_unique<scheduler::IdleTimer>(3ms, mResetTimerCallback.getInvocable(), in TEST_F()
180 mIdleTimer = std::make_unique<scheduler::IdleTimer>(3ms, mResetTimerCallback.getInvocable(), in TEST_F()
194 mIdleTimer = std::make_unique<scheduler::IdleTimer>(3ms, mResetTimerCallback.getInvocable(), in TEST_F()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.h110 scheduler::IdleTimer mIdleTimer;
DAndroid.bp148 "Scheduler/IdleTimer.cpp",