Home
last modified time | relevance | path

Searched refs:startDate (Results 1 – 10 of 10) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DAggregationDataCard.kt59 val totalStartDate = cardInfo.startDate
142 private fun formatDateText(startDate: Instant, endDate: Instant?): String { in formatDateText()
152 if (isLessThanOneYearAgo(startDate) && isLessThanOneYearAgo(localEndDate)) { in formatDateText()
153 dateFormatter.formatDateRangeWithoutYear(startDate, localEndDate) in formatDateText()
155 dateFormatter.formatDateRangeWithYear(startDate, localEndDate) in formatDateText()
159 if (isLessThanOneYearAgo(startDate)) { in formatDateText()
160 dateFormatter.formatShortDate(startDate) in formatDateText()
162 dateFormatter.formatLongDate(startDate) in formatDateText()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadMostRecentAggregationsUseCaseTest.kt225 val startDate = LocalDate.of(2023, 4, 5).randomInstant() in loadMostRecentAggregations_forSleep_sessionsSpanOneDay_returnsAggregationInfoForOneDay() constant
228 HealthPermissionType.SLEEP, startDate.toLocalDate()) in loadMostRecentAggregations_forSleep_sessionsSpanOneDay_returnsAggregationInfoForOneDay()
229 sleepSessionHelper.setDatePair(startDate, endDate) in loadMostRecentAggregations_forSleep_sessionsSpanOneDay_returnsAggregationInfoForOneDay()
241 startDate = startDate, in loadMostRecentAggregations_forSleep_sessionsSpanOneDay_returnsAggregationInfoForOneDay()
248 val startDate = LocalDate.of(2023, 4, 5).randomInstant() in loadMostRecentAggregations_forSleep_sessionsSpanTwoDays_returnsAggregationInfoWithStartAndEndTime() constant
252 HealthPermissionType.SLEEP, startDate.toLocalDate()) in loadMostRecentAggregations_forSleep_sessionsSpanTwoDays_returnsAggregationInfoWithStartAndEndTime()
254 sleepSessionHelper.setDatePair(startDate, endDate) in loadMostRecentAggregations_forSleep_sessionsSpanTwoDays_returnsAggregationInfoWithStartAndEndTime()
267 startDate = startDate, in loadMostRecentAggregations_forSleep_sessionsSpanTwoDays_returnsAggregationInfoWithStartAndEndTime()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DLoadMenstruationDataUseCase.kt67 val startDate = in <lambda>() constant
73 val end = startDate.plus(ofHours(23)).plus(ofMinutes(59)) in <lambda>()
94 (menstruationPeriodRecord.endTime.isAfter(startDate) || in <lambda>()
95 menstruationPeriodRecord.endTime.equals(startDate)) in <lambda>()
98 return records.map { record -> menstruationPeriodFormatter.format(startDate, record) } in <lambda>()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDownloadIdAndStartDate.java25 public DownloadIdAndStartDate(final long id, final long startDate) { in DownloadIdAndStartDate() argument
27 mStartDate = startDate; in DownloadIdAndStartDate()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java343 public DumpInstances(String startDate, String endDate) { in DumpInstances() argument
345 time.parse3339(startDate); in DumpInstances()
367 public QueryNumInstances(String startDate, String endDate, int expected) { in QueryNumInstances() argument
369 time.parse3339(startDate); in QueryNumInstances()
395 public VerifyAllInstances(String startDate, String endDate, String[] dates) { in VerifyAllInstances() argument
397 time.parse3339(startDate); in VerifyAllInstances()
490 public VerifyInstance(String startDate, String endDate, String date) { in VerifyInstance() argument
492 time.parse3339(startDate); in VerifyInstance()
553 public EventInfo(String title, String startDate, String endDate, in EventInfo() argument
555 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE); in EventInfo()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DPlannedExerciseSessionRecord.java238 @NonNull LocalDate startDate, in Builder() argument
241 Objects.requireNonNull(startDate); in Builder()
247 startDate.atTime(LocalTime.NOON).atZone(ZoneId.systemDefault()).toInstant(); in Builder()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/
DAggregationCardInfo.kt24 val startDate: Instant, constant in com.android.healthconnect.controller.datasources.AggregationCardInfo
/packages/apps/Settings/src/com/android/settings/datausage/
DChartDataUsagePreference.java130 final String startDate = DateUtils.formatDateTime(context, mStart, flags); in setupContentDescription() local
133 .getString(R.string.data_usage_chart_brief_content_description, startDate, endDate); in setupContentDescription()
/packages/apps/Settings/src/com/android/settings/
DSettingsDumpService.java160 obj.put("start", usage.startDate); in dumpDataUsage()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...