Home
last modified time | relevance | path

Searched refs:mProgramDataManager (Results 1 – 11 of 11) sorted by relevance

/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DProgramDataManagerTest.java66 private ProgramDataManager mProgramDataManager; field in ProgramDataManagerTest
87 mProgramDataManager = in setUp()
99 mProgramDataManager.setPrefetchEnabled(true); in setUp()
100 mProgramDataManager.addCallback(mCallback); in setUp()
105 mProgramDataManager.stop(); in tearDown()
109 mProgramDataManager.start(); in startAndWaitForComplete()
141 mProgramDataManager.setPrefetchTimeRange(prefetchTimeRangeStartMs); in testGetPrograms()
146 Program currentProgram = mProgramDataManager.getCurrentProgram(channelId); in testGetPrograms()
159 mProgramDataManager.getPrograms(channelId, mClock.currentTimeMillis()); in testGetPrograms()
170 programs = mProgramDataManager.getPrograms(channelId, startTimeMs); in testGetPrograms()
[all …]
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DChannelCheckItem.java33 private final ProgramDataManager mProgramDataManager; field in ChannelCheckItem
63 mProgramDataManager = programDataManager; in ChannelCheckItem()
96 mProgramDataManager.addOnCurrentProgramUpdatedListener( in onBind()
104 updateProgramTitle(mProgramDataManager.getCurrentProgram(mChannel.getId())); in onUpdate()
110 mProgramDataManager.removeOnCurrentProgramUpdatedListener( in onUnbind()
DSideFragment.java65 private ProgramDataManager mProgramDataManager; field in SideFragment
92 mProgramDataManager = getMainActivity().getProgramDataManager(); in onAttach()
181 return mProgramDataManager; in getProgramDataManager()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java62 private final ProgramDataManager mProgramDataManager; field in ProgramManager
214 mProgramDataManager = programDataManager; in ProgramManager()
220 mProgramDataManager.setPauseProgramUpdate(visible); in programGuideVisibilityChanged()
223 mProgramDataManager.addCallback(mProgramDataManagerCallback); in programGuideVisibilityChanged()
236 mProgramDataManager.removeCallback(mProgramDataManagerCallback); in programGuideVisibilityChanged()
311 mProgramDataManager.setPrefetchTimeRange(mStartUtcMillis); in updateInitialTimeRange()
425 mProgramDataManager.prefetchChannel(channelId, index); in getTableEntry()
541 Program currentProgram = mProgramDataManager.getCurrentProgram(channel.getId()); in buildGenreFilters()
614 List<Program> programs = mProgramDataManager.getPrograms(channelId, mStartUtcMillis); in createProgramEntries()
/packages/apps/TV/src/com/android/tv/
DTvApplication.java109 private volatile ProgramDataManager mProgramDataManager; field in TvApplication
301 if (mProgramDataManager != null) { in getProgramDataManager()
302 return mProgramDataManager; in getProgramDataManager()
306 if (mProgramDataManager == null) { in getProgramDataManager()
307 mProgramDataManager = new ProgramDataManager(TvApplication.this); in getProgramDataManager()
308 mProgramDataManager.start(); in getProgramDataManager()
311 return mProgramDataManager; in getProgramDataManager()
DMainActivity.java292 @Inject ProgramDataManager mProgramDataManager; field in MainActivity
544 mTvView.initialize(mProgramDataManager, mTvInputManagerHelper, mLegacyFlags); in onCreate()
587 mProgramDataManager.addOnCurrentProgramUpdatedListener( in onCreate()
589 mProgramDataManager.setPrefetchEnabled(true); in onCreate()
593 mMemoryManageables.add(mProgramDataManager); in onCreate()
603 mProgramDataManager, in onCreate()
754 mProgramDataManager.reload(); in onRequestPermissionsResult()
1201 return mProgramDataManager; in getProgramDataManager()
1246 return mProgramDataManager.getCurrentProgram(getCurrentChannelId()); in getCurrentProgram()
2018 if (mProgramDataManager != null) {
[all …]
DTimeShiftManager.java869 private final ProgramDataManager mProgramDataManager; field in TimeShiftManager.ProgramManager
877 mProgramDataManager = programDataManager; in ProgramManager()
905 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in onAvailabilityChanged()
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
DProgramTableAdapterTest.java54 @Mock private ProgramDataManager mProgramDataManager; field in ProgramTableAdapterTest
74 mProgramDataManager, in setup()
82 Mockito.when(mProgramDataManager.getCurrentProgram(anyLong())) in testOnTableEntryChanged()
103 mProgramDataManager.getCurrentProgram(2), in testOnTableEntryChanged()
/packages/apps/TV/src/com/android/tv/search/
DDataManagerSearch.java60 private final ProgramDataManager mProgramDataManager; field in DataManagerSearch
67 mProgramDataManager = tvSingletons.getProgramDataManager(); in DataManagerSearch()
166 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in searchFromDataManagers()
192 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in searchFromDataManagers()
236 program = mProgramDataManager.getCurrentProgram(channel.getId()); in addResult()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsPosterPrefetcher.java44 private final ProgramDataManager mProgramDataManager; field in ChannelsPosterPrefetcher
56 mProgramDataManager = programDataManager; in ChannelsPosterPrefetcher()
108 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in doPrefetchImages()
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java142 private ProgramDataManager mProgramDataManager; field in TunableTvView
487 mProgramDataManager = programDataManager; in initialize()
1141 Program currentProgram = mProgramDataManager.getCurrentProgram(mCurrentChannel.getId()); in shouldShowImageForTuning()
1155 Program currentProgram = mProgramDataManager.getCurrentProgram(mCurrentChannel.getId()); in showImageForTuningIfNeeded()