/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 125 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()
|
D | VpnTest.java | 419 .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/ |
D | PowerNotificationWarningsTest.java | 85 .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/ |
D | PowerNotificationWarnings.java | 232 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/ |
D | StorageNotification.java | 224 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/ |
D | PreBootBroadcaster.java | 163 notifManager.notifyAsUser(TAG, SystemMessage.NOTE_SYSTEM_UPGRADING, notif,
|
D | ActiveServices.java | 1042 nm.notifyAsUser(null, SystemMessageProto.SystemMessage.NOTE_FOREGROUND_SERVICES, in updateForegroundApps()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 1055 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/ |
D | CertificateMonitor.java | 162 mInjector.getNotificationManager().notifyAsUser( in updateInstalledCertificates()
|
D | DevicePolicyManagerService.java | 710 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/ |
D | PluginInstanceManagerTest.java | 161 verify(nm).notifyAsUser(eq(TestPlugin.class.getName()), eq(SystemMessage.NOTE_PLUGIN), in testIncorrectVersion()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 236 mNotificationManager.notifyAsUser(tag, eventId, notification, UserHandle.ALL); in showNotification()
|
D | Vpn.java | 1575 notificationManager.notifyAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, in updateAlwaysOnNotification()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 370 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/ |
D | GpsNetInitiatedHandler.java | 392 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(), in setNiNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
D | PluginManagerImpl.java | 245 mContext.getSystemService(NotificationManager.class).notifyAsUser(pkg, in onReceive()
|
D | PluginInstanceManager.java | 358 .notifyAsUser(cls, SystemMessage.NOTE_PLUGIN, nb.build(), in handleLoadPlugin()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DeviceStorageMonitorService.java | 500 mNotifManager.notifyAsUser(uuid.toString(), SystemMessage.NOTE_LOW_STORAGE, in updateNotifications()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 706 mNotificationManager.notifyAsUser(null, in adjustStatusBarCarModeLocked()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 1173 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/ |
D | PhoneStatusBarPolicy.java | 637 noMan.notifyAsUser(pkg, SystemMessage.NOTE_INSTANT_APPS, builder in postEphemeralNotif()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 1028 mNotificationManager.notifyAsUser(null, in showMissingKeyboardLayoutNotification()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 516 mNotificationManager.notifyAsUser(null, SystemMessage.NOTE_FBE_ENCRYPTED_NOTIFICATION, in showEncryptionNotification()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 3904 mNotificationMgr.notifyAsUser( in installHandleTooManyDeletesNotification()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1406 mContext.getSystemService(NotificationManager.class).notifyAsUser(notificationId.getTag(), in enqueueNotification()
|