/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimSelectNotification.java | 215 NotificationManager notificationManager = in createSimSelectNotification() local 217 notificationManager.createNotificationChannel(notificationChannel); in createSimSelectNotification() 218 notificationManager.notify(SIM_SELECT_NOTIFICATION_ID, builder.build()); in createSimSelectNotification() 222 NotificationManager notificationManager = in cancelSimSelectNotification() local 224 notificationManager.cancel(SIM_SELECT_NOTIFICATION_ID); in cancelSimSelectNotification() 255 NotificationManager notificationManager = in createEnableMmsNotification() local 257 notificationManager.createNotificationChannel(notificationChannel); in createEnableMmsNotification() 258 notificationManager.notify(ENABLE_MMS_NOTIFICATION_ID, builder.build()); in createEnableMmsNotification() 262 NotificationManager notificationManager = in cancelEnableMmsNotification() local 264 notificationManager.cancel(ENABLE_MMS_NOTIFICATION_ID); in cancelEnableMmsNotification() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | NotificationAccessPreferenceControllerTest.java | 166 NotificationManager notificationManager = mContext.getSystemService( in revokeConfirmed_revokesNotificationAccess() local 168 notificationManager.setNotificationListenerAccessGranted( in revokeConfirmed_revokesNotificationAccess() 182 assertThat(notificationManager.isNotificationListenerAccessGranted( in revokeConfirmed_revokesNotificationAccess() 189 NotificationManager notificationManager = mContext.getSystemService( in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules() local 191 notificationManager.setNotificationListenerAccessGranted( in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules() 204 notificationManager.addAutomaticZenRule(mock(AutomaticZenRule.class)); in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules() 205 assertThat(notificationManager.getAutomaticZenRules()).isNotEmpty(); in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules() 207 notificationManager.setNotificationPolicyAccessGranted( in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules() 214 assertThat(notificationManager.getAutomaticZenRules()).isEmpty(); in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules() 220 NotificationManager notificationManager = mContext.getSystemService( in grantConfirmed_grantsNotificationAccess() local [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperationService.java | 121 @VisibleForTesting NotificationManager notificationManager; field in FileOperationService 158 if (notificationManager == null) { in onCreate() 159 notificationManager = getSystemService(NotificationManager.class); in onCreate() 178 notificationManager.createNotificationChannel(channel); in setUpNotificationChannel() 295 notificationManager.cancel(jobId, NOTIFICATION_ID_PROGRESS); in handleCancel() 381 notificationManager.notify( in onStart() 443 notificationManager.cancel(candidate.id, NOTIFICATION_ID_PROGRESS); in updateForegroundState() 447 notificationManager.notify(NOTIFICATION_ID_PROGRESS, notification); in updateForegroundState() 458 notificationManager.cancel(job.id, NOTIFICATION_ID_PROGRESS); in cleanUpNotification() 467 notificationManager.notify( in cleanUpNotification() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/notification/ |
D | DialerNotificationManager.java | 71 NotificationManager notificationManager = getNotificationManager(context); in cancel() local 72 StatusBarNotification[] notifications = notificationManager.getActiveNotifications(); in cancel() 83 notificationManager.cancel( in cancel() 88 notificationManager.cancel(tag, id); in cancel() 92 NotificationManager notificationManager = getNotificationManager(context); in cancelAll() local 93 StatusBarNotification[] notifications = notificationManager.getActiveNotifications(); in cancelAll() 96 notificationManager.cancel(notification.getTag(), notification.getId()); in cancelAll()
|
D | NotificationThrottler.java | 71 NotificationManager notificationManager = context.getSystemService(NotificationManager.class); in throttle() local 72 StatusBarNotification[] activeNotifications = notificationManager.getActiveNotifications(); in throttle() 101 notificationManager.cancel(notifications.get(i).getTag(), notifications.get(i).getId()); in throttle() 111 NotificationManager notificationManager = context.getSystemService(NotificationManager.class); in getSortedMatchingNotifications() local 112 for (StatusBarNotification notification : notificationManager.getActiveNotifications()) { in getSortedMatchingNotifications()
|
D | NotificationManagerUtils.java | 32 NotificationManager notificationManager = context.getSystemService(NotificationManager.class); in cancelAllInGroup() local 33 for (StatusBarNotification notification : notificationManager.getActiveNotifications()) { in cancelAllInGroup() 35 notificationManager.cancel(notification.getTag(), notification.getId()); in cancelAllInGroup()
|
D | NotificationChannelManager.java | 57 NotificationManager notificationManager = context.getSystemService(NotificationManager.class); in initChannels() local 78 notificationManager.deleteNotificationChannel(existingChannelId); in initChannels() 100 NotificationManager notificationManager = context.getSystemService(NotificationManager.class); in getAllExistingChannelIds() local 101 for (NotificationChannel channel : notificationManager.getNotificationChannels()) { in getAllExistingChannelIds()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | NotificationHelper.java | 54 final NotificationManager notificationManager = in showResumeNotification() local 58 notificationManager.createNotificationChannel(channel); in showResumeNotification() 73 notificationManager.notify(ENCRYPTION_NOTIFICATION_ID, notify.build()); in showResumeNotification() 78 final NotificationManager notificationManager = in showPrivacyReminderNotification() local 82 notificationManager.createNotificationChannel(channel); in showPrivacyReminderNotification() 96 notificationManager.notify(PRIVACY_REMINDER_NOTIFICATION_ID, notify.build()); in showPrivacyReminderNotification()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedConnection.java | 141 NotificationManager notificationManager = mContext.getSystemService( in onShowIncomingCallUi() local 144 notificationManager.notify(CALL_NOTIFICATION, mCallId, notification); in onShowIncomingCallUi() 187 NotificationManager notificationManager = mContext.getSystemService( in onSilence() local 189 notificationManager.notify(CALL_NOTIFICATION, mCallId, mNotificationBuilder.build()); in onSilence() 209 NotificationManager notificationManager = mContext.getSystemService( in setConnectionDisconnected() local 211 notificationManager.cancel(CALL_NOTIFICATION, mCallId); in setConnectionDisconnected()
|
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/ |
D | SimSelectNotification.java | 97 NotificationManager notificationManager = in createNotification() local 99 notificationManager.createNotificationChannel(notificationChannel); in createNotification() 100 notificationManager.notify(NOTIFICATION_ID, builder.build()); in createNotification() 104 NotificationManager notificationManager = in cancelNotification() local 106 notificationManager.cancel(NOTIFICATION_ID); in cancelNotification()
|
/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/TV/tuner/src/com/android/tv/tuner/setup/ |
D | BaseTunerSetupActivity.java | 327 NotificationManager notificationManager = in cancelNotification() local 329 notificationManager.cancel(NOTIFY_TAG, NOTIFY_ID); in cancelNotification() 389 NotificationManager notificationManager = in sendNotificationInternal() local 391 notificationManager.createNotificationChannel( in sendNotificationInternal() 410 notificationManager.notify(NOTIFY_TAG, NOTIFY_ID, notification); in sendNotificationInternal() 445 NotificationManager notificationManager = in sendRecommendationCard() local 447 notificationManager.notify(NOTIFY_TAG, NOTIFY_ID, notification); in sendRecommendationCard()
|
/packages/services/Telephony/testapps/TelephonyRegistryTestApp/src/com/android/phone/testapps/telephonyregistry/ |
D | TelephonyRegistryTestApp.java | 40 private NotificationManager notificationManager; field in TelephonyRegistryTestApp 92 notificationManager.notify(0, notification); 136 notificationManager = getSystemService(NotificationManager.class); in onCreate() 139 notificationManager.createNotificationChannel(channel); in onCreate()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
D | TestForegroundManager.java | 30 TestForegroundManager(TestNotificationManager notificationManager) { in TestForegroundManager() argument 31 assert(notificationManager != null); in TestForegroundManager() 32 mNotificationManager = notificationManager; in TestForegroundManager()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/ |
D | MessengerService.java | 99 NotificationManager notificationManager = getSystemService(NotificationManager.class); in sendServiceRunningNotification() local 101 if (notificationManager == null) { in sendServiceRunningNotification() 112 notificationManager.createNotificationChannel(appRunningNotificationChannel); in sendServiceRunningNotification() 124 notificationManager.createNotificationChannel(smsChannel); in sendServiceRunningNotification()
|
/packages/services/Telecomm/src/com/android/server/telecom/settings/ |
D | BlockedNumbersUtil.java | 93 NotificationManager notificationManager = in updateEmergencyCallNotification() local 115 notificationManager.notifyAsUser(null /* tag */ , EMERGENCY_CALL_NOTIFICATION, in updateEmergencyCallNotification() 118 notificationManager.cancelAsUser(null /* tag */ , EMERGENCY_CALL_NOTIFICATION, in updateEmergencyCallNotification()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertDialog.java | 409 NotificationManager notificationManager = in clearNotification() local 411 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in clearNotification() 491 NotificationManager notificationManager = in dismiss() local 493 notificationManager.cancel(CellBroadcastAlertService.NOTIFICATION_ID); in dismiss()
|
/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/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | LocationAccessCheck.java | 296 NotificationManager notificationManager = getSystemServiceSafe(mContext, in createPermissionReminderChannel() local 302 notificationManager.createNotificationChannel(permissionReminderChannel); in createPermissionReminderChannel() 568 NotificationManager notificationManager = getSystemServiceSafe(mContext, in createNotificationForLocationUser() local 615 notificationManager.notify(pkgName, LOCATION_ACCESS_CHECK_NOTIFICATION_ID, b.build()); in createNotificationForLocationUser() 650 NotificationManager notificationManager = getSystemServiceSafe(mContext, in getCurrentlyShownNotificationLocked() local 653 StatusBarNotification[] notifications = notificationManager.getActiveNotifications(); in getCurrentlyShownNotificationLocked()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | BootUsbService.java | 67 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onCreate() local 73 notificationManager.createNotificationChannel(notificationChannel); in onCreate()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapServer.java | 222 NotificationManager notificationManager = in setNotification() local 227 notificationManager.createNotificationChannel(notificationChannel); in setNotification() 305 notificationManager.notify(NOTIFICATION_ID, notification); in setNotification() 309 NotificationManager notificationManager = in clearNotification() local 311 notificationManager.cancel(SapServer.NOTIFICATION_ID); in clearNotification()
|