Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerNotificationWarningsTest.java91 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/
DNetworkNotificationManagerTest.java126 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()
229 .cancelAsUser(eq(tag), eq(LOGGED_IN.eventId), any()); in testClearNotificationByType()
245 .cancelAsUser(eq(tag), eq(LOST_INTERNET.eventId), any()); in testClearNotificationByType()
DVpnTest.java522 .cancelAsUser(anyString(), anyInt(), eq(userHandle)); in testNotificationShownForAlwaysOnApp()
531 order.verify(mNotificationManager).cancelAsUser(anyString(), anyInt(), eq(userHandle)); in testNotificationShownForAlwaysOnApp()
540 order.verify(mNotificationManager).cancelAsUser(anyString(), anyInt(), eq(userHandle)); in testNotificationShownForAlwaysOnApp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java228 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()
367 mNoMan.cancelAsUser(TAG_TEMPERATURE, SystemMessage.NOTE_HIGH_TEMP, UserHandle.ALL); in dismissHighTemperatureWarningInternal()
409 mNoMan.cancelAsUser(TAG_TEMPERATURE, SystemMessage.NOTE_THERMAL_SHUTDOWN, UserHandle.ALL); in dismissThermalShutdownWarning()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java93 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/
DPreBootBroadcaster.java171 notifManager.cancelAsUser(TAG, SystemMessage.NOTE_SYSTEM_UPGRADING,
DActiveServices.java1110 nm.cancelAsUser(null, SystemMessageProto.SystemMessage.NOTE_FOREGROUND_SERVICES, in updateForegroundApps()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java165 mInjector.getNotificationManager().cancelAsUser( in updateInstalledCertificates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java182 noMan.cancelAsUser( in updateForegroundInstantApps()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java1038 mNotificationManager.cancelAsUser(null, mUsbNotificationId, in updateUsbNotification()
1093 mNotificationManager.cancelAsUser(null, mUsbNotificationId, in updateUsbNotification()
1183 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL); in updateAdbNotification()
1221 mNotificationManager.cancelAsUser(null, id, UserHandle.ALL); in updateAdbNotification()
DUsbPortManager.java215 mNotificationManager.cancelAsUser(null, mIsPortContaminatedNotificationId, in updateContaminantNotification()
256 mNotificationManager.cancelAsUser(null, mIsPortContaminatedNotificationId, in updateContaminantNotification()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java310 mNotificationManager.cancelAsUser(tag, eventId, UserHandle.ALL); in clearNotification()
DTethering.java639 notificationManager.cancelAsUser(null, mLastNotificationId, in showTetheredNotification()
688 notificationManager.cancelAsUser(null, mLastNotificationId, in clearTetheredNotification()
DVpn.java1610 notificationManager.cancelAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, user); in updateAlwaysOnNotification()
/frameworks/base/core/java/android/app/
DNotificationManager.java551 cancelAsUser(tag, id, mContext.getUser()); in cancel()
558 public void cancelAsUser(String tag, int id, UserHandle user) in cancelAsUser() method in NotificationManager
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java505 mNotifManager.cancelAsUser(uuid.toString(), SystemMessage.NOTE_LOW_STORAGE, in updateNotifications()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java833 mNotificationManager.cancelAsUser(null, in adjustStatusBarCarModeLocked()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1059 mNotificationManager.cancelAsUser(null, in hideMissingKeyboardLayoutNotification()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java556 mNotificationManager.cancelAsUser(null, SystemMessage.NOTE_FBE_ENCRYPTED_NOTIFICATION, in hideEncryptionNotification()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3740 mNotificationMgr.cancelAsUser( in runSyncFinishedOrCanceledH()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java2604 mNotificationManager.cancelAsUser(null, in updateSystemUiLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java1423 .cancelAsUser(anyString(), anyInt(), eq(user)); in testCertificateDisclosure()