Home
last modified time | relevance | path

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

12

/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRow.java81 public long getStartTimeMs() { in getStartTimeMs() method in ScheduleRow
82 return mSchedule != null ? mSchedule.getStartTimeMs() : -1; in getStartTimeMs()
92 return getEndTimeMs() - getStartTimeMs(); in getDuration()
98 return getStartTimeMs() <= currentTimeMs && getEndTimeMs() > currentTimeMs; in isOnAir()
174 && mSchedule.getStartTimeMs() == schedule.getStartTimeMs() in matchSchedule()
DScheduleRowAdapter.java98 while (i < recordingList.size() && recordingList.get(i).getStartTimeMs() < deadLine) { in start()
205 long deadLine = Utils.getLastMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow()
DDvrHistoryRowAdapter.java87 while (i < recordingList.size() && recordingList.get(i).getStartTimeMs() >= deadLine) { in start()
258 long deadLine = Utils.getFirstMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow()
DEpisodicProgramRow.java51 public long getStartTimeMs() { in getStartTimeMs() method in EpisodicProgramRow
DSeriesScheduleRowPresenter.java59 getContext(), row.getStartTimeMs(), row.getEndTimeMs(), false, true, true, 0); in onGetRecordingTimeText()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DScheduledRecordingPresenter.java81 .getStartTimeMs()) in updateProgressBar()
134 Utils.computeDateDifference(System.currentTimeMillis(), recording.getStartTimeMs()); in generateMajorContent()
140 recording.getStartTimeMs(), in generateMajorContent()
151 recording.getStartTimeMs(), in generateMajorContent()
160 recording.getStartTimeMs(), in generateMajorContent()
161 recording.getStartTimeMs(), in generateMajorContent()
DFullSchedulesCardPresenter.java64 .getStartTimeMs()) in onBindDvrItemViewHolder()
DDvrBrowseFragment.java156 scheduled.getStartTimeMs());
172 scheduled.getStartTimeMs(),
DDetailsContent.java118 .setStartTimeUtcMillis(scheduledRecording.getStartTimeMs()) in createFromScheduledRecording()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DEpgTestData.java120 EpgTestData.updateTime(getStartTimeMs(), PROGRAM_1))
123 EpgTestData.updateTime(getStartTimeMs(), PROGRAM_2))
128 public long getStartTimeMs() {
140 public abstract long getStartTimeMs(); in getStartTimeMs() method in EpgTestData
155 clock.setBootTimeMillis(getStartTimeMs() + TimeUnit.HOURS.toMillis(-12)); in loadData()
156 clock.setCurrentTimeMillis(getStartTimeMs()); in loadData()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DInputTaskScheduler.java228 if (schedule.getStartTimeMs() > mClock.currentTimeMillis() in handleUpdateSchedule()
229 && schedule.getStartTimeMs() > wrapper.mTask.getStartTimeMs()) { in handleUpdateSchedule()
295 && schedule.getStartTimeMs() - RecordingTask.RECORDING_EARLY_START_OFFSET_MS in handleBuildSchedule()
345 > schedule.getStartTimeMs() in handleBuildSchedule()
348 schedule.getStartTimeMs() in handleBuildSchedule()
370 if (task.getEndTimeMs() <= schedule.getStartTimeMs()) { in hasTaskWhichFinishEarlier()
DRecordingTask.java222 mScheduledRecording.getStartTimeMs() - RECORDING_EARLY_START_OFFSET_MS)) { in onTuned()
376 if (mScheduledRecording.getStartTimeMs() + CLIPPED_THRESHOLD_MS in handleStartRecording()
425 public long getStartTimeMs() { in getStartTimeMs() method in RecordingTask
426 return mScheduledRecording.getStartTimeMs(); in getStartTimeMs()
505 mScheduledRecording.getEndTimeMs() - mScheduledRecording.getStartTimeMs()); in addRecordedProgramId()
DRecordingScheduler.java312 if (mLastStartTimePendingMs < schedule.getStartTimeMs()) { in scheduleRecordingSoon()
313 mLastStartTimePendingMs = schedule.getStartTimeMs(); in scheduleRecordingSoon()
335 return mClock.currentTimeMillis() >= scheduledRecording.getStartTimeMs() - durationInMs; in startsWithin()
DConflictChecker.java219 long startTimeMs = schedule.getStartTimeMs(); in onCheckConflict()
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DRecordingTestUtils.java68 Assert.assertEquals("start time", expected.getStartTimeMs(), actual.getStartTimeMs()); in assertRecordingEquals()
DDvrDataManagerInMemoryImpl.java103 if (r.getStartTimeMs() > startTime) { in getNextScheduledStartTimeAfter()
104 return r.getStartTimeMs(); in getNextScheduledStartTimeAfter()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java789 && toAdd.getStartTimeMs() == schedule.getStartTimeMs() in getConflictingSchedules()
800 ranges.add(new Range<>(schedule.getStartTimeMs(), schedule.getEndTimeMs())); in getConflictingSchedules()
850 removeFinishedRecordings(recordings, schedule.getStartTimeMs()); in getConflictingSchedulesInfo()
DDvrDataManagerImpl.java554 if (scheduledRecordings.get(mid).getStartTimeMs() <= startTime) { in getNextStartTimeAfter()
561 ? scheduledRecordings.get(start).getStartTimeMs() in getNextStartTimeAfter()
/packages/apps/TV/src/com/android/tv/dvr/data/
DScheduledRecording.java438 values.put(Schedules.COLUMN_START_TIME_UTC_MILLIS, r.getStartTimeMs()); in toContentValues()
600 public long getStartTimeMs() { in getStartTimeMs() method in ScheduledRecording
880 return mStartTimeMs < schedule.getEndTimeMs() && mEndTimeMs > schedule.getStartTimeMs(); in isOverLapping()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrAlreadyScheduledFragment.java79 mDuplicate.getStartTimeMs(), in onCreateGuidance()
/packages/apps/TV/src/com/android/tv/dialog/
DDvrHistoryDialogFragment.java124 schedule.getStartTimeMs(), in onCreateDialog()
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DProgramUtils.java84 timeMs = program.getStartTimeMs(index, channelId); in populatePrograms()
DProgramInfo.java180 public long getStartTimeMs(int index, long channelId) { in getStartTimeMs() method in ProgramInfo
/packages/apps/TV/src/com/android/tv/ui/
DChannelBannerView.java803 recording.getStartTimeMs(), programStartTime, programEndTime));
842 && currentPosition >= recording.getStartTimeMs()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbSync.java331 && program.getStartTimeUtcMillis() != schedule.getStartTimeMs(); in handleUpdateProgram()

12