/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | BasalCaloriesAggregationTest.java | 90 .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 …]
|
D | DataFactory.java | 75 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()
|
D | ExerciseDurationAggregationTest.java | 57 .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()
|
D | SleepDurationAggregationTest.java | 53 .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/ |
D | TimeRangeFilterTest.java | 48 .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()
|
D | DeleteUsingFiltersRequestTest.java | 45 .setStartTime(Instant.now()) in testCreateDeleteUsingFiltersRequest() 68 .setStartTime(Instant.now()) in testCreateDeleteUsingFiltersRequest_clearDataOriginsAndRecords()
|
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/ |
D | TestUtils.java | 81 .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/ |
D | PermissionTypesFragmentTest.kt | 73 .setStartTime(Instant.EPOCH) in teardown() 79 .setStartTime(Instant.EPOCH) in teardown() 85 .setStartTime(Instant.EPOCH) in teardown()
|
D | CategoriesFragmentTest.kt | 67 .setStartTime(Instant.EPOCH) in teardown() 73 .setStartTime(Instant.EPOCH) in teardown()
|
D | DataEntriesFragmentTest.kt | 68 .setStartTime(Instant.EPOCH) in tearDown() 74 .setStartTime(Instant.EPOCH) in tearDown()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | StepsRecordTest.java | 120 .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 …]
|
D | HeartRateRecordTest.java | 97 .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 …]
|
D | WeightRecordTest.java | 107 .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 …]
|
D | DistanceRecordTest.java | 88 .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()
|
D | HydrationRecordTest.java | 83 .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()
|
D | ElevationGainedRecordTest.java | 88 .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()
|
D | FloorsClimbedRecordTest.java | 83 .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/ |
D | DataUsageCyclePreferenceControllerTest.java | 93 .setStartTime(START_TIME_1) in createDataList() 100 .setStartTime(START_TIME_2) in createDataList()
|
D | AppSpecificDataUsageCyclePreferenceControllerTest.java | 100 .setStartTime(START_TIME_1) in createDataList() 110 .setStartTime(START_TIME_2) in createDataList()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | SleepStageInternal.java | 44 .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/ |
D | TransactionManagerExerciseRoutesTest.java | 213 .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/ |
D | HealthConnectManagerNoPermissionsGrantedTest.java | 153 .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/ |
D | DeletionViewModel.kt | 88 fun setStartTime(startTime: Instant) { in setStartTime() method 117 .setStartTime(currentDeletionParameters().getStartTimeInstant()) in delete()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/ |
D | HistoricAccessLimitTest.java | 217 .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/ |
D | LoadMenstruationDataUseCase.kt | 79 val timeRange = TimeInstantRangeFilter.Builder().setStartTime(start).setEndTime(end).build() in <lambda>() 109 val timeRange = TimeInstantRangeFilter.Builder().setStartTime(start).setEndTime(end).build() in <lambda>()
|