Home
last modified time | relevance | path

Searched refs:notificationManager (Results 1 – 25 of 50) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/
H A DStylusUsiPowerUiTest.kt108 verifyNoMoreInteractions(notificationManager)
115 verify(notificationManager, times(1))
117 verifyNoMoreInteractions(notificationManager)
134 verify(notificationManager, times(1))
143 inOrder(notificationManager).let {
144 it.verify(notificationManager, times(1))
156 verify(notificationManager, times(2))
175 inOrder(notificationManager).let {
176 it.verify(notificationManager, times(1))
199 inOrder(notificationManager).let {
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DBiometricNotificationUtils.java62 final NotificationManager notificationManager = in showReEnrollmentNotification() local
171 final NotificationManager notificationManager = in showNotificationHelper() local
189 notificationManager.createNotificationChannel(channel); in showNotificationHelper()
190 notificationManager.notifyAsUser(notificationTag, NOTIFICATION_ID, notification, in showNotificationHelper()
198 final NotificationManager notificationManager = in cancelFaceReEnrollNotification() local
200 notificationManager.cancelAsUser(FACE_RE_ENROLL_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelFaceReEnrollNotification()
208 final NotificationManager notificationManager = in cancelFaceEnrollNotification() local
210 notificationManager.cancelAsUser(FACE_ENROLL_NOTIFICATION_TAG, NOTIFICATION_ID, in cancelFaceEnrollNotification()
218 final NotificationManager notificationManager = in cancelFingerprintEnrollNotification() local
228 final NotificationManager notificationManager = in cancelBadCalibrationNotification() local
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/ui/
H A DTaskSwitcherNotificationCoordinatorTest.kt52 private val notificationManager: NotificationManager = mock()
81 notificationManager,
98 verify(notificationManager).notify(any(), any(), notification.capture())
108 verify(notificationManager).cancel(any())
117 verify(notificationManager).cancel(idCancel.capture())
121 verify(notificationManager).notify(any(), idNotify.capture(), any())
/aosp14/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
H A DNotificationActivity.java65 NotificationManager notificationManager = getSystemService(NotificationManager.class); in postNotification() local
66 notificationManager.notify(NOTIFICATION_ID, builder.build()); in postNotification()
77 NotificationManager notificationManager = getSystemService(NotificationManager.class); in createNotificationChannel() local
78 notificationManager.createNotificationChannel(channel); in createNotificationChannel()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/ui/
H A DTaskSwitcherNotificationCoordinator.kt44 private val notificationManager: NotificationManager,
62 notificationManager.notify(TAG, NOTIFICATION_ID, createNotification())
89 notificationManager.createNotificationChannel(channel)
102 notificationManager.cancel(NOTIFICATION_ID)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DVpnStatusObserver.kt44 private val notificationManager = NotificationManager.from(context) regex
77 private fun notifyVpnConnected() = notificationManager.notify(
83 private fun notifyVpnDisconnected() = notificationManager.run {
97 notificationManager.createNotificationChannel(it)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationChannelHelper.java40 INotificationManager notificationManager, in createConversationChannelIfNeeded() argument
58 notificationManager.createConversationNotificationChannelForPackage( in createConversationChannelIfNeeded()
61 channel = notificationManager.getConversationNotificationChannel( in createConversationChannelIfNeeded()
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DWifiSoftApConfigChangedNotifier.java48 NotificationManager notificationManager = in notifyUserOfConfigConversion() local
57 notificationManager.createNotificationChannel(channel); in notifyUserOfConfigConversion()
59 notificationManager.notify( in notifyUserOfConfigConversion()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/toast/
H A DToastRecord.java41 protected ToastRecord(NotificationManagerService notificationManager, int uid, int pid, in ToastRecord() argument
44 this.mNotificationManager = notificationManager; in ToastRecord()
H A DCustomToastRecord.java39 public CustomToastRecord(NotificationManagerService notificationManager, int uid, int pid, in CustomToastRecord() argument
42 super(notificationManager, uid, pid, packageName, isSystemToast, token, duration, in CustomToastRecord()
H A DTextToastRecord.java44 public TextToastRecord(NotificationManagerService notificationManager, in TextToastRecord() argument
49 super(notificationManager, uid, pid, packageName, isSystemToast, token, duration, in TextToastRecord()
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DUninstallFinish.java71 NotificationManager notificationManager = in onReceive() local
79 notificationManager.createNotificationChannel(uninstallFailureChannel); in onReceive()
86 notificationManager.cancel(uninstallId); in onReceive()
189 notificationManager.notify(uninstallId, uninstallFailedNotification.build()); in onReceive()
H A DUninstallerActivity.java347 NotificationManager notificationManager = getSystemService(NotificationManager.class); in startUninstallProgress() local
351 notificationManager.createNotificationChannel(uninstallingChannel); in startUninstallProgress()
362 notificationManager.notify(uninstallId, uninstallingNotification); in startUninstallProgress()
375 notificationManager.cancel(uninstallId); in startUninstallProgress()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/
H A DStylusUsiPowerUI.kt58 private val notificationManager: NotificationManagerCompat,
147 notificationManager.cancel(USI_NOTIFICATION_ID)
170 notificationManager.notify(USI_NOTIFICATION_ID, notification)
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DMockLockSettingsContext.java54 NotificationManager notificationManager, DevicePolicyManager devicePolicyManager, in MockLockSettingsContext() argument
62 mNotificationManager = notificationManager; in MockLockSettingsContext()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DGuestSessionNotification.java46 NotificationManager notificationManager) { in GuestSessionNotification() argument
48 mNotificationManager = notificationManager; in GuestSessionNotification()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
H A DPluginsModule.java86 NotificationManager notificationManager, PluginEnabler pluginEnabler, in providePluginInstanceManagerFactory() argument
91 notificationManager, pluginEnabler, privilegedPlugins, pluginInstanceFactory); in providePluginInstanceManagerFactory()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
H A DPluginActionManager.java90 NotificationManager notificationManager, in PluginActionManager() argument
102 mNotificationManager = notificationManager; in PluginActionManager()
384 NotificationManager notificationManager, PluginEnabler pluginEnabler, in Factory() argument
390 mNotificationManager = notificationManager; in Factory()
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
H A DWearPackageInstallerService.java609 NotificationManager notificationManager = getSystemService(NotificationManager.class); in buildNotification() local
610 notificationManager.createNotificationChannel(mNotificationChannel); in buildNotification()
620 NotificationManager notificationManager = getSystemService(NotificationManager.class); in getLabelAndUpdateNotification() local
622 notificationManager.notify(notifPair.first, notifPair.second); in getLabelAndUpdateNotification()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
H A DToastUI.java91 ToastUI(Context context, CommandQueue commandQueue, INotificationManager notificationManager, in ToastUI() argument
97 mNotificationManager = notificationManager; in ToastUI()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DCsdWarningDialog.java110 AudioManager audioManager, NotificationManager notificationManager, in CsdWarningDialog() argument
116 mNotificationManager = notificationManager; in CsdWarningDialog()
/aosp14/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java398 NotificationManager notificationManager = (NotificationManager) mContext in setNiNotification() local
400 if (notificationManager == null) { in setNiNotification()
433 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(), in setNiNotification()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
H A DBubblesManager.java126 INotificationManager notificationManager, in create() argument
145 notificationManager, in create()
169 INotificationManager notificationManager, in BubblesManager() argument
185 mNotificationManager = notificationManager; in BubblesManager()
/aosp14/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DSlicePurchaseBroadcastReceiver.java336 NotificationManager notificationManager = in onDisplayPerformanceBoostNotification() local
338 NotificationChannel channel = notificationManager.getNotificationChannel( in onDisplayPerformanceBoostNotification()
357 if (channelNotificationsDisabled || !notificationManager.areNotificationsEnabled()) { in onDisplayPerformanceBoostNotification()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationListener.java80 NotificationManager notificationManager, in NotificationListener() argument
86 mNotificationManager = notificationManager; in NotificationListener()

12