/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerNotificationWarningsTest.java | 86 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testShowInvalidChargerNotification_NotifyAsUser() 94 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissInvalidChargerNotification_CancelAsUser() 103 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testShowLowBatteryNotification_NotifyAsUser() 111 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissLowBatteryNotification_CancelAsUser() 136 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissHighTemperatureWarning_CancelAsUser() 151 verify(mMockNotificationManager, times(1)).cancelAsUser(anyString(), in testDismissThermalShutdownWarning_CancelAsUser()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 126 verify(mNotificationManager, times(1)).cancelAsUser(eq(tag), eq(eventId), any()); in testNotificationsShownAndCleared() 168 .cancelAsUser(eq(tag), eq(NO_INTERNET.eventId), any()); in testDuplicatedNotificationsNoInternetThenSignIn() 174 verify(mNotificationManager, times(1)).cancelAsUser(eq(tag), eq(SIGN_IN.eventId), any()); in testDuplicatedNotificationsNoInternetThenSignIn() 190 verify(mNotificationManager, never()).cancelAsUser(any(), anyInt(), any()); in testDuplicatedNotificationsSignInThenNoInternet() 195 verify(mNotificationManager, times(1)).cancelAsUser(eq(tag), eq(SIGN_IN.eventId), any()); in testDuplicatedNotificationsSignInThenNoInternet()
|
D | VpnTest.java | 414 .cancelAsUser(anyString(), anyInt(), eq(userHandle)); in testNotificationShownForAlwaysOnApp() 423 order.verify(mNotificationManager).cancelAsUser(anyString(), anyInt(), eq(userHandle)); in testNotificationShownForAlwaysOnApp() 432 order.verify(mNotificationManager).cancelAsUser(anyString(), anyInt(), eq(userHandle)); in testNotificationShownForAlwaysOnApp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerNotificationWarnings.java | 210 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, UserHandle.ALL); in updateNotification() 211 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, UserHandle.ALL); in updateNotification() 212 mNoMan.cancelAsUser(TAG_AUTO_SAVER, in updateNotification() 231 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, UserHandle.ALL); in showInvalidChargerNotification() 276 mNoMan.cancelAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, UserHandle.ALL); in showWarningNotification() 345 mNoMan.cancelAsUser(TAG_TEMPERATURE, SystemMessage.NOTE_HIGH_TEMP, UserHandle.ALL); in dismissHighTemperatureWarningInternal() 385 mNoMan.cancelAsUser(TAG_TEMPERATURE, SystemMessage.NOTE_THERMAL_SHUTDOWN, UserHandle.ALL); in dismissThermalShutdownWarning()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 93 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, 122 mNotificationManager.cancelAsUser(null, SystemMessage.NOTE_STORAGE_MOVE, 199 mNotificationManager.cancelAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, in updateMissingPrivateVolumes() 257 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskScannedInternal() 268 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskDestroyedInternal() 328 mNotificationManager.cancelAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC, in onPublicVolumeStateChangedInternal() 511 mNotificationManager.cancelAsUser(move.packageName, SystemMessage.NOTE_STORAGE_MOVE, in onMoveFinished()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 168 notifManager.cancelAsUser(TAG, SystemMessage.NOTE_SYSTEM_UPGRADING,
|
D | ActiveServices.java | 1045 nm.cancelAsUser(null, SystemMessageProto.SystemMessage.NOTE_FOREGROUND_SERVICES, in updateForegroundApps()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CertificateMonitor.java | 165 mInjector.getNotificationManager().cancelAsUser( in updateInstalledCertificates()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 253 mNotificationManager.cancelAsUser(tag, eventId, UserHandle.ALL); in clearNotification()
|
D | Vpn.java | 1555 notificationManager.cancelAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, user); in updateAlwaysOnNotification()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 435 cancelAsUser(tag, id, mContext.getUser()); in cancel() 441 public void cancelAsUser(String tag, int id, UserHandle user) in cancelAsUser() method in NotificationManager
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 1058 mNotificationManager.cancelAsUser(null, mUsbNotificationId, in updateUsbNotification() 1113 mNotificationManager.cancelAsUser(null, mUsbNotificationId, in updateUsbNotification() 1191 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL); in updateAdbNotification() 1229 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL); in updateAdbNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 284 mCurrentNotifs.forEach(v -> noMan.cancelAsUser(v.first, SystemMessage.NOTE_INSTANT_APPS, in destroy() 556 notifs.forEach(v -> noMan.cancelAsUser(v.first, SystemMessage.NOTE_INSTANT_APPS, in updateForegroundInstantApps()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DeviceStorageMonitorService.java | 503 mNotifManager.cancelAsUser(uuid.toString(), SystemMessage.NOTE_LOW_STORAGE, in updateNotifications()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 709 mNotificationManager.cancelAsUser(null, in adjustStatusBarCarModeLocked()
|
D | InputMethodManagerService.java | 2377 mNotificationManager.cancelAsUser(null, in updateSystemUiLocked()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 1039 mNotificationManager.cancelAsUser(null, in hideMissingKeyboardLayoutNotification()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 522 mNotificationManager.cancelAsUser(null, SystemMessage.NOTE_FBE_ENCRYPTED_NOTIFICATION, in hideEncryptionNotification()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 3799 mNotificationMgr.cancelAsUser( in runSyncFinishedOrCanceledH()
|
/frameworks/base/config/ |
D | hiddenapi-vendor-list.txt | 44 Landroid/app/NotificationManager;->cancelAsUser(Ljava/lang/String;ILandroid/os/UserHandle;)V
|
D | boot-image-profile.txt | 15000 HSPLandroid/app/NotificationManager;->cancelAsUser(Ljava/lang/String;ILandroid/os/UserHandle;)V
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 1408 .cancelAsUser(anyString(), anyInt(), eq(user)); in testCertificateDisclosure()
|