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.java46 mEvaluator.evaluateChannel(channelId)); in testOneChannelWithNoWatchLog()
65 mEvaluator.evaluateChannel(channelId)); in testMultiChannelsWithNoWatchLog()
96 double score = mEvaluator.evaluateChannel(channelId); in testMultiChannelsWithSimpleWatchLogs()
111 assertTrue(mEvaluator.evaluateChannel(channelOne) == in testTwoChannelsWithSameWatchDuration()
112 mEvaluator.evaluateChannel(channelTwo)); in testTwoChannelsWithSameWatchDuration()
125 assertTrue(mEvaluator.evaluateChannel(channelOne) < mEvaluator.evaluateChannel(channelTwo)); in testTwoChannelsWithDifferentWatchDuration()
131 assertTrue(mEvaluator.evaluateChannel(channelOne) > mEvaluator.evaluateChannel(channelTwo)); in testTwoChannelsWithDifferentWatchDuration()
141 double previousScore = mEvaluator.evaluateChannel(channelId); in testScoreIncreasesWithNewWatchLog()
146 assertTrue(previousScore <= mEvaluator.evaluateChannel(channelId)); in testScoreIncreasesWithNewWatchLog()
DRecentChannelEvaluatorTest.java48 mEvaluator.evaluateChannel(channelId)); in testOneChannelWithNoWatchLog()
67 mEvaluator.evaluateChannel(channelId)); in testMultiChannelsWithNoWatchLog()
96 double score = mEvaluator.evaluateChannel(channelId); in testMultiChannelsWithSimpleWatchLogs()
111 double previousScore = mEvaluator.evaluateChannel(channelId); in testScoreIncreasesWithNewWatchLog()
118 assertTrue(previousScore <= mEvaluator.evaluateChannel(channelId)); in testScoreIncreasesWithNewWatchLog()
133 scores.put(channelId, mEvaluator.evaluateChannel(channelId)); in testScoreDecreasesWithIncrementOfWatchedLogUpdatedTime()
141 assertTrue(mEvaluator.evaluateChannel(channelId) <= scores.get(channelId)); in testScoreDecreasesWithIncrementOfWatchedLogUpdatedTime()
DEvaluatorTestCase.java94 assertEquals(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.java316 public double evaluateChannel(long channelId) { in evaluateChannel() method in RecommenderTest.FakeEvaluator
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommender.java259 protected abstract double evaluateChannel(final long channelId); in evaluateChannel() method in Recommender.Evaluator
300 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.java43 public double evaluateChannel(long channelId) { in evaluateChannel() method in RoutineWatchEvaluator