Searched refs:runnableCaptor (Results 1 – 6 of 6) sorted by relevance
115 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testOnVendorResponseReceived() local116 verify(mExecutor).execute(runnableCaptor.capture()); in testOnVendorResponseReceived()117 runnableCaptor.getValue().run(); in testOnVendorResponseReceived()127 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testOnVendorNotificationReceived() local128 verify(mExecutor).execute(runnableCaptor.capture()); in testOnVendorNotificationReceived()129 runnableCaptor.getValue().run(); in testOnVendorNotificationReceived()
121 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in verifyCredential_invalidCredential_timeout() local122 verify(mMainHandler).post(runnableCaptor.capture()); in verifyCredential_invalidCredential_timeout()123 runnableCaptor.getValue().run(); in verifyCredential_invalidCredential_timeout()
259 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in keyEventHandler_withAlternateExecutor_usesExecutor() local269 verify(executor).execute(runnableCaptor.capture()); in keyEventHandler_withAlternateExecutor_usesExecutor()271 runnableCaptor.getValue().run(); in keyEventHandler_withAlternateExecutor_usesExecutor()
402 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in assertNotificationTimeoutTriggered() local404 runnableCaptor.capture(), in assertNotificationTimeoutTriggered()406 Runnable capturedRunnable = runnableCaptor.getValue(); in assertNotificationTimeoutTriggered()
516 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testSystemUnlocked_noCallback() local518 any(PersistableBundle.class), runnableCaptor.capture()); in testSystemUnlocked_noCallback()520 runnableCaptor.getValue().run(); in testSystemUnlocked_noCallback()
562 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in registerCallback() local573 verify(mRcsBinderCache).listenOnBinder(any(), runnableCaptor.capture()); in registerCallback()