Home
last modified time | relevance | path

Searched refs:getEndTimeUtcMillis (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java344 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/
DProgramDataManager.java315 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()
DProgram.java326 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in Program
842 && p1.getEndTimeUtcMillis() == p2.getEndTimeUtcMillis(); in isDuplicate()
DBaseProgram.java124 abstract public long getEndTimeUtcMillis(); in getEndTimeUtcMillis() method in BaseProgram
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DChannelDataManager.java404 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/
DEpgFetcher.java391 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/
DProgramDataManagerTest.java134 && 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/
DDvrScheduleFragment.java93 DateUtils.formatDateTime(context, mProgram.getEndTimeUtcMillis(), in onCreateActions()
97 mProgram.getEndTimeUtcMillis(), true); in onCreateActions()
118 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onGuidedActionClicked()
DDetailsContentPresenter.java239 && detailsContent.getEndTimeUtcMillis() != DetailsContent.INVALID_TIME) { in onBindViewHolder()
242 detailsContent.getEndTimeUtcMillis(), false)); in onBindViewHolder()
DDvrAlreadyRecordedFragment.java63 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onAttach()
DDetailsContent.java59 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in DetailsContent
DDvrAlreadyScheduledFragment.java64 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onAttach()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DSeriesScheduleRowAdapter.java239 if (program.getEndTimeUtcMillis() <= currentTimeMs) { in handleUpdateRow()
262 } else if (earliest > program.getEndTimeUtcMillis()) { in getNextTimerMs()
264 earliest = program.getEndTimeUtcMillis(); in getNextTimerMs()
DEpisodicProgramRow.java58 return mProgram.getEndTimeUtcMillis(); in getEndTimeMs()
/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java193 / (program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis()); in calculateWatchDurationScore()
233 time.setTimeInMillis(p.getEndTimeUtcMillis()); in createFromProgram()
237 (int) Math.min(p.getEndTimeUtcMillis() - p.getStartTimeUtcMillis(), in createFromProgram()
DNotificationService.java372 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();
DChannelRecord.java72 if (mCurrentProgram == null || mCurrentProgram.getEndTimeUtcMillis() < time) { in getCurrentProgram()
/packages/apps/TV/src/com/android/tv/search/
DDataManagerSearch.java234 program.getEndTimeUtcMillis()); in addResult()
244 program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis()); in addResult()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrDbSync.java264 .setEndTimeMs(program.getEndTimeUtcMillis()) in handleUpdateProgram()
316 if (needUpdate || schedule.getEndTimeMs() != program.getEndTimeUtcMillis() in handleUpdateProgram()
DScheduledRecording.java119 .setStartTimeMs(p.getStartTimeUtcMillis()).setEndTimeMs(p.getEndTimeUtcMillis()) in builder()
152 .setEndTimeMs(p.getEndTimeUtcMillis()) in builder()
DDvrManager.java179 new Range(program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis()), in addScheduleWithHighestPriority()
763 if (program.getStartTimeUtcMillis() < time && time < program.getEndTimeUtcMillis()) { in createScheduledRecordingBuilder()
DRecordedProgram.java438 .setEndTimeUtcMillis(orig.getEndTimeUtcMillis()) in buildFrom()
599 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in RecordedProgram
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java277 Utils.toTimeString(program.getEndTimeUtcMillis(), false)); in onRecordButtonClicked()
382 mProgramEndTimeMs = program.getEndTimeUtcMillis(); in initializeTimeline()
DChannelCardView.java146 long endTime = mProgram.getEndTimeUtcMillis();
/packages/apps/TV/src/com/android/tv/ui/
DChannelBannerView.java682 long endTimeMs = program.getEndTimeUtcMillis();
725 long programEndTime = program.getEndTimeUtcMillis();

12