/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 343 Program nextProgram = mProgramManager.getProgramAt(currentProgram.getEndTimeUtcMillis()); in jumpToNext() 876 prefetchStartTimeMs = program.getEndTimeUtcMillis(); in onAvailabilityChanged() 973 createDummyPrograms(startTimeMs, firstProgram.getEndTimeUtcMillis())); in addDummyPrograms() 982 if (endTimeMs > lastProgram.getEndTimeUtcMillis()) { in addDummyPrograms() 990 createDummyPrograms(lastProgram.getEndTimeUtcMillis(), endTimeMs)); in addDummyPrograms() 996 long endOfPrevious = mPrograms.get(i - 1).getEndTimeUtcMillis(); in addDummyPrograms() 1010 while (mPrograms.size() > 0 && mPrograms.get(0).getEndTimeUtcMillis() <= startTimeMs) { in removeOutdatedPrograms() 1031 while (program.getEndTimeUtcMillis() <= loadedProgram.getStartTimeUtcMillis()) { in removeOverlappedPrograms() 1039 while (program.getStartTimeUtcMillis() < loadedProgram.getEndTimeUtcMillis() in removeOverlappedPrograms() 1040 && program.getEndTimeUtcMillis() > loadedProgram.getStartTimeUtcMillis()) { in removeOverlappedPrograms() [all …]
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ProgramDataManager.java | 317 return program.getStartTimeUtcMillis() <= time && time <= program.getEndTimeUtcMillis(); in isProgramPlayedAt() 369 delayedTime = program.getEndTimeUtcMillis() - mClock.currentTimeMillis(); in updateCurrentProgram() 388 if (cachedProgram.getEndTimeUtcMillis() <= mPrefetchTimeRangeStartMs) { in removePreviousProgramsAndUpdateCurrentProgramInCache() 394 if (cachedProgram.getEndTimeUtcMillis() <= currentProgram in removePreviousProgramsAndUpdateCurrentProgramInCache() 411 if (currentProgram.getEndTimeUtcMillis() < cachedProgram.getEndTimeUtcMillis()) { in removePreviousProgramsAndUpdateCurrentProgramInCache() 413 i.add(createDummyProgram(currentProgram.getEndTimeUtcMillis(), in removePreviousProgramsAndUpdateCurrentProgramInCache() 414 cachedProgram.getEndTimeUtcMillis())); in removePreviousProgramsAndUpdateCurrentProgramInCache()
|
D | Program.java | 291 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in Program 500 values.put(TvContract.Programs.COLUMN_END_TIME_UTC_MILLIS, program.getEndTimeUtcMillis()); in toContentValues() 866 && p1.getEndTimeUtcMillis() == p2.getEndTimeUtcMillis(); in isDuplicate()
|
D | BaseProgram.java | 144 abstract public long getEndTimeUtcMillis(); in getEndTimeUtcMillis() method in BaseProgram
|
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
D | ChannelDataManager.java | 409 if (newItem.getEndTimeUtcMillis() < currentTime) { in handleEvents() 413 long newItemEndTime = newItem.getEndTimeUtcMillis(); in handleEvents() 421 < oldItems.get(oldItemCount - 1).getEndTimeUtcMillis()) continue; in handleEvents() 437 if (newItemStartTime < oldItems.get(insertPoint - 1).getEndTimeUtcMillis() in handleEvents() 491 long endTime = unverifiedOldItems.getEndTimeUtcMillis(); in handleEvents() 494 long newItemEndTime = item.getEndTimeUtcMillis(); in handleEvents() 509 if (item.getEndTimeUtcMillis() < currentTime) { in handleEvents() 537 item.getEndTimeUtcMillis()) in buildContentProviderOperation()
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgFetchHelper.java | 104 } else if (oldProgram.getEndTimeUtcMillis() < newProgram.getEndTimeUtcMillis()) { in updateEpgData() 179 && oldProgram.getStartTimeUtcMillis() <= newProgram.getEndTimeUtcMillis() in hasSameTitleAndOverlap() 180 && newProgram.getStartTimeUtcMillis() <= oldProgram.getEndTimeUtcMillis(); in hasSameTitleAndOverlap()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ProgramDataManagerTest.java | 143 && mClock.currentTimeMillis() <= currentProgram.getEndTimeUtcMillis()); 166 assertTrue(program.getEndTimeUtcMillis() >= prefetchTimeRangeStartMs); 219 long lastProgramEndTime = programList.get(programList.size() - 1).getEndTimeUtcMillis(); 225 lastProgramEndTime < programList.get(programList.size() - 1).getEndTimeUtcMillis()); 251 actualProgram.getEndTimeUtcMillis());
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrScheduleFragment.java | 100 DateUtils.formatDateTime(context, mProgram.getEndTimeUtcMillis(), in onCreateActions() 104 mProgram.getEndTimeUtcMillis(), true); in onCreateActions() 125 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onTrackedGuidedActionClicked()
|
D | DvrAlreadyRecordedFragment.java | 60 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onAttach()
|
D | DvrAlreadyScheduledFragment.java | 61 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onAttach()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluator.java | 193 / (program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis()); in calculateWatchDurationScore() 233 time.setTimeInMillis(p.getEndTimeUtcMillis()); in createFromProgram() 237 (int) Math.min(p.getEndTimeUtcMillis() - p.getStartTimeUtcMillis(), in createFromProgram()
|
D | NotificationService.java | 372 final long programDurationMs = program.getEndTimeUtcMillis() in sendNotification() 374 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis(); in sendNotification() 422 final long programDurationMs = program.getEndTimeUtcMillis() - program 424 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis();
|
D | ChannelPreviewUpdater.java | 196 program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis(); in updatePreviewDataForChannels() 209 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis(); in updatePreviewDataForChannels()
|
D | ChannelRecord.java | 72 if (mCurrentProgram == null || mCurrentProgram.getEndTimeUtcMillis() < time) { in getCurrentProgram()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | SeriesScheduleRowAdapter.java | 245 if (program.getEndTimeUtcMillis() <= currentTimeMs) { in handleUpdateRow() 268 } else if (earliest > program.getEndTimeUtcMillis()) { in getNextTimerMs() 270 earliest = program.getEndTimeUtcMillis(); in getNextTimerMs()
|
D | EpisodicProgramRow.java | 59 return mProgram.getEndTimeUtcMillis(); in getEndTimeMs()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DetailsContent.java | 55 .setEndTimeUtcMillis(recordedProgram.getEndTimeUtcMillis()) in createFromRecordedProgram() 117 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in DetailsContent
|
D | DetailsContentPresenter.java | 274 && detailsContent.getEndTimeUtcMillis() != DetailsContent.INVALID_TIME) { in onBindViewHolder() 277 detailsContent.getEndTimeUtcMillis(), false)); in onBindViewHolder()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | DataManagerSearch.java | 234 program.getEndTimeUtcMillis()); in addResult() 244 program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis()); in addResult()
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDbSync.java | 274 .setEndTimeMs(program.getEndTimeUtcMillis()) in handleUpdateProgram() 326 if (needUpdate || schedule.getEndTimeMs() != program.getEndTimeUtcMillis() in handleUpdateProgram()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | ScheduledRecording.java | 119 .setStartTimeMs(p.getStartTimeUtcMillis()).setEndTimeMs(p.getEndTimeUtcMillis()) in builder() 151 .setEndTimeMs(p.getEndTimeUtcMillis()) in builder()
|
D | RecordedProgram.java | 443 .setEndTimeUtcMillis(orig.getEndTimeUtcMillis()) in buildFrom() 607 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in RecordedProgram
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrManager.java | 181 new Range(program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis()), in addScheduleWithHighestPriority() 775 if (program.getStartTimeUtcMillis() < time && time < program.getEndTimeUtcMillis()) { in createScheduledRecordingBuilder()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ChannelBannerView.java | 648 long endTimeMs = program.getEndTimeUtcMillis(); 691 long programEndTime = program.getEndTimeUtcMillis();
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelCardView.java | 126 long endTime = mProgram.getEndTimeUtcMillis(); in updateProgram()
|