Home
last modified time | relevance | path

Searched refs:endTimeMs (Results 1 – 24 of 24) 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/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/
DDeletionParametersTest.kt51 endTimeMs = endTime.toEpochMilli(), in deletionTypeHealthPermissionTypeData_toParcel()
64 assertTrue(deletionParameters.endTimeMs == outValue?.endTimeMs) in deletionTypeHealthPermissionTypeData_toParcel()
84 endTimeMs = endTime.toEpochMilli(), in deletionTypeCategoryData_toParcel()
97 assertTrue(deletionParameters.endTimeMs == outValue?.endTimeMs) in deletionTypeCategoryData_toParcel()
196 endTimeMs = endTime.toEpochMilli(), in getEndTimeInstant_24HoursRangeSelected_correctEndTimeReturned()
211 endTimeMs = endTime.toEpochMilli(), in getEndTimeInstant_allTimeRangeSelected_correctEndTimeReturned()
/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.java118 long endTimeMs) { in createRecordingSession() argument
119 RecordingSession session = new RecordingSession(inputId, tag, callback, handler, endTimeMs); in createRecordingSession()
419 long endTimeMs) { in RecordingSession() argument
424 mEndTimeMs = endTimeMs; in RecordingSession()
507 public void setEndTimeMs(long endTimeMs) { in setEndTimeMs() argument
508 mEndTimeMs = endTimeMs; in setEndTimeMs()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DDisconnectedCallNotifier.java78 public final long endTimeMs; field in DisconnectedCallNotifier.CallInfo
84 public CallInfo(UserHandle userHandle, Uri handle, long endTimeMs, Bitmap callerInfoIcon, in CallInfo() argument
88 this.endTimeMs = endTimeMs; in CallInfo()
101 ", endTimeMs=" + endTimeMs + in toString()
174 .setWhen(call.endTimeMs) in showDisconnectedNotification()
192 .setWhen(call.endTimeMs) in showDisconnectedNotification()
/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/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/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/
DDeletionParameters.kt31 val endTimeMs: Long = -1L, constant in com.android.healthconnect.controller.deletion.DeletionParameters
57 parcel.writeLong(endTimeMs) in writeToParcel()
130 return Instant.ofEpochMilli(endTimeMs) in getEndTimeInstant()
DDeletionViewModel.kt85 _deletionParameters.value?.copy(endTimeMs = endTime.toEpochMilli()) in setEndTime()
DDeletionConfirmationDialogFragment.kt162 dateFormatter.formatLongDate(deletionParameters.endTimeMs.toInstant())) + in <lambda>()
/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/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/apps/Settings/src/com/android/settings/notification/zen/
DAbstractZenModePreferenceController.java209 long endTimeMs = schedule.getNextChangeTime(System.currentTimeMillis()); in parseAutomaticRuleEndTime() local
215 if (schedule.shouldExitForAlarm(endTimeMs)) { in parseAutomaticRuleEndTime()
220 return endTimeMs; in parseAutomaticRuleEndTime()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DColdRebootStartupLatencyLogger.kt100 endTimeMs: Long in logEnd()
109 endTimeByEvent.put(event.id, endTimeMs) in logEnd()
DStartupLatencyLogger.kt46 fun logEnd(event: StatsLogManager.LauncherLatencyEvent, endTimeMs: Long): StartupLatencyLogger = in log()
/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/tuner/sampletunertvinput/src/com/android/tv/samples/sampletunertvinput/
DSampleTunerTvInputService.java349 long endTimeMs = startTimeMs + ((long)eventInfo.getLengthSeconds() * 1000);
353 TvContract.buildProgramsUriForChannel(mChannelUri, startTimeMs, endTimeMs);
363 values.put(TvContract.Programs.COLUMN_END_TIME_UTC_MILLIS, endTimeMs);
/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()