Searched refs:updatedChannel (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationChannelExtractorTest.java | 67 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()
|
D | NotificationManagerServiceTest.java | 909 final NotificationChannel updatedChannel = in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() local 911 mBinderService.updateNotificationChannelForPackage(PKG, mUid, updatedChannel); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() 2093 NotificationChannel updatedChannel = in testUpdateChannelNotifyCreatorBlock() local 2097 mBinderService.updateNotificationChannelForPackage(PKG, 0, updatedChannel); in testUpdateChannelNotifyCreatorBlock()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationChannelExtractor.java | 47 NotificationChannel updatedChannel = mConfig.getConversationNotificationChannel( in process() local 51 record.updateNotificationChannel(updatedChannel); in process()
|
D | PreferencesHelper.java | 941 public void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel, in updateNotificationChannel() argument 943 Objects.requireNonNull(updatedChannel); in updateNotificationChannel() 944 Objects.requireNonNull(updatedChannel.getId()); in updateNotificationChannel() 950 NotificationChannel channel = r.channels.get(updatedChannel.getId()); in updateNotificationChannel() 954 if (updatedChannel.getLockscreenVisibility() == Notification.VISIBILITY_PUBLIC) { in updateNotificationChannel() 955 updatedChannel.setLockscreenVisibility( in updateNotificationChannel() 959 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel() 960 lockFieldsForUpdateLocked(channel, updatedChannel); in updateNotificationChannel() 962 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel() 965 updatedChannel.setImportanceLockedByOEM(channel.isImportanceLockedByOEM()); in updateNotificationChannel() [all …]
|