/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRow.java | 102 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()
|
D | ScheduleRowAdapter.java | 97 while (i < recordingList.size() && recordingList.get(i).getStartTimeMs() < deadLine) { in start() 194 long deadLine = Utils.getLastMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow()
|
D | EpisodicProgramRow.java | 53 public long getStartTimeMs() { in getStartTimeMs() method in EpisodicProgramRow
|
D | SeriesScheduleRowPresenter.java | 59 return Utils.getDurationString(getContext(), row.getStartTimeMs(), row.getEndTimeMs(), in onGetRecordingTimeText()
|
D | ScheduleRowPresenter.java | 436 return Utils.getDurationString(mContext, row.getStartTimeMs(), row.getEndTimeMs(), true, in onGetRecordingTimeText()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | ScheduledRecordingPresenter.java | 77 (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()
|
D | FullSchedulesCardPresenter.java | 63 .getStartTimeMs()) + 1; in onBindDvrItemViewHolder()
|
D | DetailsContent.java | 90 .setStartTimeUtcMillis(scheduledRecording.getStartTimeMs()) in createFromScheduledRecording()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | InputTaskScheduler.java | 208 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()
|
D | RecordingTask.java | 223 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()
|
D | RecordingScheduler.java | 287 if (mLastStartTimePendingMs < schedule.getStartTimeMs()) { in scheduleRecordingSoon() 288 mLastStartTimePendingMs = schedule.getStartTimeMs(); in scheduleRecordingSoon() 309 return mClock.currentTimeMillis() >= scheduledRecording.getStartTimeMs() - durationInMs; in startsWithin()
|
D | ConflictChecker.java | 217 long startTimeMs = schedule.getStartTimeMs(); in onCheckConflict()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ProgramDataManagerTest.java | 113 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/ |
D | RecordingTestUtils.java | 70 Assert.assertEquals("start time", expected.getStartTimeMs(), actual.getStartTimeMs()); in assertRecordingEquals()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrScheduleManager.java | 792 && toAdd.getStartTimeMs() == schedule.getStartTimeMs() in getConflictingSchedules() 803 ranges.add(new Range<>(schedule.getStartTimeMs(), schedule.getEndTimeMs())); in getConflictingSchedules() 855 removeFinishedRecordings(recordings, schedule.getStartTimeMs()); in getConflictingSchedulesInfo()
|
D | DvrDataManagerImpl.java | 500 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/ |
D | DvrDataManagerInMemoryImpl.java | 105 if (r.getStartTimeMs() > startTime) { in getNextScheduledStartTimeAfter() 106 return r.getStartTimeMs(); in getNextScheduledStartTimeAfter()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | ScheduledRecording.java | 396 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/ |
D | DvrAlreadyScheduledFragment.java | 71 DateUtils.formatDateTime(getContext(), mDuplicate.getStartTimeMs(), in onCreateGuidance()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | ProgramUtils.java | 63 timeMs = program.getStartTimeMs(index, channelId); in populatePrograms()
|
D | ProgramInfo.java | 167 public long getStartTimeMs(int index, long channelId) { in getStartTimeMs() method in ProgramInfo
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | DvrHistoryDialogFragment.java | 116 return Utils.getDurationString(getContext(), schedule.getStartTimeMs(), in onCreateDialog()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ChannelBannerView.java | 696 mRemainingTimeView.setProgress(getProgressPercent(recording.getStartTimeMs(), 730 && currentPosition >= recording.getStartTimeMs()
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDbSync.java | 321 && program.getStartTimeUtcMillis() != schedule.getStartTimeMs(); in handleUpdateProgram()
|