/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/ |
D | DreamOverlayContainerViewControllerTest.java | 218 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testBurnInProtectionOffsetsStartAtZero() local 221 runnableCaptor.capture(), eq(BURN_IN_PROTECTION_UPDATE_INTERVAL)); in testBurnInProtectionOffsetsStartAtZero() 222 runnableCaptor.getValue().run(); in testBurnInProtectionOffsetsStartAtZero() 229 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testBurnInProtectionReschedulesUpdate() local 232 runnableCaptor.capture(), eq(BURN_IN_PROTECTION_UPDATE_INTERVAL)); in testBurnInProtectionReschedulesUpdate() 233 runnableCaptor.getValue().run(); in testBurnInProtectionReschedulesUpdate() 234 verify(mHandler).postDelayed(runnableCaptor.getValue(), BURN_IN_PROTECTION_UPDATE_INTERVAL); in testBurnInProtectionReschedulesUpdate()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayPowerStateTest.kt | 65 val runnableCaptor = argumentCaptor<Runnable>() in destroys ColorFade on stop() constant 67 verify(mockExecutor).execute(runnableCaptor.capture()) in destroys ColorFade on stop() 68 runnableCaptor.firstValue.run() in destroys ColorFade on stop()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/charging/ |
D | WiredChargingRippleControllerTest.kt | 97 val runnableCaptor = in testTriggerRipple_UnlockedState() constant 100 verify(rippleView).startRipple(runnableCaptor.capture()) in testTriggerRipple_UnlockedState() 103 runnableCaptor.value.run() in testTriggerRipple_UnlockedState() 199 val runnableCaptor = in testRipple_layoutsCorrectly() constant 202 verify(rippleView).startRipple(runnableCaptor.capture()) in testRipple_layoutsCorrectly()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
D | SettingsJankMonitorTest.java | 118 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in verifyToggleJankMonitored() local 119 verify(mScheduledExecutorService).schedule(runnableCaptor.capture(), in verifyToggleJankMonitored() 121 runnableCaptor.getValue().run(); in verifyToggleJankMonitored()
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | ImsStateCallbackTest.java | 173 ArgumentCaptor<Runnable> runnableCaptor = in testImsStateCallbacks() local 181 verify(mBinderCache).listenOnBinder(any(), runnableCaptor.capture()); in testImsStateCallbacks() 196 Runnable runnable = runnableCaptor.getValue(); in testImsStateCallbacks()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | StackStateAnimatorTest.kt | 62 private val runnableCaptor: ArgumentCaptor<Runnable> = argumentCaptor() constant in com.android.systemui.statusbar.notification.stack.StackStateAnimatorTest 136 /* onFinishedRunnable= */ runnableCaptor.capture(), in startAnimationForEvents_startsHeadsUpDisappearAnim() 142 runnableCaptor.value.run() // execute the end runnable in startAnimationForEvents_startsHeadsUpDisappearAnim()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | VcnGatewayConnectionTestBase.java | 319 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in verifyWakeupMessageSetUpAndGetCallback() local 320 verify(mDeps).newWakeupMessage(eq(mVcnContext), any(), eq(tag), runnableCaptor.capture()); in verifyWakeupMessageSetUpAndGetCallback() 326 return runnableCaptor.getValue(); in verifyWakeupMessageSetUpAndGetCallback()
|
D | VcnGatewayConnectionConnectedStateTest.java | 647 final ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testSubsequentFailedValidationTriggersSafeMode() local 653 runnableCaptor.capture()); in testSubsequentFailedValidationTriggersSafeMode() 654 runnableCaptor.getValue().run(); in testSubsequentFailedValidationTriggersSafeMode()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | MagnificationModeSwitchTest.java | 621 final ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in assertShowFadingAnimation() local 623 verify(mSpyImageView).postOnAnimation(runnableCaptor.capture()); in assertShowFadingAnimation() 625 verify(mSpyImageView).postOnAnimationDelayed(runnableCaptor.capture(), anyLong()); in assertShowFadingAnimation() 629 runnableCaptor.getValue().run(); in assertShowFadingAnimation()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenersTest.java | 887 ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); in testListenerPost_UpdateLifetimeExtended() local 888 verify(mNm.mHandler, times(1)).post(runnableCaptor.capture()); in testListenerPost_UpdateLifetimeExtended() 889 runnableCaptor.getValue().run(); in testListenerPost_UpdateLifetimeExtended()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 1256 final ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); 1258 doReturn(true).when(mService.mHandler).post(runnableCaptor.capture()); 1262 runnableCaptor.getValue().run(); 1271 final ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); 1273 doReturn(true).when(mService.mHandler).post(runnableCaptor.capture()); 1275 runnableCaptor.getValue().run(); 3172 final ArgumentCaptor<Runnable> runnableCaptor = ArgumentCaptor.forClass(Runnable.class); 3173 doReturn(true).when(mService.mHandler).post(runnableCaptor.capture()); 3176 runnableCaptor.getValue().run();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
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()
|