Searched refs:updatedChannel (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationChannelExtractorTest.java | 102 NotificationChannel updatedChannel = in testExtractsUpdatedConversationChannel() local 106 .thenReturn(updatedChannel); in testExtractsUpdatedConversationChannel() 109 assertEquals(updatedChannel, r.getChannel()); in testExtractsUpdatedConversationChannel() 122 NotificationChannel updatedChannel = in testInvalidShortcutFlagEnabled_looksUpCorrectNonChannel() local 127 .thenReturn(updatedChannel); in testInvalidShortcutFlagEnabled_looksUpCorrectNonChannel() 130 assertEquals(updatedChannel, r.getChannel()); in testInvalidShortcutFlagEnabled_looksUpCorrectNonChannel() 143 NotificationChannel updatedChannel = in testInvalidShortcutFlagDisabled_looksUpCorrectChannel() local 147 .thenReturn(updatedChannel); in testInvalidShortcutFlagDisabled_looksUpCorrectChannel() 150 assertEquals(updatedChannel, r.getChannel()); in testInvalidShortcutFlagDisabled_looksUpCorrectChannel()
|
D | NotificationManagerServiceTest.java | 1585 final NotificationChannel updatedChannel = in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() local 1587 mBinderService.updateNotificationChannelForPackage(mPkg, mUid, updatedChannel); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() 3842 NotificationChannel updatedChannel = in testUpdateChannelNotifyCreatorBlock() local 3846 mBinderService.updateNotificationChannelForPackage(mPkg, 0, updatedChannel); in testUpdateChannelNotifyCreatorBlock()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationChannelExtractor.java | 73 NotificationChannel updatedChannel = mConfig.getConversationNotificationChannel( in process() local 77 record.updateNotificationChannel(updatedChannel); in process()
|
D | PreferencesHelper.java | 1131 public void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel, in updateNotificationChannel() argument 1133 Objects.requireNonNull(updatedChannel); in updateNotificationChannel() 1134 Objects.requireNonNull(updatedChannel.getId()); in updateNotificationChannel() 1142 NotificationChannel channel = r.channels.get(updatedChannel.getId()); in updateNotificationChannel() 1146 if (updatedChannel.getLockscreenVisibility() == Notification.VISIBILITY_PUBLIC) { in updateNotificationChannel() 1147 updatedChannel.setLockscreenVisibility( in updateNotificationChannel() 1151 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel() 1152 lockFieldsForUpdateLocked(channel, updatedChannel); in updateNotificationChannel() 1154 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel() 1159 updatedChannel.setImportance(channel.getImportance()); in updateNotificationChannel() [all …]
|
D | RankingConfig.java | 46 void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel, in updateNotificationChannel() argument
|