Home
last modified time | relevance | path

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

12

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java115 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNotificationsShownAndCleared()
125 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testNoInternetNotificationsNotShownForCellular()
131 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNoInternetNotificationsNotShownForCellular()
142 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testNotificationsNotShownIfNoInternetCapability()
153 .notifyAsUser(eq(tag), eq(NO_INTERNET.eventId), any(), any()); in testDuplicatedNotificationsNoInternetThenSignIn()
160 .notifyAsUser(eq(tag), eq(SIGN_IN.eventId), any(), any()); in testDuplicatedNotificationsNoInternetThenSignIn()
175 .notifyAsUser(eq(tag), eq(SIGN_IN.eventId), any(), any()); in testDuplicatedNotificationsSignInThenNoInternet()
181 verify(mNotificationManager, never()).notifyAsUser(any(), anyInt(), any(), any()); in testDuplicatedNotificationsSignInThenNoInternet()
DVpnTest.java370 .notifyAsUser(anyString(), anyInt(), any(), eq(userHandle)); in testNotificationShownForAlwaysOnApp()
379 .notifyAsUser(anyString(), anyInt(), any(), eq(userHandle)); in testNotificationShownForAlwaysOnApp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerNotificationWarningsTest.java81 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_BAD_CHARGER), any(), any()); in testShowInvalidChargerNotification_NotifyAsUser()
98 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_POWER_LOW), any(), any()); in testShowLowBatteryNotification_NotifyAsUser()
116 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_POWER_LOW), in testShowLowBatteryNotification_BatteryChannel()
125 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_HIGH_TEMP), any(), any()); in testShowHighTemperatureWarning_NotifyAsUser()
140 .notifyAsUser(anyString(), eq(SystemMessage.NOTE_THERMAL_SHUTDOWN), any(), any()); in testShowThermalShutdownWarning_NotifyAsUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java171 mNoMan.notifyAsUser(TAG_BATTERY, SystemMessage.NOTE_BAD_CHARGER, n, UserHandle.ALL); in showInvalidChargerNotification()
201 mNoMan.notifyAsUser(TAG_BATTERY, SystemMessage.NOTE_POWER_LOW, n, UserHandle.ALL); in showWarningNotification()
259 mNoMan.notifyAsUser(TAG_TEMPERATURE, SystemMessage.NOTE_HIGH_TEMP, n, UserHandle.ALL); in showHighTemperatureWarning()
309 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,
/frameworks/base/core/java/android/app/
DNotificationManager.java289 notifyAsUser(tag, id, notification, new UserHandle(UserHandle.myUserId())); in notify()
295 public void notifyAsUser(String tag, int id, Notification notification, UserHandle user) in notifyAsUser() method in NotificationManager
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java162 mInjector.getNotificationManager().notifyAsUser( in updateInstalledCertificates()
DDevicePolicyManagerService.java575 mInjector.getNotificationManager().notifyAsUser(LOG_TAG,
6182 mInjector.getNotificationManager().notifyAsUser(LOG_TAG, in requestBugreport()
6248 … mInjector.getNotificationManager().notifyAsUser(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID, in onBugreportFinished()
6282 … mInjector.getNotificationManager().notifyAsUser(LOG_TAG, RemoteBugreportUtils.NOTIFICATION_ID, in onBugreportSharingAccepted()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java233 mNotificationManager.notifyAsUser(tag, eventId, notification, UserHandle.ALL); in showNotification()
DVpn.java1444 notificationManager.notifyAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, in updateAlwaysOnNotification()
DTethering.java770 notificationManager.notifyAsUser(null, mLastNotificationId, in showTetheredNotification()
/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/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java408 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(), in setNiNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginManagerImpl.java243 mContext.getSystemService(NotificationManager.class).notifyAsUser(pkg, in onReceive()
DPluginInstanceManager.java352 .notifyAsUser(cls, SystemMessage.NOTE_PLUGIN, nb.build(), in handleLoadPlugin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java586 NotificationManager.from(mContext).notifyAsUser(TAG_LOGOUT_USER,
609 NotificationManager.from(mContext).notifyAsUser(TAG_REMOVE_GUEST, in showGuestNotification()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java499 mNotifManager.notifyAsUser(uuid.toString(), SystemMessage.NOTE_LOW_STORAGE, in updateNotifications()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java1178 mNotificationManager.notifyAsUser(null, id, notification, in updateUsbNotification()
1229 mNotificationManager.notifyAsUser(null, id, notification, in updateAdbNotification()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java706 mNotificationManager.notifyAsUser(null, in adjustStatusBarCarModeLocked()
DInputMethodManagerService.java2252 mNotificationManager.notifyAsUser(null, in updateSystemUiLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java609 noMan.notifyAsUser(pkg, SystemMessage.NOTE_INSTANT_APPS, builder in postEphemeralNotif()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1033 mNotificationManager.notifyAsUser(null, in showMissingKeyboardLayoutNotification()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java490 mNotificationManager.notifyAsUser(null, SystemMessage.NOTE_FBE_ENCRYPTED_NOTIFICATION, in showEncryptionNotification()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3570 mNotificationMgr.notifyAsUser( in installHandleTooManyDeletesNotification()

12