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.java682 final NotificationChannel updatedChannel = in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() local
684 mBinderService.updateNotificationChannelForPackage(PKG, mUid, updatedChannel); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
1620 NotificationChannel updatedChannel = in testUpdateChannelNotifyCreatorBlock() local
1624 mBinderService.updateNotificationChannelForPackage(PKG, 0, updatedChannel); in testUpdateChannelNotifyCreatorBlock()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java755 public void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel, in updateNotificationChannel() argument
757 Preconditions.checkNotNull(updatedChannel); in updateNotificationChannel()
758 Preconditions.checkNotNull(updatedChannel.getId()); in updateNotificationChannel()
764 NotificationChannel channel = r.channels.get(updatedChannel.getId()); in updateNotificationChannel()
768 if (updatedChannel.getLockscreenVisibility() == Notification.VISIBILITY_PUBLIC) { in updateNotificationChannel()
769 updatedChannel.setLockscreenVisibility( in updateNotificationChannel()
773 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel()
774 lockFieldsForUpdateLocked(channel, updatedChannel); in updateNotificationChannel()
776 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel()
779 updatedChannel.setImportanceLockedByOEM(channel.isImportanceLockedByOEM()); in updateNotificationChannel()
[all …]