Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/data/
DProgramDataManagerTest.java62 private ProgramDataManager mProgramDataManager; field in ProgramDataManagerTest
80 mProgramDataManager = new ProgramDataManager( in setUp()
82 mProgramDataManager.setPrefetchEnabled(true); in setUp()
83 mProgramDataManager.addListener(mListener); in setUp()
90 mProgramDataManager.stop(); in tearDown()
94 mProgramDataManager.start(); in startAndWaitForComplete()
126 mProgramDataManager.setPrefetchTimeRange(prefetchTimeRangeStartMs);
131 Program currentProgram = mProgramDataManager.getCurrentProgram(channelId);
139 mProgramDataManager.getPrograms(channelId, mClock.currentTimeMillis());
150 programs = mProgramDataManager.getPrograms(channelId, startTimeMs);
[all …]
/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.java60 private ProgramDataManager mProgramDataManager; field in SideFragment
85 mProgramDataManager = getMainActivity().getProgramDataManager(); in onAttach()
178 return mProgramDataManager; in getProgramDataManager()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java62 private final ProgramDataManager mProgramDataManager; field in ProgramManager
291 mProgramDataManager = programDataManager; in ProgramManager()
297 mProgramDataManager.setPauseProgramUpdate(visible); in programGuideVisibilityChanged()
300 mProgramDataManager.addListener(mProgramDataManagerListener); in programGuideVisibilityChanged()
313 mProgramDataManager.removeListener(mProgramDataManagerListener); in programGuideVisibilityChanged()
383 Program currentProgram = mProgramDataManager.getCurrentProgram(channel.getId()); in buildGenreFilters()
577 mProgramDataManager.setPrefetchTimeRange(mStartUtcMillis); in updateInitialTimeRange()
654 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/
DTvApplication.java95 private ProgramDataManager mProgramDataManager; field in TvApplication
282 if (mProgramDataManager == null) { in getProgramDataManager()
283 mProgramDataManager = new ProgramDataManager(this); in getProgramDataManager()
284 mProgramDataManager.start(); in getProgramDataManager()
286 return mProgramDataManager; in getProgramDataManager()
DMainActivity.java266 private ProgramDataManager mProgramDataManager; field in MainActivity
549 mProgramDataManager = tvApplication.getProgramDataManager(); in onCreate()
550 mProgramDataManager.addOnCurrentProgramUpdatedListener(Channel.INVALID_ID, in onCreate()
552 mProgramDataManager.setPrefetchEnabled(true); in onCreate()
558 mMemoryManageables.add(mProgramDataManager); in onCreate()
564 mTimeShiftManager = new TimeShiftManager(this, mTvView, mProgramDataManager, mTracker, in onCreate()
714 mProgramDataManager.reload(); in onRequestPermissionsResult()
1145 return mProgramDataManager; in getProgramDataManager()
1204 return mProgramDataManager.getCurrentProgram(getCurrentChannelId()); in getCurrentProgram()
2310 if (mProgramDataManager != null) {
[all …]
DTimeShiftManager.java835 private final ProgramDataManager mProgramDataManager; field in TimeShiftManager.ProgramManager
843 mProgramDataManager = programDataManager; in ProgramManager()
864 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in onAvailabilityChanged()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsPosterPrefetcher.java45 private final ProgramDataManager mProgramDataManager; field in ChannelsPosterPrefetcher
59 mProgramDataManager = programDataManager; in ChannelsPosterPrefetcher()
111 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in doPrefetchImages()