HomeSort by relevance Sort by last modified time
    Searched defs:scheduledRecordings (Results 1 - 4 of 4) sorted by null

  /packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DvrDataManagerImplTest.java 37 List<ScheduledRecording> scheduledRecordings = new ArrayList<>();
38 assertNextStartTime(scheduledRecordings, 0L, DvrDataManager.NEXT_START_TIME_NOT_FOUND);
39 scheduledRecordings.add(RecordingTestUtils
41 assertNextStartTime(scheduledRecordings, 9L, 10L);
42 assertNextStartTime(scheduledRecordings, 10L, DvrDataManager.NEXT_START_TIME_NOT_FOUND);
43 scheduledRecordings.add(RecordingTestUtils
45 assertNextStartTime(scheduledRecordings, 9L, 10L);
46 assertNextStartTime(scheduledRecordings, 10L, 20L);
47 assertNextStartTime(scheduledRecordings, 20L, DvrDataManager.NEXT_START_TIME_NOT_FOUND);
48 scheduledRecordings.add(RecordingTestUtil
    [all...]
  /packages/apps/TV/src/com/android/tv/dvr/provider/
AsyncDvrDbTask.java 150 List<ScheduledRecording> scheduledRecordings = new ArrayList<>();
153 scheduledRecordings.add(ScheduledRecording.fromCursor(c));
156 return scheduledRecordings;
  /packages/apps/TV/src/com/android/tv/dvr/
Scheduler.java 99 List<ScheduledRecording> scheduledRecordings = mDataManager.getRecordingsThatOverlapWith(
103 for (ScheduledRecording r : scheduledRecordings) {
DvrDataManagerImpl.java 123 protected void onCancelled(List<ScheduledRecording> scheduledRecordings) {
206 static long getNextStartTimeAfter(List<ScheduledRecording> scheduledRecordings, long startTime) {
208 int end = scheduledRecordings.size() - 1;
211 if (scheduledRecordings.get(mid).getStartTimeMs() <= startTime) {
217 return start < scheduledRecordings.size() ? scheduledRecordings.get(start).getStartTimeMs()
260 protected void onPostExecute(List<ScheduledRecording> scheduledRecordings) {
261 super.onPostExecute(scheduledRecordings);
262 SoftPreconditions.checkArgument(scheduledRecordings.size() == 1);
263 for (ScheduledRecording r : scheduledRecordings) {
    [all...]

Completed in 1096 milliseconds