Home
last modified time | relevance | path

Searched refs:setStartTime (Results 1 – 25 of 139) sorted by relevance

123456

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DBasalCaloriesAggregationTest.java90 .setStartTime(now.minus(2, DAYS)) in testAggregation_BasalCaloriesBurntTotal_noRecord()
107 .setStartTime(Instant.now().minus(2, DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm()
119 .setStartTime(Instant.now().minus(2, DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm()
140 .setStartTime(now.minus(3, DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm_group()
155 .setStartTime(now.minus(3, DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm_group()
178 .setStartTime(now.minus(3, DAYS)) in testAggregation_BasalCaloriesBurntTotal_groupByDuration_lbmDerived()
209 .setStartTime(now.minus(3, DAYS)) in testAggregation_BasalCaloriesBurntTotal_profile_group()
225 .setStartTime(now.minus(3, DAYS)) in testAggregation_BasalCaloriesBurntTotal_profile_group()
244 .setStartTime(now.minus(2, DAYS)) in testAggregation_basalCaloriesBurntTotal_onlyWeightBeforeInterval_usesProfile()
266 .setStartTime(now.minus(2, DAYS)) in testAggregation_basalCaloriesBurntTotal_HeightAndWeightBeforeInterval_usesProfile()
[all …]
DDataFactory.java75 return new TimeInstantRangeFilter.Builder().setStartTime(start).setEndTime(end).build(); in getTimeFilter()
80 return new LocalTimeRangeFilter.Builder().setStartTime(start).setEndTime(end).build(); in getTimeFilter()
97 return new TimeInstantRangeFilter.Builder().setStartTime(start).build(); in getOpenEndTimeFilter()
104 return new LocalTimeRangeFilter.Builder().setStartTime(start).build(); in getOpenEndTimeFilter()
DExerciseDurationAggregationTest.java57 .setStartTime(Instant.EPOCH)
63 .setStartTime(SESSION_START_TIME)
94 .setStartTime(Instant.EPOCH) in tearDown()
227 .setStartTime(SESSION_START_TIME) in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups()
264 .setStartTime(endTimeLocal.minusHours(25)) in testAggregation_oneSessionLocalTimeFilter_findsSessionWithMinOffset()
302 .setStartTime(endTimeLocal.minusHours(25)) in testAggregation_oneSessionLocalTimeFilterExcludeSegment_substractsExcludeInterval()
DSleepDurationAggregationTest.java53 .setStartTime(Instant.EPOCH)
79 .setStartTime(Instant.EPOCH) in tearDown()
163 .setStartTime(SESSION_START_TIME) in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DTimeRangeFilterTest.java48 .setStartTime(startTime) in testLocalTimeRangeFilter()
63 .setStartTime(startTime) in testTimeInstantRangeFilter()
84 new TimeInstantRangeFilter.Builder().setStartTime(startTime).build(); in testEndTimeInstantRangeFilter_endTimeNull()
104 new LocalTimeRangeFilter.Builder().setStartTime(startTime).build(); in testEndTimeLocalRangeFilter_endTimeNull()
115 new TimeInstantRangeFilter.Builder().setStartTime(time).setEndTime(time); in instantTimeRange_startTimeNotLaterThanEndTime_throws()
128 new LocalTimeRangeFilter.Builder().setStartTime(time).setEndTime(time); in localTimeRange_startTimeNotLaterThanEndTime_throws()
DDeleteUsingFiltersRequestTest.java45 .setStartTime(Instant.now()) in testCreateDeleteUsingFiltersRequest()
68 .setStartTime(Instant.now()) in testCreateDeleteUsingFiltersRequest_clearDataOriginsAndRecords()
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DTestUtils.java81 .setStartTime(START_TIME) in buildExerciseSessionInternal()
101 .setStartTime(START_TIME) in buildPlannedExerciseSessionInternal()
142 .setStartTime(START_TIME) in buildSleepSessionInternal()
161 .setStartTime(START_TIME) in buildSleepStage()
178 .setStartTime((long) 1e9) in buildExerciseSessionInternalNoExtraFields()
187 .setStartTime((long) 1e9) in buildSleepSessionInternalNoExtraFields()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/
DPermissionTypesFragmentTest.kt73 .setStartTime(Instant.EPOCH) in teardown()
79 .setStartTime(Instant.EPOCH) in teardown()
85 .setStartTime(Instant.EPOCH) in teardown()
DCategoriesFragmentTest.kt67 .setStartTime(Instant.EPOCH) in teardown()
73 .setStartTime(Instant.EPOCH) in teardown()
DDataEntriesFragmentTest.kt68 .setStartTime(Instant.EPOCH) in tearDown()
74 .setStartTime(Instant.EPOCH) in tearDown()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DStepsRecordTest.java120 .setStartTime(Instant.EPOCH) in tearDown()
210 .setStartTime(NOW) in testReadStepsRecordUsingFilters_timeFilter()
292 .setStartTime(recordTime.minus(1, ChronoUnit.SECONDS)) in testReadStepsRecordUsingFilters_timeFilterLocal()
311 .setStartTime( in testReadStepsRecordUsingFilters_timeFilterLocal()
484 .setStartTime(NOW) in testDeleteStepsRecord_time_filters()
501 .setStartTime(recordTime.minus(2, ChronoUnit.SECONDS)) in testReadStepsRecordUsingFiltersLocal_withPageSize()
551 .setStartTime(recordTime) in testDeleteStepsRecord_time_filters_local()
687 .setStartTime(NOW) in testDeleteStepsRecord_time_range()
720 .setStartTime(Instant.EPOCH) in testDeleteStepsRecord_usingTime_forAnotherApp_notDeleted()
824 .setStartTime(start.plus(10, ChronoUnit.MINUTES)) in testAggregation_recordStartsBeforeAggWindow_returnsRescaledStepsCountInResult()
[all …]
DHeartRateRecordTest.java97 .setStartTime(Instant.EPOCH) in tearDown()
184 .setStartTime(Instant.now()) in testReadHeartRateRecordUsingFilters_timeFilter()
326 .setStartTime(Instant.now()) in testDeleteHeartRateRecord_time_filters()
361 .setStartTime(recordTime) in testDeleteHeartRateRecord_time_filters_local()
480 .setStartTime(Instant.now()) in testDeleteHeartRateRecord_time_range()
513 .setStartTime(Instant.EPOCH) in testDeleteHeartRateRecord_usingTime_forAnotherApp_notDeleted()
569 .setStartTime(Instant.ofEpochMilli(0)) in testBpmAggregation_timeRange_all()
613 .setStartTime(Instant.now().plusMillis(1000)) in testBpmAggregation_timeRange_not_present()
642 .setStartTime(Instant.ofEpochMilli(0)) in testBpmAggregation_withDataOrigin_correct()
678 .setStartTime(Instant.ofEpochMilli(0)) in testBpmAggregation_withDataOrigin_incorrect()
[all …]
DWeightRecordTest.java107 .setStartTime(Instant.EPOCH) in tearDown()
174 .setStartTime(Instant.now()) in testReadWeightRecordUsingFilters_timeFilter()
239 .setStartTime(Instant.now()) in testDeleteWeightRecord_time_filters()
262 .setStartTime(recordTime) in testDeleteWeightRecord_time_filters_local()
351 .setStartTime(Instant.now()) in testDeleteWeightRecord_time_range()
546 .setStartTime(endTimeLocal.minusDays(3)) in testAggregatePeriodForZoneOffset()
617 .setStartTime( in testAggregateDuration_differentTimeZones_correctBucketTimes()
665 .setStartTime(endTimeLocal.minusDays(3)) in testDurationLocalTimeAggregationZoneOffset()
715 .setStartTime(endTimeLocal.minusHours(25)) in testAggregateLocalFilter_minOffsetRecord()
762 .setStartTime(endTimeLocal.minusMinutes(1)) in testOffset()
[all …]
DDistanceRecordTest.java88 .setStartTime(Instant.EPOCH) in tearDown()
102 .setStartTime(Instant.EPOCH) in setup()
170 .setStartTime(Instant.now()) in testReadDistanceRecordUsingFilters_timeFilter()
239 .setStartTime(Instant.now()) in testDeleteDistanceRecord_time_filters()
310 .setStartTime(Instant.now()) in testDeleteDistanceRecord_time_range()
576 .setStartTime(Instant.ofEpochMilli(0)) in testAggregation_DistanceTotal_AtOverlapStartAndEndTime()
DHydrationRecordTest.java83 .setStartTime(Instant.EPOCH) in tearDown()
153 .setStartTime(Instant.now()) in testReadHydrationRecordUsingFilters_timeFilter()
222 .setStartTime(Instant.now()) in testDeleteHydrationRecord_time_filters()
294 .setStartTime(Instant.now()) in testDeleteHydrationRecord_time_range()
311 .setStartTime(Instant.ofEpochMilli(0)) in testAggregation_VolumeTotal()
323 .setStartTime(Instant.ofEpochMilli(0)) in testAggregation_VolumeTotal()
DElevationGainedRecordTest.java88 .setStartTime(Instant.EPOCH) in tearDown()
165 .setStartTime(Instant.now()) in testReadElevationGainedRecordUsingFilters_timeFilter()
239 .setStartTime(Instant.now()) in testDeleteElevationGainedRecord_time_filters()
315 .setStartTime(Instant.now()) in testDeleteElevationGainedRecord_time_range()
361 .setStartTime(Instant.ofEpochMilli(0)) in testAggregation_ElevationTotal()
373 .setStartTime(Instant.ofEpochMilli(0)) in testAggregation_ElevationTotal()
DFloorsClimbedRecordTest.java83 .setStartTime(Instant.EPOCH) in tearDown()
164 .setStartTime(Instant.now()) in testReadFloorsClimbedRecordUsingFilters_timeFilter()
234 .setStartTime(Instant.ofEpochMilli(0)) in testTotalAggregation_oneRecord_returnsItsTotal()
253 .setStartTime(Instant.ofEpochMilli(0)) in testAggregation_FloorsClimbedTotal()
265 .setStartTime(Instant.ofEpochMilli(0)) in testAggregation_FloorsClimbedTotal()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DDataUsageCyclePreferenceControllerTest.java93 .setStartTime(START_TIME_1) in createDataList()
100 .setStartTime(START_TIME_2) in createDataList()
DAppSpecificDataUsageCyclePreferenceControllerTest.java100 .setStartTime(START_TIME_1) in createDataList()
110 .setStartTime(START_TIME_2) in createDataList()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DSleepStageInternal.java44 .setStartTime(parcel.readLong()) in readFromParcel()
96 public SleepStageInternal setStartTime(long startTime) { in setStartTime() method in SleepStageInternal
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DTransactionManagerExerciseRoutesTest.java213 .setStartTime(Instant.EPOCH) in readRecordsAndPageToken_byFilters_doesNotReturnRoutesOfOtherApps()
252 .setStartTime(Instant.EPOCH) in readRecordsAndPageToken_byFilters_unknownApp_doesNotReturnRoute()
283 .setStartTime(Instant.EPOCH) in readRecordsAndPageToken_byFilters_nullPackageName_doesNotReturnRoute()
314 .setStartTime(Instant.EPOCH) in readRecordsAndPageToken_byFilters_withReadRoutePermission_returnsRoute()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNoPermissionsGrantedTest.java153 .setStartTime(Instant.now()) in testDeleteUsingFilter_noPermissions_expectError()
286 .setStartTime(Instant.ofEpochMilli(0)) in testAggregate_noPermissions_expectError()
319 .setStartTime(NOW.minusMillis(500)) in testAggregateGroupByDuration_noPermissions_expectError()
355 .setStartTime(LocalDateTime.ofInstant(start, ZoneOffset.UTC)) in testAggregateGroupByPeriod_noPermissions_expectError()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/
DDeletionViewModel.kt88 fun setStartTime(startTime: Instant) { in setStartTime() method
117 .setStartTime(currentDeletionParameters().getStartTimeInstant()) in delete()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/
DHistoricAccessLimitTest.java217 .setStartTime(daysBeforeNow(1000)) in testAggregateIntervalRecords_expectCorrectResponse()
247 .setStartTime(daysBeforeNow(1000)) in testAggregateInstantRecords_expectCorrectResponse()
367 .setStartTime(daysBeforeNow(1000)) in testAggregateAnotherAppsRecords_recordsAreAfterCutOff_expectCorrectAggregation()
388 .setStartTime(daysBeforeNow(1000)) in testAggregateAnotherAppsRecords_recordsAreBeforeCutOff_expectNoAggregation()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DLoadMenstruationDataUseCase.kt79 val timeRange = TimeInstantRangeFilter.Builder().setStartTime(start).setEndTime(end).build() in <lambda>()
109 val timeRange = TimeInstantRangeFilter.Builder().setStartTime(start).setEndTime(end).build() in <lambda>()

123456