Home
last modified time | relevance | path

Searched refs:getStartTimeUtcMillis (Results 1 – 20 of 20) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java60 long startTimeDiffMsWithCurrentProgram = currentProgram.getStartTimeUtcMillis() in evaluateChannel()
61 - watchedProgram.getStartTimeUtcMillis(); in evaluateChannel()
69 if (watchedProgram.getStartTimeUtcMillis() in evaluateChannel()
70 == watchHistory[i].getProgram().getStartTimeUtcMillis()) { in evaluateChannel()
80 startTimeDiffMsWithCurrentProgram = currentProgram.getStartTimeUtcMillis() in evaluateChannel()
81 - watchedProgram.getStartTimeUtcMillis(); in evaluateChannel()
101 long diffMs = currentProgram.getStartTimeUtcMillis() in calculateRoutineWatchScore()
102 - watchedProgram.getStartTimeUtcMillis(); in calculateRoutineWatchScore()
193 / (program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis()); in calculateWatchDurationScore()
229 time.setTimeInMillis(p.getStartTimeUtcMillis()); in createFromProgram()
[all …]
DNotificationService.java381 - program.getStartTimeUtcMillis(); in sendNotification()
432 .getStartTimeUtcMillis();
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java326 Math.max(program.getStartTimeUtcMillis(), mPlayController.mRecordStartTimeMs); in jumpToPrevious()
354 if (nextProgram == null || nextProgram.getStartTimeUtcMillis() > currentTimeMs) { in jumpToNext()
366 mPlayController.seekTo(nextProgram.getStartTimeUtcMillis()); in jumpToNext()
367 mCurrentPositionMediator.onSeekRequested(nextProgram.getStartTimeUtcMillis()); in jumpToNext()
569 - getCurrentProgram().getStartTimeUtcMillis() > SHORT_PROGRAM_THRESHOLD_MILLIS) { in getPlaybackSpeed()
986 if (startTimeMs < firstProgram.getStartTimeUtcMillis()) { in addDummyPrograms()
994 createDummyPrograms(startTimeMs, firstProgram.getStartTimeUtcMillis())); in addDummyPrograms()
1005 createDummyPrograms(lastProgram.getStartTimeUtcMillis(), endTimeMs)); in addDummyPrograms()
1015 long startOfCurrent = mPrograms.get(i).getStartTimeUtcMillis(); in addDummyPrograms()
1044 while (program.getEndTimeUtcMillis() < loadedProgram.getStartTimeUtcMillis()) { in removeOverlappedPrograms()
[all …]
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java314 return program.getStartTimeUtcMillis() <= time && time <= program.getEndTimeUtcMillis(); in isProgramPlayedAt()
392 .getStartTimeUtcMillis()) { in removePreviousProgramsAndUpdateCurrentProgramInCache()
399 if (cachedProgram.getStartTimeUtcMillis() < currentProgram in removePreviousProgramsAndUpdateCurrentProgramInCache()
400 .getStartTimeUtcMillis()) { in removePreviousProgramsAndUpdateCurrentProgramInCache()
402 i.set(createDummyProgram(cachedProgram.getStartTimeUtcMillis(), in removePreviousProgramsAndUpdateCurrentProgramInCache()
403 currentProgram.getStartTimeUtcMillis())); in removePreviousProgramsAndUpdateCurrentProgramInCache()
DProgram.java192 public long getStartTimeUtcMillis() { in getStartTimeUtcMillis() method in Program
504 && p1.getStartTimeUtcMillis() == p2.getStartTimeUtcMillis() in isDuplicate()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcher.java204 long oldStartTimeUtcMillis = currentOldProgram.getStartTimeUtcMillis(); in updateEpg()
312 && oldProgram.getStartTimeUtcMillis() <= newProgram.getEndTimeUtcMillis()
313 && newProgram.getStartTimeUtcMillis() <= oldProgram.getEndTimeUtcMillis();
326 program.getStartTimeUtcMillis());
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DProgramDataManagerTest.java133 assertTrue(currentProgram.getStartTimeUtcMillis() <= mClock.currentTimeMillis()
149 long startTimeMs = programs.get(0).getStartTimeUtcMillis();
151 assertEquals(startTimeMs, programs.get(0).getStartTimeUtcMillis());
237 assertEquals("startTime", expectedStartTime, actualProgram.getStartTimeUtcMillis());
/packages/apps/TV/common/src/com/android/tv/common/recording/
DRecordedProgram.java420 .setStartTimeUtcMillis(orig.getStartTimeUtcMillis()) in buildFrom()
445 int res = Long.compare(lhs.getStartTimeUtcMillis(), rhs.getStartTimeUtcMillis());
637 public long getStartTimeUtcMillis() { in getStartTimeUtcMillis() method in RecordedProgram
/packages/apps/TV/src/com/android/tv/search/
DDataManagerSearch.java199 channel.getDisplayName(), program.getStartTimeUtcMillis(), in addResult()
210 program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis()); in addResult()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DChannelDataManager.java363 item.getStartTimeUtcMillis()) in handleEvents()
378 if (outdatedOldItem.getStartTimeUtcMillis() > currentTime) { in handleEvents()
388 item.getStartTimeUtcMillis()) in handleEvents()
DTunerSessionWorker.java688 } else if (item.getStartTimeUtcMillis() > currentTimeMs) { in handleMessage()
691 + (item.getStartTimeUtcMillis() - currentTimeMs)); in handleMessage()
695 item.getStartTimeUtcMillis() - currentTimeMs); in handleMessage()
1364 if (item.getStartTimeUtcMillis() <= currentTimeMs in getCurrentProgram()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DRecordedProgramPresenter.java83 cardView.setContent(Utils.getDurationString(context, recording.getStartTimeUtcMillis(), in onBindViewHolder()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrManager.java185 return new Range(program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis()); in getPeriod()
DScheduledRecording.java79 .setStartTime(p.getStartTimeUtcMillis()).setEndTime(p.getEndTimeUtcMillis()) in builder()
/packages/apps/TV/src/com/android/tv/menu/
DChannelCardView.java201 long startTime = mProgram.getStartTimeUtcMillis();
DPlayControlsRowView.java260 mProgramStartTimeMs = program.getStartTimeUtcMillis(); in initializeTimeline()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/data/
DPsipData.java567 public long getStartTimeUtcMillis() { in getStartTimeUtcMillis() method in PsipData.EitItem
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java613 long programStartTime = Math.max(program.getStartTimeUtcMillis(), in createProgramEntries()
DProgramTableAdapter.java435 program.getStartTimeUtcMillis(),
/packages/apps/TV/src/com/android/tv/ui/
DChannelBannerView.java679 long startTime = program.getStartTimeUtcMillis();