Home
last modified time | relevance | path

Searched refs:updatedChannel (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationChannelExtractorTest.java67 NotificationChannel updatedChannel = in testExtractsUpdatedChannel() local
71 .thenReturn(updatedChannel); in testExtractsUpdatedChannel()
74 assertEquals(updatedChannel, r.getChannel()); in testExtractsUpdatedChannel()
94 NotificationChannel updatedChannel = in testInvalidShortcutFlagEnabled_looksUpCorrectChannel() local
99 .thenReturn(updatedChannel); in testInvalidShortcutFlagEnabled_looksUpCorrectChannel()
102 assertEquals(updatedChannel, r.getChannel()); in testInvalidShortcutFlagEnabled_looksUpCorrectChannel()
122 NotificationChannel updatedChannel = in testInvalidShortcutFlagDisabled_looksUpCorrectChannel() local
126 .thenReturn(updatedChannel); in testInvalidShortcutFlagDisabled_looksUpCorrectChannel()
129 assertEquals(updatedChannel, r.getChannel()); in testInvalidShortcutFlagDisabled_looksUpCorrectChannel()
H A DNotificationManagerServiceTest.java1253 final NotificationChannel updatedChannel = in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() local
1255 mBinderService.updateNotificationChannelForPackage(PKG, mUid, updatedChannel); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
3388 NotificationChannel updatedChannel = in testUpdateChannelNotifyCreatorBlock() local
3392 mBinderService.updateNotificationChannelForPackage(PKG, 0, updatedChannel); in testUpdateChannelNotifyCreatorBlock()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationChannelExtractor.java47 NotificationChannel updatedChannel = mConfig.getConversationNotificationChannel( in process() local
51 record.updateNotificationChannel(updatedChannel); in process()
H A DPreferencesHelper.java1073 Objects.requireNonNull(updatedChannel); in updateNotificationChannel()
1074 Objects.requireNonNull(updatedChannel.getId()); in updateNotificationChannel()
1087 updatedChannel.setLockscreenVisibility( in updateNotificationChannel()
1092 lockFieldsForUpdateLocked(channel, updatedChannel); in updateNotificationChannel()
1094 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel()
1099 updatedChannel.setImportance(channel.getImportance()); in updateNotificationChannel()
1102 r.channels.put(updatedChannel.getId(), updatedChannel); in updateNotificationChannel() local
1105 r.priority = updatedChannel.canBypassDnd() in updateNotificationChannel()
1108 r.showBadge = updatedChannel.canShowBadge(); in updateNotificationChannel()
1112 if (!channel.equals(updatedChannel)) { in updateNotificationChannel()
[all …]
H A DRankingConfig.java48 void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel, in updateNotificationChannel() argument