Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/dvr/recorder/
DRecordingTask.java70 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 …]
DInputTaskScheduler.java279 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()
DScheduledProgramReaper.java49 if (r.getEndTimeMs() < cutoff in run()
56 if (r.getEndTimeMs() < cutoff) { in run()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRow.java86 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()
DScheduleRowAdapter.java379 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()
DScheduleRowPresenter.java520 mContext, row.getStartTimeMs(), row.getEndTimeMs(), true, false, true, 0); in onGetRecordingTimeText()
586 schedule.getEndTimeMs()); in onStartRecording()
629 Utils.toTimeString(row.getEndTimeMs(), false)); in onStartRecordingInternal()
DEpisodicProgramRow.java57 public long getEndTimeMs() { in getEndTimeMs() method in EpisodicProgramRow
DSeriesScheduleRowPresenter.java59 getContext(), row.getStartTimeMs(), row.getEndTimeMs(), false, true, true, 0); in onGetRecordingTimeText()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java792 && 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()
DBaseDvrDataManager.java220 if (r.getEndTimeMs() > mClock.currentTimeMillis()) { in filterEndTimeIsPast()
DDvrDataManagerImpl.java295 if (r.getEndTimeMs() in start()
317 if (r.getEndTimeMs() in start()
DDvrManager.java408 && deletedSchedule.getEndTimeMs() > System.currentTimeMillis()) { in updateSeriesRecording()
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DRecordingTestUtils.java69 Assert.assertEquals("end time", expected.getEndTimeMs(), actual.getEndTimeMs()); in assertRecordingEquals()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DScheduledRecordingPresenter.java141 recording.getEndTimeMs(), in generateMajorContent()
152 recording.getEndTimeMs(), in generateMajorContent()
DDetailsContent.java120 .setEndTimeUtcMillis(scheduledRecording.getEndTimeMs()) in createFromScheduledRecording()
/packages/apps/TV/src/com/android/tv/dvr/data/
DScheduledRecording.java517 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/
DInputTaskSchedulerTest.java110 when(task.getEndTimeMs()) in setUp()
111 .thenReturn(scheduledRecording.getEndTimeMs()); in setUp()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbSync.java377 if (schedule.getEndTimeMs() != program.getEndTimeUtcMillis()) { in handleUpdateProgram()
426 if (schedule.getEndTimeMs() != updatedEndTime) { in handleUpdateProgramTime()
/packages/apps/TV/src/com/android/tv/dialog/
DDvrHistoryDialogFragment.java125 schedule.getEndTimeMs(), in onCreateDialog()
/packages/apps/TV/src/com/android/tv/ui/
DChannelBannerView.java848 recording.getEndTimeMs(),
867 && currentPosition <= recording.getEndTimeMs());