Home
last modified time | relevance | path

Searched refs:getEndTimeMs (Results 1 – 19 of 19) 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()
DEpisodicProgramRow.java56 public long getEndTimeMs() { in getEndTimeMs() method in EpisodicProgramRow
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()
DSeriesScheduleRowPresenter.java59 getContext(), row.getStartTimeMs(), row.getEndTimeMs(), false, true, true, 0); in onGetRecordingTimeText()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java790 && toAdd.getEndTimeMs() == schedule.getEndTimeMs()) { in getConflictingSchedules()
800 ranges.add(new Range<>(schedule.getStartTimeMs(), schedule.getEndTimeMs())); in getConflictingSchedules()
881 if (earliestEndTime < schedule.getEndTimeMs()) { in getConflictingSchedulesInfo()
934 if (iter.next().getEndTimeMs() <= currentTimeMs) { in removeFinishedRecordings()
961 if (earliest > recording.getEndTimeMs()) { in getEarliestEndTime()
962 earliest = recording.getEndTimeMs(); in getEarliestEndTime()
DBaseDvrDataManager.java220 if (r.getEndTimeMs() > mClock.currentTimeMillis()) { in filterEndTimeIsPast()
DDvrDataManagerImpl.java268 if (r.getEndTimeMs() in start()
290 if (r.getEndTimeMs() in start()
DDvrManager.java387 && 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.java119 .setEndTimeUtcMillis(scheduledRecording.getEndTimeMs()) in createFromScheduledRecording()
/packages/apps/TV/src/com/android/tv/dvr/data/
DScheduledRecording.java439 values.put(Schedules.COLUMN_END_TIME_UTC_MILLIS, r.getEndTimeMs()); in toContentValues()
605 public long getEndTimeMs() { in getEndTimeMs() method in ScheduledRecording
880 return mStartTimeMs < schedule.getEndTimeMs() && mEndTimeMs > schedule.getStartTimeMs(); in isOverLapping()
/packages/apps/TV/src/com/android/tv/dialog/
DDvrHistoryDialogFragment.java125 schedule.getEndTimeMs(), in onCreateDialog()
/packages/apps/TV/src/com/android/tv/ui/
DChannelBannerView.java824 recording.getEndTimeMs(),
843 && currentPosition <= recording.getEndTimeMs());
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbSync.java337 || schedule.getEndTimeMs() != program.getEndTimeUtcMillis() in handleUpdateProgram()