Home
last modified time | relevance | path

Searched refs:cancelAsUser (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerNotificationWarningsTest.java159 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testShowInvalidChargerNotification_NotifyAsUser()
167 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissInvalidChargerNotification_CancelAsUser()
176 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testShowLowBatteryNotification_NotifyAsUser()
184 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissLowBatteryNotification_CancelAsUser()
209 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissHighTemperatureWarning_CancelAsUser()
224 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissThermalShutdownWarning_CancelAsUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DBiometricDanglingReceiverTest.java104 verify(mNotificationManager).cancelAsUser("FingerprintReEnroll", NOTIFICATION_ID, in testOnReceive_fingerprintReEnrollLaunch()
125 verify(mNotificationManager).cancelAsUser("FaceReEnroll", NOTIFICATION_ID, in testOnReceive_faceReEnrollLaunch()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricNotificationUtils.java353 notificationManager.cancelAsUser(FACE_RE_ENROLL_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelFaceReEnrollNotification()
363 notificationManager.cancelAsUser(FACE_ENROLL_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelFaceEnrollNotification()
373 notificationManager.cancelAsUser(FINGERPRINT_ENROLL_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelFingerprintEnrollNotification()
383 notificationManager.cancelAsUser(BAD_CALIBRATION_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelBadCalibrationNotification()
393 notificationManager.cancelAsUser(FINGERPRINT_RE_ENROLL_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelFingerprintReEnrollNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java115 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE,
144 mNotificationManager.cancelAsUser(null, SystemMessage.NOTE_STORAGE_MOVE,
229 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, in updateMissingPrivateVolumes()
289 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskScannedInternal()
300 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskDestroyedInternal()
370 mNotificationManager.cancelAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC, in onPublicVolumeStateChangedInternal()
567 mNotificationManager.cancelAsUser(move.packageName, SystemMessage.NOTE_STORAGE_MOVE, in onMoveFinished()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java272 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, UserHandle.ALL); in updateNotification()
273 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, UserHandle.ALL); in updateNotification()
274 mNoMan.cancelAsUser(TAG_AUTO_SAVER, in updateNotification()
293 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, UserHandle.ALL); in showInvalidChargerNotification()
342 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, UserHandle.ALL); in showWarningNotification()
423 mNoMan.cancelAsUser(TAG_TEMPERATURE, SystemMessage.NOTE_HIGH_TEMP, UserHandle.ALL); in dismissHighTemperatureWarningInternal()
484 mNoMan.cancelAsUser(TAG_TEMPERATURE, SystemMessage.NOTE_THERMAL_SHUTDOWN, UserHandle.ALL); in dismissThermalShutdownWarning()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DSlicePurchaseBroadcastReceiverTest.java272 verify(mNotificationManager).cancelAsUser( in testNotificationCanceled()
290 verify(mNotificationManager).cancelAsUser( in testNotificationTimeout()
319 verify(mNotificationManager).cancelAsUser( in testLocaleChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricNotificationService.java136 mNotificationManager.cancelAsUser(TAG, FACE_NOTIFICATION_ID, UserHandle.CURRENT);
143 mNotificationManager.cancelAsUser(TAG, FINGERPRINT_NOTIFICATION_ID, UserHandle.CURRENT);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DBiometricNotificationServiceTest.java240 verify(mNotificationManager).cancelAsUser(eq(TAG), eq(FACE_NOTIFICATION_ID), in testCancelReEnrollmentNotification_onFaceEnrollmentStateChange()
264 verify(mNotificationManager).cancelAsUser(eq(TAG), eq(FINGERPRINT_NOTIFICATION_ID), in testCancelReEnrollmentNotification_onFingerprintEnrollmentStateChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/
DIssueRecordingService.kt96 mNotificationManager.cancelAsUser( in getTag()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DSlicePurchaseBroadcastReceiver.java99 context.getSystemService(NotificationManager.class).cancelAsUser( in cancelNotification()
320 context.getSystemService(NotificationManager.class).cancelAsUser( in onLocaleChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java219 mNotificationManager.cancelAsUser(null, mNotificationId, currentUser); in onStartCommand()
465 mNotificationManager.cancelAsUser(null, mNotificationId, currentUser); in saveRecording()
/frameworks/base/services/core/java/com/android/server/am/
DPreBootBroadcaster.java188 notifManager.cancelAsUser(TAG, SystemMessage.NOTE_SYSTEM_UPGRADING,
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java162 mInjector.getNotificationManager().cancelAsUser( in updateInstalledCertificates()
DRemoteBugreportManager.java347 .cancelAsUser(LOG_TAG, NOTIFICATION_ID, UserHandle.ALL); in cancelNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
DRecordingServiceTest.java262 verify(mNotificationManager).cancelAsUser(any(), anyInt(), any()); in testOnErrorSaving()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java177 noMan.cancelAsUser( in updateForegroundInstantApps()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java1448 mNotificationManager.cancelAsUser(null, mUsbNotificationId, in updateUsbNotification()
1513 mNotificationManager.cancelAsUser(null, mUsbNotificationId, in updateUsbNotification()
1608 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL); in updateAdbNotification()
1619 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL); in updateAdbNotification()
DUsbPortManager.java227 mNotificationManager.cancelAsUser(null, mIsPortContaminatedNotificationId, in updateContaminantNotification()
270 mNotificationManager.cancelAsUser(null, mIsPortContaminatedNotificationId, in updateContaminantNotification()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java546 mNotifManager.cancelAsUser(uuid.toString(), SystemMessage.NOTE_LOW_STORAGE, in updateNotifications()
/frameworks/base/core/java/android/app/
DNotificationManager.java820 cancelAsUser(tag, id, mContext.getUser()); in cancel()
857 public void cancelAsUser(String tag, int id, UserHandle user) in cancelAsUser() method in NotificationManager
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java990 manager.cancelAsUser(TAG, notificationId, UserHandle.ALL); in hideNotification()
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardLayoutManager.java932 notificationManager.cancelAsUser(null, in hideKeyboardLayoutNotification()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java855 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL); in showAdbConnectedNotification()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java2070 mNotificationManager.cancelAsUser(null, in adjustStatusBarCarModeLocked()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java819 mNotificationManager.cancelAsUser(null, SystemMessage.NOTE_FBE_ENCRYPTED_NOTIFICATION, in hideEncryptionNotification()

12