/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ |
D | DvrDataManagerImplTest.java | 45 List<ScheduledRecording> scheduledRecordings = new ArrayList<>(); in testGetNextScheduledStartTimeAfter() local 46 assertNextStartTime(scheduledRecordings, 0L, DvrDataManager.NEXT_START_TIME_NOT_FOUND); in testGetNextScheduledStartTimeAfter() 47 scheduledRecordings.add( in testGetNextScheduledStartTimeAfter() 50 assertNextStartTime(scheduledRecordings, 9L, 10L); in testGetNextScheduledStartTimeAfter() 51 assertNextStartTime(scheduledRecordings, 10L, DvrDataManager.NEXT_START_TIME_NOT_FOUND); in testGetNextScheduledStartTimeAfter() 52 scheduledRecordings.add( in testGetNextScheduledStartTimeAfter() 55 assertNextStartTime(scheduledRecordings, 9L, 10L); in testGetNextScheduledStartTimeAfter() 56 assertNextStartTime(scheduledRecordings, 10L, 20L); in testGetNextScheduledStartTimeAfter() 57 assertNextStartTime(scheduledRecordings, 20L, DvrDataManager.NEXT_START_TIME_NOT_FOUND); in testGetNextScheduledStartTimeAfter() 58 scheduledRecordings.add( in testGetNextScheduledStartTimeAfter() [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/ |
D | DvrDataManagerInMemoryImpl.java | 147 public void addScheduledRecording(ScheduledRecording... scheduledRecordings) { in addScheduledRecording() argument 148 addScheduledRecording(false, scheduledRecordings); in addScheduledRecording() 151 public void addScheduledRecording(boolean keepIds, ScheduledRecording... scheduledRecordings) { in addScheduledRecording() argument 152 for (ScheduledRecording r : scheduledRecordings) { in addScheduledRecording() 223 public void removeScheduledRecording(ScheduledRecording... scheduledRecordings) { in removeScheduledRecording() argument 224 for (ScheduledRecording r : scheduledRecordings) { in removeScheduledRecording() 227 notifyScheduledRecordingRemoved(scheduledRecordings); in removeScheduledRecording() 244 public void updateScheduledRecording(ScheduledRecording... scheduledRecordings) { in updateScheduledRecording() argument 245 for (ScheduledRecording r : scheduledRecordings) { in updateScheduledRecording() 253 notifyScheduledRecordingStatusChanged(scheduledRecordings); in updateScheduledRecording()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | BaseDvrSchedulesFragment.java | 126 public void onScheduledRecordingAdded(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingAdded() argument 128 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingAdded() 135 public void onScheduledRecordingRemoved(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingRemoved() argument 137 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingRemoved() 144 public void onScheduledRecordingStatusChanged(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingStatusChanged() argument 146 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingStatusChanged()
|
D | DvrHistoryFragment.java | 98 public void onScheduledRecordingAdded(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingAdded() argument 100 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingAdded() 110 public void onScheduledRecordingRemoved(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingRemoved() argument 112 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingRemoved() 122 public void onScheduledRecordingStatusChanged(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingStatusChanged() argument 124 for (ScheduledRecording recording : scheduledRecordings) { in onScheduledRecordingStatusChanged()
|
D | DvrSchedulesFragment.java | 51 public void onScheduledRecordingAdded(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingAdded() argument 52 super.onScheduledRecordingAdded(scheduledRecordings); in onScheduledRecordingAdded() 59 public void onScheduledRecordingRemoved(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingRemoved() argument 60 super.onScheduledRecordingRemoved(scheduledRecordings); in onScheduledRecordingRemoved()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | WritableDvrDataManager.java | 33 void addScheduledRecording(ScheduledRecording... scheduledRecordings); in addScheduledRecording() argument 39 void removeScheduledRecording(ScheduledRecording... scheduledRecordings); in removeScheduledRecording() argument 45 void removeScheduledRecording(boolean forceRemove, ScheduledRecording... scheduledRecordings); in removeScheduledRecording() argument 51 void updateScheduledRecording(ScheduledRecording... scheduledRecordings); in updateScheduledRecording() argument
|
D | DvrScheduleManager.java | 120 ScheduledRecording... scheduledRecordings) { in DvrScheduleManager() 124 for (ScheduledRecording schedule : scheduledRecordings) { in DvrScheduleManager() 146 notifyScheduledRecordingAdded(scheduledRecordings); in DvrScheduleManager() 151 ScheduledRecording... scheduledRecordings) { in DvrScheduleManager() 155 for (ScheduledRecording schedule : scheduledRecordings) { in DvrScheduleManager() 182 notifyScheduledRecordingRemoved(scheduledRecordings); in DvrScheduleManager() 187 ScheduledRecording... scheduledRecordings) { in DvrScheduleManager() 191 for (ScheduledRecording schedule : scheduledRecordings) { in DvrScheduleManager() 234 notifyScheduledRecordingStatusChanged(scheduledRecordings); in DvrScheduleManager() 355 private void notifyScheduledRecordingAdded(ScheduledRecording... scheduledRecordings) { in notifyScheduledRecordingAdded() argument [all …]
|
D | DvrDataManager.java | 181 void onScheduledRecordingAdded(ScheduledRecording... scheduledRecordings); in onScheduledRecordingAdded() argument 183 void onScheduledRecordingRemoved(ScheduledRecording... scheduledRecordings); in onScheduledRecordingRemoved() argument 190 void onScheduledRecordingStatusChanged(ScheduledRecording... scheduledRecordings); in onScheduledRecordingStatusChanged() argument
|
D | DvrDataManagerImpl.java | 578 List<ScheduledRecording> scheduledRecordings, long startTime) { in getNextStartTimeAfter() argument 580 int end = scheduledRecordings.size() - 1; in getNextStartTimeAfter() 583 if (scheduledRecordings.get(mid).getStartTimeMs() <= startTime) { in getNextStartTimeAfter() 589 return start < scheduledRecordings.size() in getNextStartTimeAfter() 590 ? scheduledRecordings.get(start).getStartTimeMs() in getNextStartTimeAfter() 1135 protected void onCancelled(List<RecordedProgram> scheduledRecordings) { in onCancelled() argument
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDbFuture.java | 140 List<ScheduledRecording> scheduledRecordings = new ArrayList<>(); in dbHelperInBackground() local 145 scheduledRecordings.add(ScheduledRecording.fromCursorWithTimeOffset(c)); in dbHelperInBackground() 152 scheduledRecordings.add(ScheduledRecording.fromCursor(c)); in dbHelperInBackground() 156 return scheduledRecordings; in dbHelperInBackground() 214 List<SeriesRecording> scheduledRecordings = new ArrayList<>(); in dbHelperInBackground() local 218 scheduledRecordings.add(SeriesRecording.fromCursor(c)); in dbHelperInBackground() 223 return scheduledRecordings; in dbHelperInBackground()
|
D | DvrDatabaseHelper.java | 369 public void insertSchedules(ScheduledRecording... scheduledRecordings) { in insertSchedules() argument 376 for (ScheduledRecording r : scheduledRecordings) { in insertSchedules() 384 for (ScheduledRecording r : scheduledRecordings) { in insertSchedules() 398 public void updateSchedules(ScheduledRecording... scheduledRecordings) { in updateSchedules() argument 405 for (ScheduledRecording r : scheduledRecordings) { in updateSchedules() 414 for (ScheduledRecording r : scheduledRecordings) { in updateSchedules() 429 public void deleteSchedules(ScheduledRecording... scheduledRecordings) { in deleteSchedules() argument 434 for (ScheduledRecording r : scheduledRecordings) { in deleteSchedules()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | ConflictChecker.java | 90 public void onScheduledRecordingAdded(ScheduledRecording... scheduledRecordings) { 95 + Arrays.toString(scheduledRecordings)); 101 public void onScheduledRecordingRemoved(ScheduledRecording... scheduledRecordings) { 106 + Arrays.toString(scheduledRecordings)); 113 ScheduledRecording... scheduledRecordings) { 118 + Arrays.toString(scheduledRecordings));
|
D | RecordingScheduler.java | 196 List<ScheduledRecording> scheduledRecordings = in updatePendingRecordings() local 202 for (ScheduledRecording r : scheduledRecordings) { in updatePendingRecordings() 209 return scheduledRecordings.size() > 0 in updatePendingRecordings()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ProgramDetailsFragment.java | 294 public void onScheduledRecordingAdded(ScheduledRecording... scheduledRecordings) { 295 for (ScheduledRecording recording : scheduledRecordings) { 305 public void onScheduledRecordingRemoved(ScheduledRecording... scheduledRecordings) { 309 for (ScheduledRecording recording : scheduledRecordings) { 319 public void onScheduledRecordingStatusChanged(ScheduledRecording... scheduledRecordings) { 323 for (ScheduledRecording recording : scheduledRecordings) { 333 public void onConflictStateChange(boolean conflict, ScheduledRecording... scheduledRecordings) { 334 onScheduledRecordingStatusChanged(scheduledRecordings);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | SeriesRecordingPresenter.java | 72 public void onScheduledRecordingAdded(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingAdded() argument 73 for (ScheduledRecording scheduledRecording : scheduledRecordings) { in onScheduledRecordingAdded() 82 public void onScheduledRecordingRemoved(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingRemoved() argument 83 for (ScheduledRecording scheduledRecording : scheduledRecordings) { in onScheduledRecordingRemoved() 131 public void onScheduledRecordingStatusChanged(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingStatusChanged() argument
|
D | FullSchedulesCardPresenter.java | 52 List<ScheduledRecording> scheduledRecordings = in onBindDvrItemViewHolder() local 57 if (!scheduledRecordings.isEmpty()) { in onBindDvrItemViewHolder() 62 scheduledRecordings, in onBindDvrItemViewHolder()
|
D | DvrBrowseFragment.java | 312 public void onScheduledRecordingAdded(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingAdded() argument 313 for (ScheduledRecording scheduleRecording : scheduledRecordings) { in onScheduledRecordingAdded() 323 public void onScheduledRecordingRemoved(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingRemoved() argument 324 for (ScheduledRecording scheduleRecording : scheduledRecordings) { in onScheduledRecordingRemoved() 333 public void onScheduledRecordingStatusChanged(ScheduledRecording... scheduledRecordings) { in onScheduledRecordingStatusChanged() argument 334 for (ScheduledRecording scheduleRecording : scheduledRecordings) { in onScheduledRecordingStatusChanged()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramManager.java | 137 public void onScheduledRecordingAdded(ScheduledRecording... scheduledRecordings) { 138 for (ScheduledRecording schedule : scheduledRecordings) { 155 public void onScheduledRecordingRemoved(ScheduledRecording... scheduledRecordings) { 156 for (ScheduledRecording schedule : scheduledRecordings) { 174 ScheduledRecording... scheduledRecordings) { 175 for (ScheduledRecording schedule : scheduledRecordings) {
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | PlayControlsRowView.java | 85 public void onScheduledRecordingAdded(ScheduledRecording... scheduledRecordings) {} 89 ScheduledRecording... scheduledRecordings) {} 93 ScheduledRecording... scheduledRecordings) { 96 for (ScheduledRecording schedule : scheduledRecordings) {
|