Home
last modified time | relevance | path

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

12345

/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPreferencesHelperTest.java818 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, in testDeletesDefaultChannelAfterChannelIsCreated()
838 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, in testLoadingOldChannelsDoesNotDeleteNewlyCreatedChannels()
858 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, in testCreateChannel_badImportance()
1637 assertFalse(mHelper.createNotificationChannel( in testCreateChannel_alreadyExists()
1692 mHelper.createNotificationChannel( in testDeleteGroup()
3350 mHelper.createNotificationChannel( in testDeleted_twice()
3361 mHelper.createNotificationChannel( in testDeleted_recentTime()
3389 mHelper.createNotificationChannel( in testUnDelete_time()
3396 mHelper.createNotificationChannel( in testUnDelete_time()
3473 mHelper.createNotificationChannel( in testGetConversations_multiUser()
[all …]
/aosp12/packages/apps/Dialer/java/com/android/dialer/notification/
H A 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()
H A DVoicemailChannelUtils.java169 context.getSystemService(NotificationManager.class).createNotificationChannel(channel); in createGlobalVoicemailChannel()
221 context.getSystemService(NotificationManager.class).createNotificationChannel(channel); in createVoicemailChannelForAccount()
/aosp12/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
H A DTmaForegroundService.java58 createNotificationChannel(); in onStartCommand()
90 private void createNotificationChannel() { in createNotificationChannel() method in TmaForegroundService
97 manager.createNotificationChannel(serviceChannel); in createNotificationChannel()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DVpnStatusObserver.kt45 private val notificationChannel = createNotificationChannel()
91 private fun createNotificationChannel() = regex
97 notificationManager.createNotificationChannel(it)
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/core/service/
H A DMessengerService.java114 notificationManager.createNotificationChannel(appRunningNotificationChannel); in sendServiceRunningNotification()
125 notificationManager.createNotificationChannel(silentNotificationChannel); in sendServiceRunningNotification()
140 notificationManager.createNotificationChannel(channel); in sendServiceRunningNotification()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
H A 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()
/aosp12/packages/apps/TV/src/com/android/tv/dvr/recorder/
H A DDvrRecordingService.java137 createNotificationChannel(); in onCreate()
204 private void createNotificationChannel() { in createNotificationChannel() method in DvrRecordingService
212 .createNotificationChannel(mNotificationChannel); in createNotificationChannel()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DAlertWindowNotification.java107 createNotificationChannel(context, appName); in onPostNotification()
146 private void createNotificationChannel(Context context, String appName) { in createNotificationChannel() method in AlertWindowNotification
167 mNotificationManager.createNotificationChannel(channel); in createNotificationChannel()
/aosp12/packages/modules/NetworkStack/src/com/android/networkstack/
H A 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()
/aosp12/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java80 mNM.createNotificationChannel(new NotificationChannel("min", "Min", IMPORTANCE_MIN)); in onCreate()
81 mNM.createNotificationChannel(new NotificationChannel("low", "Low", IMPORTANCE_LOW)); in onCreate()
82 mNM.createNotificationChannel( in onCreate()
84 mNM.createNotificationChannel(new NotificationChannel("high", "High", IMPORTANCE_HIGH)); in onCreate()
678 mNM.createNotificationChannel(channel);
738 mNM.createNotificationChannel(channel);
755 mNM.createNotificationChannel(channel);
795 mNM.createNotificationChannel(channel);
814 mNM.createNotificationChannel(channel);
836 mNM.createNotificationChannel(channel);
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmNotifications.kt166 nm.createNotificationChannel(channel)
221 nm.createNotificationChannel(channel)
299 nm.createNotificationChannel(channel)
343 nm.createNotificationChannel(channel)
361 nm.createNotificationChannel(channel)
426 nm.createNotificationChannel(channel)
486 nm.createNotificationChannel(channel)
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DNotificationHelper.java63 notificationManager.createNotificationChannel(channel); in showResumeNotification()
87 notificationManager.createNotificationChannel(channel); in showPrivacyReminderNotification()
/aosp12/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/notification/
H A DChannelNotificationSettingsTest.java72 mNm.createNotificationChannel(mNotificationChannel); in setUp()
91 mNm.createNotificationChannel(blocked); in launchNotificationSettings_blockedChannel()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
H A DPendingList.java239 createNotificationChannel(); in showNotifications()
284 private void createNotificationChannel() { in createNotificationChannel() method in PendingList.Updater
293 mNm.createNotificationChannel(channel); in createNotificationChannel()
/aosp12/packages/services/BuiltInPrintService/src/com/android/bips/
H A DBuiltInPrintService.java114 createNotificationChannel(); in onCreate()
293 private void createNotificationChannel() { in createNotificationChannel() method in BuiltInPrintService
299 manager.createNotificationChannel(channel); in createNotificationChannel()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DContactsNotificationChannelsUtil.java42 nm.createNotificationChannel(channel); in createDefaultChannel()
/aosp12/packages/apps/Settings/src/com/android/settings/sim/
H A DSimSelectNotification.java235 notificationManager.createNotificationChannel(notificationChannel); in createSimSelectNotification()
277 notificationManager.createNotificationChannel(notificationChannel); in createEnableMmsNotification()
324 notificationManager.createNotificationChannel(notificationChannel); in createSimCombinationWarningNotification()
H A DSimActivationNotifier.java86 mNotificationManager.createNotificationChannel( in SimActivationNotifier()
91 mNotificationManager.createNotificationChannel( in SimActivationNotifier()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
H A 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()
/aosp12/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DSchedulerService.java32 getSystemService(NotificationManager.class).createNotificationChannel( in onStartCommand()
/aosp12/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A 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()
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/sms/
H A DMessagingService.java56 mgr.createNotificationChannel(channel); in sendServiceRunningNotification()
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app2/src/com/android/cts/net/hostside/app2/
H A DMyForegroundService.java53 notificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand()
/aosp12/packages/apps/Nfc/src/com/android/nfc/
H A DNfcBlockedNotification.java74 notificationManager.createNotificationChannel(mNotificationChannel); in startNotification()

12345