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()
682 final NotificationChannel updatedChannel = in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() local684 mBinderService.updateNotificationChannelForPackage(PKG, mUid, updatedChannel); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()1620 NotificationChannel updatedChannel = in testUpdateChannelNotifyCreatorBlock() local1624 mBinderService.updateNotificationChannelForPackage(PKG, 0, updatedChannel); in testUpdateChannelNotifyCreatorBlock()
755 public void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel, in updateNotificationChannel() argument757 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 …]