/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperationService.java | 112 @VisibleForTesting NotificationManager notificationManager; field in FileOperationService 148 if (notificationManager == null) { in onCreate() 149 notificationManager = getSystemService(NotificationManager.class); in onCreate() 165 notificationManager.createNotificationChannel(channel); in setUpNotificationChannel() 271 notificationManager.cancel(jobId, NOTIFICATION_ID_PROGRESS); in handleCancel() 344 notificationManager.notify( in onStart() 348 JobMonitor monitor = new JobMonitor(job, notificationManager, handler); in onStart() 399 notificationManager.notify(candidate.id, NOTIFICATION_ID_PROGRESS, in updateForegroundState() 409 notificationManager.cancel(job.id, NOTIFICATION_ID_PROGRESS); in cleanUpNotification() 418 notificationManager.notify( in cleanUpNotification() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/notification/ |
D | GroupedNotificationUtil.java | 39 @NonNull NotificationManager notificationManager, in removeNotification() 45 for (StatusBarNotification notification : notificationManager.getActiveNotifications()) { in removeNotification() 47 notificationManager.cancel(notification.getTag(), id); in removeNotification() 51 notificationManager.cancel(tag, id); in removeNotification() 55 for (StatusBarNotification notification : notificationManager.getActiveNotifications()) { in removeNotification() 62 notificationManager.cancel(summaryTag, id); in removeNotification()
|
D | NotificationChannelManager.java | 194 NotificationManager notificationManager = context.getSystemService(NotificationManager.class); in initChannels() local 196 notificationManager.getNotificationChannelGroups(); in initChannels() 200 .forEach(group -> deleteGroup(notificationManager, group)); in initChannels() 216 @NonNull NotificationManager notificationManager, @NonNull NotificationChannelGroup group) { in deleteGroup() 218 notificationManager.deleteNotificationChannel(channel.getId()); in deleteGroup() 220 notificationManager.deleteNotificationChannelGroup(group.getId()); in deleteGroup() 361 NotificationManager notificationManager = getNotificationManager(context); in deleteOldOngoingCallChannelIfNeeded() local 362 NotificationChannel channel = notificationManager.getNotificationChannel(channelId); in deleteOldOngoingCallChannelIfNeeded() 367 notificationManager.deleteNotificationChannel(channel.getId()); in deleteOldOngoingCallChannelIfNeeded()
|
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
D | DndCondition.java | 59 NotificationManager notificationManager = in refreshState() local 61 mZen = notificationManager.getZenMode(); in refreshState() 64 mConfig = notificationManager.getZenModeConfig(); in refreshState() 130 NotificationManager notificationManager = mManager.getContext().getSystemService( in onActionClick() local 132 notificationManager.setZenMode(Settings.Global.ZEN_MODE_OFF, null, TAG); in onActionClick()
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/util/ |
D | NotificationChannelUtil.java | 41 NotificationManager notificationManager, Context context) { in configureNotificationChannels() argument 46 notificationManager.createNotificationChannelGroup(notificationChannelGroup); in configureNotificationChannels() 54 notificationManager.createNotificationChannel(networkAvailableChannel); in configureNotificationChannels() 62 notificationManager.createNotificationChannel(wakeupChannel); in configureNotificationChannels()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | SmsStorageStatusManager.java | 82 final NotificationManagerCompat notificationManager = in postStorageLowNotification() local 85 notificationManager.notify(getNotificationTag(), in postStorageLowNotification() 93 final NotificationManagerCompat notificationManager = in cancelStorageLowNotification() local 95 notificationManager.cancel(getNotificationTag(), in cancelStorageLowNotification()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ExternalCallNotifier.java | 189 NotificationManager notificationManager = in dismissNotification() local 191 notificationManager.cancel( in dismissNotification() 199 notificationManager.cancel(NOTIFICATION_GROUP, NOTIFICATION_ID); in dismissNotification() 299 NotificationManager notificationManager = in postNotification() local 301 notificationManager.notify( in postNotification() 318 notificationManager.notify(NOTIFICATION_GROUP, NOTIFICATION_ID, summary.build()); in postNotification()
|
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/ |
D | NetworkRecommendationService.java | 68 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onCreate() local 69 NotificationChannelUtil.configureNotificationChannels(notificationManager, this); in onCreate() 78 wifiManager, notificationManager, userManager, new WifiNotificationHelper(this)); in onCreate() 82 notificationManager, wifiManager); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimSelectNotification.java | 131 NotificationManager notificationManager = in createNotification() local 133 notificationManager.notify(NOTIFICATION_ID, builder.build()); in createNotification() 137 NotificationManager notificationManager = in cancelNotification() local 139 notificationManager.cancel(NOTIFICATION_ID); in cancelNotification()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedCallNotificationReceiver.java | 39 NotificationManager notificationManager = context.getSystemService( in onReceive() local 49 notificationManager.cancel(SelfManagedConnection.CALL_NOTIFICATION, callId); in onReceive() 58 notificationManager.cancel(SelfManagedConnection.CALL_NOTIFICATION, callId); in onReceive()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 70 NotificationManager notificationManager = in onReceive() local 78 notificationManager.createNotificationChannel(uninstallFailureChannel); in onReceive() 85 notificationManager.cancel(uninstallId); in onReceive() 194 notificationManager.notify(uninstallId, uninstallFailedNotification.build()); in onReceive()
|
D | UninstallerActivity.java | 285 NotificationManager notificationManager = getSystemService(NotificationManager.class); in startUninstallProgress() local 289 notificationManager.createNotificationChannel(uninstallingChannel); in startUninstallProgress() 297 notificationManager.notify(uninstallId, uninstallingNotification); in startUninstallProgress()
|
/packages/apps/TV/src/com/android/tv/tuner/setup/ |
D | TunerSetupActivity.java | 267 NotificationManager notificationManager = (NotificationManager) context in sendRecommendationCard() local 269 notificationManager.notify(NOTIFY_TAG, NOTIFY_ID, notification); in sendRecommendationCard() 278 NotificationManager notificationManager = (NotificationManager) context in cancelRecommendationCard() local 280 notificationManager.cancel(NOTIFY_TAG, NOTIFY_ID); in cancelRecommendationCard()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | RingerTest.java | 68 NotificationManager notificationManager = in setUp() local 70 when(notificationManager.matchesCallFilter(any(Bundle.class))).thenReturn(true); in setUp() 125 NotificationManager notificationManager = in testCallWaitingButNoRingForSpecificContacts() local 127 when(notificationManager.matchesCallFilter(any(Bundle.class))).thenReturn(false); in testCallWaitingButNoRingForSpecificContacts()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SmsReceiver.java | 281 final NotificationManagerCompat notificationManager = in postNewMessageSecondaryUserNotification() local 290 notificationManager.notify(getNotificationTag(), in postNewMessageSecondaryUserNotification() 298 final NotificationManagerCompat notificationManager = in cancelSecondaryUserNotification() local 300 notificationManager.cancel(getNotificationTag(), in cancelSecondaryUserNotification()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertDialog.java | 401 NotificationManager notificationManager = in clearNotification() local 403 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in clearNotification() 483 NotificationManager notificationManager = in dismiss() local 485 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in dismiss()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | EncryptionController.java | 204 NotificationManager notificationManager = (NotificationManager) in showResumeNotification() local 208 notificationManager.createNotificationChannel(channel); in showResumeNotification() 223 notificationManager.notify(NOTIFICATION_ID, notify.build()); in showResumeNotification()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapServer.java | 213 NotificationManager notificationManager = in setNotification() local 218 notificationManager.createNotificationChannel(notificationChannel); in setNotification() 290 notificationManager.notify(NOTIFICATION_ID, notification); in setNotification() 294 NotificationManager notificationManager = in clearNotification() local 296 notificationManager.cancel(SapServer.NOTIFICATION_ID); in clearNotification()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 563 NotificationManager notificationManager = getSystemService(NotificationManager.class); in buildNotification() local 564 notificationManager.createNotificationChannel(mNotificationChannel); in buildNotification() 574 NotificationManager notificationManager = getSystemService(NotificationManager.class); in getLabelAndUpdateNotification() local 576 notificationManager.notify(notifPair.first, notifPair.second); in getLabelAndUpdateNotification()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPermissionRequest.java | 161 NotificationManager notificationManager = in onReceive() local 167 notificationManager.createNotificationChannel(mNotificationChannel); in onReceive() 189 notificationManager.notify(getNotificationTag(mRequestType), NOTIFICATION_ID, in onReceive()
|
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
D | DialogSmsDisplay.java | 67 NotificationManager notificationManager = in parseIntent() local 69 notificationManager.cancel(notificationId); in parseIntent()
|
D | SmsMessageReceiver.java | 67 NotificationManager notificationManager = in addNotification() local 70 notificationManager.notify(notificationId, notification.getNotification()); in addNotification()
|
/packages/apps/Email/src/com/android/email/ |
D | EmailNotificationController.java | 586 final NotificationManager notificationManager = getInstance(context).mNotificationManager; in cancelNotifications() local 588 notificationManager.cancel((int) (NOTIFICATION_ID_BASE_LOGIN_WARNING + account.mId)); in cancelNotifications() 589 notificationManager.cancel((int) (NOTIFICATION_ID_BASE_SECURITY_NEEDED + account.mId)); in cancelNotifications() 590 notificationManager.cancel((int) (NOTIFICATION_ID_BASE_SECURITY_CHANGED + account.mId)); in cancelNotifications()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | AlarmVolumePreference.java | 135 final NotificationManager notificationManager = (NotificationManager) in doesDoNotDisturbAllowAlarmPlaybackNPlus() local 137 return notificationManager.getCurrentInterruptionFilter() != in doesDoNotDisturbAllowAlarmPlaybackNPlus()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationActionUtils.java | 798 final NotificationManager notificationManager = in createUndoNotification() local 800 notificationManager.notify(notificationId, notification); in createUndoNotification() 857 final NotificationManager notificationManager = in removeUndoNotification() local 859 notificationManager.cancel(notificationId); in removeUndoNotification()
|