Home
last modified time | relevance | path

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

12345678910>>...35

/aosp_15_r20/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPreferencesHelperTest.java551 assertTrue(mHelper.createNotificationChannel(package0, uid0, channel0, true, false, in testWriteXml_onlyBackupsTargetUser()
558 assertTrue(mHelper.createNotificationChannel(package10, uid10, channel10, true, false, in testWriteXml_onlyBackupsTargetUser()
590 assertTrue(mHelper.createNotificationChannel(package0, uid0, channel0, true, false, in testReadXml_onlyRestoresTargetUser()
641 assertTrue(mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false, in testChannelXml()
643 assertTrue(mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2, false, false, in testChannelXml()
733 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false, in testChannelXmlForBackup()
735 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2, false, false, in testChannelXmlForBackup()
737 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel3, false, false, in testChannelXmlForBackup()
739 mHelper.createNotificationChannel(PKG_O, UID_O, getChannel(), true, false, in testChannelXmlForBackup()
1198 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false, in testChannelXmlForNonBackup_postMigration()
[all …]
/aosp_15_r20/cts/tests/tests/app.usage/BroadcastResponseStats/src/android/app/usage/brs/cts/
H A DBroadcastResponseStatsTest.java268 testReceiver.createNotificationChannel(TEST_NOTIFICATION_CHANNEL_ID, in testBroadcastResponseStats_broadcastDispatchedCount()
356 testReceiver.createNotificationChannel(TEST_NOTIFICATION_CHANNEL_ID, in testBroadcastResponseStats_notificationPostedCount()
412 testReceiver.createNotificationChannel(TEST_NOTIFICATION_CHANNEL_ID, in testBroadcastResponseStats_notificationUpdatedCount()
493 testReceiver.createNotificationChannel(TEST_NOTIFICATION_CHANNEL_ID, in testBroadcastResponseStats_notificationCancelledCount()
595 testReceiver.createNotificationChannel(TEST_NOTIFICATION_CHANNEL_ID, in testBroadcastResponseStats_multipleEvents()
722 testReceiver.createNotificationChannel(TEST_NOTIFICATION_CHANNEL_ID, in testBroadcastResponseStats_clearCounts()
823 testReceiver.createNotificationChannel(TEST_NOTIFICATION_CHANNEL_ID, in testBroadcastResponseStats_changeResponseWindowDuration()
915 testReceiver.createNotificationChannel(TEST_NOTIFICATION_CHANNEL_ID, in testBroadcastResponseStats_appNotInForeground()
1043 testReceiver1.createNotificationChannel(TEST_NOTIFICATION_CHANNEL_ID, in testBroadcastResponseStats_multiplePackages()
1054 testReceiver3.createNotificationChannel(TEST_NOTIFICATION_CHANNEL_ID, in testBroadcastResponseStats_multiplePackages()
[all …]
/aosp_15_r20/external/google-cloud-java/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/
H A DNotificationChannelServiceClient.java1069 public final NotificationChannel createNotificationChannel( in createNotificationChannel() method in NotificationChannelServiceClient
1076 return createNotificationChannel(request); in createNotificationChannel()
1111 public final NotificationChannel createNotificationChannel( in createNotificationChannel() method in NotificationChannelServiceClient
1118 return createNotificationChannel(request); in createNotificationChannel()
1153 public final NotificationChannel createNotificationChannel( in createNotificationChannel() method in NotificationChannelServiceClient
1160 return createNotificationChannel(request); in createNotificationChannel()
1195 public final NotificationChannel createNotificationChannel( in createNotificationChannel() method in NotificationChannelServiceClient
1202 return createNotificationChannel(request); in createNotificationChannel()
1233 public final NotificationChannel createNotificationChannel( in createNotificationChannel() method in NotificationChannelServiceClient
/aosp_15_r20/cts/tests/tests/notification/src/android/app/notification/current/cts/
H A DNotificationManagerTest.java572 mNotificationManager.createNotificationChannel(channel); in testCreateChannelGroup()
573 mNotificationManager.createNotificationChannel(ungrouped); in testCreateChannelGroup()
597 mNotificationManager.createNotificationChannel(channel); in testGetChannelGroup()
618 mNotificationManager.createNotificationChannel(channel); in testGetChannelGroups()
646 mNotificationManager.createNotificationChannel(channel); in testDeleteChannelGroup()
667 mNotificationManager.createNotificationChannel(channel); in testCreateChannel()
680 mNotificationManager.createNotificationChannel(channel); in testCreateChannel_rename()
682 mNotificationManager.createNotificationChannel(channel); in testCreateChannel_rename()
688 mNotificationManager.createNotificationChannel(channel); in testCreateChannel_rename()
703 mNotificationManager.createNotificationChannel(channel); in testCreateChannel_addToGroup()
[all …]
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowNotificationManagerTest.java87 public void createNotificationChannel() { in createNotificationChannel() method in ShadowNotificationManagerTest
88 notificationManager.createNotificationChannel(new NotificationChannel("id", "name", 1)); in createNotificationChannel()
118 notificationManager.createNotificationChannel(channel); in createNotificationChannel_updateChannel()
119 notificationManager.createNotificationChannel(channelUpdate); in createNotificationChannel_updateChannel()
144 notificationManager.createNotificationChannel(channel); in createNotificationChannel_downGradeImportanceSetGroup()
145 notificationManager.createNotificationChannel(channelUpdate); in createNotificationChannel_downGradeImportanceSetGroup()
190 notificationManager.createNotificationChannel(new NotificationChannel(channelId, "name", 1)); in deleteNotificationChannel()
198 notificationManager.createNotificationChannel( in deleteNotificationChannel()
217 notificationManager.createNotificationChannel(channel); in deleteNotificationChannelGroup()
798 notificationManager.createNotificationChannel(notificationChannel); in getNotificationChannel()
[all …]
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimSelectNotificationTest.java187 verify(mNotificationManager).createNotificationChannel(nc.capture()); in onReceiveEnableMms_notificationShouldSend()
210 verify(mNotificationManager, never()).createNotificationChannel(any()); in onReceiveEnableMms_NoExtra_notificationShouldNotSend()
223 verify(mNotificationManager, never()).createNotificationChannel(any()); in onReceiveEnableMms_MmsDataAlreadyEnabled_notificationShouldNotSend()
235 verify(mNotificationManager, never()).createNotificationChannel(any()); in onReceivePrimarySubListChange_userIdIsNotMain_notificationShouldNotSend()
244 verify(mNotificationManager, never()).createNotificationChannel(any()); in onReceivePrimarySubListChange_NoExtra_notificationShouldNotSend()
308 verify(mNotificationManager).createNotificationChannel(nc.capture()); in onReceivePrimarySubListChange_DualCdmaWarning_notificationShouldSend()
/aosp_15_r20/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()
/aosp_15_r20/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DDeviceLockNotificationManager.java131 ListenableFuture<String> channelIdFuture = createNotificationChannel(context); in sendDeviceResetTimerNotification()
194 ListenableFuture<String> channelIdFuture = createNotificationChannel(context); in sendDeviceResetNotification()
227 ListenableFuture<String> channelIdFuture = createNotificationChannel(context); in sendDeferredProvisioningNotification()
308 private ListenableFuture<String> createNotificationChannel(Context context) { in createNotificationChannel() method in DeviceLockNotificationManager
333 notificationManager.createNotificationChannel(notificationChannel); in createNotificationChannel()
/aosp_15_r20/external/android_onboarding/java/com/android/onboarding/process/
H A DNotificationKeepAliveService.kt26 createNotificationChannel() in onBind()
50 private fun createNotificationChannel() { in createNotificationChannel() method
54 notificationManager?.createNotificationChannel(notificationChannel) in createNotificationChannel()
/aosp_15_r20/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);
/aosp_15_r20/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
H A DNotificationActivity.java57 createNotificationChannel(); in onCreate()
80 private void createNotificationChannel() { in createNotificationChannel() method in NotificationActivity
89 notificationManager.createNotificationChannel(channel); in createNotificationChannel()
/aosp_15_r20/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()
/aosp_15_r20/device/generic/goldfish/radio/EmulatorRadioConfig/src/com/android/emulator/radio/config/
DMeterService.java42 private String createNotificationChannel(String channelId, String channelName) { in createNotificationChannel() method in MeterService
47 service.createNotificationChannel(chan); in createNotificationChannel()
64 .Builder(this, createNotificationChannel("emulator_radio_config", "Meter Service")) in onStartCommand()
/aosp_15_r20/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DMigrationNotificationSender.java64 createNotificationChannel(userHandle); in sendNotification()
120 private void createNotificationChannel(UserHandle userHandle) { in createNotificationChannel() method in MigrationNotificationSender
143 notificationManager.createNotificationChannel(notificationChannel); in createNotificationChannel()
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/development/
DPageAgnosticNotificationService.java52 private void createNotificationChannel() { in createNotificationChannel() method in PageAgnosticNotificationService
60 mNotificationManager.createNotificationChannel(channel); in createNotificationChannel()
67 createNotificationChannel(); in onCreate()
/aosp_15_r20/packages/apps/TvSystemUI/src/com/android/systemui/tv/vpn/
DVpnStatusObserver.kt45 private val notificationChannel = createNotificationChannel() in <lambda>()
94 private fun createNotificationChannel() = in <lambda>() method in com.android.systemui.tv.vpn.VpnStatusObserver
100 notificationManager.createNotificationChannel(it) in <lambda>()
/aosp_15_r20/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()
/aosp_15_r20/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
H A DTriggerService.java107 protected void createNotificationChannel() { in createNotificationChannel() method in TriggerService
116 notificationManager.createNotificationChannel(channel); in createNotificationChannel()
122 createNotificationChannel(); in createNotification()
/aosp_15_r20/packages/modules/Permission/service/java/com/android/safetycenter/notifications/
DSafetyCenterNotificationChannels.java189 notificationManager.createNotificationChannel(getInformationChannelDefinition()); in createAllChannelsWithoutCallingIdentity()
190 notificationManager.createNotificationChannel(getRecommendationChannelDefinition()); in createAllChannelsWithoutCallingIdentity()
191 notificationManager.createNotificationChannel(getCriticalWarningChannelDefinition()); in createAllChannelsWithoutCallingIdentity()
/aosp_15_r20/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/notifications/
DHealthConnectNotificationSender.java160 createNotificationChannel(userHandle); in sendNotificationAsUser()
203 private void createNotificationChannel(UserHandle userHandle) { in createNotificationChannel() method in HealthConnectNotificationSender
220 notificationManager.createNotificationChannel(notificationChannel); in createNotificationChannel()
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/inputdevice/tutorial/ui/
H A DTutorialNotificationCoordinator.kt74 createNotificationChannel() in showNotification()
98 private fun createNotificationChannel() { in createNotificationChannel() method in com.android.systemui.inputdevice.tutorial.ui.TutorialNotificationCoordinator
105 notificationManager.createNotificationChannel(channel) in createNotificationChannel()
/aosp_15_r20/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()
/aosp_15_r20/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()
/aosp_15_r20/packages/services/DeviceAsWebcam/interface/src/com/android/deviceaswebcam/
DDeviceAsWebcamFgService.java119 private String createNotificationChannel() { in createNotificationChannel() method in DeviceAsWebcamFgService
126 Objects.requireNonNull(notMan).createNotificationChannel(channel); in createNotificationChannel()
135 String channelId = createNotificationChannel(); in startForegroundWithNotification()
/aosp_15_r20/device/google/atv/MdnsOffloadCmdService/src/com/android/tv/mdnsoffloadcmd/
DMdnsOffloadCmdService.java72 createNotificationChannel(); in onStartCommand()
85 private void createNotificationChannel() { in createNotificationChannel() method in MdnsOffloadCmdService
93 manager.createNotificationChannel(serviceChannel); in createNotificationChannel()

12345678910>>...35