/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowPresenter.java | 78 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 …]
|
D | SeriesScheduleRowAdapter.java | 53 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/ |
D | PlayControlsRowView.java | 70 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/ |
D | SeriesRecordingPresenter.java | 38 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()
|
D | ScheduledRecordingDetailsFragment.java | 36 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())) {
|
D | ScheduledRecordingPresenter.java | 32 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/ |
D | ProgramDetailsFragment.java | 76 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()
|
D | ChannelBannerView.java | 150 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/ |
D | DvrRecordingSettingsFragment.java | 83 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()
|
D | DvrGuidedStepFragment.java | 48 private DvrManager mDvrManager; field in DvrGuidedStepFragment 52 return mDvrManager; in getDvrManager() 59 mDvrManager = singletons.getDvrManager(); in onAttach()
|
D | DvrSeriesDeletionFragment.java | 57 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/ |
D | RecordingTask.java | 120 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()
|
D | InputTaskScheduler.java | 104 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()
|
D | RecordingScheduler.java | 78 private final DvrManager mDvrManager; field in RecordingScheduler 150 mDvrManager = dvrManager; in RecordingScheduler() 305 mDvrManager, in scheduleRecordingSoon()
|
D | SeriesRecordingScheduler.java | 89 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/ |
D | ProgramItemView.java | 83 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()
|
D | ProgramTableAdapter.java | 84 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/ |
D | DvrDbSyncTest.java | 78 @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/ |
D | SchedulerTest.java | 63 @Mock DvrManager mDvrManager; field in SchedulerTest 80 mDvrManager, in setUp()
|
D | RecordingTaskTest.java | 70 @Mock DvrManager mDvrManager; field in RecordingTaskTest 147 mDvrManager, in createRecordingTask()
|
D | InputTaskSchedulerTest.java | 72 @Mock private DvrManager mDvrManager; field in InputTaskSchedulerTest 94 mDvrManager, in setUp()
|
D | ScheduledProgramReaperTest.java | 58 @Mock private DvrManager mDvrManager; field in ScheduledProgramReaperTest
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDbSync.java | 77 private final DvrManager mDvrManager; field in DvrDbSync 188 mDvrManager = dvrManager; in DvrDbSync() 329 mDvrManager.addSeriesRecording( in handleUpdateProgram()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivity.java | 301 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);
|
D | TvApplication.java | 111 @Inject Lazy<DvrManager> mDvrManager; field in TvApplication 258 return (CommonFeatures.DVR.isEnabled(this)) ? mDvrManager.get() : null; in getDvrManager()
|