Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationChannelExtractorTest.java66 NotificationChannel updatedChannel = in testExtractsUpdatedChannel() local
69 .thenReturn(updatedChannel); in testExtractsUpdatedChannel()
72 assertEquals(updatedChannel, r.getChannel()); in testExtractsUpdatedChannel()
DNotificationManagerServiceTest.java626 final NotificationChannel updatedChannel = in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() local
628 mBinderService.updateNotificationChannelForPackage(PKG, mUid, updatedChannel); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
1542 NotificationChannel updatedChannel = in testUpdateChannelNotifyCreatorBlock() local
1546 mBinderService.updateNotificationChannelForPackage(PKG, 0, updatedChannel); in testUpdateChannelNotifyCreatorBlock()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java739 public void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel, in updateNotificationChannel() argument
741 Preconditions.checkNotNull(updatedChannel); in updateNotificationChannel()
742 Preconditions.checkNotNull(updatedChannel.getId()); in updateNotificationChannel()
748 NotificationChannel channel = r.channels.get(updatedChannel.getId()); in updateNotificationChannel()
752 if (updatedChannel.getLockscreenVisibility() == Notification.VISIBILITY_PUBLIC) { in updateNotificationChannel()
753 updatedChannel.setLockscreenVisibility( in updateNotificationChannel()
757 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel()
758 lockFieldsForUpdateLocked(channel, updatedChannel); in updateNotificationChannel()
760 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel()
763 updatedChannel.setImportanceLockedByOEM(channel.isImportanceLockedByOEM()); in updateNotificationChannel()
[all …]