Home
last modified time | relevance | path

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

/packages/modules/Nfc/framework/tests/src/android/nfc/
DNfcVendorNciCallbackListenerTest.java115 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testOnVendorResponseReceived() local
116 verify(mExecutor).execute(runnableCaptor.capture()); in testOnVendorResponseReceived()
117 runnableCaptor.getValue().run(); in testOnVendorResponseReceived()
127 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testOnVendorNotificationReceived() local
128 verify(mExecutor).execute(runnableCaptor.capture()); in testOnVendorNotificationReceived()
129 runnableCaptor.getValue().run(); in testOnVendorNotificationReceived()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/keyguard/passenger/
DPassengerKeyguardCredentialViewControllerTest.java121 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in verifyCredential_invalidCredential_timeout() local
122 verify(mMainHandler).post(runnableCaptor.capture()); in verifyCredential_invalidCredential_timeout()
123 runnableCaptor.getValue().run(); in verifyCredential_invalidCredential_timeout()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/projection/
DCarProjectionManagerUnitTest.java259 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in keyEventHandler_withAlternateExecutor_usesExecutor() local
269 verify(executor).execute(runnableCaptor.capture()); in keyEventHandler_withAlternateExecutor_usesExecutor()
271 runnableCaptor.getValue().run(); in keyEventHandler_withAlternateExecutor_usesExecutor()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVoipCallMonitorTest.java402 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in assertNotificationTimeoutTriggered() local
404 runnableCaptor.capture(), in assertNotificationTimeoutTriggered()
406 Runnable capturedRunnable = runnableCaptor.getValue(); in assertNotificationTimeoutTriggered()
/packages/services/Telephony/tests/src/com/android/phone/
DCarrierConfigLoaderTest.java516 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testSystemUnlocked_noCallback() local
518 any(PersistableBundle.class), runnableCaptor.capture()); in testSystemUnlocked_noCallback()
520 runnableCaptor.getValue().run(); in testSystemUnlocked_noCallback()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DSipSessionTrackerTest.java562 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in registerCallback() local
573 verify(mRcsBinderCache).listenOnBinder(any(), runnableCaptor.capture()); in registerCallback()