Searched refs:mWatchedHistoryManager (Results 1 – 3 of 3) sorted by relevance
43 private WatchedHistoryManager mWatchedHistoryManager; field in WatchedHistoryManagerTest52 mWatchedHistoryManager = new WatchedHistoryManager(getContext(), MAX_HISTORY_SIZE); in setUp()54 mWatchedHistoryManager.setListener(mListener); in setUp()60 mWatchedHistoryManager.start(); in startAndWaitForComplete()66 assertFalse(mWatchedHistoryManager.isLoaded()); in testIsLoaded()68 assertTrue(mWatchedHistoryManager.isLoaded()); in testIsLoaded()78 mWatchedHistoryManager.logChannelViewStop(channel, time, duration); in testLogChannelViewStop()80 WatchedRecord record = mWatchedHistoryManager.getRecord(0); in testLogChannelViewStop()82 mWatchedHistoryManager.getRecordFromSharedPreferences(0); in testLogChannelViewStop()99 mWatchedHistoryManager.logChannelViewStop(channel, time + duration * i, duration); in testCircularHistoryQueue()[all …]
88 private WatchedHistoryManager mWatchedHistoryManager; field in RecommendationDataManager285 mWatchedHistoryManager = new WatchedHistoryManager(mContext); in onStart()286 mWatchedHistoryManager.setListener(this); in onStart()287 mWatchedHistoryManager.start(); in onStart()389 : mWatchedHistoryManager.getWatchedHistory()) { in onLoadFinished()
117 private WatchedHistoryManager mWatchedHistoryManager; field in TunableTvView446 if (mWatchedHistoryManager != null && !mCurrentChannel.isPassthrough()) { in stop()447 mWatchedHistoryManager.logChannelViewStop(mCurrentChannel, in stop()497 mWatchedHistoryManager = watchedHistoryManager; in setWatchedHistoryManager()533 if (mWatchedHistoryManager != null && !mCurrentChannel.isPassthrough()) { in tuneTo()534 mWatchedHistoryManager.logChannelViewStop(mCurrentChannel, in tuneTo()