/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | InputTaskSchedulerTest.java | 149 long endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoStop() local 153 ++id, CHANNEL_ID, LOW_PRIORITY, startTimeMs, endTimeMs)); in testAddSchedule_consecutiveNoStop() 155 startTimeMs = endTimeMs; in testAddSchedule_consecutiveNoStop() 156 endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoStop() 159 ++id, CHANNEL_ID, HIGH_PRIORITY, startTimeMs, endTimeMs)); in testAddSchedule_consecutiveNoStop() 171 long endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoFail() local 177 ++id, CHANNEL_ID, HIGH_PRIORITY, startTimeMs, endTimeMs)); in testAddSchedule_consecutiveNoFail() 179 startTimeMs = endTimeMs; in testAddSchedule_consecutiveNoFail() 180 endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoFail() 183 ++id, CHANNEL_ID, LOW_PRIORITY, startTimeMs, endTimeMs)); in testAddSchedule_consecutiveNoFail() [all …]
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 924 void onRecordTimeRangeChanged(long startTimeMs, long endTimeMs) { in onRecordTimeRangeChanged() argument 928 if (endTimeMs == CURRENT_TIME) { in onRecordTimeRangeChanged() 929 endTimeMs = System.currentTimeMillis(); in onRecordTimeRangeChanged() 935 … endTimeMs + PREFETCH_DURATION_FOR_NEXT, MAX_PLACEHOLDER_PROGRAM_DURATION); in onRecordTimeRangeChanged() 994 private boolean addPlaceholderPrograms(long startTimeMs, long endTimeMs) { in addPlaceholderPrograms() argument 998 mPrograms.addAll(createPlaceholderPrograms(startTimeMs, endTimeMs)); in addPlaceholderPrograms() 1019 if (endTimeMs > lastProgram.getEndTimeUtcMillis()) { in addPlaceholderPrograms() 1024 … createPlaceholderPrograms(lastProgram.getStartTimeUtcMillis(), endTimeMs)); in addPlaceholderPrograms() local 1027 … createPlaceholderPrograms(lastProgram.getEndTimeUtcMillis(), endTimeMs)); in addPlaceholderPrograms() local 1094 private List<Program> createPlaceholderPrograms(long startTimeMs, long endTimeMs) { in createPlaceholderPrograms() argument [all …]
|
D | InputSessionManager.java | 117 long endTimeMs) { in createRecordingSession() argument 118 RecordingSession session = new RecordingSession(inputId, tag, callback, handler, endTimeMs); in createRecordingSession() 418 long endTimeMs) { in RecordingSession() argument 423 mEndTimeMs = endTimeMs; in RecordingSession() 506 public void setEndTimeMs(long endTimeMs) { in setEndTimeMs() argument 507 mEndTimeMs = endTimeMs; in setEndTimeMs()
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | DisconnectedCallNotifier.java | 77 public final long endTimeMs; field in DisconnectedCallNotifier.CallInfo 83 public CallInfo(UserHandle userHandle, Uri handle, long endTimeMs, Bitmap callerInfoIcon, in CallInfo() argument 87 this.endTimeMs = endTimeMs; in CallInfo() 100 ", endTimeMs=" + endTimeMs + in toString() 174 .setWhen(call.endTimeMs) in showDisconnectedNotification() 192 .setWhen(call.endTimeMs) in showDisconnectedNotification()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/provider/ |
D | DvrDbSyncTest.java | 130 long endTimeMs = BASE_END_TIME_MS + 1; in testHandleUpdateProgram_changeTimeNotStarted() local 134 .setEndTimeUtcMillis(endTimeMs) in testHandleUpdateProgram_changeTimeNotStarted() 233 long endTimeMs = BASE_END_TIME_MS + 1; in testHandleUpdateProgram_changeTimeNotStartedWithScheduleOffsets() local 237 .setEndTimeUtcMillis(endTimeMs) in testHandleUpdateProgram_changeTimeNotStartedWithScheduleOffsets() 261 long endTimeMs = BASE_END_TIME_MS + 1; in testHandleUpdateProgram_changeTimeInProgressWithScheduleOffsets() local 265 .setEndTimeUtcMillis(endTimeMs) in testHandleUpdateProgram_changeTimeInProgressWithScheduleOffsets()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ProgramDataManager.java | 305 long endTimeMs = 0; in prefetchChannel() local 314 endTimeMs = startTimeMs + programGuideMaxHoursMs; in prefetchChannel() 316 endTimeMs = startTimeMs + mMaxFetchHoursMs; in prefetchChannel() 318 if (endTimeMs > 0) { in prefetchChannel() 320 new SingleChannelPrefetchTask(channelId, startTimeMs, endTimeMs).executeOnDbThread(); in prefetchChannel() 758 public SingleChannelPrefetchTask(long channelId, long startTimeMs, long endTimeMs) { in SingleChannelPrefetchTask() argument 762 TvContract.buildProgramsUriForChannel(channelId, startTimeMs, endTimeMs), in SingleChannelPrefetchTask() 1014 private Program createStubProgram(long startTimeMs, long endTimeMs) { in createStubProgram() argument 1018 .setEndTimeUtcMillis(endTimeMs) in createStubProgram()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrChannelRecordDurationOptionFragment.java | 96 long endTimeMs = System.currentTimeMillis() + duration; in onTrackedGuidedActionClicked() local 98 dvrManager.getConflictingSchedules(mChannel.getId(), startTimeMs, endTimeMs); in onTrackedGuidedActionClicked() 99 dvrManager.addSchedule(mChannel, startTimeMs, endTimeMs); in onTrackedGuidedActionClicked() 107 args.putLong(DvrHalfSizedDialogFragment.KEY_END_TIME_MS, endTimeMs); in onTrackedGuidedActionClicked()
|
D | DvrRecordingSettingsFragment.java | 159 long endTimeMs = mProgram.getEndTimeUtcMillis() + endLateTimeMs; in onGuidedActionClicked() local 163 .setEndTimeUtcMillis(endTimeMs) in onGuidedActionClicked()
|
D | DvrUiHelper.java | 666 Context context, String title, long startTimeMs, long endTimeMs) { in showAddScheduleToast() argument 673 Utils.toTimeString(endTimeMs, false)); in showAddScheduleToast()
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgFetchHelper.java | 85 long endTimeMs = startTimeMs + PROGRAM_QUERY_DURATION_MS; in updateEpgData() local 86 List<Program> oldPrograms = queryPrograms(context, channelId, startTimeMs, endTimeMs); in updateEpgData() 204 Context context, long channelId, long startTimeMs, long endTimeMs) { in queryPrograms() argument 215 channelId, startTimeMs, endTimeMs), in queryPrograms() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | AbstractZenModePreferenceController.java | 203 long endTimeMs = schedule.getNextChangeTime(System.currentTimeMillis()); in parseAutomaticRuleEndTime() local 209 if (schedule.shouldExitForAlarm(endTimeMs)) { in parseAutomaticRuleEndTime() 214 return endTimeMs; in parseAutomaticRuleEndTime()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AbstractZenModePreferenceController.java | 203 long endTimeMs = schedule.getNextChangeTime(System.currentTimeMillis()); in parseAutomaticRuleEndTime() local 209 if (schedule.shouldExitForAlarm(endTimeMs)) { in parseAutomaticRuleEndTime() 214 return endTimeMs; in parseAutomaticRuleEndTime()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/ |
D | ProgramUtils.java | 122 Context context, Uri channelUri, long startTimeMs, long endTimeMs) { in getLastProgramEndTimeMs() argument 123 Uri uri = TvContract.buildProgramsUriForChannel(channelUri, startTimeMs, endTimeMs); in getLastProgramEndTimeMs()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrScheduleManager.java | 575 long channelId, long startTimeMs, long endTimeMs) { in getConflictingSchedules() argument 578 SoftPreconditions.checkState(startTimeMs < endTimeMs, TAG, "Recording duration is empty."); in getConflictingSchedules() argument 579 if (!mInitialized || channelId == Channel.INVALID_ID || startTimeMs >= endTimeMs) { in getConflictingSchedules() 589 ScheduledRecording.builder(input.getId(), channelId, startTimeMs, endTimeMs) in getConflictingSchedules()
|
D | DvrManager.java | 614 long channelId, long startTimeMs, long endTimeMs) { in getConflictingSchedules() argument 618 return mScheduleManager.getConflictingSchedules(channelId, startTimeMs, endTimeMs); in getConflictingSchedules()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManager.java | 714 TunerChannel channel, @Nullable Long startTimeMs, @Nullable Long endTimeMs) { in getAllProgramsForChannel() argument 718 (startTimeMs == null || endTimeMs == null) in getAllProgramsForChannel() 720 : TvContract.buildProgramsUriForChannel(channelId, startTimeMs, endTimeMs); in getAllProgramsForChannel()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | Utils.java | 483 public static int computeDateDifference(long startTimeMs, long endTimeMs) { in computeDateDifference() argument 487 calTo.setTime(new Date(endTimeMs)); in computeDateDifference()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | ScheduledRecording.java | 206 public Builder setEndTimeMs(long endTimeMs) { in setEndTimeMs() argument 207 mEndTimeMs = endTimeMs; in setEndTimeMs()
|