Searched refs:updatedChannel (Results 1 – 3 of 3) sorted by relevance
/frameworks/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/ |
D | ChannelTest.java | 126 Channel updatedChannel = new Channel.Builder(channelFromSystemDb) in testChannelUpdateWithContentProvider() local 128 assertEquals(1, resolver.update(channelUri, updatedChannel.toContentValues(), null, null)); in testChannelUpdateWithContentProvider() 130 compareChannel(updatedChannel, channelFromSystemDb, false); in testChannelUpdateWithContentProvider() 133 updatedChannel = new Channel.Builder(updatedChannel) in testChannelUpdateWithContentProvider() 136 channelUri, updatedChannel.toContentValues(), null, null)); in testChannelUpdateWithContentProvider() 138 compareChannel(updatedChannel, channelFromSystemDb, false); in testChannelUpdateWithContentProvider()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationChannelExtractorTest.java | 66 NotificationChannel updatedChannel = in testExtractsUpdatedChannel() local 69 .thenReturn(updatedChannel); in testExtractsUpdatedChannel() 72 assertEquals(updatedChannel, r.getChannel()); in testExtractsUpdatedChannel()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingHelper.java | 690 public void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel, in updateNotificationChannel() argument 692 Preconditions.checkNotNull(updatedChannel); in updateNotificationChannel() 693 Preconditions.checkNotNull(updatedChannel.getId()); in updateNotificationChannel() 698 NotificationChannel channel = r.channels.get(updatedChannel.getId()); in updateNotificationChannel() 702 if (updatedChannel.getLockscreenVisibility() == Notification.VISIBILITY_PUBLIC) { in updateNotificationChannel() 703 updatedChannel.setLockscreenVisibility(Ranking.VISIBILITY_NO_OVERRIDE); in updateNotificationChannel() 706 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel() 709 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel() 710 lockFieldsForUpdate(channel, updatedChannel); in updateNotificationChannel() 712 r.channels.put(updatedChannel.getId(), updatedChannel); in updateNotificationChannel() local [all …]
|