Home
last modified time | relevance | path

Searched refs:getStartTimeMs (Results 1 – 25 of 30) 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()
DDvrHistoryRowAdapter.java91 while (i < recordingList.size() && recordingList.get(i).getStartTimeMs() >= deadLine) { in start()
264 long deadLine = Utils.getFirstMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow()
DScheduleRowAdapter.java98 while (i < recordingList.size() && recordingList.get(i).getStartTimeMs() < deadLine) { in start()
205 long deadLine = Utils.getLastMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow()
DEpisodicProgramRow.java52 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.java157 scheduled.getStartTimeMs());
173 scheduled.getStartTimeMs(),
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DEpgTestData.java124 EpgTestData.updateTime(getStartTimeMs(), PROGRAM_1))
127 EpgTestData.updateTime(getStartTimeMs(), PROGRAM_2))
132 public long getStartTimeMs() {
144 public abstract long getStartTimeMs(); in getStartTimeMs() method in EpgTestData
159 clock.setBootTimeMillis(getStartTimeMs() + TimeUnit.HOURS.toMillis(-12)); in loadData()
160 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/src/com/android/tv/dvr/provider/
DDvrDbSync.java368 Math.abs(System.currentTimeMillis() - schedule.getStartTimeMs()); in handleUpdateProgram()
371 && program.getStartTimeUtcMillis() != schedule.getStartTimeMs() in handleUpdateProgram()
409 Math.abs(currentTime - schedule.getStartTimeMs()); in handleUpdateProgramTime()
413 && schedule.getStartTimeMs() != updatedStartTime in handleUpdateProgramTime()
/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/tests/robotests/src/com/android/tv/data/
DProgramDataManagerTest.java121 long startTimeMs = stub.getStartTimeMs(index, channelId); in testProgramUtils()
164 long startTimeMs = stub.getStartTimeMs(index, channelId); in testGetPrograms()
196 long nextProgramStartTimeMs = stub.getStartTimeMs(index + 1, testChannelId); in testCurrentProgramListener()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java791 && toAdd.getStartTimeMs() == schedule.getStartTimeMs() in getConflictingSchedules()
802 ranges.add(new Range<>(schedule.getStartTimeMs(), schedule.getEndTimeMs())); in getConflictingSchedules()
852 removeFinishedRecordings(recordings, schedule.getStartTimeMs()); in getConflictingSchedulesInfo()
/packages/apps/TV/src/com/android/tv/dvr/data/
DScheduledRecording.java516 values.put(Schedules.COLUMN_START_TIME_UTC_MILLIS, r.getStartTimeMs()); in toContentValues()
546 values.put(Schedules.COLUMN_START_TIME_UTC_MILLIS, r.getStartTimeMs()); in toContentValuesWithTimeOffset()
718 public long getStartTimeMs() { in getStartTimeMs() method in ScheduledRecording
1008 return mStartTimeMs < schedule.getEndTimeMs() && mEndTimeMs > schedule.getStartTimeMs(); in isOverLapping()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/provider/
DDvrDbSyncTest.java320 long startTimeDelta = abs(actualSchedule.getStartTimeMs() - schedule.getStartTimeMs()); in assertUpdateScheduleCalledWithinRange()
/packages/modules/Scheduling/service/reboot-stats-parser/schema/
Dcurrent.txt7 method public long getStartTimeMs();
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrAlreadyScheduledFragment.java92 mDuplicate.getStartTimeMs(), in onCreateGuidance()
/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/dialog/
DDvrHistoryDialogFragment.java124 schedule.getStartTimeMs(), in onCreateDialog()

12