Home
last modified time | relevance | path

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

12

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java117 .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 …]
DVpnTest.java572 .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/
DPowerNotificationWarningsTest.java90 .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/
DPowerNotificationWarnings.java250 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/
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/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1073 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/
DPreBootBroadcaster.java166 notifManager.notifyAsUser(TAG, SystemMessage.NOTE_SYSTEM_UPGRADING, notif,
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java797 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/
DCertificateMonitor.java162 mInjector.getNotificationManager().notifyAsUser( in updateInstalledCertificates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java337 noMan.notifyAsUser( in postInstantAppNotif()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginInstanceManagerTest.java171 verify(nm).notifyAsUser(eq(TestPlugin.class.getName()), eq(SystemMessage.NOTE_PLUGIN), in testIncorrectVersion()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java285 mNotificationManager.notifyAsUser(tag, eventId, notification, UserHandle.ALL); in showNotification()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java413 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(), in setNiNotification()
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java250 notificationManager.notifyAsUser( in showNotificationIfEnabled()
/frameworks/base/core/java/android/app/
DNotificationManager.java444 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/
DPluginManagerImpl.java255 mContext.getSystemService(NotificationManager.class).notifyAsUser(pkg, in onReceive()
DPluginInstanceManager.java395 .notifyAsUser(cls, SystemMessage.NOTE_PLUGIN, nb.build(), in handleLoadPlugin()
/frameworks/base/services/core/java/com/android/server/location/
DGnssVisibilityControl.java627 notificationManager.notifyAsUser(/* tag= */ null, /* notificationId= */ 0, in postEmergencyLocationUserNotification()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java480 mNotifManager.notifyAsUser(uuid.toString(), SystemMessage.NOTE_LOW_STORAGE, in updateNotifications()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java249 mNotificationManager.notifyAsUser(null, mIsPortContaminatedNotificationId, notification, in updateContaminantNotification()
283 mNotificationManager.notifyAsUser(null, mIsPortContaminatedNotificationId, in updateContaminantNotification()
DUsbDeviceManager.java1166 mNotificationManager.notifyAsUser(null, id, notification, in updateUsbNotification()
1222 mNotificationManager.notifyAsUser(null, id, notification, in updateAdbNotification()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java1158 mNotificationManager.notifyAsUser(null, in adjustStatusBarCarModeLocked()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java322 mNotificationManager.notifyAsUser(NOTIFICATION_TAG, NOTIFICATION_ID, notification, in onAcquired()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DMultiClientInputMethodManagerService.java494 mContext.getSystemService(NotificationManager.class).notifyAsUser(TAG, in onBootPhase()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java798 mNotificationManager.notifyAsUser(null, id, notification, in showAdbConnectedNotification()

12