/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRow.java | 81 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()
|
D | DvrHistoryRowAdapter.java | 91 while (i < recordingList.size() && recordingList.get(i).getStartTimeMs() >= deadLine) { in start() 264 long deadLine = Utils.getFirstMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow()
|
D | ScheduleRowAdapter.java | 98 while (i < recordingList.size() && recordingList.get(i).getStartTimeMs() < deadLine) { in start() 205 long deadLine = Utils.getLastMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow()
|
D | EpisodicProgramRow.java | 52 public long getStartTimeMs() { in getStartTimeMs() method in EpisodicProgramRow
|
D | SeriesScheduleRowPresenter.java | 59 getContext(), row.getStartTimeMs(), row.getEndTimeMs(), false, true, true, 0); in onGetRecordingTimeText()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | ScheduledRecordingPresenter.java | 81 .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()
|
D | FullSchedulesCardPresenter.java | 64 .getStartTimeMs()) in onBindDvrItemViewHolder()
|
D | DvrBrowseFragment.java | 157 scheduled.getStartTimeMs()); 173 scheduled.getStartTimeMs(),
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | EpgTestData.java | 124 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/ |
D | InputTaskScheduler.java | 228 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()
|
D | RecordingTask.java | 222 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()
|
D | RecordingScheduler.java | 312 if (mLastStartTimePendingMs < schedule.getStartTimeMs()) { in scheduleRecordingSoon() 313 mLastStartTimePendingMs = schedule.getStartTimeMs(); in scheduleRecordingSoon() 335 return mClock.currentTimeMillis() >= scheduledRecording.getStartTimeMs() - durationInMs; in startsWithin()
|
D | ConflictChecker.java | 219 long startTimeMs = schedule.getStartTimeMs(); in onCheckConflict()
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDbSync.java | 368 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/ |
D | RecordingTestUtils.java | 68 Assert.assertEquals("start time", expected.getStartTimeMs(), actual.getStartTimeMs()); in assertRecordingEquals()
|
D | DvrDataManagerInMemoryImpl.java | 103 if (r.getStartTimeMs() > startTime) { in getNextScheduledStartTimeAfter() 104 return r.getStartTimeMs(); in getNextScheduledStartTimeAfter()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/data/ |
D | ProgramDataManagerTest.java | 121 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/ |
D | DvrScheduleManager.java | 791 && 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/ |
D | ScheduledRecording.java | 516 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/ |
D | DvrDbSyncTest.java | 320 long startTimeDelta = abs(actualSchedule.getStartTimeMs() - schedule.getStartTimeMs()); in assertUpdateScheduleCalledWithinRange()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrAlreadyScheduledFragment.java | 92 mDuplicate.getStartTimeMs(), in onCreateGuidance()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | DvrHistoryDialogFragment.java | 124 schedule.getStartTimeMs(), in onCreateDialog()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/ |
D | ProgramUtils.java | 84 timeMs = program.getStartTimeMs(index, channelId); in populatePrograms()
|
D | ProgramInfo.java | 180 public long getStartTimeMs(int index, long channelId) { in getStartTimeMs() method in ProgramInfo
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ChannelBannerView.java | 827 recording.getStartTimeMs(), programStartTime, programEndTime)); 866 && currentPosition >= recording.getStartTimeMs()
|