Home
last modified time | relevance | path

Searched refs:mWatchedHistoryManager (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DWatchedHistoryManagerTest.java45 private WatchedHistoryManager mWatchedHistoryManager; field in WatchedHistoryManagerTest
50 mWatchedHistoryManager = in setUp()
56 mWatchedHistoryManager.setListener(mListener); in setUp()
60 mWatchedHistoryManager.start(); in startAndWaitForComplete()
67 assertThat(mWatchedHistoryManager.isLoaded()).isTrue(); in testIsLoaded()
77 mWatchedHistoryManager.logChannelViewStop(channel, time, duration); in testLogChannelViewStop()
79 WatchedRecord record = mWatchedHistoryManager.getRecord(0); in testLogChannelViewStop()
81 mWatchedHistoryManager.getRecordFromSharedPreferences(0); in testLogChannelViewStop()
98 mWatchedHistoryManager.logChannelViewStop(channel, time + duration * i, duration); in testCircularHistoryQueue()
101 WatchedRecord record = mWatchedHistoryManager.getRecord(i); in testCircularHistoryQueue()
[all …]
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java91 @Nullable private WatchedHistoryManager mWatchedHistoryManager; field in RecommendationDataManager
238 if (mWatchedHistoryManager != null) { in stop()
239 mWatchedHistoryManager.setListener(null); in stop()
272 mWatchedHistoryManager = new WatchedHistoryManager(mContext); in onStart()
273 mWatchedHistoryManager.setListener(this); in onStart()
274 mWatchedHistoryManager.start(); in onStart()
380 mWatchedHistoryManager.getWatchedHistory()) { in onLoadFinished()
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java143 @Nullable private WatchedHistoryManager mWatchedHistoryManager; field in TunableTvView
523 if (mWatchedHistoryManager != null && !mCurrentChannel.isPassthrough()) { in stop()
524 mWatchedHistoryManager.logChannelViewStop( in stop()
571 mWatchedHistoryManager = watchedHistoryManager; in setWatchedHistoryManager()
621 if (mWatchedHistoryManager != null && !mCurrentChannel.isPassthrough()) { in tuneTo()
622 mWatchedHistoryManager.logChannelViewStop( in tuneTo()