/packages/apps/TV/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluator.java | 60 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()
|
D | NotificationService.java | 383 program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis(); in sendNotification() 431 program.getEndTimeUtcMillis() - program.getStartTimeUtcMillis(); in sendNotification()
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 323 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/ |
D | ChannelDataManager.java | 429 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/ |
D | Program.java | 27 && p1.getStartTimeUtcMillis() == p2.getStartTimeUtcMillis() in isDuplicate() 35 && p1.getStartTimeUtcMillis() < p2.getEndTimeUtcMillis() in isOverlapping() 36 && p1.getEndTimeUtcMillis() > p2.getStartTimeUtcMillis(); in isOverlapping()
|
D | BaseProgram.java | 81 long getStartTimeUtcMillis(); in getStartTimeUtcMillis() method
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | SeriesScheduleRowAdapter.java | 258 } 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()
|
D | EpisodicProgramRow.java | 53 return mProgram.getStartTimeUtcMillis(); in getStartTimeMs()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | RecordedProgramPresenter.java | 130 program.getStartTimeUtcMillis(), System.currentTimeMillis()); in generateMajorContent() 138 program.getStartTimeUtcMillis(), in generateMajorContent() 139 program.getStartTimeUtcMillis(), in generateMajorContent()
|
D | DetailsContent.java | 54 .setStartTimeUtcMillis(recordedProgram.getStartTimeUtcMillis()) in createFromRecordedProgram() 71 .setStartTimeUtcMillis(program.getStartTimeUtcMillis()) in createFromProgram() 165 public long getStartTimeUtcMillis() { in getStartTimeUtcMillis() method in DetailsContent
|
D | DetailsContentPresenter.java | 301 if (detailsContent.getStartTimeUtcMillis() != DetailsContent.INVALID_TIME in onBindViewHolder() 306 detailsContent.getStartTimeUtcMillis(), in onBindViewHolder()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/data/ |
D | ProgramDataManagerTest.java | 150 .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/ |
D | ProgramDataManager.java | 444 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()
|
D | ProgramImpl.java | 314 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/ |
D | DvrDbSync.java | 371 && 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/ |
D | DvrRecordingSettingsFragment.java | 154 long startTimeMs = mProgram.getStartTimeUtcMillis() - startEarlyTimeMs; in onGuidedActionClicked() 157 startEarlyTimeMs = mProgram.getStartTimeUtcMillis() - startTimeMs; in onGuidedActionClicked() 172 customizedProgram.getStartTimeUtcMillis(), in onGuidedActionClicked()
|
D | DvrScheduleFragment.java | 111 if (mProgram.getStartTimeUtcMillis() <= System.currentTimeMillis()) { in onCreateActions() 150 mProgram.getStartTimeUtcMillis(), in onTrackedGuidedActionClicked()
|
D | DvrAlreadyRecordedFragment.java | 75 mProgram.getStartTimeUtcMillis(), in onAttach()
|
D | DvrAlreadyScheduledFragment.java | 76 mProgram.getStartTimeUtcMillis(), in onAttach()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | RecordedProgram.java | 151 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/ |
D | EpgFetchHelper.java | 241 && oldProgram.getStartTimeUtcMillis() <= newProgram.getEndTimeUtcMillis() in hasSameTitleAndOverlap() 242 && newProgram.getStartTimeUtcMillis() <= oldProgram.getEndTimeUtcMillis(); in hasSameTitleAndOverlap()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | DataManagerSearch.java | 262 program.getStartTimeUtcMillis(), in addResult() 275 program.getStartTimeUtcMillis(), program.getEndTimeUtcMillis())); in addResult()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 1002 } 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()
|
D | TunerSessionWorker.java | 1022 } 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/ |
D | FakeSearchInterface.java | 49 program.getStartTimeUtcMillis() + " - " + program.getEndTimeUtcMillis()); in fromProgram()
|