Home
last modified time | relevance | path

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

12

/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java60 currentProgram.getStartTimeUtcMillis() - watchedProgram.getStartTimeUtcMillis(); in evaluateChannel()
68 if (watchedProgram.getStartTimeUtcMillis() in evaluateChannel()
69 == watchHistory[i].getProgram().getStartTimeUtcMillis()) { in evaluateChannel()
81 currentProgram.getStartTimeUtcMillis() in evaluateChannel()
82 - watchedProgram.getStartTimeUtcMillis(); in evaluateChannel()
103 currentProgram.getStartTimeUtcMillis() - watchedProgram.getStartTimeUtcMillis(); in calculateRoutineWatchScore()
203 / (program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis()); in calculateWatchDurationScore()
240 time.setTimeInMillis(p.getStartTimeUtcMillis()); in createFromProgram()
252 - p.getStartTimeUtcMillis(), in createFromProgram()
DNotificationService.java383 program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis(); in sendNotification()
431 program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis(); in sendNotification()
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java323 Math.max(program.getStartTimeUtcMillis(), mPlayController.mRecordStartTimeMs); in jumpToPrevious()
351 if (nextProgram == null || nextProgram.getStartTimeUtcMillis() > currentTimeMs) { in jumpToNext()
363 mPlayController.seekTo(nextProgram.getStartTimeUtcMillis()); in jumpToNext()
364 mCurrentPositionMediator.onSeekRequested(nextProgram.getStartTimeUtcMillis()); in jumpToNext()
1003 if (startTimeMs < firstProgram.getStartTimeUtcMillis()) { in addPlaceholderPrograms()
1013 … createPlaceholderPrograms(startTimeMs, firstProgram.getStartTimeUtcMillis())); in addPlaceholderPrograms()
1024 … createPlaceholderPrograms(lastProgram.getStartTimeUtcMillis(), endTimeMs)); in addPlaceholderPrograms()
1034 long startOfCurrent = mPrograms.get(i).getStartTimeUtcMillis(); in addPlaceholderPrograms()
1068 while (program.getEndTimeUtcMillis() <= loadedProgram.getStartTimeUtcMillis()) { in removeOverlappedPrograms()
1076 while (program.getStartTimeUtcMillis() < loadedProgram.getEndTimeUtcMillis() in removeOverlappedPrograms()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java429 long newItemStartTime = newItem.getStartTimeUtcMillis(); in handleEvents()
431 if (newItemStartTime < oldItems.get(0).getStartTimeUtcMillis()) { in handleEvents()
433 if (newItemEndTime > oldItems.get(0).getStartTimeUtcMillis()) continue; in handleEvents()
435 > oldItems.get(oldItemCount - 1).getStartTimeUtcMillis()) { in handleEvents()
446 lhs.getStartTimeUtcMillis(), in handleEvents()
447 rhs.getStartTimeUtcMillis())); in handleEvents()
455 || newItemEndTime > oldItems.get(insertPoint).getStartTimeUtcMillis()) { in handleEvents()
512 if (unverifiedOldItems.getStartTimeUtcMillis() > currentTime) { in handleEvents()
515 long startTime = unverifiedOldItems.getStartTimeUtcMillis(); in handleEvents()
518 long newItemStartTime = item.getStartTimeUtcMillis(); in handleEvents()
[all …]
/packages/apps/TV/src/com/android/tv/data/api/
DProgram.java27 && p1.getStartTimeUtcMillis() == p2.getStartTimeUtcMillis() in isDuplicate()
35 && p1.getStartTimeUtcMillis() < p2.getEndTimeUtcMillis() in isOverlapping()
36 && p1.getEndTimeUtcMillis() > p2.getStartTimeUtcMillis(); in isOverlapping()
DBaseProgram.java81 long getStartTimeUtcMillis(); in getStartTimeUtcMillis() method
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DSeriesScheduleRowAdapter.java258 } else if (program.getStartTimeUtcMillis() < currentTimeMs) { in handleUpdateRow()
273 if (earliest > program.getStartTimeUtcMillis() in getNextTimerMs()
274 && program.getStartTimeUtcMillis() >= currentTimeMs) { in getNextTimerMs()
276 earliest = program.getStartTimeUtcMillis(); in getNextTimerMs()
DEpisodicProgramRow.java53 return mProgram.getStartTimeUtcMillis(); in getStartTimeMs()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DRecordedProgramPresenter.java130 program.getStartTimeUtcMillis(), System.currentTimeMillis()); in generateMajorContent()
138 program.getStartTimeUtcMillis(), in generateMajorContent()
139 program.getStartTimeUtcMillis(), in generateMajorContent()
DDetailsContent.java54 .setStartTimeUtcMillis(recordedProgram.getStartTimeUtcMillis()) in createFromRecordedProgram()
71 .setStartTimeUtcMillis(program.getStartTimeUtcMillis()) in createFromProgram()
165 public long getStartTimeUtcMillis() { in getStartTimeUtcMillis() method in DetailsContent
DDetailsContentPresenter.java301 if (detailsContent.getStartTimeUtcMillis() != DetailsContent.INVALID_TIME in onBindViewHolder()
306 detailsContent.getStartTimeUtcMillis(), in onBindViewHolder()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DProgramDataManagerTest.java150 .that(currentProgram.getStartTimeUtcMillis()) in testGetPrograms()
169 long startTimeMs = programs.get(0).getStartTimeUtcMillis(); in testGetPrograms()
171 assertThat(programs.get(0).getStartTimeUtcMillis()).isEqualTo(startTimeMs); in testGetPrograms()
276 .that(actualProgram.getStartTimeUtcMillis()) in assertProgramEquals()
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java444 return program.getStartTimeUtcMillis() <= time && time <= program.getEndTimeUtcMillis(); in isProgramPlayedAt()
524 if (cachedProgram.getEndTimeUtcMillis() <= currentProgram.getStartTimeUtcMillis()) { in removePreviousProgramsAndUpdateCurrentProgramInCache()
531 if (cachedProgram.getStartTimeUtcMillis() < currentProgram.getStartTimeUtcMillis()) { in removePreviousProgramsAndUpdateCurrentProgramInCache()
535 cachedProgram.getStartTimeUtcMillis(), in removePreviousProgramsAndUpdateCurrentProgramInCache()
536 currentProgram.getStartTimeUtcMillis())); in removePreviousProgramsAndUpdateCurrentProgramInCache()
DProgramImpl.java314 public long getStartTimeUtcMillis() { in getStartTimeUtcMillis() method in ProgramImpl
474 return Long.compare(mStartTimeUtcMillis, other.getStartTimeUtcMillis()); in compareTo()
575 TvContract.Programs.COLUMN_START_TIME_UTC_MILLIS, program.getStartTimeUtcMillis()); in toContentValues()
614 mStartTimeUtcMillis = other.getStartTimeUtcMillis(); in copyFrom()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbSync.java371 && program.getStartTimeUtcMillis() != schedule.getStartTimeMs() in handleUpdateProgram()
374 builder.setStartTimeMs(program.getStartTimeUtcMillis()); in handleUpdateProgram()
410 long updatedStartTime = program.getStartTimeUtcMillis() - schedule.getStartOffsetMs(); in handleUpdateProgramTime()
419 long updatedStartOffset = program.getStartTimeUtcMillis() - updatedStartTime; in handleUpdateProgramTime()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrRecordingSettingsFragment.java154 long startTimeMs = mProgram.getStartTimeUtcMillis() - startEarlyTimeMs; in onGuidedActionClicked()
157 startEarlyTimeMs = mProgram.getStartTimeUtcMillis() - startTimeMs; in onGuidedActionClicked()
172 customizedProgram.getStartTimeUtcMillis(), in onGuidedActionClicked()
DDvrScheduleFragment.java111 if (mProgram.getStartTimeUtcMillis() <= System.currentTimeMillis()) { in onCreateActions()
150 mProgram.getStartTimeUtcMillis(), in onTrackedGuidedActionClicked()
DDvrAlreadyRecordedFragment.java75 mProgram.getStartTimeUtcMillis(), in onAttach()
DDvrAlreadyScheduledFragment.java76 mProgram.getStartTimeUtcMillis(), in onAttach()
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java151 recordedProgram.getStartTimeUtcMillis()); in toValues()
359 int res = Long.compare(lhs.getStartTimeUtcMillis(), rhs.getStartTimeUtcMillis());
453 return getEndTimeUtcMillis() - getStartTimeUtcMillis() - getDurationMillis() in isClipped()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetchHelper.java241 && oldProgram.getStartTimeUtcMillis() <= newProgram.getEndTimeUtcMillis() in hasSameTitleAndOverlap()
242 && newProgram.getStartTimeUtcMillis() <= oldProgram.getEndTimeUtcMillis(); in hasSameTitleAndOverlap()
/packages/apps/TV/src/com/android/tv/search/
DDataManagerSearch.java262 program.getStartTimeUtcMillis(), in addResult()
275 program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis())); in addResult()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java1002 } else if (item.getStartTimeUtcMillis() > currentTimeMs) { in handleMessageScheduleOfPrograms()
1009 + (item.getStartTimeUtcMillis() - currentTimeMs)); in handleMessageScheduleOfPrograms()
1013 item.getStartTimeUtcMillis() - currentTimeMs); in handleMessageScheduleOfPrograms()
1920 || first.getStartTimeUtcMillis() < mProgram.getStartTimeUtcMillis())) { in getCurrentProgram()
1927 if (item.getStartTimeUtcMillis() <= currentTimeMs in getCurrentProgram()
DTunerSessionWorker.java1022 } else if (item.getStartTimeUtcMillis() > currentTimeMs) { in handleMessageScheduleOfPrograms()
1029 + (item.getStartTimeUtcMillis() - currentTimeMs)); in handleMessageScheduleOfPrograms()
1033 item.getStartTimeUtcMillis() - currentTimeMs); in handleMessageScheduleOfPrograms()
1997 || first.getStartTimeUtcMillis() < mProgram.getStartTimeUtcMillis())) { in getCurrentProgram()
2004 if (item.getStartTimeUtcMillis() <= currentTimeMs in getCurrentProgram()
/packages/apps/TV/tests/robotests/src/com/android/tv/search/
DFakeSearchInterface.java49 program.getStartTimeUtcMillis() + " - " + program.getEndTimeUtcMillis()); in fromProgram()

12