Home
last modified time | relevance | path

Searched refs:createNotificationChannel (Results 1 – 25 of 67) sorted by relevance

123

/packages/apps/Dialer/java/com/android/dialer/notification/
DNotificationChannelManager.java128 context.getSystemService(NotificationManager.class).createNotificationChannel(channel); in createIncomingCallChannel()
142 context.getSystemService(NotificationManager.class).createNotificationChannel(channel); in createOngoingCallChannel()
156 context.getSystemService(NotificationManager.class).createNotificationChannel(channel); in createMissedCallChannel()
168 context.getSystemService(NotificationManager.class).createNotificationChannel(channel); in createDefaultChannel()
DVoicemailChannelUtils.java137 context.getSystemService(NotificationManager.class).createNotificationChannel(channel); in createGlobalVoicemailChannel()
189 context.getSystemService(NotificationManager.class).createNotificationChannel(channel); in createVoicemailChannelForAccount()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaForegroundService.java58 createNotificationChannel(); in onStartCommand()
90 private void createNotificationChannel() { in createNotificationChannel() method in TmaForegroundService
97 manager.createNotificationChannel(serviceChannel); in createNotificationChannel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimSelectNotificationTest.java169 verify(mNotificationManager).createNotificationChannel(nc.capture()); in onReceiveEnableMms_notificationShouldSend()
192 verify(mNotificationManager, never()).createNotificationChannel(any()); in onReceiveEnableMms_NoExtra_notificationShouldNotSend()
205 verify(mNotificationManager, never()).createNotificationChannel(any()); in onReceiveEnableMms_MmsDataAlreadyEnabled_notificationShouldNotSend()
214 verify(mNotificationManager, never()).createNotificationChannel(any()); in onReceivePrimarySubListChange_NoExtra_notificationShouldNotSend()
273 verify(mNotificationManager).createNotificationChannel(nc.capture()); in onReceivePrimarySubListChange_DualCdmaWarning_notificationShouldSend()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.kt166 nm.createNotificationChannel(channel) in showLowPriorityNotification()
221 nm.createNotificationChannel(channel) in showHighPriorityNotification()
299 nm.createNotificationChannel(channel) in updateUpcomingAlarmGroupNotification()
343 nm.createNotificationChannel(channel) in updateMissedAlarmGroupNotification()
361 nm.createNotificationChannel(channel) in updateMissedAlarmGroupNotification()
426 nm.createNotificationChannel(channel) in showSnoozeNotification()
486 nm.createNotificationChannel(channel) in showMissedNotification()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/service/
DMessengerService.java114 notificationManager.createNotificationChannel(appRunningNotificationChannel); in sendServiceRunningNotification()
125 notificationManager.createNotificationChannel(silentNotificationChannel); in sendServiceRunningNotification()
140 notificationManager.createNotificationChannel(channel); in sendServiceRunningNotification()
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java125 createNotificationChannel(CHANNEL_CONNECTED, in NetworkStackNotifier()
129 createNotificationChannel(CHANNEL_VENUE_INFO, in NetworkStackNotifier()
140 private void createNotificationChannel(@NonNull String id, @StringRes int title, in createNotificationChannel() method in NetworkStackNotifier
147 getNotificationManagerForChannels().createNotificationChannel(channel); in createNotificationChannel()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DDvrRecordingService.java137 createNotificationChannel(); in onCreate()
204 private void createNotificationChannel() { in createNotificationChannel() method in DvrRecordingService
212 .createNotificationChannel(mNotificationChannel); in createNotificationChannel()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java55 mManager.createNotificationChannel(new NotificationChannel( in onCreate()
61 mManager.createNotificationChannel(noSoundChannel); in onCreate()
63 mManager.createNotificationChannel(new NotificationChannel( in onCreate()
68 mManager.createNotificationChannel(new NotificationChannel( in onCreate()
71 mManager.createNotificationChannel(new NotificationChannel( in onCreate()
74 mManager.createNotificationChannel(new NotificationChannel( in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
DPendingList.java239 createNotificationChannel(); in showNotifications()
284 private void createNotificationChannel() { in createNotificationChannel() method in PendingList.Updater
293 mNm.createNotificationChannel(channel); in createNotificationChannel()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DNotificationHelper.java63 notificationManager.createNotificationChannel(channel); in showResumeNotification()
87 notificationManager.createNotificationChannel(channel); in showPrivacyReminderNotification()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/notification/
DChannelNotificationSettingsTest.java72 mNm.createNotificationChannel(mNotificationChannel); in setUp()
91 mNm.createNotificationChannel(blocked); in launchNotificationSettings_blockedChannel()
/packages/services/BuiltInPrintService/src/com/android/bips/
DBuiltInPrintService.java114 createNotificationChannel(); in onCreate()
293 private void createNotificationChannel() { in createNotificationChannel() method in BuiltInPrintService
299 manager.createNotificationChannel(channel); in createNotificationChannel()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java854 notificationManager.createNotificationChannel( in createNotificationChannels()
860 notificationManager.createNotificationChannel( in createNotificationChannels()
870 notificationManager.createNotificationChannel(nonEmergency); in createNotificationChannels()
877 notificationManager.createNotificationChannel(emergencyAlertInVoiceCall); in createNotificationChannels()
883 notificationManager.createNotificationChannel(settingsUpdate); in createNotificationChannels()
/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java234 notificationManager.createNotificationChannel(notificationChannel); in createSimSelectNotification()
274 notificationManager.createNotificationChannel(notificationChannel); in createEnableMmsNotification()
321 notificationManager.createNotificationChannel(notificationChannel); in createSimCombinationWarningNotification()
DSimActivationNotifier.java86 mNotificationManager.createNotificationChannel( in SimActivationNotifier()
91 mNotificationManager.createNotificationChannel( in SimActivationNotifier()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java100 mNotifManager.createNotificationChannel(new NotificationChannel(CHANNEL_ACTIVE, in DownloadNotifier()
103 mNotifManager.createNotificationChannel(new NotificationChannel(CHANNEL_WAITING, in DownloadNotifier()
106 mNotifManager.createNotificationChannel(new NotificationChannel(CHANNEL_COMPLETE, in DownloadNotifier()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactsNotificationChannelsUtil.java42 nm.createNotificationChannel(channel); in createDefaultChannel()
/packages/apps/Traceur/src/com/android/traceur/
DReceiver.java289 notificationManager.createNotificationChannel(tracingChannel); in createNotificationChannels()
290 notificationManager.createNotificationChannel(saveTraceChannel); in createNotificationChannels()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DDownloadService.java243 nm.createNotificationChannel(downloadChannel); in createNotificationChannels()
251 nm.createNotificationChannel(progressChannel); in createNotificationChannels()
/packages/services/Car/service/src/com/android/car/admin/
DNotificationHelper.java77 notificationMgr.createNotificationChannel( in newNotificationBuilder()
/packages/modules/Connectivity/tests/cts/hostside/app2/src/com/android/cts/net/hostside/app2/
DMyForegroundService.java53 notificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand()
/packages/apps/Nfc/src/com/android/nfc/
DNfcBlockedNotification.java74 notificationManager.createNotificationChannel(mNotificationChannel); in startNotification()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DBootUsbService.java60 notificationManager.createNotificationChannel(notificationChannel); in onCreate()
/packages/apps/Car/Media/src/com/android/car/media/service/
DMediaConnectorService.java58 manager.createNotificationChannel(channel); in onCreate()

123