Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DIdleTimerTest.cpp46 AsyncCallRecorder<void (*)()> mResetTimerCallback; member in android::scheduler::IdleTimerTest
63 mIdleTimer = std::make_unique<scheduler::IdleTimer>(30ms, mResetTimerCallback.getInvocable(), in TEST_F()
67 EXPECT_TRUE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
78 EXPECT_FALSE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
83 mIdleTimer = std::make_unique<scheduler::IdleTimer>(20ms, mResetTimerCallback.getInvocable(), in TEST_F()
86 EXPECT_TRUE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
91 EXPECT_TRUE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
104 EXPECT_FALSE(mResetTimerCallback.waitForCall(0ms).has_value()); in TEST_F()
108 mIdleTimer = std::make_unique<scheduler::IdleTimer>(20ms, mResetTimerCallback.getInvocable(), in TEST_F()
111 EXPECT_TRUE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
[all …]