/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 347 Program nextProgram = mProgramManager.getProgramAt(currentProgram.getEndTimeUtcMillis()); in jumpToNext() 909 prefetchStartTimeMs = program.getEndTimeUtcMillis(); in onAvailabilityChanged() 1009 … createPlaceholderPrograms(startTimeMs, firstProgram.getEndTimeUtcMillis())); in addPlaceholderPrograms() 1019 if (endTimeMs > lastProgram.getEndTimeUtcMillis()) { in addPlaceholderPrograms() 1027 … createPlaceholderPrograms(lastProgram.getEndTimeUtcMillis(), endTimeMs)); in addPlaceholderPrograms() 1033 long endOfPrevious = mPrograms.get(i - 1).getEndTimeUtcMillis(); in addPlaceholderPrograms() 1047 while (mPrograms.size() > 0 && mPrograms.get(0).getEndTimeUtcMillis() <= startTimeMs) { in removeOutdatedPrograms() 1068 while (program.getEndTimeUtcMillis() <= loadedProgram.getStartTimeUtcMillis()) { in removeOverlappedPrograms() 1076 while (program.getStartTimeUtcMillis() < loadedProgram.getEndTimeUtcMillis() in removeOverlappedPrograms() 1077 && program.getEndTimeUtcMillis() > loadedProgram.getStartTimeUtcMillis()) { in removeOverlappedPrograms() [all …]
|
/packages/apps/TV/src/com/android/tv/data/api/ |
D | Program.java | 28 && p1.getEndTimeUtcMillis() == p2.getEndTimeUtcMillis(); in isDuplicate() 35 && p1.getStartTimeUtcMillis() < p2.getEndTimeUtcMillis() in isOverlapping() 36 && p1.getEndTimeUtcMillis() > p2.getStartTimeUtcMillis(); in isOverlapping()
|
D | BaseProgram.java | 84 long getEndTimeUtcMillis(); in getEndTimeUtcMillis() method
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ProgramDataManager.java | 345 programs.get(selectedProgramIndex).getEndTimeUtcMillis() > marginEndTime; in isHorizontalLoadNeeded() 444 return program.getStartTimeUtcMillis() <= time && time <= program.getEndTimeUtcMillis(); in isProgramPlayedAt() 499 delayedTime = program.getEndTimeUtcMillis() - mClock.currentTimeMillis(); in updateCurrentProgram() 518 if (cachedProgram.getEndTimeUtcMillis() <= mPrefetchTimeRangeStartMs) { in removePreviousProgramsAndUpdateCurrentProgramInCache() 524 if (cachedProgram.getEndTimeUtcMillis() <= currentProgram.getStartTimeUtcMillis()) { in removePreviousProgramsAndUpdateCurrentProgramInCache() 541 if (currentProgram.getEndTimeUtcMillis() < cachedProgram.getEndTimeUtcMillis()) { in removePreviousProgramsAndUpdateCurrentProgramInCache() 545 currentProgram.getEndTimeUtcMillis(), in removePreviousProgramsAndUpdateCurrentProgramInCache() 546 cachedProgram.getEndTimeUtcMillis())); in removePreviousProgramsAndUpdateCurrentProgramInCache()
|
D | ProgramImpl.java | 319 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in ProgramImpl 576 values.put(TvContract.Programs.COLUMN_END_TIME_UTC_MILLIS, program.getEndTimeUtcMillis()); in toContentValues() 615 mEndTimeUtcMillis = other.getEndTimeUtcMillis(); in copyFrom()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/data/ |
D | ProgramDataManagerTest.java | 153 .that(currentProgram.getEndTimeUtcMillis()) in testGetPrograms() 178 assertThat(program.getEndTimeUtcMillis()).isAtLeast(prefetchTimeRangeStartMs); in testGetPrograms() 230 long lastProgramEndTime = programList.get(programList.size() - 1).getEndTimeUtcMillis(); in testContentProviderUpdate() 243 .isLessThan(programList.get(programList.size() - 1).getEndTimeUtcMillis()); in testContentProviderUpdate() 279 .that(actualProgram.getEndTimeUtcMillis()) in assertProgramEquals()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManager.java | 426 if (newItem.getEndTimeUtcMillis() < currentTime) { in handleEvents() 430 long newItemEndTime = newItem.getEndTimeUtcMillis(); in handleEvents() 437 if (newItemStartTime < oldItems.get(oldItemCount - 1).getEndTimeUtcMillis()) in handleEvents() 454 if (newItemStartTime < oldItems.get(insertPoint - 1).getEndTimeUtcMillis() in handleEvents() 516 long endTime = unverifiedOldItems.getEndTimeUtcMillis(); in handleEvents() 519 long newItemEndTime = item.getEndTimeUtcMillis(); in handleEvents() 537 if (item.getEndTimeUtcMillis() < currentTime) { in handleEvents() 571 item.getEndTimeUtcMillis()) in buildContentProviderOperation()
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgFetchHelper.java | 116 } else if (oldProgram.getEndTimeUtcMillis() < newProgram.getEndTimeUtcMillis()) { in updateEpgData() 241 && oldProgram.getStartTimeUtcMillis() <= newProgram.getEndTimeUtcMillis() in hasSameTitleAndOverlap() 242 && newProgram.getStartTimeUtcMillis() <= oldProgram.getEndTimeUtcMillis(); in hasSameTitleAndOverlap()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | SeriesScheduleRowAdapter.java | 254 if (program.getEndTimeUtcMillis() <= currentTimeMs) { in handleUpdateRow() 277 } else if (earliest > program.getEndTimeUtcMillis()) { in getNextTimerMs() 279 earliest = program.getEndTimeUtcMillis(); in getNextTimerMs()
|
D | EpisodicProgramRow.java | 58 return mProgram.getEndTimeUtcMillis(); in getEndTimeMs()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluator.java | 203 / (program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis()); in calculateWatchDurationScore() 244 time.setTimeInMillis(p.getEndTimeUtcMillis()); in createFromProgram() 251 p.getEndTimeUtcMillis() in createFromProgram()
|
D | NotificationService.java | 383 program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis(); in sendNotification() 384 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis(); in sendNotification() 431 program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis(); in sendNotification() 432 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis(); in sendNotification()
|
D | ChannelPreviewUpdater.java | 198 program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis(); in updatePreviewDataForChannels() 211 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis(); in updatePreviewDataForChannels()
|
D | ChannelRecord.java | 75 if (mCurrentProgram == null || mCurrentProgram.getEndTimeUtcMillis() < time) { in getCurrentProgram()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DetailsContent.java | 55 .setEndTimeUtcMillis(recordedProgram.getEndTimeUtcMillis()) in createFromRecordedProgram() 72 .setEndTimeUtcMillis(program.getEndTimeUtcMillis()) in createFromProgram() 170 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in DetailsContent
|
D | DetailsContentPresenter.java | 302 && detailsContent.getEndTimeUtcMillis() != DetailsContent.INVALID_TIME) { in onBindViewHolder() 307 detailsContent.getEndTimeUtcMillis(), in onBindViewHolder()
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDbSync.java | 377 if (schedule.getEndTimeMs() != program.getEndTimeUtcMillis()) { in handleUpdateProgram() 378 builder.setEndTimeMs(program.getEndTimeUtcMillis()); in handleUpdateProgram() 425 long updatedEndTime = program.getEndTimeUtcMillis() + schedule.getEndOffsetMs(); in handleUpdateProgramTime()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrScheduleFragment.java | 117 mProgram.getEndTimeUtcMillis(), in onCreateActions() 151 mProgram.getEndTimeUtcMillis()); in onTrackedGuidedActionClicked()
|
D | DvrRecordingSettingsFragment.java | 159 long endTimeMs = mProgram.getEndTimeUtcMillis() + endLateTimeMs; in onGuidedActionClicked() 173 customizedProgram.getEndTimeUtcMillis()); in onGuidedActionClicked()
|
D | DvrAlreadyRecordedFragment.java | 76 mProgram.getEndTimeUtcMillis()); in onAttach()
|
D | DvrAlreadyScheduledFragment.java | 77 mProgram.getEndTimeUtcMillis()); in onAttach()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | DataManagerSearch.java | 263 program.getEndTimeUtcMillis())); in addResult() 275 program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis())); in addResult()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/search/ |
D | FakeSearchInterface.java | 49 program.getStartTimeUtcMillis() + " - " + program.getEndTimeUtcMillis()); in fromProgram()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | RecordedProgram.java | 153 RecordedPrograms.COLUMN_END_TIME_UTC_MILLIS, recordedProgram.getEndTimeUtcMillis()); in toValues() 453 return getEndTimeUtcMillis() - getStartTimeUtcMillis() - getDurationMillis() in isClipped()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | EpgTestData.java | 200 .setEndTimeUtcMillis(p.getEndTimeUtcMillis() + time)
|