/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ |
DvrScheduleManagerTest.java | 47 List<ScheduledRecording> schedules = new ArrayList<>(); local 48 MoreAsserts.assertEmpty(DvrScheduleManager.getConflictingSchedules(schedules, 1)); 55 List<ScheduledRecording> schedules = new ArrayList<>(); local 57 schedules.add(RecordingTestUtils.createTestRecordingWithPriorityAndPeriod(++channelId, 59 MoreAsserts.assertEmpty(DvrScheduleManager.getConflictingSchedules(schedules, 1)); 61 schedules.add(RecordingTestUtils.createTestRecordingWithPriorityAndPeriod(++channelId, 63 MoreAsserts.assertEmpty(DvrScheduleManager.getConflictingSchedules(schedules, 2)); 65 schedules.add(RecordingTestUtils.createTestRecordingWithPriorityAndPeriod(++channelId, 67 MoreAsserts.assertEmpty(DvrScheduleManager.getConflictingSchedules(schedules, 2)); 69 schedules.add(RecordingTestUtils.createTestRecordingWithPriorityAndPeriod(++channelId 82 List<ScheduledRecording> schedules = new ArrayList<>(); local 97 List<ScheduledRecording> schedules = new ArrayList<>(); local 177 List<ScheduledRecording> schedules = new ArrayList<>(); local 203 List<ScheduledRecording> schedules = new ArrayList<>(); local 282 List<ScheduledRecording> schedules = new ArrayList<>(); local 300 List<ScheduledRecording> schedules = new ArrayList<>(); local 318 List<ScheduledRecording> schedules = new ArrayList<>(); local 349 List<ScheduledRecording> schedules = new ArrayList<>(); local 373 List<ScheduledRecording> schedules = new ArrayList<>(); local 397 List<ScheduledRecording> schedules = new ArrayList<>(); local 418 List<ScheduledRecording> schedules = new ArrayList<>(); local 430 List<ScheduledRecording> schedules = new ArrayList<>(); local 449 List<ScheduledRecording> schedules = new ArrayList<>(); local 469 List<ScheduledRecording> schedules = new ArrayList<>(); local 481 List<ScheduledRecording> schedules = new ArrayList<>(); local 494 List<ScheduledRecording> schedules = new ArrayList<>(); local 512 List<ScheduledRecording> schedules = new ArrayList<>(); local 530 List<ScheduledRecording> schedules = new ArrayList<>(); local 548 List<ScheduledRecording> schedules = new ArrayList<>(); local 571 List<ScheduledRecording> schedules = new ArrayList<>(); local 593 List<ScheduledRecording> schedules = new ArrayList<>(Arrays.asList( local [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ |
DvrScheduleManager.java | 54 * A class to manage the schedules. 142 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); 143 if (schedules == null) { 144 schedules = new ArrayList<>(); 145 mInputScheduleMap.put(inputId, schedules); 147 schedules.add(schedule); 168 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); 169 if (schedules != null) { 170 schedules.remove(schedule); 171 if (schedules.isEmpty()) 267 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); local 289 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); local 461 List<ScheduledRecording> schedules = mInputScheduleMap.get(schedule.getInputId()); local 482 List<ScheduledRecording> schedules = mInputScheduleMap.get(inputId); local 626 List<ScheduledRecording> schedules = mInputScheduleMap.get(input.getId()); local 703 List<ScheduledRecording> schedules; local 732 List<ScheduledRecording> schedules = mInputScheduleMap.get(input.getId()); local [all...] |
DvrDataManagerImpl.java | 78 * DVR Data manager to handle recordings and schedules. 239 // Adjust the state of the schedules before DB loading is finished. 575 public void addScheduledRecording(ScheduledRecording... schedules) { 576 for (ScheduledRecording r : schedules) { 586 notifyScheduledRecordingAdded(schedules); 588 new AsyncAddScheduleTask(mContext).executeOnDbThread(schedules); 589 removeDeletedSchedules(schedules); 608 public void removeScheduledRecording(ScheduledRecording... schedules) { 609 removeScheduledRecording(false, schedules); 613 public void removeScheduledRecording(boolean forceRemove, ScheduledRecording... schedules) { [all...] |
DvrManager.java | 90 // after the all the schedules are loaded. 157 * Schedules a recording for {@code program}. 170 * Schedules a recording for {@code program} with the highest priority so that the schedule 236 * Adds a new series recording and schedules for the programs with the initial state. 240 Log.i(TAG, "Adding series recording for program " + selectedProgram + ", and schedules: " 255 // The schedules for the recorded programs should be added not to create the schedule the 269 // The schedules for the recorded programs should be added not to create the schedule the 279 // Duplicate schedules can exist, but they will be deleted in a few days. And it's 280 // also guaranteed that the schedules don't belong to any series recordings because 343 // If the channel option of series changed, remove the existing schedules. The ne 348 List<ScheduledRecording> schedules = local 717 List<ScheduledRecording> schedules = new ArrayList<>(); local [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
CurrentRecordingDetailsFragment.java | 44 public void onScheduledRecordingAdded(ScheduledRecording... schedules) { } 47 public void onScheduledRecordingRemoved(ScheduledRecording... schedules) { 48 for (ScheduledRecording schedule : schedules) { 57 public void onScheduledRecordingStatusChanged(ScheduledRecording... schedules) { 58 for (ScheduledRecording schedule : schedules) {
|
DvrBrowseFragment.java | 146 public void onConflictStateChange(boolean conflict, ScheduledRecording... schedules) { 148 for (ScheduledRecording schedule : schedules) { 288 private void onScheduledRecordingConflictStatusChanged(ScheduledRecording... schedules) { 289 for (ScheduledRecording schedule : schedules) { 371 List<ScheduledRecording> schedules = mDvrDataManager.getAllScheduledRecordings(); local 372 onScheduledRecordingAdded(ScheduledRecording.toArray(schedules));
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
RecordingScheduler.java | 62 * <li>Resolving conflicting schedules, handling overlapping recording time durations, etc.</li> 209 public void onScheduledRecordingAdded(ScheduledRecording... schedules) { 210 if (DEBUG) Log.d(TAG, "added " + Arrays.asList(schedules)); 214 handleScheduleChange(schedules); 218 public void onScheduledRecordingRemoved(ScheduledRecording... schedules) { 219 if (DEBUG) Log.d(TAG, "removed " + Arrays.asList(schedules)); 224 for (ScheduledRecording schedule : schedules) { 237 public void onScheduledRecordingStatusChanged(ScheduledRecording... schedules) { 238 if (DEBUG) Log.d(TAG, "state changed " + Arrays.asList(schedules)); 243 for (ScheduledRecording schedule : schedules) { [all...] |
SeriesRecordingScheduler.java | 155 public void onScheduledRecordingAdded(ScheduledRecording... schedules) { 160 public void onScheduledRecordingRemoved(ScheduledRecording... schedules) { 161 handleScheduledRecordingChange(Arrays.asList(schedules)); 165 public void onScheduledRecordingStatusChanged(ScheduledRecording... schedules) { 167 for (ScheduledRecording r : schedules) { 181 private void handleScheduledRecordingChange(List<ScheduledRecording> schedules) { 182 if (schedules.isEmpty()) { 186 for (ScheduledRecording r : schedules) { 318 * Update schedules for the given series recordings. If it's paused, the update will be done 392 * of them are added even though they are the same episodes. That's because the schedules [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
DvrStopRecordingFragment.java | 77 public void onScheduledRecordingAdded(ScheduledRecording... schedules) { } 80 public void onScheduledRecordingRemoved(ScheduledRecording... schedules) { 81 for (ScheduledRecording schedule : schedules) { 90 public void onScheduledRecordingStatusChanged(ScheduledRecording... schedules) { 91 for (ScheduledRecording schedule : schedules) {
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
DvrDbSync.java | 114 public void onScheduledRecordingAdded(ScheduledRecording... schedules) { 115 for (ScheduledRecording schedule : schedules) { 122 public void onScheduledRecordingRemoved(ScheduledRecording... schedules) { 123 for (ScheduledRecording schedule : schedules) { 129 public void onScheduledRecordingStatusChanged(ScheduledRecording... schedules) { 130 for (ScheduledRecording schedule : schedules) { 233 // There are schedules to be updated. Pause the SeriesRecordingScheduler until all the
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
BaseDvrSchedulesFragment.java | 133 * Gets the first focus position in schedules list. 172 public void onConflictStateChange(boolean conflict, ScheduledRecording... schedules) { 174 for (ScheduledRecording recording : schedules) {
|
/prebuilts/go/darwin-x86/src/time/ |
internal_test.go | 54 // but there is no reliable way to guarantee that timerproc schedules without
|
/prebuilts/go/linux-x86/src/time/ |
internal_test.go | 54 // but there is no reliable way to guarantee that timerproc schedules without
|
/prebuilts/go/darwin-x86/src/net/textproto/ |
pipeline.go | 68 // A sequencer schedules a sequence of numbered events that must
|
/prebuilts/go/linux-x86/src/net/textproto/ |
pipeline.go | 68 // A sequencer schedules a sequence of numbered events that must
|
/packages/apps/TV/src/com/android/tv/guide/ |
ProgramManager.java | 174 ScheduledRecording... schedules) { 175 for (ScheduledRecording schedule : schedules) {
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
ScheduledRecording.java | 34 import com.android.tv.dvr.provider.DvrContract.Schedules; 340 Schedules._ID, 341 Schedules.COLUMN_PRIORITY, 342 Schedules.COLUMN_TYPE, 343 Schedules.COLUMN_INPUT_ID, 344 Schedules.COLUMN_CHANNEL_ID, 345 Schedules.COLUMN_PROGRAM_ID, 346 Schedules.COLUMN_PROGRAM_TITLE, 347 Schedules.COLUMN_START_TIME_UTC_MILLIS, 348 Schedules.COLUMN_END_TIME_UTC_MILLIS [all...] |
/prebuilts/go/darwin-x86/src/cmd/dist/ |
util.go | 377 // xatexit schedules the exit-handler f to be run when the program exits.
|
/prebuilts/go/darwin-x86/src/runtime/ |
select.go | 181 // the G that calls select runnable again and schedules it for execution.
|
runtime2.go | 498 // communicate-and-wait pattern, this schedules that set as a
|
/prebuilts/go/linux-x86/src/cmd/dist/ |
util.go | 377 // xatexit schedules the exit-handler f to be run when the program exits.
|
/prebuilts/go/linux-x86/src/runtime/ |
select.go | 181 // the G that calls select runnable again and schedules it for execution.
|
runtime2.go | 498 // communicate-and-wait pattern, this schedules that set as a
|
/prebuilts/go/darwin-x86/src/net/http/ |
h2_bundle.go | [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
h2_bundle.go | [all...] |