/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 344 Program nextProgram = mProgramManager.getProgramAt(currentProgram.getEndTimeUtcMillis()); in jumpToNext() 868 prefetchStartTimeMs = program.getEndTimeUtcMillis(); in onAvailabilityChanged() 963 createDummyPrograms(startTimeMs, firstProgram.getEndTimeUtcMillis())); in addDummyPrograms() 972 if (endTimeMs > lastProgram.getEndTimeUtcMillis()) { in addDummyPrograms() 980 createDummyPrograms(lastProgram.getEndTimeUtcMillis(), endTimeMs)); in addDummyPrograms() 986 long endOfPrevious = mPrograms.get(i - 1).getEndTimeUtcMillis(); in addDummyPrograms() 1015 while (program.getEndTimeUtcMillis() < loadedProgram.getStartTimeUtcMillis()) { in removeOverlappedPrograms() 1023 while (program.getStartTimeUtcMillis() < loadedProgram.getEndTimeUtcMillis() in removeOverlappedPrograms() 1024 && program.getEndTimeUtcMillis() > loadedProgram.getStartTimeUtcMillis()) { in removeOverlappedPrograms() 1079 } else if (program.getEndTimeUtcMillis() <= timeMs) { in getProgramAt() [all …]
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ProgramDataManager.java | 315 return program.getStartTimeUtcMillis() <= time && time <= program.getEndTimeUtcMillis(); in isProgramPlayedAt() 367 delayedTime = program.getEndTimeUtcMillis() - mClock.currentTimeMillis(); in updateCurrentProgram() 386 if (cachedProgram.getEndTimeUtcMillis() <= mPrefetchTimeRangeStartMs) { in removePreviousProgramsAndUpdateCurrentProgramInCache() 392 if (cachedProgram.getEndTimeUtcMillis() <= currentProgram in removePreviousProgramsAndUpdateCurrentProgramInCache() 409 if (currentProgram.getEndTimeUtcMillis() < cachedProgram.getEndTimeUtcMillis()) { in removePreviousProgramsAndUpdateCurrentProgramInCache() 411 i.add(createDummyProgram(currentProgram.getEndTimeUtcMillis(), in removePreviousProgramsAndUpdateCurrentProgramInCache() 412 cachedProgram.getEndTimeUtcMillis())); in removePreviousProgramsAndUpdateCurrentProgramInCache()
|
D | Program.java | 326 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in Program 842 && p1.getEndTimeUtcMillis() == p2.getEndTimeUtcMillis(); in isDuplicate()
|
D | BaseProgram.java | 124 abstract public long getEndTimeUtcMillis(); in getEndTimeUtcMillis() method in BaseProgram
|
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
D | ChannelDataManager.java | 404 if (newItem.getEndTimeUtcMillis() < currentTime) { in handleEvents() 408 long newItemEndTime = newItem.getEndTimeUtcMillis(); in handleEvents() 416 < oldItems.get(oldItemCount - 1).getEndTimeUtcMillis()) continue; in handleEvents() 432 if (newItemStartTime < oldItems.get(insertPoint - 1).getEndTimeUtcMillis() in handleEvents() 486 long endTime = unverifiedOldItems.getEndTimeUtcMillis(); in handleEvents() 489 long newItemEndTime = item.getEndTimeUtcMillis(); in handleEvents() 504 if (item.getEndTimeUtcMillis() < currentTime) { in handleEvents() 528 item.getEndTimeUtcMillis()) in buildContentProviderOperation()
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgFetcher.java | 391 if (program.getEndTimeUtcMillis() > oldStartTimeUtcMillis) { in updateEpg() 421 } else if (oldProgram.getEndTimeUtcMillis() in updateEpg() 422 < newProgram.getEndTimeUtcMillis()) { in updateEpg() 496 && oldProgram.getStartTimeUtcMillis() <= newProgram.getEndTimeUtcMillis() in isSameTitleAndOverlap() 497 && newProgram.getStartTimeUtcMillis() <= oldProgram.getEndTimeUtcMillis(); in isSameTitleAndOverlap() 539 values.put(TvContract.Programs.COLUMN_END_TIME_UTC_MILLIS, program.getEndTimeUtcMillis()); in toContentValues()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ProgramDataManagerTest.java | 134 && mClock.currentTimeMillis() <= currentProgram.getEndTimeUtcMillis()); 157 assertTrue(program.getEndTimeUtcMillis() >= prefetchTimeRangeStartMs); 208 long lastProgramEndTime = programList.get(programList.size() - 1).getEndTimeUtcMillis(); 214 lastProgramEndTime < programList.get(programList.size() - 1).getEndTimeUtcMillis()); 239 actualProgram.getEndTimeUtcMillis());
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrScheduleFragment.java | 93 DateUtils.formatDateTime(context, mProgram.getEndTimeUtcMillis(), in onCreateActions() 97 mProgram.getEndTimeUtcMillis(), true); in onCreateActions() 118 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onGuidedActionClicked()
|
D | DetailsContentPresenter.java | 239 && detailsContent.getEndTimeUtcMillis() != DetailsContent.INVALID_TIME) { in onBindViewHolder() 242 detailsContent.getEndTimeUtcMillis(), false)); in onBindViewHolder()
|
D | DvrAlreadyRecordedFragment.java | 63 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onAttach()
|
D | DetailsContent.java | 59 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in DetailsContent
|
D | DvrAlreadyScheduledFragment.java | 64 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onAttach()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | SeriesScheduleRowAdapter.java | 239 if (program.getEndTimeUtcMillis() <= currentTimeMs) { in handleUpdateRow() 262 } else if (earliest > program.getEndTimeUtcMillis()) { in getNextTimerMs() 264 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 | 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 | ChannelRecord.java | 72 if (mCurrentProgram == null || mCurrentProgram.getEndTimeUtcMillis() < time) { in getCurrentProgram()
|
/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/ |
D | DvrDbSync.java | 264 .setEndTimeMs(program.getEndTimeUtcMillis()) in handleUpdateProgram() 316 if (needUpdate || schedule.getEndTimeMs() != program.getEndTimeUtcMillis() in handleUpdateProgram()
|
D | ScheduledRecording.java | 119 .setStartTimeMs(p.getStartTimeUtcMillis()).setEndTimeMs(p.getEndTimeUtcMillis()) in builder() 152 .setEndTimeMs(p.getEndTimeUtcMillis()) in builder()
|
D | DvrManager.java | 179 new Range(program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis()), in addScheduleWithHighestPriority() 763 if (program.getStartTimeUtcMillis() < time && time < program.getEndTimeUtcMillis()) { in createScheduledRecordingBuilder()
|
D | RecordedProgram.java | 438 .setEndTimeUtcMillis(orig.getEndTimeUtcMillis()) in buildFrom() 599 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in RecordedProgram
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | PlayControlsRowView.java | 277 Utils.toTimeString(program.getEndTimeUtcMillis(), false)); in onRecordButtonClicked() 382 mProgramEndTimeMs = program.getEndTimeUtcMillis(); in initializeTimeline()
|
D | ChannelCardView.java | 146 long endTime = mProgram.getEndTimeUtcMillis();
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ChannelBannerView.java | 682 long endTimeMs = program.getEndTimeUtcMillis(); 725 long programEndTime = program.getEndTimeUtcMillis();
|