Searched refs:endTimeMs (Results 1 – 5 of 5) sorted by relevance
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 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 [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ProgramDataManagerTest.java | 286 long endTimeMs = startTimeMs + (ProgramDataManager.PROGRAM_GUIDE_MAX_TIME_RANGE / 2); 292 while (programStartTimeMs < endTimeMs) { 313 long endTimeMs = Long.parseLong(uri.getQueryParameter(PARAM_END_TIME)); 314 if (startTimeMs == 0 || endTimeMs == 0) { 324 return new FakeCursor(projection, channelId, startTimeMs, endTimeMs); 334 long endTimeMs = 342 while (last.startTimeMs < endTimeMs) { 392 public FakeCursor(String[] columns, long channelId, long startTimeMs, long endTimeMs) { 398 mEndTimeMs = endTimeMs; 410 + ", endTimeMs=" + endTimeMs + ") has mCount=" + mCount);
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgFetcher.java | 196 long endTimeMs = startTimeMs + PROGRAM_QUERY_DURATION; in updateEpg() local 198 startTimeMs, endTimeMs); in updateEpg() 287 long startTimeMs, long endTimeMs) { 289 TvContract.buildProgramsUriForChannel(channelId, startTimeMs, endTimeMs),
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | ProgramUtils.java | 90 Context context, Uri channelUri, long startTimeMs, long endTimeMs) { in getLastProgramEndTimeMs() argument 91 Uri uri = TvContract.buildProgramsUriForChannel(channelUri, startTimeMs, endTimeMs); in getLastProgramEndTimeMs()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ProgramDataManager.java | 748 private Program createDummyProgram(long startTimeMs, long endTimeMs) { in createDummyProgram() argument 752 .setEndTimeUtcMillis(endTimeMs).build(); in createDummyProgram()
|