/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerNotificationWarningsTest.java | 91 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testShowInvalidChargerNotification_NotifyAsUser() 99 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissInvalidChargerNotification_CancelAsUser() 108 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testShowLowBatteryNotification_NotifyAsUser() 116 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissLowBatteryNotification_CancelAsUser() 141 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissHighTemperatureWarning_CancelAsUser() 156 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissThermalShutdownWarning_CancelAsUser()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 168 verify(mNotificationManager, times(1)).cancelAsUser(eq(tag), eq(eventId), any()); in testNotificationsShownAndCleared() 210 .cancelAsUser(eq(tag), eq(NO_INTERNET.eventId), any()); in testDuplicatedNotificationsNoInternetThenSignIn() 216 verify(mNotificationManager, times(1)).cancelAsUser(eq(tag), eq(SIGN_IN.eventId), any()); in testDuplicatedNotificationsNoInternetThenSignIn() 232 verify(mNotificationManager, never()).cancelAsUser(any(), anyInt(), any()); in testDuplicatedNotificationsSignInThenNoInternet() 237 verify(mNotificationManager, times(1)).cancelAsUser(eq(tag), eq(SIGN_IN.eventId), any()); in testDuplicatedNotificationsSignInThenNoInternet() 256 .cancelAsUser(eq(tag), eq(NO_INTERNET.eventId), any()); in testClearNotificationByType() 267 .cancelAsUser(eq(tag), eq(PARTIAL_CONNECTIVITY.eventId), any()); in testClearNotificationByType()
|
D | VpnTest.java | 567 .cancelAsUser(anyString(), anyInt(), eq(userHandle)); in testNotificationShownForAlwaysOnApp() 576 order.verify(mNotificationManager).cancelAsUser(anyString(), anyInt(), eq(userHandle)); in testNotificationShownForAlwaysOnApp() 585 order.verify(mNotificationManager).cancelAsUser(anyString(), anyInt(), eq(userHandle)); in testNotificationShownForAlwaysOnApp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerNotificationWarnings.java | 228 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, UserHandle.ALL); in updateNotification() 229 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, UserHandle.ALL); in updateNotification() 230 mNoMan.cancelAsUser(TAG_AUTO_SAVER, in updateNotification() 249 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, UserHandle.ALL); in showInvalidChargerNotification() 300 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, UserHandle.ALL); in showWarningNotification() 369 mNoMan.cancelAsUser(TAG_TEMPERATURE, SystemMessage.NOTE_HIGH_TEMP, UserHandle.ALL); in dismissHighTemperatureWarningInternal() 411 mNoMan.cancelAsUser(TAG_TEMPERATURE, SystemMessage.NOTE_THERMAL_SHUTDOWN, UserHandle.ALL); in dismissThermalShutdownWarning()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 97 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, 126 mNotificationManager.cancelAsUser(null, SystemMessage.NOTE_STORAGE_MOVE, 204 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, in updateMissingPrivateVolumes() 262 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskScannedInternal() 273 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskDestroyedInternal() 343 mNotificationManager.cancelAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC, in onPublicVolumeStateChangedInternal() 540 mNotificationManager.cancelAsUser(move.packageName, SystemMessage.NOTE_STORAGE_MOVE, in onMoveFinished()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingService.java | 179 mNotificationManager.cancelAsUser(null, NOTIFICATION_VIEW_ID, currentUser); in onStartCommand() 198 mNotificationManager.cancelAsUser(null, NOTIFICATION_VIEW_ID, currentUser); in onStartCommand() 377 mNotificationManager.cancelAsUser(null, NOTIFICATION_PROCESSING_ID, currentUser); in saveRecording()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 171 notifManager.cancelAsUser(TAG, SystemMessage.NOTE_SYSTEM_UPGRADING,
|
D | ActiveServices.java | 1194 nm.cancelAsUser(null, SystemMessageProto.SystemMessage.NOTE_FOREGROUND_SERVICES, in updateForegroundApps()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CertificateMonitor.java | 160 mInjector.getNotificationManager().cancelAsUser( in updateInstalledCertificates()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 1045 mNotificationManager.cancelAsUser(null, mUsbNotificationId, in updateUsbNotification() 1100 mNotificationManager.cancelAsUser(null, mUsbNotificationId, in updateUsbNotification() 1190 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL); in updateAdbNotification() 1201 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL); in updateAdbNotification()
|
D | UsbPortManager.java | 216 mNotificationManager.cancelAsUser(null, mIsPortContaminatedNotificationId, in updateContaminantNotification() 257 mNotificationManager.cancelAsUser(null, mIsPortContaminatedNotificationId, in updateContaminantNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | InstantAppNotifier.java | 188 noMan.cancelAsUser( in updateForegroundInstantApps()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 314 mNotificationManager.cancelAsUser(tag, eventId, UserHandle.ALL); in clearNotification()
|
D | Vpn.java | 1784 notificationManager.cancelAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, user);
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 643 cancelAsUser(tag, id, mContext.getUser()); in cancel() 679 public void cancelAsUser(String tag, int id, UserHandle user) in cancelAsUser() method in NotificationManager
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DeviceStorageMonitorService.java | 519 mNotifManager.cancelAsUser(uuid.toString(), SystemMessage.NOTE_LOW_STORAGE, in updateNotifications()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 870 manager.cancelAsUser(TAG, notificationId, UserHandle.ALL); in hideNotification()
|
/frameworks/base/services/core/java/com/android/server/biometrics/face/ |
D | FaceService.java | 386 mNotificationManager.cancelAsUser(NOTIFICATION_TAG, NOTIFICATION_ID, in enroll()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 1381 mNotificationManager.cancelAsUser(null, in adjustStatusBarCarModeLocked()
|
/frameworks/base/services/core/java/com/android/server/adb/ |
D | AdbDebuggingManager.java | 789 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL); in showAdbConnectedNotification()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 1097 mNotificationManager.cancelAsUser(null, in hideMissingKeyboardLayoutNotification()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 676 mNotificationManager.cancelAsUser(null, SystemMessage.NOTE_FBE_ENCRYPTED_NOTIFICATION, in hideEncryptionNotification()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 3740 mNotificationMgr.cancelAsUser( in runSyncFinishedOrCanceledH()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerService.java | 2982 mNotificationManager.cancelAsUser(null, in updateSystemUiLocked()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4965 verify(mNotificationManager, timeout(TIMEOUT_MS).times(1)).cancelAsUser(anyString(), in testPrivateDnsNotification()
|