Home
last modified time | relevance | path

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

1234

/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/fastpair/notification/
DFastPairNotificationManager.java212 mNotificationManager.createNotificationChannel( in configureDevicesNotificationChannels()
213 createNotificationChannel( in configureDevicesNotificationChannels()
218 mNotificationManager.createNotificationChannel( in configureDevicesNotificationChannels()
219 createNotificationChannel( in configureDevicesNotificationChannels()
224 mNotificationManager.createNotificationChannel( in configureDevicesNotificationChannels()
225 createNotificationChannel( in configureDevicesNotificationChannels()
232 private NotificationChannel createNotificationChannel( in createNotificationChannel() method in FastPairNotificationManager
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DDeviceLockNotificationManager.java80 createNotificationChannel(context); in sendDeviceResetNotification()
102 createNotificationChannel(context); in sendDeferredEnrollmentNotification()
134 private static void createNotificationChannel(Context context) { in createNotificationChannel() method in DeviceLockNotificationManager
142 notificationManager.createNotificationChannel(notificationChannel); in createNotificationChannel()
/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/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DMigrationNotificationSender.java70 createNotificationChannel(userHandle); in sendNotification()
123 private void createNotificationChannel(@NonNull UserHandle userHandle) { in createNotificationChannel() method in MigrationNotificationSender
146 notificationManager.createNotificationChannel(notificationChannel); in createNotificationChannel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimSelectNotificationTest.java176 verify(mNotificationManager).createNotificationChannel(nc.capture()); in onReceiveEnableMms_notificationShouldSend()
199 verify(mNotificationManager, never()).createNotificationChannel(any()); in onReceiveEnableMms_NoExtra_notificationShouldNotSend()
212 verify(mNotificationManager, never()).createNotificationChannel(any()); in onReceiveEnableMms_MmsDataAlreadyEnabled_notificationShouldNotSend()
221 verify(mNotificationManager, never()).createNotificationChannel(any()); in onReceivePrimarySubListChange_NoExtra_notificationShouldNotSend()
271 verify(mNotificationManager).createNotificationChannel(nc.capture()); in onReceivePrimarySubListChange_DualCdmaWarning_notificationShouldSend()
/packages/modules/Permission/service/java/com/android/safetycenter/notifications/
DSafetyCenterNotificationChannels.java160 notificationManager.createNotificationChannel(getInformationChannelDefinition()); in createAllChannelsWithoutCallingIdentity()
161 notificationManager.createNotificationChannel(getRecommendationChannelDefinition()); in createAllChannelsWithoutCallingIdentity()
162 notificationManager.createNotificationChannel(getCriticalWarningChannelDefinition()); in createAllChannelsWithoutCallingIdentity()
/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/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/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
DPendingList.java239 createNotificationChannel(); in showNotifications()
285 private void createNotificationChannel() { in createNotificationChannel() method in PendingList.Updater
294 mNm.createNotificationChannel(channel); in createNotificationChannel()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DDeviceAsWebcamFgService.java104 private String createNotificationChannel() { in createNotificationChannel() method in DeviceAsWebcamFgService
108 Objects.requireNonNull(notMan).createNotificationChannel(channel); in createNotificationChannel()
116 String channelId = createNotificationChannel(); in startForegroundWithNotification()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/
DConsentNotificationTrigger.java75 createNotificationChannel(context); in showConsentNotification()
278 private static void createNotificationChannel(@NonNull Context context) { in createNotificationChannel() method in ConsentNotificationTrigger
289 notificationManager.createNotificationChannel(channel); in createNotificationChannel()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DNotificationHelper.java64 notificationManager.createNotificationChannel(channel); in showResumeNotification()
88 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/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java234 notificationManager.createNotificationChannel(notificationChannel); in createSimSelectNotification()
273 notificationManager.createNotificationChannel(notificationChannel); in createEnableMmsNotification()
320 notificationManager.createNotificationChannel(notificationChannel); in createSimCombinationWarningNotification()
DSimActivationNotifier.java86 mNotificationManager.createNotificationChannel( in SimActivationNotifier()
91 mNotificationManager.createNotificationChannel( in SimActivationNotifier()
/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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java58 mManager.createNotificationChannel(new NotificationChannel( in onCreate()
64 mManager.createNotificationChannel(noSoundChannel); in onCreate()
66 mManager.createNotificationChannel(new NotificationChannel( in onCreate()
71 mManager.createNotificationChannel(new NotificationChannel( in onCreate()
74 mManager.createNotificationChannel(new NotificationChannel( in onCreate()
77 mManager.createNotificationChannel(new NotificationChannel( in onCreate()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java944 notificationManager.createNotificationChannel(highPriorityEmergency); in createNotificationChannels()
945 notificationManager.createNotificationChannel(emergency); in createNotificationChannels()
946 notificationManager.createNotificationChannel(nonEmergency); in createNotificationChannels()
947 notificationManager.createNotificationChannel(emergencyAlertInVoiceCall); in createNotificationChannels()
953 notificationManager.createNotificationChannel(settingsUpdate); in createNotificationChannels()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactsNotificationChannelsUtil.java42 nm.createNotificationChannel(channel); in createDefaultChannel()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java101 mNotifManager.createNotificationChannel(new NotificationChannel(CHANNEL_ACTIVE, in DownloadNotifier()
104 mNotifManager.createNotificationChannel(new NotificationChannel(CHANNEL_WAITING, in DownloadNotifier()
107 mNotifManager.createNotificationChannel(new NotificationChannel(CHANNEL_COMPLETE, in DownloadNotifier()
/packages/services/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/
DBackgroundIncomingCallService.java49 mNotificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand()
/packages/apps/Nfc/src/com/android/nfc/
DNfcBlockedNotification.java72 notificationManager.createNotificationChannel(mNotificationChannel); in startNotification()
DNfcDeveloperOptionNotification.java73 notificationManager.createNotificationChannel(mNotificationChannel); in startNotification()

1234