Lines Matching refs:endTimeMs

891         void onRecordTimeRangeChanged(long startTimeMs, long endTimeMs) {  in onRecordTimeRangeChanged()  argument
895 if (endTimeMs == CURRENT_TIME) { in onRecordTimeRangeChanged()
896 endTimeMs = System.currentTimeMillis(); in onRecordTimeRangeChanged()
901 endTimeMs + PREFETCH_DURATION_FOR_NEXT); in onRecordTimeRangeChanged()
903 Range<Long> period = Range.create(fetchStartTimeMs, endTimeMs); in onRecordTimeRangeChanged()
977 private boolean addDummyPrograms(long startTimeMs, long endTimeMs) { in addDummyPrograms() argument
981 mPrograms.addAll(createDummyPrograms(startTimeMs, endTimeMs)); in addDummyPrograms()
1000 if (endTimeMs > lastProgram.getEndTimeUtcMillis()) { in addDummyPrograms()
1005 createDummyPrograms(lastProgram.getStartTimeUtcMillis(), endTimeMs)); in addDummyPrograms() local
1008 createDummyPrograms(lastProgram.getEndTimeUtcMillis(), endTimeMs)); in addDummyPrograms() local
1070 private List<Program> createDummyPrograms(long startTimeMs, long endTimeMs) { in createDummyPrograms() argument
1071 if (startTimeMs >= endTimeMs) { in createDummyPrograms()
1077 while (end < endTimeMs) { in createDummyPrograms()
1087 .setEndTimeUtcMillis(endTimeMs) in createDummyPrograms()
1174 long endTimeMs = System.currentTimeMillis() + PREFETCH_DURATION_FOR_NEXT; in prefetchPrograms() local
1175 if (startTimeMs <= endTimeMs) { in prefetchPrograms()
1178 + ", endTime=" + Utils.toTimeString(endTimeMs) + "}"); in prefetchPrograms()
1180 mProgramLoadQueue.add(Range.create(startTimeMs, endTimeMs)); in prefetchPrograms()