Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
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()
DNotificationManagerServiceTest.java1067 final NotificationChannel updatedChannel = in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() local
1069 mBinderService.updateNotificationChannelForPackage(PKG, mUid, updatedChannel); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
2241 NotificationChannel updatedChannel = in testUpdateChannelNotifyCreatorBlock() local
2245 mBinderService.updateNotificationChannelForPackage(PKG, 0, updatedChannel); in testUpdateChannelNotifyCreatorBlock()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationChannelExtractor.java47 NotificationChannel updatedChannel = mConfig.getConversationNotificationChannel( in process() local
51 record.updateNotificationChannel(updatedChannel); in process()
DPreferencesHelper.java997 public void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel, in updateNotificationChannel() argument
999 Objects.requireNonNull(updatedChannel); in updateNotificationChannel()
1000 Objects.requireNonNull(updatedChannel.getId()); in updateNotificationChannel()
1006 NotificationChannel channel = r.channels.get(updatedChannel.getId()); in updateNotificationChannel()
1010 if (updatedChannel.getLockscreenVisibility() == Notification.VISIBILITY_PUBLIC) { in updateNotificationChannel()
1011 updatedChannel.setLockscreenVisibility( in updateNotificationChannel()
1015 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel()
1016 lockFieldsForUpdateLocked(channel, updatedChannel); in updateNotificationChannel()
1018 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel()
1021 updatedChannel.setImportanceLockedByOEM(channel.isImportanceLockedByOEM()); in updateNotificationChannel()
[all …]