Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DIdleTimerTest.cpp47 AsyncCallRecorder<void (*)()> mExpiredTimerCallback; member in android::scheduler::IdleTimerTest
52 while (mExpiredTimerCallback.waitForCall(0us).has_value()) { in clearPendingCallbacks()
64 mExpiredTimerCallback.getInvocable()); in TEST_F()
70 bool callbackCalled = mExpiredTimerCallback.waitForCall(25ms).has_value(); in TEST_F()
84 mExpiredTimerCallback.getInvocable()); in TEST_F()
89 mExpiredTimerCallback.waitForCall(25ms).has_value(); in TEST_F()
97 mExpiredTimerCallback.waitForCall(waitTimeForExpected3msCallback + 30ms).has_value()); in TEST_F()
100 mExpiredTimerCallback.waitForCall(waitTimeForUnexpected3msCallback * 10).has_value()); in TEST_F()
103 EXPECT_FALSE(mExpiredTimerCallback.waitForCall(0ms).has_value()); in TEST_F()
109 mExpiredTimerCallback.getInvocable()); in TEST_F()
[all …]