/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | JobQueue.java | 40 void cancel(PrinterId printerId) { in cancel() method in JobQueue 43 cancel(job.getPrintJobId()); in cancel() 48 cancel(mCurrent.getPrintJobId()); in cancel() 60 void cancel(PrintJobId id) { in cancel() method in JobQueue 65 job.getPrintJob().cancel(); in cancel() 71 mCurrent.cancel(); in cancel()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondScannerTest.java | 142 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 144 .cancel(any(AlarmManager.OnAlarmListener.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 145 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 147 .cancel(isNull(AlarmManager.OnAlarmListener.class)); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 167 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 169 .cancel(any(AlarmManager.OnAlarmListener.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 170 verify(mAlarmManager.getAlarmManager(), never()).cancel(isNull(PendingIntent.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 172 .cancel(isNull(AlarmManager.OnAlarmListener.class)); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() 199 verify(mAlarmManager.getAlarmManager(), never()).cancel(any(PendingIntent.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 201 .cancel(any(AlarmManager.OnAlarmListener.class)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/ |
D | IkeAlarm.java | 76 public abstract void cancel(); in cancel() method in IkeAlarm 116 public void cancel() { in cancel() method in IkeAlarm.IkeAlarmWithPendingIntent 117 mAlarmManager.cancel(mPendingIntent); in cancel() 118 mPendingIntent.cancel(); in cancel() 147 public void cancel() { in cancel() method in IkeAlarm.IkeAlarmWithListener 148 mWakeupMsg.cancel(); in cancel()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | SendUi.java | 514 mSlowSendAnimator.cancel(); in finish() 527 mFrameCounterAnimator.cancel(); in dismiss() 528 mPreAnimator.cancel(); in dismiss() 529 mSlowSendAnimator.cancel(); in dismiss() 530 mFastSendAnimator.cancel(); in dismiss() 531 mSuccessAnimatorSet.cancel(); in dismiss() 532 mScaleUpAnimator.cancel(); in dismiss() 533 mAlphaUpAnimator.cancel(); in dismiss() 534 mAlphaDownAnimator.cancel(); in dismiss() 692 mFrameCounterAnimator.cancel(); in onTimeUpdate() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ProfilesDialogProvider.java | 64 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmCreateNewProfileDialogFragment() 79 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmExitRetailModeDialogFragment() 112 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmGrantAdminDialogFragment() 136 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmRemoveLastProfileDialogFragment() 156 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmRemoveLastAdminDialogFragment() 175 .setNegativeButton(android.R.string.cancel, rejectListener) in getConfirmRemoveProfileDialogFragment()
|
/packages/apps/Settings/src/com/android/settings/ |
D | CancellablePreference.java | 55 ImageView cancel = (ImageView) view.findViewById(R.id.cancel); in onBindViewHolder() local 56 cancel.setVisibility(mCancellable ? View.VISIBLE : View.INVISIBLE); in onBindViewHolder() 57 cancel.setOnClickListener(this); in onBindViewHolder()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 250 verify(mNotificationManager, times(1)).cancel(eq(tag), eq(eventId)); in testNotificationsShownAndCleared() 301 verify(mNotificationManager, times(1)).cancel(eq(TEST_NOTIF_TAG), eq(NO_INTERNET.eventId)); in testDuplicatedNotificationsNoInternetThenSignIn() 305 verify(mNotificationManager, times(1)).cancel(eq(TEST_NOTIF_TAG), eq(SIGN_IN.eventId)); in testDuplicatedNotificationsNoInternetThenSignIn() 317 verify(mNotificationManager, times(1)).cancel(eq(TEST_NOTIF_TAG), eq(NO_INTERNET.eventId)); in testOngoingSignInNotification() 321 verify(mNotificationManager, times(1)).cancel(eq(TEST_NOTIF_TAG), eq(SIGN_IN.eventId)); in testOngoingSignInNotification() 331 verify(mNotificationManager, times(1)).cancel(eq(TEST_NOTIF_TAG), eq(NO_INTERNET.eventId)); in testNoAutoCancelNotification() 334 verify(mNotificationManager, times(1)).cancel(eq(TEST_NOTIF_TAG), eq(SIGN_IN.eventId)); in testNoAutoCancelNotification() 349 verify(mNotificationManager, never()).cancel(any(), anyInt()); in testDuplicatedNotificationsSignInThenNoInternet() 354 verify(mNotificationManager, times(1)).cancel(eq(tag), eq(SIGN_IN.eventId)); in testDuplicatedNotificationsSignInThenNoInternet() 371 verify(mNotificationManager, times(1)).cancel(eq(tag), eq(NO_INTERNET.eventId)); in testClearNotificationByType() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNotificationManagerTest.java | 85 mWifiNotificationManager.cancel(TEST_MESSAGE_ID); in testCancel() 86 verify(mNotificationManager, never()).cancel(anyString(), anyInt()); in testCancel() 90 mWifiNotificationManager.cancel(TEST_MESSAGE_ID); in testCancel() 91 verify(mNotificationManager).cancel(eq(NOTIFICATION_TAG), eq(TEST_MESSAGE_ID)); in testCancel() 110 verify(mNotificationManager).cancel(eq(NOTIFICATION_TAG), eq(TEST_MESSAGE_ID)); in testUserSwitchNotificationSendCorrect()
|
D | WakeupOnboardingTest.java | 134 verify(mWifiNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in dismissNotificationAction_setsOnboarded() 158 verify(mWifiNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in turnOffWifiWakeAction_setsOnboardedAndTurnsOffWifiWake() 181 verify(mWifiNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in openWifiSettingsAction_setsOnboardedAndOpensWifiSettings() 196 verify(mWifiNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in onStopDismissesNotificationWithoutOnboarding() 237 inOrder.verify(mWifiNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in doesNotShowMultipleNotificationsWithin24Hours()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 196 InteractionJankMonitorWrapper.cancel( in onControllerInterceptTouchEvent() 198 InteractionJankMonitorWrapper.cancel( in onControllerInterceptTouchEvent() 210 InteractionJankMonitorWrapper.cancel(InteractionJankMonitorWrapper.CUJ_OPEN_ALL_APPS); in onReinitToState() 213 InteractionJankMonitorWrapper.cancel( in onReinitToState() 232 InteractionJankMonitorWrapper.cancel(InteractionJankMonitorWrapper.CUJ_OPEN_ALL_APPS); in clearState() 233 InteractionJankMonitorWrapper.cancel( in clearState()
|
/packages/apps/Dialer/java/com/android/dialer/notification/ |
D | DialerNotificationManager.java | 61 public static void cancel(@NonNull Context context, int id) { in cancel() method in DialerNotificationManager 67 public static void cancel(@NonNull Context context, @NonNull String tag, int id) { in cancel() method in DialerNotificationManager 83 notificationManager.cancel( in cancel() 88 notificationManager.cancel(tag, id); in cancel() 96 notificationManager.cancel(notification.getTag(), notification.getId()); in cancelAll()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | SmsStorageLowWarningFragment.java | 81 private void cancel() { in cancel() method in SmsStorageLowWarningFragment 111 dialog.cancel(); in onCreateDialog() 122 ((SmsStorageLowWarningFragment) getTargetFragment()).cancel(); in onCancel() 174 ((SmsStorageLowWarningFragment) getTargetFragment()).cancel(); in onCancel() 189 .setNegativeButton(android.R.string.cancel, in onCreateDialog() 195 ((SmsStorageLowWarningFragment) getTargetFragment()).cancel(); in onCreateDialog()
|
/packages/apps/Car/Radio/src/com/android/car/radio/platform/ |
D | RadioTunerExt.java | 121 mTuner.cancel(); in seek() 138 mTuner.cancel(); in step() 157 mTuner.cancel(); in tune() 231 public void cancel() { in cancel() method 237 int res = mTuner.cancel(); in cancel()
|
/packages/services/Car/experimental/service/src/com/android/experimentalcar/ |
D | SystemTimer.java | 31 mTimer.cancel(); in reset() 41 public void cancel() { in cancel() method in SystemTimer 42 mTimer.cancel(); in cancel()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceUpdater.java | 51 public void enroll(int userId, byte[] hardwareAuthToken, CancellationSignal cancel, in enroll() argument 53 mFaceManager.enroll(userId, hardwareAuthToken, cancel, in enroll() 58 public void enroll(int userId, byte[] hardwareAuthToken, CancellationSignal cancel, in enroll() argument 61 mFaceManager.enroll(userId, hardwareAuthToken, cancel, in enroll()
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | TransportSipMessageValidator.java | 117 public void cancel() { in cancel() method in TransportSipMessageValidator.PendingTask 119 mFuture.cancel(false /*interrupt*/); in cancel() 445 mPendingClose.cancel(); in onCallIdsChanged() 462 mPendingRegCleanup.cancel(); in cancelPendingRegCleanupTask() 485 mPendingRegCleanup.cancel(); in updatePendingRegCleanupTask() 502 mPendingRegCleanup.cancel(); in updatePendingRegCleanupTask() 532 mPendingClose.cancel(); in cancelClosingTimeoutAndSendComplete()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/ |
D | CustomThemeStepFragment.java | 77 mToolbar.setNavigationContentDescription(R.string.cancel); in onCreateView() 78 mToolbar.setNavigationOnClickListener(v -> mHost.cancel()); in onCreateView() 96 .setNegativeButton(R.string.cancel, null) in onMenuItemClick() 108 void cancel(); in cancel() method
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | NotificationControllerTest.java | 75 verify(mNotificationManager).cancel(1); in testShouldShowNotificationFirstTime() 87 verify(mNotificationManager, times(i)).cancel(1); in testNotificationNotShownIfShownTooManyTimes() 107 verify(mNotificationManager, times(i + 1)).cancel(1); in testNotificationNotShownIfDismissedTooManyTimes() 125 verify(mNotificationManager).cancel(1); in testDismissNotificationDelay() 147 verify(mNotificationManager).cancel(1); in testNoThanksNotificationDelay()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | AnimationManager.java | 47 mCaptureAnimator.cancel(); in startCaptureAnimation() 137 mFlashAnim.cancel(); in startFlashAnimation() 176 mFlashAnim.cancel(); in cancelAnimations() 179 mCaptureAnimator.cancel(); in cancelAnimations()
|
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
D | gap.py | 158 scans.cancel() 314 inquiry_responses.cancel() 445 self.scan_responses.cancel() 460 self.scan_responses.cancel() 479 self.scan_responses.cancel() 506 self.inquiry_responses.cancel() 593 inquiry_responses.cancel() 609 scan_responses.cancel() 651 inquiry_responses.cancel()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetTypeChooser.java | 50 Button cancel = (Button) findViewById(R.id.cancel); in onCreate() local 51 cancel.setOnClickListener(new OnClickListener() { in onCreate()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserDialogs.java | 64 .setNegativeButton(android.R.string.cancel, null); in createRemoveDialog() 144 .setNegativeButton(android.R.string.cancel, null) in createEnablePhoneCallsAndSmsDialog() 159 .setNegativeButton(android.R.string.cancel, null) in createEnablePhoneCallsDialog() 196 .setNegativeButton(android.R.string.cancel, null) in createResetGuestDialog() 217 .setNegativeButton(android.R.string.cancel, null) in createRemoveGuestDialog()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | ManualDiscovery.java | 130 finder.cancel(); in cancelAddManualPrinter() 203 mCapabilitiesCache.cancel(request); in handleCapabilities() 226 public void cancel() { in cancel() method in ManualDiscovery.CapabilitiesFinder 228 mCapabilitiesCache.cancel(callback); in cancel()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InterruptibleInOutAnimator.java | 88 cancel(); in animate() 103 public void cancel() { in cancel() method in InterruptibleInOutAnimator 104 mAnimator.cancel(); in cancel()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintJobSettingsFragment.java | 78 MenuItem cancel = menu.add(0, MENU_ITEM_ID_CANCEL, Menu.NONE, in onCreateOptionsMenu() local 80 cancel.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu() 97 printJob.cancel(); in onOptionsItemSelected()
|