Home
last modified time | relevance | path

Searched refs:mChannelRecordSortedMap (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DEvaluatorTestCase.java37 private ChannelRecordSortedMapHelper mChannelRecordSortedMap; field in EvaluatorTestCase
44 mChannelRecordSortedMap = new ChannelRecordSortedMapHelper(getContext()); in setUp()
46 RecommendationUtils.createMockRecommendationDataManager(mChannelRecordSortedMap); in setUp()
50 mChannelRecordSortedMap.setRecommender(mRecommender); in setUp()
51 mChannelRecordSortedMap.resetRandom(Utils.createTestRandom()); in setUp()
58 mChannelRecordSortedMap.addChannels(numberOfChannels); in addChannels()
62 return mChannelRecordSortedMap.addChannel(); in addChannel()
68 mChannelRecordSortedMap.addRandomWatchLogs( in addRandomWatchLogs()
74 mChannelRecordSortedMap.addWatchLog(channelId, watchStartTimeMs, durationTimeMs)); in addWatchLog()
78 return new ArrayList<>(mChannelRecordSortedMap.keySet()); in getChannelIdListSorted()
[all …]
DRecommenderTest.java65 mChannel_1 = mChannelRecordSortedMap.addChannel();
66 mChannel_2 = mChannelRecordSortedMap.addChannel();
67 mChannel_3 = mChannelRecordSortedMap.addChannel();
68 mChannel_4 = mChannelRecordSortedMap.addChannel();
75 private ChannelRecordSortedMapHelper mChannelRecordSortedMap; field in RecommenderTest
85 mChannelRecordSortedMap = new ChannelRecordSortedMapHelper(getContext()); in setUp()
87 RecommendationUtils.createMockRecommendationDataManager(mChannelRecordSortedMap); in setUp()
88 mChannelRecordSortedMap.resetRandom(Utils.createTestRandom()); in setUp()
250 for (long channelId : mChannelRecordSortedMap.keySet()) { in testListener_onRecommendationChanged()
254 mChannelRecordSortedMap.addWatchLog( in testListener_onRecommendationChanged()
[all …]