Home
last modified time | relevance | path

Searched refs:notifyAsUser (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java125 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNotificationsShownAndCleared()
135 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testNoInternetNotificationsNotShownForCellular()
141 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNoInternetNotificationsNotShownForCellular()
152 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testNotificationsNotShownIfNoInternetCapability()
163 .notifyAsUser(eq(tag), eq(NO_INTERNET.eventId), any(), any()); in testDuplicatedNotificationsNoInternetThenSignIn()
170 .notifyAsUser(eq(tag), eq(SIGN_IN.eventId), any(), any()); in testDuplicatedNotificationsNoInternetThenSignIn()
185 .notifyAsUser(eq(tag), eq(SIGN_IN.eventId), any(), any()); in testDuplicatedNotificationsSignInThenNoInternet()
191 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testDuplicatedNotificationsSignInThenNoInternet()
DVpnTest.java419 .notifyAsUser(anyString(), anyInt(), any(), eq(userHandle)); in testNotificationShownForAlwaysOnApp()
428 .notifyAsUser(anyString(), anyInt(), any(), eq(userHandle)); in testNotificationShownForAlwaysOnApp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerNotificationWarningsTest.java85 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_BAD_CHARGER), any(), any()); in testShowInvalidChargerNotification_NotifyAsUser()
102 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_POWER_LOW), any(), any()); in testShowLowBatteryNotification_NotifyAsUser()
120 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_POWER_LOW), in testShowLowBatteryNotification_BatteryChannel()
129 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_HIGH_TEMP), any(), any()); in testShowHighTemperatureWarning_NotifyAsUser()
144 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_THERMAL_SHUTDOWN), any(), any()); in testShowThermalShutdownWarning_NotifyAsUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java232 mNoMan.notifyAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, n, UserHandle.ALL); in showInvalidChargerNotification()
277 mNoMan.notifyAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, n, UserHandle.ALL); in showWarningNotification()
298 mNoMan.notifyAsUser( in showAutoSaverSuggestionNotification()
367 mNoMan.notifyAsUser(TAG_TEMPERATURE, SystemMessage.NOTE_HIGH_TEMP, n, UserHandle.ALL); in showHighTemperatureWarning()
417 mNoMan.notifyAsUser( in showThermalShutdownWarning()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java224 mNotificationManager.notifyAsUser(fsUuid, SystemMessage.NOTE_STORAGE_PRIVATE, in updateMissingPrivateVolumes()
252 mNotificationManager.notifyAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskScannedInternal()
325 mNotificationManager.notifyAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC, in onPublicVolumeStateChangedInternal()
503 mNotificationManager.notifyAsUser(move.packageName, SystemMessage.NOTE_STORAGE_MOVE, in onMoveProgress()
553 mNotificationManager.notifyAsUser(move.packageName, SystemMessage.NOTE_STORAGE_MOVE, in onMoveFinished()
/frameworks/base/services/core/java/com/android/server/am/
DPreBootBroadcaster.java163 notifManager.notifyAsUser(TAG, SystemMessage.NOTE_SYSTEM_UPGRADING, notif,
DActiveServices.java1042 nm.notifyAsUser(null, SystemMessageProto.SystemMessage.NOTE_FOREGROUND_SERVICES, in updateForegroundApps()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java1055 verify(mNotifManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testNotificationWarningLimitSnooze()
1072 verify(mNotifManager, atLeastOnce()).notifyAsUser(any(), eq(TYPE_WARNING), in testNotificationWarningLimitSnooze()
1089 verify(mNotifManager, atLeastOnce()).notifyAsUser(any(), eq(TYPE_LIMIT), in testNotificationWarningLimitSnooze()
1104 verify(mNotifManager, atLeastOnce()).notifyAsUser(any(), eq(TYPE_LIMIT_SNOOZED), in testNotificationWarningLimitSnooze()
1154 verify(mNotifManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testNotificationRapid()
1175 verify(mNotifManager, atLeastOnce()).notifyAsUser(any(), eq(TYPE_RAPID), in testNotificationRapid()
1201 verify(mNotifManager, atLeastOnce()).notifyAsUser(any(), eq(TYPE_RAPID), in testNotificationRapid()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java162 mInjector.getNotificationManager().notifyAsUser( in updateInstalledCertificates()
DDevicePolicyManagerService.java710 mInjector.getNotificationManager().notifyAsUser(LOG_TAG,
6797 mInjector.getNotificationManager().notifyAsUser(LOG_TAG, in requestBugreport()
6890 … mInjector.getNotificationManager().notifyAsUser(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID, in onBugreportFinished()
6924 … mInjector.getNotificationManager().notifyAsUser(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID, in onBugreportSharingAccepted()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/
DPluginInstanceManagerTest.java161 verify(nm).notifyAsUser(eq(TestPlugin.class.getName()), eq(SystemMessage.NOTE_PLUGIN), in testIncorrectVersion()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java236 mNotificationManager.notifyAsUser(tag, eventId, notification, UserHandle.ALL); in showNotification()
DVpn.java1575 notificationManager.notifyAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, in updateAlwaysOnNotification()
/frameworks/base/core/java/android/app/
DNotificationManager.java370 notifyAsUser(tag, id, notification, mContext.getUser()); in notify()
376 public void notifyAsUser(String tag, int id, Notification notification, UserHandle user) in notifyAsUser() method in NotificationManager
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java392 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(), in setNiNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginManagerImpl.java245 mContext.getSystemService(NotificationManager.class).notifyAsUser(pkg, in onReceive()
DPluginInstanceManager.java358 .notifyAsUser(cls, SystemMessage.NOTE_PLUGIN, nb.build(), in handleLoadPlugin()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java500 mNotifManager.notifyAsUser(uuid.toString(), SystemMessage.NOTE_LOW_STORAGE, in updateNotifications()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java706 mNotificationManager.notifyAsUser(null, in adjustStatusBarCarModeLocked()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java1173 mNotificationManager.notifyAsUser(null, id, notification, in updateUsbNotification()
1224 mNotificationManager.notifyAsUser(null, id, notification, in updateAdbNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java637 noMan.notifyAsUser(pkg, SystemMessage.NOTE_INSTANT_APPS, builder in postEphemeralNotif()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1028 mNotificationManager.notifyAsUser(null, in showMissingKeyboardLayoutNotification()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java516 mNotificationManager.notifyAsUser(null, SystemMessage.NOTE_FBE_ENCRYPTED_NOTIFICATION, in showEncryptionNotification()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3904 mNotificationMgr.notifyAsUser( in installHandleTooManyDeletesNotification()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1406 mContext.getSystemService(NotificationManager.class).notifyAsUser(notificationId.getTag(), in enqueueNotification()

12