OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mDvrDataManager
(Results
1 - 18
of
18
) sorted by null
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/
ScheduledProgramReaperTest.java
55
private DvrDataManagerInMemoryImpl
mDvrDataManager
;
64
mDvrDataManager
= new DvrDataManagerInMemoryImpl(getContext(), mFakeClock);
65
mReaper = new ScheduledProgramReaper(
mDvrDataManager
, mFakeClock);
75
assertTrue(
mDvrDataManager
.getAllScheduledRecordings().isEmpty());
77
assertTrue(
mDvrDataManager
.getAllScheduledRecordings().isEmpty());
84
.assertContentsInAnyOrder(
mDvrDataManager
.getAllScheduledRecordings(), recording);
87
.assertContentsInAnyOrder(
mDvrDataManager
.getAllScheduledRecordings(), recording);
94
.assertContentsInAnyOrder(
mDvrDataManager
.getAllScheduledRecordings(), recording);
98
.assertContentsInAnyOrder(
mDvrDataManager
.getAllScheduledRecordings(), recording);
105
.assertContentsInAnyOrder(
mDvrDataManager
.getAllScheduledRecordings(), recording)
[
all
...]
/packages/apps/TV/src/com/android/tv/dvr/recorder/
ScheduledProgramReaper.java
38
private final WritableDvrDataManager
mDvrDataManager
;
42
mDvrDataManager
= dvrDataManager;
51
for (ScheduledRecording r :
mDvrDataManager
.getAllScheduledRecordings()) {
61
for (ScheduledRecording r :
mDvrDataManager
.getDeletedSchedules()) {
67
mDvrDataManager
.removeScheduledRecording(ScheduledRecording.toArray(toRemove));
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
BaseDvrDataManagerTest.java
48
private DvrDataManagerInMemoryImpl
mDvrDataManager
;
55
mDvrDataManager
= new DvrDataManagerInMemoryImpl(getContext(), mFakeClock);
65
ScheduledRecording recording =
mDvrDataManager
67
List<ScheduledRecording> result =
mDvrDataManager
.getNonStartedScheduledRecordings();
73
mDvrDataManager
.addScheduledRecordingInternal(createNewScheduledRecordingStartingNow());
75
List<ScheduledRecording> result =
mDvrDataManager
.getNonStartedScheduledRecordings();
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
SeriesRecordingPresenter.java
42
private final DvrDataManager
mDvrDataManager
;
50
private DvrDataManager
mDvrDataManager
;
58
mDvrDataManager
= dvrDataManager;
97
mDvrDataManager
.removeScheduledRecordingListener(this);
138
mDvrDataManager
.addScheduledRecordingListener(this);
139
mDvrDataManager
.addRecordedProgramListener(this);
141
mDvrDataManager
.getRecordedPrograms(mSeriesRecording.getId())) {
152
mDvrDataManager
.removeScheduledRecordingListener(this);
153
mDvrDataManager
.removeRecordedProgramListener(this);
162
mDvrDataManager
.getRecordedPrograms(mSeriesRecording.getId())
[
all
...]
DvrBrowseFragment.java
80
private DvrDataManager
mDvrDataManager
;
168
mDvrDataManager
= singletons.getDvrDataManager();
181
if (!
mDvrDataManager
.isDvrScheduleLoadFinished()) {
182
mDvrDataManager
.addDvrScheduleLoadFinishedListener(this);
184
if (!
mDvrDataManager
.isRecordedProgramLoadFinished()) {
185
mDvrDataManager
.addRecordedProgramLoadFinishedListener(this);
208
mDvrDataManager
.removeRecordedProgramListener(this);
209
mDvrDataManager
.removeScheduledRecordingListener(this);
210
mDvrDataManager
.removeSeriesRecordingListener(this);
211
mDvrDataManager
.removeDvrScheduleLoadFinishedListener(this)
[
all
...]
RecordedProgramDetailsFragment.java
46
private DvrDataManager
mDvrDataManager
;
50
mDvrDataManager
= TvApplication.getSingletons(getContext()).getDvrDataManager();
51
mDvrDataManager
.addRecordedProgramListener(this);
80
mDvrDataManager
.removeRecordedProgramListener(this);
87
mRecordedProgram =
mDvrDataManager
.getRecordedProgram(recordedProgramId);
SeriesRecordingDetailsFragment.java
60
private DvrDataManager
mDvrDataManager
;
80
mDvrDataManager
= TvApplication.getSingletons(getActivity()).getDvrDataManager();
94
mDvrDataManager
.addSeriesRecordingListener(this);
95
mDvrDataManager
.addRecordedProgramListener(this);
115
List<RecordedProgram> programs =
mDvrDataManager
.getRecordedPrograms(mSeries.getId());
146
mRecordedPrograms =
mDvrDataManager
.getRecordedPrograms(mSeries.getId());
186
mDvrDataManager
.removeSeriesRecordingListener(this);
187
mDvrDataManager
.removeRecordedProgramListener(this);
189
mDvrDataManager
.checkAndRemoveEmptySeriesRecording(mSeries.getId());
/packages/apps/TV/src/com/android/tv/recommendation/
RecordedProgramPreviewUpdater.java
63
private final DvrDataManager
mDvrDataManager
;
69
mDvrDataManager
= applicationSingletons.getDvrDataManager();
70
mDvrDataManager
.addRecordedProgramListener(new DvrDataManager.RecordedProgramListener() {
108
if (!
mDvrDataManager
.isRecordedProgramLoadFinished()) {
109
mDvrDataManager
.addRecordedProgramLoadFinishedListener(
113
mDvrDataManager
.removeRecordedProgramLoadFinishedListener(this);
153
new ArrayList<>(
mDvrDataManager
.getRecordedPrograms());
/packages/apps/TV/src/com/android/tv/dvr/ui/
DvrStopRecordingFragment.java
71
private DvrDataManager
mDvrDataManager
;
112
mDvrDataManager
= TvApplication.getSingletons(context).getDvrDataManager();
113
mDvrDataManager
.addScheduledRecordingListener(mScheduledRecordingListener);
119
if (
mDvrDataManager
!= null) {
120
mDvrDataManager
.removeScheduledRecordingListener(mScheduledRecordingListener);
DvrSeriesSettingsFragment.java
62
private DvrDataManager
mDvrDataManager
;
88
mDvrDataManager
= TvApplication.getSingletons(context).getDvrDataManager();
90
mSeriesRecording =
mDvrDataManager
.getSeriesRecording(mSeriesRecordingId);
98
mDvrDataManager
.addSeriesRecordingListener(this);
148
mDvrDataManager
.removeSeriesRecordingListener(this);
155
mDvrDataManager
.checkAndRemoveEmptySeriesRecording(mSeriesRecordingId);
269
for (SeriesRecording seriesRecording :
mDvrDataManager
.getSeriesRecordings()) {
294
for (ScheduledRecording r :
mDvrDataManager
.getScheduledRecordings(mSeriesRecordingId)) {
314
mDvrDataManager
, Collections.singletonList(mSeriesRecording), recordingCandidates)
DvrSeriesDeletionFragment.java
60
private DvrDataManager
mDvrDataManager
;
74
mDvrDataManager
= TvApplication.getSingletons(context).getDvrDataManager();
77
mRecordings =
mDvrDataManager
.getRecordedPrograms(mSeriesRecordingId);
92
SeriesRecording series =
mDvrDataManager
.getSeriesRecording(mSeriesRecordingId);
/packages/apps/TV/src/com/android/tv/guide/
ProgramManager.java
63
private final DvrDataManager
mDvrDataManager
; // Only set if DVR is enabled
93
for (ScheduledRecording r :
mDvrDataManager
.getAllScheduledRecordings()) {
97
mDvrDataManager
.removeDvrScheduleLoadFinishedListener(this);
191
mDvrDataManager
= dvrDataManager;
200
if (
mDvrDataManager
!= null) {
201
if (!
mDvrDataManager
.isDvrScheduleLoadFinished()) {
202
mDvrDataManager
.addDvrScheduleLoadFinishedListener(mDvrLoadedListener);
204
mDvrDataManager
.addScheduledRecordingListener(mScheduledRecordingListener);
213
if (
mDvrDataManager
!= null) {
214
mDvrDataManager
.removeDvrScheduleLoadFinishedListener(mDvrLoadedListener)
[
all
...]
ProgramTableAdapter.java
86
private final DvrDataManager
mDvrDataManager
;
124
mDvrDataManager
= TvApplication.getSingletons(context).getDvrDataManager();
127
mDvrDataManager
= null;
574
mDvrDataManager
.getScheduledRecordingForProgramId(program.getId());
[
all
...]
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DvrSeriesSchedulesFragment.java
68
private DvrDataManager
mDvrDataManager
;
150
mDvrDataManager
= singletons.getDvrDataManager();
151
mDvrDataManager
.addSeriesRecordingListener(mSeriesRecordingListener);
189
mDvrDataManager
.removeSeriesRecordingListener(mSeriesRecordingListener);
/packages/apps/TV/src/com/android/tv/menu/
PlayControlsRowView.java
69
private final DvrDataManager
mDvrDataManager
;
130
mDvrDataManager
= TvApplication.getSingletons(context).getDvrDataManager();
133
mDvrDataManager
= null;
143
if (
mDvrDataManager
!= null) {
144
mDvrDataManager
.addScheduledRecordingListener(mScheduledRecordingListener);
145
if (!
mDvrDataManager
.isDvrScheduleLoadFinished()) {
146
mDvrDataManager
.addDvrScheduleLoadFinishedListener(
150
mDvrDataManager
.removeDvrScheduleLoadFinishedListener(this);
661
if (
mDvrDataManager
!= null) {
662
mDvrDataManager
.removeScheduledRecordingListener(mScheduledRecordingListener)
[
all
...]
ChannelsRowAdapter.java
49
private final DvrDataManager
mDvrDataManager
;
106
mDvrDataManager
= appSingletons.getDvrDataManager();
108
mDvrDataManager
= null;
241
if (
mDvrDataManager
!= null) {
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DvrPlaybackOverlayFragment.java
80
private DvrDataManager
mDvrDataManager
;
113
mDvrDataManager
= TvApplication.getSingletons(getActivity()).getDvrDataManager();
116
if (!
mDvrDataManager
.isRecordedProgramLoadFinished()) {
117
mDvrDataManager
.addRecordedProgramLoadFinishedListener(
121
mDvrDataManager
.removeRecordedProgramLoadFinishedListener(this);
272
if (
mDvrDataManager
.isRecordedProgramLoadFinished() && handleIntent(intent, false)) {
411
SeriesRecording seriesRecording =
mDvrDataManager
.getSeriesRecording(seriesId);
415
mDvrDataManager
.getRecordedPrograms(seriesRecording.getId());
456
return
mDvrDataManager
.getRecordedProgram(programId);
/packages/apps/TV/src/com/android/tv/
TvApplication.java
122
private DvrDataManager
mDvrDataManager
;
384
if (
mDvrDataManager
== null) {
386
mDvrDataManager
= dvrDataManager;
389
return
mDvrDataManager
;
Completed in 635 milliseconds