Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/data/
DProgramDataManagerTest.java72 private ProgramDataManager mProgramDataManager; field in ProgramDataManagerTest
88 mProgramDataManager = new ProgramDataManager( in setUp()
90 mProgramDataManager.setPrefetchEnabled(true); in setUp()
91 mProgramDataManager.addListener(mListener); in setUp()
97 mProgramDataManager.stop(); in tearDown()
101 mProgramDataManager.start(); in startAndWaitForComplete()
135 mProgramDataManager.setPrefetchTimeRange(prefetchTimeRangeStartMs);
140 Program currentProgram = mProgramDataManager.getCurrentProgram(channelId);
148 mProgramDataManager.getPrograms(channelId, mClock.currentTimeMillis());
159 programs = mProgramDataManager.getPrograms(channelId, startTimeMs);
[all …]
/packages/apps/TV/src/com/android/tv/
DTvApplication.java118 private volatile ProgramDataManager mProgramDataManager; field in TvApplication
345 if (mProgramDataManager != null) { in getProgramDataManager()
346 return mProgramDataManager; in getProgramDataManager()
351 if (mProgramDataManager == null) { in getProgramDataManager()
352 mProgramDataManager = new ProgramDataManager(TvApplication.this); in getProgramDataManager()
353 mProgramDataManager.start(); in getProgramDataManager()
357 return mProgramDataManager; in getProgramDataManager()
362 return mProgramDataManager != null && mProgramDataManager.isCurrentProgramsLoadFinished(); in isProgramDataManagerCurrentProgramsLoadFinished()
DMainActivity.java232 private ProgramDataManager mProgramDataManager; field in MainActivity
461 mProgramDataManager = tvApplication.getProgramDataManager(); in onCreate()
464 mTvView.initialize(mProgramDataManager, mTvInputManagerHelper); in onCreate()
503 mProgramDataManager.addOnCurrentProgramUpdatedListener(Channel.INVALID_ID, in onCreate()
505 mProgramDataManager.setPrefetchEnabled(true); in onCreate()
509 mMemoryManageables.add(mProgramDataManager); in onCreate()
515 mTimeShiftManager = new TimeShiftManager(this, mTvView, mProgramDataManager, mTracker, in onCreate()
646 mProgramDataManager.reload(); in onRequestPermissionsResult()
1073 return mProgramDataManager; in getProgramDataManager()
1121 return mProgramDataManager.getCurrentProgram(getCurrentChannelId()); in getCurrentProgram()
[all …]
DTimeShiftManager.java843 private final ProgramDataManager mProgramDataManager; field in TimeShiftManager.ProgramManager
851 mProgramDataManager = programDataManager; in ProgramManager()
872 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in onAvailabilityChanged()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DChannelCheckItem.java33 private final ProgramDataManager mProgramDataManager; field in ChannelCheckItem
61 mProgramDataManager = programDataManager; in ChannelCheckItem()
94 mProgramDataManager.addOnCurrentProgramUpdatedListener(mChannel.getId(), in onBind()
102 updateProgramTitle(mProgramDataManager.getCurrentProgram(mChannel.getId())); in onUpdate()
108 mProgramDataManager.removeOnCurrentProgramUpdatedListener(mChannel.getId(), in onUnbind()
DSideFragment.java64 private ProgramDataManager mProgramDataManager; field in SideFragment
89 mProgramDataManager = getMainActivity().getProgramDataManager(); in onAttach()
176 return mProgramDataManager; in getProgramDataManager()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java62 private final ProgramDataManager mProgramDataManager; field in ProgramManager
190 mProgramDataManager = programDataManager; in ProgramManager()
196 mProgramDataManager.setPauseProgramUpdate(visible); in programGuideVisibilityChanged()
199 mProgramDataManager.addListener(mProgramDataManagerListener); in programGuideVisibilityChanged()
212 mProgramDataManager.removeListener(mProgramDataManagerListener); in programGuideVisibilityChanged()
296 mProgramDataManager.setPrefetchTimeRange(mStartUtcMillis); in updateInitialTimeRange()
528 Program currentProgram = mProgramDataManager.getCurrentProgram(channel.getId()); in buildGenreFilters()
594 List<Program> programs = mProgramDataManager.getPrograms(channelId, mStartUtcMillis); in createProgramEntries()
/packages/apps/TV/src/com/android/tv/search/
DDataManagerSearch.java60 private final ProgramDataManager mProgramDataManager; field in DataManagerSearch
67 mProgramDataManager = appSingletons.getProgramDataManager(); in DataManagerSearch()
154 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in searchFromDataManagers()
175 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in searchFromDataManagers()
210 program = mProgramDataManager.getCurrentProgram(channel.getId()); in addResult()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsPosterPrefetcher.java45 private final ProgramDataManager mProgramDataManager; field in ChannelsPosterPrefetcher
59 mProgramDataManager = programDataManager; in ChannelsPosterPrefetcher()
112 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in doPrefetchImages()
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java130 private ProgramDataManager mProgramDataManager; field in TunableTvView
470 mProgramDataManager = programDataManager; in initialize()
1078 Program currentProgram = mProgramDataManager.getCurrentProgram(mCurrentChannel.getId()); in shouldShowImageForTuning()
1092 Program currentProgram = mProgramDataManager.getCurrentProgram(mCurrentChannel.getId()); in showImageForTuningIfNeeded()