Home
last modified time | relevance | path

Searched refs:endTimeLocal (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DWeightRecordTest.java541 LocalDateTime endTimeLocal = LocalDateTime.ofInstant(endTime, offset); in testAggregatePeriodForZoneOffset() local
546 .setStartTime(endTimeLocal.minusDays(3)) in testAggregatePeriodForZoneOffset()
547 .setEndTime(endTimeLocal) in testAggregatePeriodForZoneOffset()
558 LocalDateTime groupBoundary = endTimeLocal.minusDays(3); in testAggregatePeriodForZoneOffset()
658 LocalDateTime endTimeLocal = LocalDateTime.ofInstant(endTime, offset); in testDurationLocalTimeAggregationZoneOffset() local
665 .setStartTime(endTimeLocal.minusDays(3)) in testDurationLocalTimeAggregationZoneOffset()
666 .setEndTime(endTimeLocal) in testDurationLocalTimeAggregationZoneOffset()
673 Instant groupBoundary = endTimeLocal.minusDays(3).toInstant(offset); in testDurationLocalTimeAggregationZoneOffset()
708 LocalDateTime endTimeLocal = LocalDateTime.now(ZoneOffset.UTC); in testAggregateLocalFilter_minOffsetRecord() local
715 .setStartTime(endTimeLocal.minusHours(25)) in testAggregateLocalFilter_minOffsetRecord()
[all …]
DStepsRecordTest.java1253 LocalDateTime endTimeLocal = LocalDateTime.now(offset); in testAggregationLocalTimeOffset() local
1254 LocalDateTime startTimeLocal = endTimeLocal.minusDays(4); in testAggregationLocalTimeOffset()
1255 Instant endTimeInstant = endTimeLocal.toInstant(offset); in testAggregationLocalTimeOffset()
1263 .setEndTime(endTimeLocal) in testAggregationLocalTimeOffset()
1301 LocalDateTime endTimeLocal = LocalDateTime.ofInstant(end, ZoneOffset.UTC); in testAggregatePeriod_withLocalDateTime_halfSizeGroupResultIsCorrect() local
1306 .setStartTime(endTimeLocal.minusHours(60)) in testAggregatePeriod_withLocalDateTime_halfSizeGroupResultIsCorrect()
1307 .setEndTime(endTimeLocal.minusHours(24)) in testAggregatePeriod_withLocalDateTime_halfSizeGroupResultIsCorrect()
1323 LocalDateTime endTimeLocal = LocalDateTime.now(ZoneOffset.UTC); in testAggregateLocalFilter_minOffsetRecord() local
1330 .setStartTime(endTimeLocal.minusHours(25)) in testAggregateLocalFilter_minOffsetRecord()
1331 .setEndTime(endTimeLocal.minusHours(15)) in testAggregateLocalFilter_minOffsetRecord()
[all …]
DHeartRateRecordTest.java974 LocalDateTime endTimeLocal = LocalDateTime.now(ZoneOffset.UTC); in testAggregateLocalFilter_minOffsetRecord() local
981 .setStartTime(endTimeLocal.minusHours(25)) in testAggregateLocalFilter_minOffsetRecord()
982 .setEndTime(endTimeLocal.minusHours(15)) in testAggregateLocalFilter_minOffsetRecord()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DExerciseDurationAggregationTest.java246 LocalDateTime endTimeLocal = LocalDateTime.ofInstant(endTime, ZoneOffset.UTC); in testAggregation_oneSessionLocalTimeFilter_findsSessionWithMinOffset() local
264 .setStartTime(endTimeLocal.minusHours(25)) in testAggregation_oneSessionLocalTimeFilter_findsSessionWithMinOffset()
265 .setEndTime(endTimeLocal.minusHours(15)) in testAggregation_oneSessionLocalTimeFilter_findsSessionWithMinOffset()
296 LocalDateTime endTimeLocal = LocalDateTime.ofInstant(endTime, ZoneOffset.UTC); in testAggregation_oneSessionLocalTimeFilterExcludeSegment_substractsExcludeInterval() local
302 .setStartTime(endTimeLocal.minusHours(25)) in testAggregation_oneSessionLocalTimeFilterExcludeSegment_substractsExcludeInterval()
303 .setEndTime(endTimeLocal.minusHours(15)) in testAggregation_oneSessionLocalTimeFilterExcludeSegment_substractsExcludeInterval()