Home
last modified time | relevance | path

Searched refs:evaluateChannel (Results 1 – 9 of 9) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DFavoriteChannelEvaluatorTest.java50 Recommender.Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(channelId)); in testOneChannelWithNoWatchLog()
73 Recommender.Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(channelId)); in testMultiChannelsWithNoWatchLog()
108 double score = mEvaluator.evaluateChannel(channelId); in testMultiChannelsWithSimpleWatchLogs()
128 assertThat(mEvaluator.evaluateChannel(channelOne) == mEvaluator.evaluateChannel(channelTwo)) in testTwoChannelsWithSameWatchDuration()
147 assertThat(mEvaluator.evaluateChannel(channelOne)) in testTwoChannelsWithDifferentWatchDuration()
148 .isLessThan(mEvaluator.evaluateChannel(channelTwo)); in testTwoChannelsWithDifferentWatchDuration()
156 assertThat(mEvaluator.evaluateChannel(channelOne)) in testTwoChannelsWithDifferentWatchDuration()
157 .isGreaterThan(mEvaluator.evaluateChannel(channelTwo)); in testTwoChannelsWithDifferentWatchDuration()
170 double previousScore = mEvaluator.evaluateChannel(channelId); in testScoreIncreasesWithNewWatchLog()
175 assertThat(previousScore).isAtMost(mEvaluator.evaluateChannel(channelId)); in testScoreIncreasesWithNewWatchLog()
DRecentChannelEvaluatorTest.java52 Recommender.Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(channelId)); in testOneChannelWithNoWatchLog()
75 Recommender.Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(channelId)); in testMultiChannelsWithNoWatchLog()
108 double score = mEvaluator.evaluateChannel(channelId); in testMultiChannelsWithSimpleWatchLogs()
126 double previousScore = mEvaluator.evaluateChannel(channelId); in testScoreIncreasesWithNewWatchLog()
133 assertThat(previousScore).isAtMost(mEvaluator.evaluateChannel(channelId)); in testScoreIncreasesWithNewWatchLog()
151 scores.put(channelId, mEvaluator.evaluateChannel(channelId)); in testScoreDecreasesWithIncrementOfWatchedLogUpdatedTime()
159 assertThat(mEvaluator.evaluateChannel(channelId)).isAtMost(scores.get(channelId)); in testScoreDecreasesWithIncrementOfWatchedLogUpdatedTime()
DEvaluatorTestCase.java93 Evaluator.NOT_RECOMMENDED, mEvaluator.evaluateChannel(INVALID_CHANNEL_ID)); in assertChannelScoresValid()
96 mEvaluator.evaluateChannel(mChannelRecordSortedMap.size())); in assertChannelScoresValid()
99 double score = mEvaluator.evaluateChannel(channelId); in assertChannelScoresValid()
DRecommenderTest.java344 public double evaluateChannel(long channelId) { in evaluateChannel() method in RecommenderTest.FakeEvaluator
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommender.java258 protected abstract double evaluateChannel(final long channelId); in evaluateChannel() method in Recommender.Evaluator
299 double score = mEvaluator.evaluateChannel(channelId); in getScaledEvaluatorScore()
DRandomEvaluator.java21 public double evaluateChannel(long channelId) { in evaluateChannel() method in RandomEvaluator
DFavoriteChannelEvaluator.java38 public double evaluateChannel(long channelId) { in evaluateChannel() method in FavoriteChannelEvaluator
DRecentChannelEvaluator.java39 public double evaluateChannel(long channelId) { in evaluateChannel() method in RecentChannelEvaluator
DRoutineWatchEvaluator.java42 public double evaluateChannel(long channelId) { in evaluateChannel() method in RoutineWatchEvaluator