/packages/apps/TV/src/com/android/tv/dvr/ |
D | BaseDvrDataManager.java | 187 protected final void notifyScheduledRecordingAdded(ScheduledRecording... scheduledRecording) { in notifyScheduledRecordingAdded() argument 189 if (DEBUG) Log.d(TAG, "notify " + l + " added " + Arrays.asList(scheduledRecording)); in notifyScheduledRecordingAdded() 190 l.onScheduledRecordingAdded(scheduledRecording); in notifyScheduledRecordingAdded() 195 protected final void notifyScheduledRecordingRemoved(ScheduledRecording... scheduledRecording) { in notifyScheduledRecordingRemoved() argument 197 if (DEBUG) Log.d(TAG, "notify " + l + " removed " + Arrays.asList(scheduledRecording)); in notifyScheduledRecordingRemoved() 198 l.onScheduledRecordingRemoved(scheduledRecording); in notifyScheduledRecordingRemoved() 206 ScheduledRecording... scheduledRecording) { in notifyScheduledRecordingStatusChanged() argument 208 if (DEBUG) Log.d(TAG, "notify " + l + " changed " + Arrays.asList(scheduledRecording)); in notifyScheduledRecordingStatusChanged() 209 l.onScheduledRecordingStatusChanged(scheduledRecording); in notifyScheduledRecordingStatusChanged() 253 public void changeState(ScheduledRecording scheduledRecording, @RecordingState int newState) { in changeState() argument [all …]
|
D | WritableDvrDataManager.java | 57 void changeState(ScheduledRecording scheduledRecording, @RecordingState int newState); in changeState() argument 65 ScheduledRecording scheduledRecording, @RecordingState int newState, int reason); in changeState() argument
|
D | DvrScheduleManager.java | 555 for (ScheduledRecording scheduledRecording : scheduledRecordingForSeries) { in getConflictingSchedules() 556 if (scheduledRecording.isNotStarted() || scheduledRecording.isInProgress()) { in getConflictingSchedules() 557 availableScheduledRecordingForSeries.add(scheduledRecording); in getConflictingSchedules()
|
D | DvrManager.java | 897 void onStopRecordingRequested(ScheduledRecording scheduledRecording); in onStopRecordingRequested() argument
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DetailsContent.java | 97 Context context, ScheduledRecording scheduledRecording) { in createFromScheduledRecording() argument 101 .getChannel(scheduledRecording.getChannelId()); in createFromScheduledRecording() 103 if (scheduledRecording.getState() == ScheduledRecording.STATE_RECORDING_FAILED) { in createFromScheduledRecording() 104 description = getErrorMessage(context, scheduledRecording); in createFromScheduledRecording() 107 !TextUtils.isEmpty(scheduledRecording.getProgramDescription()) in createFromScheduledRecording() 108 ? scheduledRecording.getProgramDescription() in createFromScheduledRecording() 109 : scheduledRecording.getProgramLongDescription(); in createFromScheduledRecording() 115 .setChannelId(scheduledRecording.getChannelId()) in createFromScheduledRecording() 116 .setProgramTitle(scheduledRecording.getProgramTitle()) in createFromScheduledRecording() 117 .setSeasonNumber(scheduledRecording.getSeasonNumber()) in createFromScheduledRecording() [all …]
|
D | SeriesRecordingPresenter.java | 73 for (ScheduledRecording scheduledRecording : scheduledRecordings) { in onScheduledRecordingAdded() 74 if (scheduledRecording.getSeriesRecordingId() == mSeriesRecording.getId()) { in onScheduledRecordingAdded() 83 for (ScheduledRecording scheduledRecording : scheduledRecordings) { in onScheduledRecordingRemoved() 84 if (scheduledRecording.getSeriesRecordingId() == mSeriesRecording.getId()) { in onScheduledRecordingRemoved()
|
D | DvrBrowseFragment.java | 440 for (ScheduledRecording scheduledRecording : in startBrowseIfDvrInitialized() 442 onScheduledRecordingAdded(scheduledRecording); in startBrowseIfDvrInitialized()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/ |
D | DvrDataManagerInMemoryImpl.java | 171 public void removeRecordedProgram(RecordedProgram scheduledRecording) { in removeRecordedProgram() argument 172 mRecordedPrograms.remove(scheduledRecording.getId()); in removeRecordedProgram() 173 notifyRecordedProgramsRemoved(scheduledRecording); in removeRecordedProgram() 176 public ScheduledRecording addScheduledRecordingInternal(ScheduledRecording scheduledRecording) { in addScheduledRecordingInternal() argument 177 return addScheduledRecordingInternal(scheduledRecording, false); in addScheduledRecordingInternal() 181 ScheduledRecording scheduledRecording, boolean keepId) { in addScheduledRecordingInternal() argument 184 scheduledRecording.getId() == ScheduledRecording.ID_NOT_SET, in addScheduledRecordingInternal() 189 + scheduledRecording); in addScheduledRecordingInternal() local 190 scheduledRecording = in addScheduledRecordingInternal() 191 ScheduledRecording.buildFrom(scheduledRecording) in addScheduledRecordingInternal() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/ |
D | ProgramItemViewTest.java | 233 ScheduledRecording scheduledRecording = in setValue_scheduledConflict() local 235 TableEntry tableEntry = create30MinuteTableEntryFor(program, scheduledRecording, false); in setValue_scheduledConflict() 236 Mockito.when(dvrManager.isConflicting(scheduledRecording)).thenReturn(true); in setValue_scheduledConflict() 248 ScheduledRecording scheduledRecording = in setValue_scheduled() local 252 TableEntry tableEntry = create30MinuteTableEntryFor(program, scheduledRecording, false); in setValue_scheduled() 253 Mockito.when(dvrManager.isConflicting(scheduledRecording)).thenReturn(false); in setValue_scheduled() 265 ScheduledRecording scheduledRecording = in setValue_recordingInProgress() local 269 TableEntry tableEntry = create30MinuteTableEntryFor(program, scheduledRecording, false); in setValue_recordingInProgress() 270 Mockito.when(dvrManager.isConflicting(scheduledRecording)).thenReturn(false); in setValue_recordingInProgress() 280 ProgramImpl program, ScheduledRecording scheduledRecording, boolean isBlocked) { in create30MinuteTableEntryFor() argument [all …]
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramManager.java | 517 lastEntry.scheduledRecording, in updateTableEntriesWithoutNotification() 562 private TableEntry getTableEntry(ScheduledRecording scheduledRecording) { in getTableEntry() argument 563 return getTableEntry(scheduledRecording.getChannelId(), scheduledRecording.getProgramId()); in getTableEntry() 628 ScheduledRecording scheduledRecording = in createProgramEntries() local 637 scheduledRecording, in createProgramEntries() 657 secondEntry.scheduledRecording, in createProgramEntries() 708 final ScheduledRecording scheduledRecording; field in ProgramManager.TableEntry 739 ScheduledRecording scheduledRecording, in TableEntry() argument 745 this.scheduledRecording = scheduledRecording; in TableEntry() 804 ScheduledRecording scheduledRecording, in createTableEntryForTest() argument [all …]
|
D | ProgramItemView.java | 131 if (entry.scheduledRecording == null) { 145 dvrManager.removeScheduledRecording(entry.scheduledRecording); 387 if (isEntryWideEnough() && mTableEntry.scheduledRecording != null) { in updateIcons() 388 if (mDvrManager.isConflicting(mTableEntry.scheduledRecording)) { in updateIcons() 391 switch (mTableEntry.scheduledRecording.getState()) { in updateIcons() 433 if (mTableEntry.scheduledRecording != null) { in updateContentDescription() 434 if (mDvrManager.isConflicting(mTableEntry.scheduledRecording)) { in updateContentDescription() 438 switch (mTableEntry.scheduledRecording.getState()) { in updateContentDescription()
|
D | ProgramTableAdapter.java | 618 ScheduledRecording scheduledRecording = 622 if (scheduledRecording != null) { 623 if (mDvrManager.isConflicting(scheduledRecording)) { 627 switch (scheduledRecording.getState()) {
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | DvrHistoryRowAdapter.java | 138 ScheduledRecording scheduledRecording = in recordedProgramsToScheduledRecordings() local 140 if (scheduledRecording != null) { in recordedProgramsToScheduledRecordings() 141 result.add(scheduledRecording); in recordedProgramsToScheduledRecordings() 157 ScheduledRecording scheduledRecording = ScheduledRecording.builder(program).build(); in recordedProgramsToScheduledRecordings() local 158 mRecordedProgramScheduleMap.put(program.getId(), scheduledRecording); in recordedProgramsToScheduledRecordings() local 159 return scheduledRecording; in recordedProgramsToScheduledRecordings() 204 ScheduledRecording scheduledRecording = mRecordedProgramScheduleMap.get(program.getId()); in onScheduledRecordingRemoved() local 205 if (scheduledRecording != null) { in onScheduledRecordingRemoved()
|
D | ScheduleRowPresenter.java | 462 private boolean isFailedRecording(ScheduledRecording scheduledRecording) { in isFailedRecording() argument 463 return scheduledRecording != null in isFailedRecording() 464 && scheduledRecording.getState() == ScheduledRecording.STATE_RECORDING_FAILED; in isFailedRecording()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | RecordingTask.java | 137 ScheduledRecording scheduledRecording, in RecordingTask() argument 144 mScheduledRecording = scheduledRecording; in RecordingTask() 274 ScheduledRecording scheduledRecording = in onError() 277 if (scheduledRecording != null) { in onError() 283 scheduledRecording in onError()
|
D | InputTaskScheduler.java | 79 Looper looper, ScheduledRecording scheduledRecording, RecordingTask recordingTask) { in HandlerWrapper() argument 81 mId = scheduledRecording.getId(); in HandlerWrapper() 423 ScheduledRecording scheduledRecording, in createRecordingTask() argument
|
D | RecordingScheduler.java | 335 boolean startsWithin(ScheduledRecording scheduledRecording, long durationInMs) { in startsWithin() argument 336 return mClock.currentTimeMillis() >= scheduledRecording.getStartTimeMs() - durationInMs; in startsWithin()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | InputTaskSchedulerTest.java | 101 ScheduledRecording scheduledRecording, in setUp() 109 .thenReturn(scheduledRecording.getPriority()); in setUp() 111 .thenReturn(scheduledRecording.getEndTimeMs()); in setUp()
|