/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | BasalCaloriesAggregationTest.java | 26 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponse; 87 getAggregateResponse( in testAggregation_BasalCaloriesBurntTotal_noRecord() 104 getAggregateResponse( in testAggregation_BasalCaloriesBurntTotal_lbm() 116 getAggregateResponse( in testAggregation_BasalCaloriesBurntTotal_lbm() 152 getAggregateResponse( in testAggregation_BasalCaloriesBurntTotal_lbm_group() 222 getAggregateResponse( in testAggregation_BasalCaloriesBurntTotal_profile_group() 241 getAggregateResponse( in testAggregation_basalCaloriesBurntTotal_onlyWeightBeforeInterval_usesProfile() 263 getAggregateResponse( in testAggregation_basalCaloriesBurntTotal_HeightAndWeightBeforeInterval_usesProfile() 291 getAggregateResponse( in testAggregation_basalCaloriesBurntTotal_HeightWeightBeforeAndAfterInterval_usesProfile() 310 getAggregateResponse( in testAggregation_basalCaloriesBurntTotal_onlyWeightDuringInterval_usesProfile() [all …]
|
D | AggregateWithFiltersTest.java | 38 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponse; 120 AggregateRecordsResponse<Long> response = getAggregateResponse(request); in dataOriginFilter_noFilter_everythingIncluded() 144 AggregateRecordsResponse<Long> response = getAggregateResponse(request); in dataOriginFilter_validFilter_onlyDataFromFilteredApps() 181 getAggregateResponse(requestWithInstantFilter); in dataOriginFilter_invalidApp_noDataReturned() 226 getAggregateResponse(requestWithInstantFilter); in dataOriginFilter_appNotInPriorityList_noDataReturned() 267 getAggregateResponse(requestWithInstantFilter); in dataOriginFilter_noDataFromFilteredApps_noDataReturned() 305 getAggregateResponse(requestWithInstantFilter); in timeRangeFilter_noDataWithinTimeInterval_noDataReturned() 342 getAggregateResponse(requestWithInstantFilter); in timeRangeFilter_priorityType_outOfRangePriorityDataTrimmed() 353 getAggregateResponse(requestWithLocalTimeFilter); in timeRangeFilter_priorityType_outOfRangePriorityDataTrimmed() 377 getAggregateResponse(requestWithInstantFilter); in timeRangeFilter_nonPriorityType_outOfRangeNonPriorityDataExcluded() [all …]
|
D | TotalCaloriesAggregationTest.java | 30 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponse; 102 AggregateRecordsResponse<Energy> response = getAggregateResponse(request); in totalCaloriesBurned_derivedFromDefaultBasalCalories() 121 AggregateRecordsResponse<Energy> response = getAggregateResponse(request); in totalCaloriesBurned_derivedFromWeightAndHeight() 137 AggregateRecordsResponse<Energy> response = getAggregateResponse(request); in totalCaloriesBurned_derivedFromLbm() 152 AggregateRecordsResponse<Energy> response = getAggregateResponse(request); in totalCaloriesBurned_derivedFromBmr() 170 AggregateRecordsResponse<Energy> response = getAggregateResponse(request); in totalCaloriesBurned_hasActiveCaloriesData_sumActiveAndBasalCalories() 188 AggregateRecordsResponse<Energy> response = getAggregateResponse(request); in totalCaloriesBurned_hasTotalCaloriesData_addBasalCaloriesAtGaps() 213 AggregateRecordsResponse<Energy> response = getAggregateResponse(request); in totalCaloriesBurned_hasActiveAndTotalCaloriesData_addBasalCaloriesAtGaps() 237 AggregateRecordsResponse<Energy> response = getAggregateResponse(request); in totalCaloriesBurned_totalCaloriesDataWithoutGap_equalsToTotalCalories() 255 AggregateRecordsResponse<Energy> response = getAggregateResponse(request); in totalCaloriesBurned_deriveBasalAndActiveAndTotalCalories()
|
D | ExerciseDurationAggregationTest.java | 23 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponse; 111 AggregateRecordsResponse<Long> response = getAggregateResponse(mAggregateAllRecordsRequest); in testSimpleAggregation_oneSession_returnsItsDuration() 135 AggregateRecordsResponse<Long> response = getAggregateResponse(mAggregateInSmallWindow); in testSimpleAggregation_oneSessionStartEarlierThanWindow_returnsOverlapDuration() 158 AggregateRecordsResponse<Long> response = getAggregateResponse(mAggregateInSmallWindow); in testSimpleAggregation_oneSessionBiggerThanWindow_returnsOverlapDuration() 196 AggregateRecordsResponse<Long> response = getAggregateResponse(mAggregateAllRecordsRequest); in testSimpleAggregation_oneSessionWithRest_returnsDurationMinusRest() 261 getAggregateResponse( in testAggregation_oneSessionLocalTimeFilter_findsSessionWithMinOffset() 299 getAggregateResponse( in testAggregation_oneSessionLocalTimeFilterExcludeSegment_substractsExcludeInterval()
|
D | SleepDurationAggregationTest.java | 23 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponse; 92 AggregateRecordsResponse<Long> response = getAggregateResponse(mAggregateAllRecordsRequest); in testSimpleAggregation_oneSession_returnsItsDuration() 136 AggregateRecordsResponse<Long> response = getAggregateResponse(mAggregateAllRecordsRequest); in testSimpleAggregation_oneSessionWithAwake_returnsDurationMinusAwake()
|
D | AggregationApisTest.java | 37 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponse; 120 AggregateRecordsResponse<Long> response = getAggregateResponse(request); in aggregate_noData_nullResponse() 169 AggregateRecordsResponse<Long> response = getAggregateResponse(aggregateRecordsRequest); in aggregateWithInstantFilter_stepsCountTotal() 305 AggregateRecordsResponse<Mass> response = getAggregateResponse(aggregateRecordsRequest); in aggregateWithInstantFilter_weightMax()
|
D | AggregateOtherAppsDataTest.java | 158 TestUtils.getAggregateResponse( in assertAggregation()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/ |
D | HistoricAccessLimitTest.java | 222 TestUtils.getAggregateResponse( in testAggregateIntervalRecords_expectCorrectResponse() 252 TestUtils.getAggregateResponse( in testAggregateInstantRecords_expectCorrectResponse() 372 TestUtils.getAggregateResponse( in testAggregateAnotherAppsRecords_recordsAreAfterCutOff_expectCorrectAggregation() 393 TestUtils.getAggregateResponse( in testAggregateAnotherAppsRecords_recordsAreBeforeCutOff_expectNoAggregation()
|
D | HistoricAccessLimitWithPermissionTest.java | 24 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponse; 202 getAggregateResponse( in testAggregateIntervalRecords_expectCorrectResponse() 233 getAggregateResponse( in testAggregateInstantRecords_expectCorrectResponse()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectDeviceTest.java | 44 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponse; 472 TestUtils.getAggregateResponse( in testAggregateRecords_onlyWritePermissions_requestsOwnDataOnly_succeeds() 493 TestUtils.getAggregateResponse( in testAggregateRecords_onlyWritePermissions_requestsOthersData_throwsHcException() 521 TestUtils.getAggregateResponse( in testAggregateRecords_onlyWritePermissions_allDataRequested_throwsHcException() 541 TestUtils.getAggregateResponse( in testAggregateRecords_someReadAndWritePermissions_requestsOthersData_throwsHcException() 986 AggregateRecordsResponse<Long> oldResponse = getAggregateResponse(aggregateRecordsRequest); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority() 1015 AggregateRecordsResponse<Long> newResponse = getAggregateResponse(aggregateRecordsRequest); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority() 1085 AggregateRecordsResponse<Long> response = getAggregateResponse(aggregateRecordsRequest); in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority() 1118 AggregateRecordsResponse<Long> newResponse = getAggregateResponse(aggregateRecordsRequest); in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | HeartRateRecordTest.java | 566 TestUtils.getAggregateResponse( in testBpmAggregation_timeRange_all() 610 TestUtils.getAggregateResponse( in testBpmAggregation_timeRange_not_present() 639 TestUtils.getAggregateResponse( in testBpmAggregation_withDataOrigin_correct() 675 TestUtils.getAggregateResponse( in testBpmAggregation_withDataOrigin_incorrect() 820 TestUtils.getAggregateResponse( in testHeartAggregation_measurement_count() 836 TestUtils.getAggregateResponse( in testHeartAggregation_measurement_count() 978 TestUtils.getAggregateResponse( in testAggregateLocalFilter_minOffsetRecord()
|
D | FloorsClimbedRecordTest.java | 231 TestUtils.getAggregateResponse( in testTotalAggregation_oneRecord_returnsItsTotal() 250 TestUtils.getAggregateResponse( in testAggregation_FloorsClimbedTotal() 262 TestUtils.getAggregateResponse( in testAggregation_FloorsClimbedTotal()
|
D | NutritionRecordTest.java | 440 TestUtils.getAggregateResponse( in testAggregation_NutritionValuesTotal() 491 TestUtils.getAggregateResponse( in testAggregation_NutritionValuesTotal() 561 TestUtils.getAggregateResponse( in testAggregation_NutritionEnergyValuesTotal() 573 TestUtils.getAggregateResponse( in testAggregation_NutritionEnergyValuesTotal()
|
D | WheelchairPushesRecordTest.java | 239 TestUtils.getAggregateResponse( in testAggregation_countTotal() 251 TestUtils.getAggregateResponse( in testAggregation_countTotal()
|
D | StepsRecordTest.java | 830 AggregateRecordsResponse<Long> response = TestUtils.getAggregateResponse(request, record); in testAggregation_recordStartsBeforeAggWindow_returnsRescaledStepsCountInResult() 962 TestUtils.getAggregateResponse( in testAggregation_StepsCountTotal_withDuplicateEntry() 974 TestUtils.getAggregateResponse( in testAggregation_StepsCountTotal_withDuplicateEntry() 1327 TestUtils.getAggregateResponse( in testAggregateLocalFilter_minOffsetRecord() 1375 TestUtils.getAggregateResponse(aggregateRecordsRequest, records); in testAggregate_withDifferentTimeZone() 1382 TestUtils.getAggregateResponse( in testAggregate_withDifferentTimeZone()
|
D | HydrationRecordTest.java | 308 TestUtils.getAggregateResponse( in testAggregation_VolumeTotal() 320 TestUtils.getAggregateResponse( in testAggregation_VolumeTotal()
|
D | ElevationGainedRecordTest.java | 358 TestUtils.getAggregateResponse( in testAggregation_ElevationTotal() 370 TestUtils.getAggregateResponse( in testAggregation_ElevationTotal()
|
D | SkinTemperatureRecordTest.java | 657 TestUtils.getAggregateResponse( in testAggregation_allTimeRange_correctResults() 691 TestUtils.getAggregateResponse( in testAggregation_nonOverlappedTimeRange_noResults()
|
D | WeightRecordTest.java | 712 TestUtils.getAggregateResponse( in testAggregateLocalFilter_minOffsetRecord() 759 TestUtils.getAggregateResponse( in testOffset()
|
D | RestingHeartRateRecordTest.java | 361 TestUtils.getAggregateResponse( in testBpmAggregation_timeRange_all()
|
D | DistanceRecordTest.java | 573 TestUtils.getAggregateResponse( in testAggregation_DistanceTotal_AtOverlapStartAndEndTime()
|
D | PowerRecordTest.java | 304 TestUtils.getAggregateResponse( in testAggregation_power()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/ |
D | HealthConnectManagerNoPermissionsGrantedTest.java | 43 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponse; 289 getAggregateResponse( in testAggregate_noPermissions_expectError()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/ |
D | RateLimiterTest.java | 271 TestUtils.getAggregateResponse(aggregateRecordsRequest, testRecord); in tryAcquireCallQuotaNTimesForRead()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | TestUtils.java | 309 public static <T> AggregateRecordsResponse<T> getAggregateResponse( in getAggregateResponse() method in TestUtils 317 public static <T> AggregateRecordsResponse<T> getAggregateResponse( in getAggregateResponse() method in TestUtils
|