Home
last modified time | relevance | path

Searched refs:cancel (Results 1 – 25 of 527) sorted by relevance

12345678910>>...22

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondScannerTest.java101 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
103 .cancel(any(AlarmManager.OnAlarmListener.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
104 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
106 .cancel(isNull(AlarmManager.OnAlarmListener.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
126 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
128 .cancel(any(AlarmManager.OnAlarmListener.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
129 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
131 .cancel(isNull(AlarmManager.OnAlarmListener.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
157 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
159 .cancel(any(AlarmManager.OnAlarmListener.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/app/
DPendingIntentPerfTest.java68 pendingIntent.cancel(); in create()
90 pendingIntent.cancel(); in createWithCancelFlag()
112 previousPendingIntent.cancel(); in createWithUpdateFlag()
113 pendingIntent.cancel(); in createWithUpdateFlag()
122 public void cancel() { in cancel() method in PendingIntentPerfTest
130 pendingIntent.cancel(); in cancel()
/frameworks/base/core/java/android/os/
DCancellationSignal.java66 public void cancel() { in cancel() method in CancellationSignal
85 remote.cancel(); in cancel()
154 remote.cancel(); in setRemote()
210 public void cancel() throws RemoteException { in cancel() method in CancellationSignal.Transport
211 mCancellationSignal.cancel(); in cancel()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java255 mSendHoverEnterAndMoveDelayed.cancel(); in clear()
256 mSendHoverExitDelayed.cancel(); in clear()
257 mExitGestureDetectionModeDelayed.cancel(); in clear()
258 mSendTouchExplorationEndDelayed.cancel(); in clear()
259 mSendTouchInteractionEndDelayed.cancel(); in clear()
327 mSendTouchExplorationEndDelayed.cancel(); in onAccessibilityEvent()
335 mSendTouchInteractionEndDelayed.cancel(); in onAccessibilityEvent()
399 mSendHoverEnterAndMoveDelayed.cancel(); in onDoubleTap()
400 mSendHoverExitDelayed.cancel(); in onDoubleTap()
450 mSendHoverEnterAndMoveDelayed.cancel(); in onGestureStarted()
[all …]
DAutoclickController.java84 mClickScheduler.cancel(); in onMotionEvent()
96 mClickScheduler.cancel(); in onKeyEvent()
106 mClickScheduler.cancel(); in clearEvents()
119 mClickScheduler.cancel(); in onDestroy()
130 mClickScheduler.cancel(); in handleMouseMotion()
138 mClickScheduler.cancel(); in handleMouseMotion()
301 public void cancel() { in cancel() method in AutoclickController.ClickScheduler
/frameworks/base/core/tests/coretests/src/android/view/
DMutateDrawable.java38 Button cancel = new Button(this); in onCreate() local
39 cancel.setId(R.id.b); in onCreate()
40 cancel.setBackgroundDrawable(getResources().getDrawable( in onCreate()
44 layout.addView(cancel); in onCreate()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricPrompt.java523 public void authenticateUser(@NonNull CancellationSignal cancel, in authenticateUser() argument
528 if (cancel == null) { in authenticateUser()
537 authenticateInternal(null /* crypto */, cancel, executor, callback, userId, in authenticateUser()
571 @NonNull CancellationSignal cancel, in authenticate() argument
577 if (cancel == null) { in authenticate()
589 authenticateInternal(crypto, cancel, executor, callback, mContext.getUserId(), in authenticate()
620 public void authenticate(@NonNull CancellationSignal cancel, in authenticate() argument
623 if (cancel == null) { in authenticate()
632 authenticateInternal(null /* crypto */, cancel, executor, callback, mContext.getUserId(), in authenticate()
647 @NonNull CancellationSignal cancel, in authenticateInternal() argument
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DKeyValueBackupJobTest.java56 KeyValueBackupJob.cancel(mUserOneId, mContext); in tearDown()
57 KeyValueBackupJob.cancel(mUserTwoId, mContext); in tearDown()
79 KeyValueBackupJob.cancel(mUserOneId, mContext); in testIsScheduled_afterCancelling_returnsFalse()
80 KeyValueBackupJob.cancel(mUserTwoId, mContext); in testIsScheduled_afterCancelling_returnsFalse()
98 KeyValueBackupJob.cancel(mUserOneId, mContext); in testIsScheduled_afterCancelling_returnsFalseOnlyForCancelledUser()
DFullBackupJobTest.java64 FullBackupJob.cancel(mUserOneId, mContext); in tearDown()
65 FullBackupJob.cancel(mUserTwoId, mContext); in tearDown()
81 FullBackupJob.cancel(mUserOneId, mContext); in testCancel_afterCancelling_jobDoesntExist()
82 FullBackupJob.cancel(mUserTwoId, mContext); in testCancel_afterCancelling_jobDoesntExist()
100 FullBackupJob.cancel(mUserOneId, mContext); in testCancel_onlyCancelsForRequestedUser()
/frameworks/base/core/tests/coretests/src/android/animation/
DViewPropertyAnimatorTest.java87 mAnim.cancel(); in run()
194 mAnimator.cancel(); in testCancel()
209 mAnimator.cancel(); in testStartCancel()
230 mAnimator.cancel(); in testStartDelayedCancel()
318 mAnimator.cancel(); in testStartDoubleCancel()
319 mAnimator.cancel(); in testStartDoubleCancel()
340 mAnimator.cancel(); in testStartDelayedDoubleCancel()
341 mAnimator.cancel(); in testStartDelayedDoubleCancel()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DIntentSenderTest.java38 is.cancel(); in testRegisteredReceivePermissionGranted()
58 is.cancel(); in testRegisteredReceivePermissionDenied()
67 is.cancel(); in testLocalReceivePermissionGranted()
85 is.cancel(); in testLocalReceivePermissionDenied()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAlarmTimeout.java69 cancel(); in schedule()
86 public void cancel() { in cancel() method in AlarmTimeout
88 mAlarmManager.cancel(this); in cancel()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteAugmentedAutofillService.java156 cancellation.cancel(); in dispatchOnFillTimeout()
213 cancellation.cancel(); in PendingAutofillRequest()
227 public void cancel() { in PendingAutofillRequest()
228 PendingAutofillRequest.this.cancel(); in PendingAutofillRequest()
286 public boolean cancel() { in cancel() method in RemoteAugmentedAutofillService.PendingAutofillRequest
287 if (!super.cancel()) return false; in cancel()
295 cancellation.cancel(); in cancel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DObservableScrollView.java100 MotionEvent cancel = MotionEvent.obtain(ev); in dispatchTouchEvent() local
101 cancel.setAction(MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
102 super.dispatchTouchEvent(cancel); in dispatchTouchEvent()
103 cancel.recycle(); in dispatchTouchEvent()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DSwitchToGuestTimer.java83 cancel(); in start()
95 public void cancel() { in cancel() method in SwitchToGuestTimer
99 mSwitchToGuestTimer.cancel(); in cancel()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/
DRemoteCallTest.java85 remoteCall.cancel(); in testCall_whenImmediateCallableAndTimeOut0AndCancelIsCalledBeforeCall_returnsCancel()
97 remoteCall.cancel(); in testCall_whenImmediateCallableAndTimeOut0AndCancelIsCalledBeforeCall_doesNotCallCallable()
155 remoteCall.cancel(); in testCall_whenTimesOutBeforeCancelIsCalled_returnsTimeOut()
189 remoteCall.cancel(); in testCall_whenCallbackIsCalledBeforeCancel_returnsResult()
202 remoteCall.cancel(); in testCall_whenCancelIsCalledBeforeCallbackButAfterCall_returnsCancel()
216 remoteCall.cancel(); in testCall_whenCancelIsCalledBeforeTimeOutButAfterCall_returnsCancel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCrossFadeHelper.java41 view.animate().cancel(); in fadeOut()
77 view.animate().cancel(); in fadeOut()
117 view.animate().cancel(); in fadeIn()
149 view.animate().cancel(); in fadeIn()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DSnoozeHelperTest.java105 mSnoozeHelper.cancel(UserHandle.USER_SYSTEM, r.sbn.getPackageName(), "one", 1);
107 verify(mAm, times(2)).cancel(any(PendingIntent.class));
129 mSnoozeHelper.cancel(UserHandle.USER_SYSTEM, false);
131 verify(mAm, times(3)).cancel(any(PendingIntent.class));
155 mSnoozeHelper.cancel(UserHandle.USER_SYSTEM, "pkg2");
157 verify(mAm, times(3)).cancel(any(PendingIntent.class));
173 mSnoozeHelper.cancel(UserHandle.USER_SYSTEM, r.sbn.getPackageName(), "one", 1);
190 mSnoozeHelper.cancel(UserHandle.USER_SYSTEM, r.sbn.getPackageName(), "one", 1);
236 mSnoozeHelper.cancel(UserHandle.USER_SYSTEM, false);
343 verify(mAm, times(4)).cancel(any(PendingIntent.class));
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java660 mStartExitAnimation.cancel(); in kill()
664 mStartEnterAnimation.cancel(); in kill()
668 mFinishExitAnimation.cancel(); in kill()
672 mFinishEnterAnimation.cancel(); in kill()
678 mStartFrameAnimation.cancel(); in kill()
682 mRotateFrameAnimation.cancel(); in kill()
686 mFinishFrameAnimation.cancel(); in kill()
691 mRotateExitAnimation.cancel(); in kill()
695 mRotateEnterAnimation.cancel(); in kill()
796 mStartExitAnimation.cancel(); in stepAnimation()
[all …]
/frameworks/base/core/java/android/animation/
DLayoutTransition.java862 currentAnimation.cancel(); in setupChangeAnimation()
944 prevAnimation.cancel(); in setupChangeAnimation()
1076 public void cancel() { in cancel() method in LayoutTransition
1081 anim.cancel(); in cancel()
1112 public void cancel(int transitionType) { in cancel() method in LayoutTransition
1121 anim.cancel(); in cancel()
1158 currentAnimation.cancel(); in runAppearingTransition()
1206 currentAnimation.cancel(); in runDisappearingTransition()
1265 cancel(DISAPPEARING); in addChild()
1269 cancel(CHANGE_APPEARING); in addChild()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupOnboardingTest.java139 verify(mNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in dismissNotificationAction_setsOnboarded()
163 verify(mNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in turnOffWifiWakeAction_setsOnboardedAndTurnsOffWifiWake()
186 verify(mNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in openWifiSettingsAction_setsOnboardedAndOpensWifiSettings()
201 verify(mNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in onStopDismissesNotificationWithoutOnboarding()
242 inOrder.verify(mNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in doesNotShowMultipleNotificationsWithin24Hours()
/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/
DUsageReporterActivity.java165 builder.setNegativeButton(getString(R.string.cancel), in callAddToken()
169 dialog.cancel(); in callAddToken()
199 builder.setNegativeButton(getString(R.string.cancel), in callAddManyTokens()
203 dialog.cancel(); in callAddManyTokens()
224 builder.setNegativeButton(getString(R.string.cancel), in callStopAll()
228 dialog.cancel(); in callStopAll()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java286 mNM.cancel(Integer.MAX_VALUE);
471 mNM.cancel(1);
731 mNM.cancel(500);
827 mNM.cancel(1);
849 mNM.cancel(1);
884 mVibrator.cancel();
890 mNM.cancel(1);
899 mNM.cancel(1);
907 mNM.cancel(2);
1050 mNM.cancel(1);
[all …]
/frameworks/base/telecomm/java/android/telecom/Logging/
DRunnable.java78 cancel(); in prepare()
87 public void cancel() { in cancel() method in Runnable
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java92 mResult.cancel(); in showDialog()
108 negativeTextId = com.android.internal.R.string.cancel; in showDialog()
135 mResult.cancel(); in onCancel()
139 mResult.cancel(); in onClick()

12345678910>>...22