Home
last modified time | relevance | path

Searched refs:mDvrManager (Results 1 – 25 of 25) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRowPresenter.java78 private final DvrManager mDvrManager; field in ScheduleRowPresenter
337 mDvrManager = TvSingletons.getSingletons(context).getDvrManager(); in ScheduleRowPresenter()
361 return mDvrManager; in getDvrManager()
428 if (mDvrManager.isConflicting(schedule) || isFailedRecording(schedule)) { in onBindRowViewHolder()
612 mDvrManager.setHighestPriority(row.getSchedule()); in onStartRecordingInternal()
614 mDvrManager.addSchedule( in onStartRecordingInternal()
618 .setPriority(mDvrManager.suggestHighestPriority(row.getSchedule())) in onStartRecordingInternal()
642 mDvrManager.stopRecording(row.getSchedule()); in onStopRecording()
663 mDvrManager.updateScheduledRecording( in onCreateSchedule()
666 .setPriority(mDvrManager.suggestHighestPriority(row.getSchedule())) in onCreateSchedule()
[all …]
DSeriesScheduleRowAdapter.java53 private final DvrManager mDvrManager; field in SeriesScheduleRowAdapter
71 mDvrManager = singletons.getDvrManager(); in SeriesScheduleRowAdapter()
123 if (mDvrManager.isConflicting( in getDescription()
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java70 private final DvrManager mDvrManager; field in PlayControlsRowView
132 mDvrManager = TvSingletons.getSingletons(context).getDvrManager(); in PlayControlsRowView()
135 mDvrManager = null; in PlayControlsRowView()
252 && mDvrManager != null in isCurrentChannelRecording()
253 && mDvrManager.getCurrentRecording(currentChannel.getId()) != null; in isCurrentChannelRecording()
266 if (!(mDvrManager != null && mDvrManager.isChannelRecordable(currentChannel))) { in onRecordButtonClicked()
294 mDvrManager.getCurrentRecording(currentChannel.getId()); in onRecordButtonClicked()
296 mDvrManager.stopRecording(currentRecording); in onRecordButtonClicked()
646 if (!(mDvrManager != null in updateRecordButton()
647 && mDvrManager.isChannelRecordable(mMainActivity.getCurrentChannel()))) { in updateRecordButton()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DSeriesRecordingPresenter.java38 private final DvrManager mDvrManager; field in SeriesRecordingPresenter
48 private DvrManager mDvrManager; field in SeriesRecordingPresenter.SeriesRecordingViewHolder
59 mDvrManager = dvrManager; in SeriesRecordingViewHolder()
164 count = mDvrManager.getAvailableScheduledRecording(mSeriesRecording.getId()).size(); in updateCardViewContent()
190 mDvrManager = singletons.getDvrManager(); in SeriesRecordingPresenter()
199 mDvrManager, in onCreateDvrItemViewHolder()
DScheduledRecordingDetailsFragment.java36 private DvrManager mDvrManager; field in ScheduledRecordingDetailsFragment
43 mDvrManager = TvSingletons.getSingletons(getContext()).getDvrManager(); in onCreate()
89 mDvrManager.removeScheduledRecording(getRecording()); in onCreateOnActionClickedListener()
97 if (mDvrManager.isConflicting(getRecording())) {
DScheduledRecordingPresenter.java32 private final DvrManager mDvrManager; field in ScheduledRecordingPresenter
103 mDvrManager = TvSingletons.getSingletons(mContext).getDvrManager(); in ScheduledRecordingPresenter()
124 } else if (mDvrManager.isConflicting(recording)) { in onBindDvrItemViewHolder()
/packages/apps/TV/src/com/android/tv/ui/
DProgramDetailsFragment.java76 private DvrManager mDvrManager; field in ProgramDetailsFragment
161 mDvrManager = singletons.getDvrManager(); in onLoadDetails()
176 if (mDvrManager.isConflicting(mScheduledRecording)) { in getScheduleIconId()
204 && mDvrManager.isProgramRecordable(mProgram)) { in onCreateActionsAdapter()
228 mDvrManager.removeScheduledRecording(mScheduledRecording); in onCreateOnActionClickedListener()
DChannelBannerView.java150 private final DvrManager mDvrManager; field in ChannelBannerView
266 mDvrManager = singletons.getDvrManagerSingleton(); in ChannelBannerView()
268 mDvrManager = null; in ChannelBannerView()
799 if (mDvrManager == null) {
806 : mDvrManager.getCurrentRecording(mCurrentChannel.getId());
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrRecordingSettingsFragment.java83 private DvrManager mDvrManager; field in DvrRecordingSettingsFragment
88 mDvrManager = TvSingletons.getSingletons(getContext()).getDvrManager(); in onAttach()
165 mDvrManager.addSchedule(customizedProgram , startEarlyTimeMs, endLateTimeMs); in onGuidedActionClicked()
167 mDvrManager.getConflictingSchedules(customizedProgram); in onGuidedActionClicked()
DDvrGuidedStepFragment.java48 private DvrManager mDvrManager; field in DvrGuidedStepFragment
52 return mDvrManager; in getDvrManager()
59 mDvrManager = singletons.getDvrManager(); in onAttach()
DDvrSeriesDeletionFragment.java57 private DvrManager mDvrManager; field in DvrSeriesDeletionFragment
74 mDvrManager = singletons.getDvrManager(); in onAttach()
250 mDvrManager.removeRecordedPrograms(mIdsToDelete, true);
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DRecordingTask.java120 private final DvrManager mDvrManager; field in RecordingTask
149 mDvrManager = dvrManager; in RecordingTask()
343 mDvrManager.addListener(this, mHandler); in handleInit()
439 mDvrManager.removeListener(this); in release()
600 mDvrManager.removeRecordedProgram(mRecordedProgramUri, true); in removeRecordedProgram()
DInputTaskScheduler.java104 private final DvrManager mDvrManager; field in InputTaskScheduler
154 mDvrManager = dvrManager; in InputTaskScheduler()
175 mDvrManager, in InputTaskScheduler()
360 schedule, channel, mDvrManager, mSessionManager, mDataManager, mClock); in createRecordingTask()
DRecordingScheduler.java78 private final DvrManager mDvrManager; field in RecordingScheduler
150 mDvrManager = dvrManager; in RecordingScheduler()
305 mDvrManager, in scheduleRecordingSoon()
DSeriesRecordingScheduler.java89 private final DvrManager mDvrManager; field in SeriesRecordingScheduler
212 mDvrManager = tvSingletons.getDvrManager(); in SeriesRecordingScheduler()
514 mDvrManager.addScheduleToSeriesRecording(seriesRecording, programsToSchedule); in onPostExecute()
/packages/apps/TV/src/com/android/tv/guide/
DProgramItemView.java83 private final DvrManager mDvrManager; field in ProgramItemView
225 mDvrManager = singletons.getDvrManager(); in ProgramItemView()
388 if (mDvrManager.isConflicting(mTableEntry.scheduledRecording)) { in updateIcons()
434 if (mDvrManager.isConflicting(mTableEntry.scheduledRecording)) { in updateContentDescription()
DProgramTableAdapter.java84 private final DvrManager mDvrManager; field in ProgramTableAdapter
125 mDvrManager = TvSingletons.getSingletons(context).getDvrManager(); in ProgramTableAdapter()
128 mDvrManager = null; in ProgramTableAdapter()
617 if (mDvrManager != null && mDvrManager.isProgramRecordable(program)) {
623 if (mDvrManager.isConflicting(scheduledRecording)) {
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/provider/
DDvrDbSyncTest.java78 @Mock private DvrManager mDvrManager; field in DvrDbSyncTest
106 when(mDvrManager.addSeriesRecording(any(), any(), anyInt())) in setUp()
114 mDvrManager, in setUp()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DSchedulerTest.java63 @Mock DvrManager mDvrManager; field in SchedulerTest
80 mDvrManager, in setUp()
DRecordingTaskTest.java70 @Mock DvrManager mDvrManager; field in RecordingTaskTest
147 mDvrManager, in createRecordingTask()
DInputTaskSchedulerTest.java72 @Mock private DvrManager mDvrManager; field in InputTaskSchedulerTest
94 mDvrManager, in setUp()
DScheduledProgramReaperTest.java58 @Mock private DvrManager mDvrManager; field in ScheduledProgramReaperTest
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbSync.java77 private final DvrManager mDvrManager; field in DvrDbSync
188 mDvrManager = dvrManager; in DvrDbSync()
329 mDvrManager.addSeriesRecording( in handleUpdateProgram()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java301 private DvrManager mDvrManager; field in MainActivity
597 mDvrManager = tvApplication.getDvrManager(); in onCreate()
2258 if (currentChannel != null && mDvrManager != null) {
2260 mDvrManager.getCurrentRecording(currentChannel.getId()) != null;
2262 if (!mDvrManager.isChannelRecordable(currentChannel)) {
2292 mDvrManager.getCurrentRecording(
2295 mDvrManager.stopRecording(currentRecording);
DTvApplication.java111 @Inject Lazy<DvrManager> mDvrManager; field in TvApplication
258 return (CommonFeatures.DVR.isEnabled(this)) ? mDvrManager.get() : null; in getDvrManager()