Home
last modified time | relevance | path

Searched refs:endTimeMs (Results 1 – 18 of 18) sorted by relevance

/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DInputTaskSchedulerTest.java149 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/
DTimeShiftManager.java924 void onRecordTimeRangeChanged(long startTimeMs, long endTimeMs) { in onRecordTimeRangeChanged() argument
928 if (endTimeMs == CURRENT_TIME) { in onRecordTimeRangeChanged()
929 endTimeMs = System.currentTimeMillis(); in onRecordTimeRangeChanged()
935endTimeMs + 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 …]
DInputSessionManager.java117 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/
DDisconnectedCallNotifier.java77 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/
DDvrDbSyncTest.java130 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/
DProgramDataManager.java305 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/
DDvrChannelRecordDurationOptionFragment.java96 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()
DDvrRecordingSettingsFragment.java159 long endTimeMs = mProgram.getEndTimeUtcMillis() + endLateTimeMs; in onGuidedActionClicked() local
163 .setEndTimeUtcMillis(endTimeMs) in onGuidedActionClicked()
DDvrUiHelper.java666 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/
DEpgFetchHelper.java85 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/
DAbstractZenModePreferenceController.java203 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/
DAbstractZenModePreferenceController.java203 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/
DProgramUtils.java122 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/
DDvrScheduleManager.java575 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()
DDvrManager.java614 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/
DChannelDataManager.java714 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/
DUtils.java483 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/
DScheduledRecording.java206 public Builder setEndTimeMs(long endTimeMs) { in setEndTimeMs() argument
207 mEndTimeMs = endTimeMs; in setEndTimeMs()