Home
last modified time | relevance | path

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

12

/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java347 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/
DProgram.java28 && p1.getEndTimeUtcMillis() == p2.getEndTimeUtcMillis(); in isDuplicate()
35 && p1.getStartTimeUtcMillis() < p2.getEndTimeUtcMillis() in isOverlapping()
36 && p1.getEndTimeUtcMillis() > p2.getStartTimeUtcMillis(); in isOverlapping()
DBaseProgram.java84 long getEndTimeUtcMillis(); in getEndTimeUtcMillis() method
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java345 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()
DProgramImpl.java319 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/
DProgramDataManagerTest.java153 .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/
DChannelDataManager.java426 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/
DEpgFetchHelper.java116 } 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/
DSeriesScheduleRowAdapter.java254 if (program.getEndTimeUtcMillis() <= currentTimeMs) { in handleUpdateRow()
277 } else if (earliest > program.getEndTimeUtcMillis()) { in getNextTimerMs()
279 earliest = program.getEndTimeUtcMillis(); in getNextTimerMs()
DEpisodicProgramRow.java58 return mProgram.getEndTimeUtcMillis(); in getEndTimeMs()
/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java203 / (program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis()); in calculateWatchDurationScore()
244 time.setTimeInMillis(p.getEndTimeUtcMillis()); in createFromProgram()
251 p.getEndTimeUtcMillis() in createFromProgram()
DNotificationService.java383 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()
DChannelPreviewUpdater.java198 program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis(); in updatePreviewDataForChannels()
211 long programLeftTimsMs = program.getEndTimeUtcMillis() - System.currentTimeMillis(); in updatePreviewDataForChannels()
DChannelRecord.java75 if (mCurrentProgram == null || mCurrentProgram.getEndTimeUtcMillis() < time) { in getCurrentProgram()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsContent.java55 .setEndTimeUtcMillis(recordedProgram.getEndTimeUtcMillis()) in createFromRecordedProgram()
72 .setEndTimeUtcMillis(program.getEndTimeUtcMillis()) in createFromProgram()
170 public long getEndTimeUtcMillis() { in getEndTimeUtcMillis() method in DetailsContent
DDetailsContentPresenter.java302 && detailsContent.getEndTimeUtcMillis() != DetailsContent.INVALID_TIME) { in onBindViewHolder()
307 detailsContent.getEndTimeUtcMillis(), in onBindViewHolder()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbSync.java377 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/
DDvrScheduleFragment.java117 mProgram.getEndTimeUtcMillis(), in onCreateActions()
151 mProgram.getEndTimeUtcMillis()); in onTrackedGuidedActionClicked()
DDvrRecordingSettingsFragment.java159 long endTimeMs = mProgram.getEndTimeUtcMillis() + endLateTimeMs; in onGuidedActionClicked()
173 customizedProgram.getEndTimeUtcMillis()); in onGuidedActionClicked()
DDvrAlreadyRecordedFragment.java76 mProgram.getEndTimeUtcMillis()); in onAttach()
DDvrAlreadyScheduledFragment.java77 mProgram.getEndTimeUtcMillis()); in onAttach()
/packages/apps/TV/src/com/android/tv/search/
DDataManagerSearch.java263 program.getEndTimeUtcMillis())); in addResult()
275 program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis())); in addResult()
/packages/apps/TV/tests/robotests/src/com/android/tv/search/
DFakeSearchInterface.java49 program.getStartTimeUtcMillis() + " - " + program.getEndTimeUtcMillis()); in fromProgram()
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java153 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/
DEpgTestData.java200 .setEndTimeUtcMillis(p.getEndTimeUtcMillis() + time)

12