Home
last modified time | relevance | path

Searched refs:addWatchLog (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DChannelRecordTest.java55 addWatchLog(); in testGetLastWatchEndTime_oneHistory()
63 addWatchLog(); in testGetLastWatchEndTime_maxHistories()
72 addWatchLog(); in testGetLastWatchEndTime_moreThanMaxHistories()
85 long durationMs = addWatchLog(); in testGetTotalWatchDuration_oneHistory()
94 long durationMs = addWatchLog(); in testGetTotalWatchDuration_maxHistories()
106 long durationMs = addWatchLog(); in testGetTotalWatchDuration_moreThanMaxHistories()
123 private long addWatchLog() { in addWatchLog() method in ChannelRecordTest
DFavoriteChannelEvaluatorTest.java99 addWatchLog(channelId, latestWatchEndTimeMs, durationMs); in testMultiChannelsWithSimpleWatchLogs()
118 addWatchLog( in testTwoChannelsWithSameWatchDuration()
122 addWatchLog( in testTwoChannelsWithSameWatchDuration()
136 addWatchLog( in testTwoChannelsWithDifferentWatchDuration()
140 addWatchLog( in testTwoChannelsWithDifferentWatchDuration()
150 addWatchLog( in testTwoChannelsWithDifferentWatchDuration()
172 addWatchLog(channelId, latestWatchEndTimeMs, TimeUnit.MINUTES.toMillis(10)); in testScoreIncreasesWithNewWatchLog()
DRecentChannelEvaluatorTest.java99 addWatchLog(channelId, latestWatchEndTimeMs, TimeUnit.HOURS.toMillis(1)); in testMultiChannelsWithSimpleWatchLogs()
129 addWatchLog(channelId, latestWatchEndTimeMs, durationMs); in testScoreIncreasesWithNewWatchLog()
155 addWatchLog(newChannelId, latestWatchedEndTimeMs, TimeUnit.MINUTES.toMillis(10)); in testScoreDecreasesWithIncrementOfWatchedLogUpdatedTime()
DEvaluatorTestCase.java72 public void addWatchLog(long channelId, long watchStartTimeMs, long durationTimeMs) { in addWatchLog() method in EvaluatorTestCase
74 mChannelRecordSortedMap.addWatchLog(channelId, watchStartTimeMs, durationTimeMs)); in addWatchLog()
DRecommendationUtils.java134 if (!addWatchLog(channelId, latestWatchEndTimeMs, watchedDurationMs)) { in addRandomWatchLogs()
150 public boolean addWatchLog(long channelId, long watchStartTimeMs, long durationTimeMs) { in addWatchLog() method in RecommendationUtils.ChannelRecordSortedMapHelper
DRecommenderTest.java254 mChannelRecordSortedMap.addWatchLog( in testListener_onRecommendationChanged()