Home
last modified time | relevance | path

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

12

/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java343 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/
DProgramDataManager.java317 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()
DProgram.java291 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()
DBaseProgram.java144 abstract public long getEndTimeUtcMillis(); in getEndTimeUtcMillis() method in BaseProgram
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DChannelDataManager.java409 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/
DEpgFetchHelper.java104 } 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/
DProgramDataManagerTest.java143 && 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/
DDvrScheduleFragment.java100 DateUtils.formatDateTime(context, mProgram.getEndTimeUtcMillis(), in onCreateActions()
104 mProgram.getEndTimeUtcMillis(), true); in onCreateActions()
125 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onTrackedGuidedActionClicked()
DDvrAlreadyRecordedFragment.java60 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onAttach()
DDvrAlreadyScheduledFragment.java61 mProgram.getStartTimeUtcMillis(), mProgram.getEndTimeUtcMillis()); in onAttach()
/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();
DChannelPreviewUpdater.java196 program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis(); in updatePreviewDataForChannels()
209 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis(); in updatePreviewDataForChannels()
DChannelRecord.java72 if (mCurrentProgram == null || mCurrentProgram.getEndTimeUtcMillis() < time) { in getCurrentProgram()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DSeriesScheduleRowAdapter.java245 if (program.getEndTimeUtcMillis() <= currentTimeMs) { in handleUpdateRow()
268 } else if (earliest > program.getEndTimeUtcMillis()) { in getNextTimerMs()
270 earliest = program.getEndTimeUtcMillis(); in getNextTimerMs()
DEpisodicProgramRow.java59 return mProgram.getEndTimeUtcMillis(); in getEndTimeMs()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsContent.java55 .setEndTimeUtcMillis(recordedProgram.getEndTimeUtcMillis()) in createFromRecordedProgram()
117 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in DetailsContent
DDetailsContentPresenter.java274 && detailsContent.getEndTimeUtcMillis() != DetailsContent.INVALID_TIME) { in onBindViewHolder()
277 detailsContent.getEndTimeUtcMillis(), false)); in onBindViewHolder()
/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/provider/
DDvrDbSync.java274 .setEndTimeMs(program.getEndTimeUtcMillis()) in handleUpdateProgram()
326 if (needUpdate || schedule.getEndTimeMs() != program.getEndTimeUtcMillis() in handleUpdateProgram()
/packages/apps/TV/src/com/android/tv/dvr/data/
DScheduledRecording.java119 .setStartTimeMs(p.getStartTimeUtcMillis()).setEndTimeMs(p.getEndTimeUtcMillis()) in builder()
151 .setEndTimeMs(p.getEndTimeUtcMillis()) in builder()
DRecordedProgram.java443 .setEndTimeUtcMillis(orig.getEndTimeUtcMillis()) in buildFrom()
607 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in RecordedProgram
/packages/apps/TV/src/com/android/tv/dvr/
DDvrManager.java181 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/
DChannelBannerView.java648 long endTimeMs = program.getEndTimeUtcMillis();
691 long programEndTime = program.getEndTimeUtcMillis();
/packages/apps/TV/src/com/android/tv/menu/
DChannelCardView.java126 long endTime = mProgram.getEndTimeUtcMillis(); in updateProgram()

12