Home
last modified time | relevance | path

Searched refs:dvrManager (Results 1 – 23 of 23) sorted by relevance

/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
DProgramItemViewTest.java135 @Mock DvrManager dvrManager; field in ProgramItemViewTest
141 app.dvrManager = dvrManager; in setup()
236 Mockito.when(dvrManager.isConflicting(scheduledRecording)).thenReturn(true); in setValue_scheduledConflict()
253 Mockito.when(dvrManager.isConflicting(scheduledRecording)).thenReturn(false); in setValue_scheduled()
270 Mockito.when(dvrManager.isConflicting(scheduledRecording)).thenReturn(false); in setValue_recordingInProgress()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrStopSeriesRecordingFragment.java80 DvrManager dvrManager = singletons.getDvrManager(); in onTrackedGuidedActionClicked() local
88 dvrManager.stopRecording(r); in onTrackedGuidedActionClicked()
93 dvrManager.forceRemoveScheduledRecording(ScheduledRecording.toArray(toDelete)); in onTrackedGuidedActionClicked()
95 dvrManager.updateSeriesRecording( in onTrackedGuidedActionClicked()
DDvrUiHelper.java302 DvrManager dvrManager = TvSingletons.getSingletons(activity).getDvrManager(); in handleCreateSchedule() local
305 dvrManager.addSchedule(program); in handleCreateSchedule()
306 if (!dvrManager.getConflictingSchedules(program).isEmpty()) { in handleCreateSchedule()
313 dvrManager.getRecordedProgram( in handleCreateSchedule()
322 dvrManager.getScheduledRecording( in handleCreateSchedule()
333 SeriesRecording seriesRecording = dvrManager.getSeriesRecording(program); in handleCreateSchedule()
339 dvrManager.addSchedule(program); in handleCreateSchedule()
DDvrAlreadyRecordedFragment.java61 DvrManager dvrManager = TvSingletons.getSingletons(context).getDvrManager(); in onAttach() local
63 dvrManager.getRecordedProgram( in onAttach()
71 dvrManager.addSchedule(mProgram); in onAttach()
DDvrAlreadyScheduledFragment.java62 DvrManager dvrManager = TvSingletons.getSingletons(context).getDvrManager(); in onAttach() local
64 dvrManager.getScheduledRecording( in onAttach()
72 dvrManager.addSchedule(mProgram); in onAttach()
DDvrChannelRecordDurationOptionFragment.java93 DvrManager dvrManager = TvSingletons.getSingletons(getContext()).getDvrManager(); in onTrackedGuidedActionClicked() local
98 dvrManager.getConflictingSchedules(mChannel.getId(), startTimeMs, endTimeMs); in onTrackedGuidedActionClicked()
99 dvrManager.addSchedule(mChannel, startTimeMs, endTimeMs); in onTrackedGuidedActionClicked()
DDvrSeriesDeletionActivity.java90 DvrManager dvrManager = singletons.getDvrManager(); in deleteSelectedIds() local
91 dvrManager.removeRecordedPrograms(mIdsToDelete, deleteFiles); in deleteSelectedIds()
DDvrSeriesSettingsFragment.java219 DvrManager dvrManager = TvSingletons.getSingletons(getContext()).getDvrManager(); in onGuidedActionClicked() local
220 dvrManager.updateSeriesRecording(builder.build()); in onGuidedActionClicked()
224 dvrManager.addSchedule(mCurrentProgram); in onGuidedActionClicked()
DDvrScheduleFragment.java73 DvrManager dvrManager = TvSingletons.getSingletons(getContext()).getDvrManager(); in onCreate() local
79 SeriesRecording seriesRecording = dvrManager.getSeriesRecording(mProgram); in onCreate()
DDvrPrioritySettingsFragment.java134 DvrManager dvrManager = TvSingletons.getSingletons(getContext()).getDvrManager(); in onTrackedGuidedActionClicked() local
140 dvrManager.updateSeriesRecording( in onTrackedGuidedActionClicked()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DInputTaskScheduler.java122 DvrManager dvrManager, in InputTaskScheduler() argument
131 dvrManager, in InputTaskScheduler()
144 DvrManager dvrManager, in InputTaskScheduler() argument
154 mDvrManager = dvrManager; in InputTaskScheduler()
167 DvrManager dvrManager, in InputTaskScheduler()
425 DvrManager dvrManager, in createRecordingTask() argument
DRecordingScheduler.java141 DvrManager dvrManager, in RecordingScheduler() argument
150 mDvrManager = dvrManager; in RecordingScheduler()
DRecordingTask.java139 DvrManager dvrManager, in RecordingTask() argument
149 mDvrManager = dvrManager; in RecordingTask()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrStorageStatusManager.java108 DvrManager dvrManager = TvSingletons.getSingletons(mContext).getDvrManager(); in onPostExecute() local
117 if (CommonUtils.isBundledInput(info.getId()) && dvrManager != null) { in onPostExecute()
118 dvrManager.forgetStorage(info.getId()); in onPostExecute()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbSync.java166 @Provided DvrManager dvrManager, in DvrDbSync() argument
173 dvrManager, in DvrDbSync()
184 DvrManager dvrManager, in DvrDbSync() argument
188 mDvrManager = dvrManager; in DvrDbSync()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DRecordedProgramDetailsFragment.java156 DvrManager dvrManager = TvSingletons.getSingletons(getActivity()).getDvrManager();
157 dvrManager.removeRecordedProgram(mRecordedProgram, true);
DCurrentRecordingDetailsFragment.java163 DvrManager dvrManager = in onCreateOnActionClickedListener()
166 dvrManager.stopRecording(getRecording()); in onCreateOnActionClickedListener()
DSeriesRecordingPresenter.java54 DvrManager dvrManager, in SeriesRecordingViewHolder() argument
59 mDvrManager = dvrManager; in SeriesRecordingViewHolder()
/packages/apps/TV/src/com/android/tv/ui/
DDetailsActivity.java206 DvrManager dvrManager = TvSingletons.getSingletons(this).getDvrManager(); in delete() local
207 dvrManager.removeRecordedProgram(mRecordId, deleteFile); in delete()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DTestSingletonApp.java72 public DvrManager dvrManager; field in TestSingletonApp
139 return dvrManager; in getDvrManager()
/packages/apps/TV/src/com/android/tv/guide/
DProgramItemView.java128 DvrManager dvrManager = singletons.getDvrManager();
130 && dvrManager.isProgramRecordable(entry.program)) {
145 dvrManager.removeScheduledRecording(entry.scheduledRecording);
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRowAdapter.java145 DvrManager dvrManager = TvSingletons.getSingletons(getContext()).getDvrManager(); in stop() local
150 dvrManager.removeScheduledRecording(row.getSchedule()); in stop()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DInputTaskSchedulerTest.java103 DvrManager dvrManager, in setUp()