Home
last modified time | relevance | path

Searched refs:getStartTimeMs (Results 1 – 24 of 24) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRow.java102 public long getStartTimeMs() { in getStartTimeMs() method in ScheduleRow
103 return mSchedule != null ? mSchedule.getStartTimeMs() : -1; in getStartTimeMs()
117 return getEndTimeMs() - getStartTimeMs(); in getDuration()
125 return getStartTimeMs() <= currentTimeMs && getEndTimeMs() > currentTimeMs; in isOnAir()
199 && mSchedule.getStartTimeMs() == schedule.getStartTimeMs() in matchSchedule()
DScheduleRowAdapter.java97 while (i < recordingList.size() && recordingList.get(i).getStartTimeMs() < deadLine) { in start()
194 long deadLine = Utils.getLastMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow()
DEpisodicProgramRow.java53 public long getStartTimeMs() { in getStartTimeMs() method in EpisodicProgramRow
DSeriesScheduleRowPresenter.java59 return Utils.getDurationString(getContext(), row.getStartTimeMs(), row.getEndTimeMs(), in onGetRecordingTimeText()
DScheduleRowPresenter.java436 return Utils.getDurationString(mContext, row.getStartTimeMs(), row.getEndTimeMs(), true, in onGetRecordingTimeText()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DScheduledRecordingPresenter.java77 (System.currentTimeMillis() - mScheduledRecording.getStartTimeMs()) in updateProgressBar()
124 recording.getStartTimeMs()); in generateMajorContent()
127 Utils.getDurationString(mContext, recording.getStartTimeMs(), in generateMajorContent()
131 Utils.getDurationString(mContext, recording.getStartTimeMs(), in generateMajorContent()
134 return Utils.getDurationString(mContext, recording.getStartTimeMs(), in generateMajorContent()
135 recording.getStartTimeMs(), false, true, false, 0); in generateMajorContent()
DFullSchedulesCardPresenter.java63 .getStartTimeMs()) + 1; in onBindDvrItemViewHolder()
DDetailsContent.java90 .setStartTimeUtcMillis(scheduledRecording.getStartTimeMs()) in createFromScheduledRecording()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DInputTaskScheduler.java208 if (schedule.getStartTimeMs() > mClock.currentTimeMillis() in handleUpdateSchedule()
209 && schedule.getStartTimeMs() > wrapper.mTask.getStartTimeMs()) { in handleUpdateSchedule()
276 && schedule.getStartTimeMs() - RecordingTask.RECORDING_EARLY_START_OFFSET_MS in handleBuildSchedule()
324 if (earliest > schedule.getStartTimeMs() in handleBuildSchedule()
326 earliest = schedule.getStartTimeMs() in handleBuildSchedule()
347 if (task.getEndTimeMs() <= schedule.getStartTimeMs()) { in hasTaskWhichFinishEarlier()
DRecordingTask.java223 mScheduledRecording.getStartTimeMs() - RECORDING_EARLY_START_OFFSET_MS)) { in onTuned()
337 if (mScheduledRecording.getStartTimeMs() + CLIPPED_THRESHOLD_MS in handleStartRecording()
390 public long getStartTimeMs() { in getStartTimeMs() method in RecordingTask
391 return mScheduledRecording.getStartTimeMs(); in getStartTimeMs()
DRecordingScheduler.java287 if (mLastStartTimePendingMs < schedule.getStartTimeMs()) { in scheduleRecordingSoon()
288 mLastStartTimePendingMs = schedule.getStartTimeMs(); in scheduleRecordingSoon()
309 return mClock.currentTimeMillis() >= scheduledRecording.getStartTimeMs() - durationInMs; in startsWithin()
DConflictChecker.java217 long startTimeMs = schedule.getStartTimeMs(); in onCheckConflict()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DProgramDataManagerTest.java113 long startTimeMs = stub.getStartTimeMs(index, channelId); in testProgramUtils()
153 long startTimeMs = stub.getStartTimeMs(index, channelId);
186 long nextProgramStartTimeMs = stub.getStartTimeMs(index + 1, testChannelId);
303 long programStartTimeMs = stub.getStartTimeMs(index, i);
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DRecordingTestUtils.java70 Assert.assertEquals("start time", expected.getStartTimeMs(), actual.getStartTimeMs()); in assertRecordingEquals()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java792 && toAdd.getStartTimeMs() == schedule.getStartTimeMs() in getConflictingSchedules()
803 ranges.add(new Range<>(schedule.getStartTimeMs(), schedule.getEndTimeMs())); in getConflictingSchedules()
855 removeFinishedRecordings(recordings, schedule.getStartTimeMs()); in getConflictingSchedulesInfo()
DDvrDataManagerImpl.java500 if (scheduledRecordings.get(mid).getStartTimeMs() <= startTime) { in getNextStartTimeAfter()
506 return start < scheduledRecordings.size() ? scheduledRecordings.get(start).getStartTimeMs() in getNextStartTimeAfter()
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DDvrDataManagerInMemoryImpl.java105 if (r.getStartTimeMs() > startTime) { in getNextScheduledStartTimeAfter()
106 return r.getStartTimeMs(); in getNextScheduledStartTimeAfter()
/packages/apps/TV/src/com/android/tv/dvr/data/
DScheduledRecording.java396 values.put(Schedules.COLUMN_START_TIME_UTC_MILLIS, r.getStartTimeMs()); in toContentValues()
549 public long getStartTimeMs() { in getStartTimeMs() method in ScheduledRecording
775 return mStartTimeMs < schedule.getEndTimeMs() && mEndTimeMs > schedule.getStartTimeMs(); in isOverLapping()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrAlreadyScheduledFragment.java71 DateUtils.formatDateTime(getContext(), mDuplicate.getStartTimeMs(), in onCreateGuidance()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DProgramUtils.java63 timeMs = program.getStartTimeMs(index, channelId); in populatePrograms()
DProgramInfo.java167 public long getStartTimeMs(int index, long channelId) { in getStartTimeMs() method in ProgramInfo
/packages/apps/TV/src/com/android/tv/dialog/
DDvrHistoryDialogFragment.java116 return Utils.getDurationString(getContext(), schedule.getStartTimeMs(), in onCreateDialog()
/packages/apps/TV/src/com/android/tv/ui/
DChannelBannerView.java696 mRemainingTimeView.setProgress(getProgressPercent(recording.getStartTimeMs(),
730 && currentPosition >= recording.getStartTimeMs()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbSync.java321 && program.getStartTimeUtcMillis() != schedule.getStartTimeMs(); in handleUpdateProgram()