Searched refs:runnableCaptor (Results 1 – 9 of 9) sorted by relevance
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/ |
H A D | DreamOverlayContainerViewControllerTest.java | 163 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testBurnInProtectionOffsetsStartAtZero() local 166 runnableCaptor.capture(), eq(BURN_IN_PROTECTION_UPDATE_INTERVAL)); in testBurnInProtectionOffsetsStartAtZero() 167 runnableCaptor.getValue().run(); in testBurnInProtectionOffsetsStartAtZero() 174 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testBurnInProtectionReschedulesUpdate() local 177 runnableCaptor.capture(), eq(BURN_IN_PROTECTION_UPDATE_INTERVAL)); in testBurnInProtectionReschedulesUpdate() 178 runnableCaptor.getValue().run(); in testBurnInProtectionReschedulesUpdate() 179 verify(mHandler).postDelayed(runnableCaptor.getValue(), BURN_IN_PROTECTION_UPDATE_INTERVAL); in testBurnInProtectionReschedulesUpdate()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/charging/ |
H A D | WiredChargingRippleControllerTest.kt | 97 val runnableCaptor = regex 100 verify(rippleView).startRipple(runnableCaptor.capture()) 103 runnableCaptor.value.run() 199 val runnableCaptor = regex 202 verify(rippleView).startRipple(runnableCaptor.capture())
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
H A D | SettingsJankMonitorTest.java | 116 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in verifyToggleJankMonitored() local 117 verify(mScheduledExecutorService).schedule(runnableCaptor.capture(), in verifyToggleJankMonitored() 119 runnableCaptor.getValue().run(); in verifyToggleJankMonitored()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/ |
H A D | InternetDialogTest.java | 646 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in showProgressBar_wifiEnabledWithWifiEntry_showProgressBarThenHide() local 647 verify(mHandler).postDelayed(runnableCaptor.capture(), in showProgressBar_wifiEnabledWithWifiEntry_showProgressBarThenHide() 649 runnableCaptor.getValue().run(); in showProgressBar_wifiEnabledWithWifiEntry_showProgressBarThenHide() 667 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in showProgressBar_wifiEnabledWithoutWifiEntries_showProgressBarThenHideSearch() local 668 verify(mHandler).postDelayed(runnableCaptor.capture(), in showProgressBar_wifiEnabledWithoutWifiEntries_showProgressBarThenHideSearch() 670 runnableCaptor.getValue().run(); in showProgressBar_wifiEnabledWithoutWifiEntries_showProgressBarThenHideSearch()
|
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
H A D | VcnGatewayConnectionTestBase.java | 309 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in verifyWakeupMessageSetUpAndGetCallback() local 310 verify(mDeps).newWakeupMessage(eq(mVcnContext), any(), eq(tag), runnableCaptor.capture()); in verifyWakeupMessageSetUpAndGetCallback() 316 return runnableCaptor.getValue(); in verifyWakeupMessageSetUpAndGetCallback()
|
H A D | VcnGatewayConnectionConnectedStateTest.java | 613 final ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testSubsequentFailedValidationTriggersSafeMode() local 619 runnableCaptor.capture()); in testSubsequentFailedValidationTriggersSafeMode() 620 runnableCaptor.getValue().run(); in testSubsequentFailedValidationTriggersSafeMode()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
H A D | MagnificationModeSwitchTest.java | 537 final ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in assertShowFadingAnimation() local 539 verify(mSpyImageView).postOnAnimation(runnableCaptor.capture()); in assertShowFadingAnimation() 541 verify(mSpyImageView).postOnAnimationDelayed(runnableCaptor.capture(), anyLong()); in assertShowFadingAnimation() 545 runnableCaptor.getValue().run(); in assertShowFadingAnimation()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
H A D | AlarmManagerServiceTest.java | 1269 final ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); 1271 doReturn(true).when(mService.mHandler).post(runnableCaptor.capture()); 1275 runnableCaptor.getValue().run(); 1284 final ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); 1286 doReturn(true).when(mService.mHandler).post(runnableCaptor.capture()); 1288 runnableCaptor.getValue().run(); 3361 final ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); 3362 doReturn(true).when(mService.mHandler).post(runnableCaptor.capture()); 3365 runnableCaptor.getValue().run();
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotifCollectionTest.java | 1523 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in getInternalNotifUpdateRunnable() local 1524 verify(mMainHandler).post(runnableCaptor.capture()); in getInternalNotifUpdateRunnable() 1525 return runnableCaptor.getValue(); in getInternalNotifUpdateRunnable()
|