Searched refs:updatedChannel (Results 1 – 3 of 3) sorted by relevance
66 NotificationChannel updatedChannel = in testExtractsUpdatedChannel() local69 .thenReturn(updatedChannel); in testExtractsUpdatedChannel()72 assertEquals(updatedChannel, r.getChannel()); in testExtractsUpdatedChannel()
626 final NotificationChannel updatedChannel = in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() local628 mBinderService.updateNotificationChannelForPackage(PKG, mUid, updatedChannel); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()1542 NotificationChannel updatedChannel = in testUpdateChannelNotifyCreatorBlock() local1546 mBinderService.updateNotificationChannelForPackage(PKG, 0, updatedChannel); in testUpdateChannelNotifyCreatorBlock()
739 public void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel, in updateNotificationChannel() argument741 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 …]