Searched refs:recommendChannels (Results 1 – 5 of 5) sorted by relevance
96 assertThat(mRecommender.recommendChannels()).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()97 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()98 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()99 assertThat(mRecommender.recommendChannels(3)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()100 assertThat(mRecommender.recommendChannels(4)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()101 assertThat(mRecommender.recommendChannels(5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()109 assertThat(mRecommender.recommendChannels()).hasSize(4); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()110 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()111 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()112 assertThat(mRecommender.recommendChannels(3)).hasSize(3); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()[all …]
107 public List<Channel> recommendChannels() { in recommendChannels() method in Recommender108 return recommendChannels(mDataManager.getChannelRecordCount()); in recommendChannels()120 public List<Channel> recommendChannels(int size) { in recommendChannels() method in Recommender223 List<Channel> recommendedChannels = recommendChannels(); in checkRecommendationChanged()
287 List<Channel> channels = recommendChannels(); in showRecommendation()318 List<Channel> channels = recommendChannels(); in changeRecommendation()333 private List<Channel> recommendChannels() { in recommendChannels() method in NotificationService334 List channels = mRecommender.recommendChannels(); in recommendChannels()
176 List<Channel> channels = new ArrayList<>(mRecommender.recommendChannels()); in updatePreviewDataForChannels()
285 for (Channel channel : mRecommender.recommendChannels(mMaxCount)) {