/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | RecordingTask.java | 70 return Long.compare(lhs.getEndTimeMs(), rhs.getEndTimeMs()); 246 || mScheduledRecording.getEndTimeMs() - CLIPPED_THRESHOLD_MS in onRecordingStopped() 313 if (mScheduledRecording.getEndTimeMs() < mClock.currentTimeMillis()) { in handleInit() 341 mScheduledRecording.getEndTimeMs()); in handleInit() 383 MSG_STOP_RECORDING, mScheduledRecording.getEndTimeMs())) { in handleStartRecording() 397 if (schedule.getEndTimeMs() != mScheduledRecording.getEndTimeMs()) { in handleUpdateSchedule() 399 mRecordingSession.setEndTimeMs(schedule.getEndTimeMs()); in handleUpdateSchedule() 403 if (!sendEmptyMessageAtAbsoluteTime(MSG_STOP_RECORDING, schedule.getEndTimeMs())) { in handleUpdateSchedule() 430 public long getEndTimeMs() { in getEndTimeMs() method in RecordingTask 431 return mScheduledRecording.getEndTimeMs(); in getEndTimeMs() [all …]
|
D | InputTaskScheduler.java | 279 if (schedule.getEndTimeMs() - currentTimeMs in handleBuildSchedule() 297 && schedule.getEndTimeMs() > currentTimeMs) { in handleBuildSchedule() 340 if (earliest > schedule.getEndTimeMs()) { in handleBuildSchedule() 341 earliest = schedule.getEndTimeMs(); in handleBuildSchedule() 370 if (task.getEndTimeMs() <= schedule.getStartTimeMs()) { in hasTaskWhichFinishEarlier()
|
D | ScheduledProgramReaper.java | 49 if (r.getEndTimeMs() < cutoff in run() 56 if (r.getEndTimeMs() < cutoff) { in run()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRow.java | 86 public long getEndTimeMs() { in getEndTimeMs() method in ScheduleRow 87 return mSchedule != null ? mSchedule.getEndTimeMs() : -1; in getEndTimeMs() 92 return getEndTimeMs() - getStartTimeMs(); in getDuration() 98 return getStartTimeMs() <= currentTimeMs && getEndTimeMs() > currentTimeMs; in isOnAir() 175 && mSchedule.getEndTimeMs() == schedule.getEndTimeMs(); in matchSchedule()
|
D | ScheduleRowAdapter.java | 379 return schedule.getEndTimeMs() > System.currentTimeMillis() in willBeKept() 391 if (row.getEndTimeMs() <= currentTimeMs) { in handleUpdateRow() 407 if (earliest > row.getEndTimeMs()) { in getNextTimerMs() 408 earliest = row.getEndTimeMs(); in getNextTimerMs()
|
D | ScheduleRowPresenter.java | 520 mContext, row.getStartTimeMs(), row.getEndTimeMs(), true, false, true, 0); in onGetRecordingTimeText() 586 schedule.getEndTimeMs()); in onStartRecording() 629 Utils.toTimeString(row.getEndTimeMs(), false)); in onStartRecordingInternal()
|
D | EpisodicProgramRow.java | 57 public long getEndTimeMs() { in getEndTimeMs() method in EpisodicProgramRow
|
D | SeriesScheduleRowPresenter.java | 59 getContext(), row.getStartTimeMs(), row.getEndTimeMs(), false, true, true, 0); in onGetRecordingTimeText()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrScheduleManager.java | 792 && toAdd.getEndTimeMs() == schedule.getEndTimeMs()) { in getConflictingSchedules() 802 ranges.add(new Range<>(schedule.getStartTimeMs(), schedule.getEndTimeMs())); in getConflictingSchedules() 883 if (earliestEndTime < schedule.getEndTimeMs()) { in getConflictingSchedulesInfo() 936 if (iter.next().getEndTimeMs() <= currentTimeMs) { in removeFinishedRecordings() 963 if (earliest > recording.getEndTimeMs()) { in getEarliestEndTime() 964 earliest = recording.getEndTimeMs(); in getEarliestEndTime()
|
D | BaseDvrDataManager.java | 220 if (r.getEndTimeMs() > mClock.currentTimeMillis()) { in filterEndTimeIsPast()
|
D | DvrDataManagerImpl.java | 295 if (r.getEndTimeMs() in start() 317 if (r.getEndTimeMs() in start()
|
D | DvrManager.java | 408 && deletedSchedule.getEndTimeMs() > System.currentTimeMillis()) { in updateSeriesRecording()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/ |
D | RecordingTestUtils.java | 69 Assert.assertEquals("end time", expected.getEndTimeMs(), actual.getEndTimeMs()); in assertRecordingEquals()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | ScheduledRecordingPresenter.java | 141 recording.getEndTimeMs(), in generateMajorContent() 152 recording.getEndTimeMs(), in generateMajorContent()
|
D | DetailsContent.java | 120 .setEndTimeUtcMillis(scheduledRecording.getEndTimeMs()) in createFromScheduledRecording()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | ScheduledRecording.java | 517 values.put(Schedules.COLUMN_END_TIME_UTC_MILLIS, r.getEndTimeMs()); in toContentValues() 547 values.put(Schedules.COLUMN_END_TIME_UTC_MILLIS, r.getEndTimeMs()); in toContentValuesWithTimeOffset() 723 public long getEndTimeMs() { in getEndTimeMs() method in ScheduledRecording 1008 return mStartTimeMs < schedule.getEndTimeMs() && mEndTimeMs > schedule.getStartTimeMs(); in isOverLapping()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | InputTaskSchedulerTest.java | 110 when(task.getEndTimeMs()) in setUp() 111 .thenReturn(scheduledRecording.getEndTimeMs()); in setUp()
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDbSync.java | 377 if (schedule.getEndTimeMs() != program.getEndTimeUtcMillis()) { in handleUpdateProgram() 426 if (schedule.getEndTimeMs() != updatedEndTime) { in handleUpdateProgramTime()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | DvrHistoryDialogFragment.java | 125 schedule.getEndTimeMs(), in onCreateDialog()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ChannelBannerView.java | 848 recording.getEndTimeMs(), 867 && currentPosition <= recording.getEndTimeMs());
|