/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 117 .notifyAsUser(eq(tag), eq(PRIVATE_DNS_BROKEN.eventId), any(), any()); in verifyTitleByNetwork() 167 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNotificationsShownAndCleared() 177 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testNoInternetNotificationsNotShownForCellular() 183 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNoInternetNotificationsNotShownForCellular() 194 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testNotificationsNotShownIfNoInternetCapability() 205 .notifyAsUser(eq(tag), eq(NO_INTERNET.eventId), any(), any()); in testDuplicatedNotificationsNoInternetThenSignIn() 212 .notifyAsUser(eq(tag), eq(SIGN_IN.eventId), any(), any()); in testDuplicatedNotificationsNoInternetThenSignIn() 227 .notifyAsUser(eq(tag), eq(SIGN_IN.eventId), any(), any()); in testDuplicatedNotificationsSignInThenNoInternet() 233 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testDuplicatedNotificationsSignInThenNoInternet() 250 .notifyAsUser(eq(tag), eq(NO_INTERNET.eventId), any(), any()); in testClearNotificationByType() [all …]
|
D | VpnTest.java | 572 .notifyAsUser(anyString(), anyInt(), any(), eq(userHandle)); in testNotificationShownForAlwaysOnApp() 581 .notifyAsUser(anyString(), anyInt(), any(), eq(userHandle)); in testNotificationShownForAlwaysOnApp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerNotificationWarningsTest.java | 90 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_BAD_CHARGER), any(), any()); in testShowInvalidChargerNotification_NotifyAsUser() 107 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_POWER_LOW), any(), any()); in testShowLowBatteryNotification_NotifyAsUser() 125 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_POWER_LOW), in testShowLowBatteryNotification_BatteryChannel() 134 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_HIGH_TEMP), any(), any()); in testShowHighTemperatureWarning_NotifyAsUser() 149 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_THERMAL_SHUTDOWN), any(), any()); in testShowThermalShutdownWarning_NotifyAsUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerNotificationWarnings.java | 250 mNoMan.notifyAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, n, UserHandle.ALL); in showInvalidChargerNotification() 301 mNoMan.notifyAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, n, UserHandle.ALL); in showWarningNotification() 321 mNoMan.notifyAsUser( in showAutoSaverSuggestionNotification() 391 mNoMan.notifyAsUser(TAG_TEMPERATURE, SystemMessage.NOTE_HIGH_TEMP, n, UserHandle.ALL); in showHighTemperatureWarning() 442 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/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 1073 verify(mNotifManager, never()).notifyAsUser(any(), anyInt(), any(), any()); 1090 verify(mNotifManager, atLeastOnce()).notifyAsUser(any(), eq(TYPE_WARNING), 1110 verify(mNotifManager, never()).notifyAsUser(any(), anyInt(), any(), any()); 1126 verify(mNotifManager, atLeastOnce()).notifyAsUser(any(), eq(TYPE_LIMIT), 1141 verify(mNotifManager, atLeastOnce()).notifyAsUser(any(), eq(TYPE_LIMIT_SNOOZED), 1191 verify(mNotifManager, never()).notifyAsUser(any(), anyInt(), any(), any()); 1212 verify(mNotifManager, atLeastOnce()).notifyAsUser(any(), eq(TYPE_RAPID), 1238 verify(mNotifManager, atLeastOnce()).notifyAsUser(any(), eq(TYPE_RAPID),
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 166 notifManager.notifyAsUser(TAG, SystemMessage.NOTE_SYSTEM_UPGRADING, notif,
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 797 manager.notifyAsUser(TAG, DYNAMIC_MODE_NOTIFICATION_ID, in triggerDynamicModeNotification() 818 manager.notifyAsUser(TAG, STICKY_AUTO_DISABLED_NOTIFICATION_ID, in triggerStickyDisabledNotification()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CertificateMonitor.java | 162 mInjector.getNotificationManager().notifyAsUser( in updateInstalledCertificates()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | InstantAppNotifier.java | 337 noMan.notifyAsUser( in postInstantAppNotif()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/ |
D | PluginInstanceManagerTest.java | 171 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 | 285 mNotificationManager.notifyAsUser(tag, eventId, notification, UserHandle.ALL); in showNotification()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 413 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(), in setNiNotification()
|
/frameworks/base/services/core/java/com/android/server/testharness/ |
D | TestHarnessModeService.java | 250 notificationManager.notifyAsUser( in showNotificationIfEnabled()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 444 notifyAsUser(tag, id, notification, mContext.getUser()); in notify() 487 public void notifyAsUser(String tag, int id, Notification notification, UserHandle user) in notifyAsUser() method in NotificationManager
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
D | PluginManagerImpl.java | 255 mContext.getSystemService(NotificationManager.class).notifyAsUser(pkg, in onReceive()
|
D | PluginInstanceManager.java | 395 .notifyAsUser(cls, SystemMessage.NOTE_PLUGIN, nb.build(), in handleLoadPlugin()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssVisibilityControl.java | 627 notificationManager.notifyAsUser(/* tag= */ null, /* notificationId= */ 0, in postEmergencyLocationUserNotification()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DeviceStorageMonitorService.java | 480 mNotifManager.notifyAsUser(uuid.toString(), SystemMessage.NOTE_LOW_STORAGE, in updateNotifications()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 249 mNotificationManager.notifyAsUser(null, mIsPortContaminatedNotificationId, notification, in updateContaminantNotification() 283 mNotificationManager.notifyAsUser(null, mIsPortContaminatedNotificationId, in updateContaminantNotification()
|
D | UsbDeviceManager.java | 1166 mNotificationManager.notifyAsUser(null, id, notification, in updateUsbNotification() 1222 mNotificationManager.notifyAsUser(null, id, notification, in updateAdbNotification()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 1158 mNotificationManager.notifyAsUser(null, in adjustStatusBarCarModeLocked()
|
/frameworks/base/services/core/java/com/android/server/biometrics/face/ |
D | FaceService.java | 322 mNotificationManager.notifyAsUser(NOTIFICATION_TAG, NOTIFICATION_ID, notification, in onAcquired()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | MultiClientInputMethodManagerService.java | 494 mContext.getSystemService(NotificationManager.class).notifyAsUser(TAG, in onBootPhase()
|
/frameworks/base/services/core/java/com/android/server/adb/ |
D | AdbDebuggingManager.java | 798 mNotificationManager.notifyAsUser(null, id, notification, in showAdbConnectedNotification()
|