Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DOneShotTimerTest.cpp63 EXPECT_TRUE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
67 EXPECT_TRUE(mExpiredTimerCallback.waitForCall().has_value()); in TEST_F()
83 EXPECT_TRUE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
86 EXPECT_TRUE(mExpiredTimerCallback.waitForCall().has_value()); in TEST_F()
88 EXPECT_TRUE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
90 EXPECT_TRUE(mExpiredTimerCallback.waitForCall().has_value()); in TEST_F()
104 EXPECT_TRUE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
154 EXPECT_TRUE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
162 EXPECT_TRUE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
179 EXPECT_TRUE(mResetTimerCallback.waitForCall().has_value()); in TEST_F()
[all …]
H A DEventThreadTest.cpp194 auto args = mVSyncSetEnabledCallRecorder.waitForCall(); in expectVSyncSetEnabledCallReceived()
201 auto args = mVSyncSetDurationCallRecorder.waitForCall(); in expectVSyncSetDurationCallReceived()
213 auto args = mInterceptVSyncCallRecorder.waitForCall(); in expectInterceptCallReceived()
219 auto args = mThrottleVsyncCallRecorder.waitForCall(); in expectThrottleVsyncReceived()
228 auto args = connectionEventRecorder.waitForCall(); in expectVsyncEventReceivedByConnection()
249 auto args = mConnectionEventCallRecorder.waitForCall(); in expectHotplugEventReceivedByConnection()
260 auto args = mConnectionEventCallRecorder.waitForCall(); in expectConfigChangedEventReceivedByConnection()
272 auto args = mConnectionEventCallRecorder.waitForCall(); in expectUidFrameRateMappingEventReceivedByConnection()
281 auto args = mConnectionEventCallRecorder.waitForCall(); in expectUidFrameRateMappingEventReceivedByConnection()
319 EXPECT_TRUE(mResyncCallRecorder.waitForCall().has_value()); in TEST_F()
[all …]
H A DAsyncCallRecorder.h107 std::optional<ArgTuple> waitForCall(
134 std::optional<ArgTuple> waitForUnexpectedCall() { return waitForCall(UNEXPECTED_CALL_TIMEOUT); } in waitForUnexpectedCall()
H A DDispSyncSourceTest.cpp235 const auto callbackData = mVSyncEventCallRecorder.waitForCall(); in TEST_F()
267 const auto callbackData = mVSyncEventCallRecorder.waitForCall(); in TEST_F()
288 const auto callbackData = mVSyncEventCallRecorder.waitForCall(); in TEST_F()
H A DTimerTest.cpp41 EXPECT_TRUE(mCallbackRecorder.waitForCall().has_value()); in TEST_F()
/aosp12/hardware/interfaces/broadcastradio/common/vts/utils/include/broadcastradio-vts-utils/
H A Dcall-barrier.h46 bool waitForCall(std::chrono::milliseconds timeout);
/aosp12/hardware/interfaces/broadcastradio/common/vts/utils/
H A Dcall-barrier.cpp33 bool CallBarrier::waitForCall(std::chrono::milliseconds timeout) { in waitForCall() function in android::hardware::broadcastradio::vts::CallBarrier
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/prefs/
H A DPreferencesMonitorTest.java61 mConsumer.waitForCall(100, TimeUnit.MILLISECONDS); in testReportsChangesToListener()
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestPredicate.java66 public @Nullable T waitForCall(int timeout, TimeUnit unit) in waitForCall() method in TestPredicate
/aosp12/hardware/interfaces/broadcastradio/1.1/vts/functional/
H A DVtsHalBroadcastradioV1_1TargetTest.cpp137 ASSERT_TRUE(onConnect.waitForCall(kConnectModuleTimeout)); in SetUp()