Searched refs:mWatchedHistoryManager (Results 1 – 3 of 3) sorted by relevance
45 private WatchedHistoryManager mWatchedHistoryManager; field in WatchedHistoryManagerTest50 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 …]
91 @Nullable private WatchedHistoryManager mWatchedHistoryManager; field in RecommendationDataManager238 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()
143 @Nullable private WatchedHistoryManager mWatchedHistoryManager; field in TunableTvView523 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()