Home
last modified time | relevance | path

Searched refs:getAggregateResponse (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DBasalCaloriesAggregationTest.java26 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 …]
DAggregateWithFiltersTest.java38 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 …]
DTotalCaloriesAggregationTest.java30 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()
DExerciseDurationAggregationTest.java23 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()
DSleepDurationAggregationTest.java23 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()
DAggregationApisTest.java37 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()
DAggregateOtherAppsDataTest.java158 TestUtils.getAggregateResponse( in assertAggregation()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/
DHistoricAccessLimitTest.java222 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()
DHistoricAccessLimitWithPermissionTest.java24 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/
DHealthConnectDeviceTest.java44 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/
DHeartRateRecordTest.java566 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()
DFloorsClimbedRecordTest.java231 TestUtils.getAggregateResponse( in testTotalAggregation_oneRecord_returnsItsTotal()
250 TestUtils.getAggregateResponse( in testAggregation_FloorsClimbedTotal()
262 TestUtils.getAggregateResponse( in testAggregation_FloorsClimbedTotal()
DNutritionRecordTest.java440 TestUtils.getAggregateResponse( in testAggregation_NutritionValuesTotal()
491 TestUtils.getAggregateResponse( in testAggregation_NutritionValuesTotal()
561 TestUtils.getAggregateResponse( in testAggregation_NutritionEnergyValuesTotal()
573 TestUtils.getAggregateResponse( in testAggregation_NutritionEnergyValuesTotal()
DWheelchairPushesRecordTest.java239 TestUtils.getAggregateResponse( in testAggregation_countTotal()
251 TestUtils.getAggregateResponse( in testAggregation_countTotal()
DStepsRecordTest.java830 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()
DHydrationRecordTest.java308 TestUtils.getAggregateResponse( in testAggregation_VolumeTotal()
320 TestUtils.getAggregateResponse( in testAggregation_VolumeTotal()
DElevationGainedRecordTest.java358 TestUtils.getAggregateResponse( in testAggregation_ElevationTotal()
370 TestUtils.getAggregateResponse( in testAggregation_ElevationTotal()
DSkinTemperatureRecordTest.java657 TestUtils.getAggregateResponse( in testAggregation_allTimeRange_correctResults()
691 TestUtils.getAggregateResponse( in testAggregation_nonOverlappedTimeRange_noResults()
DWeightRecordTest.java712 TestUtils.getAggregateResponse( in testAggregateLocalFilter_minOffsetRecord()
759 TestUtils.getAggregateResponse( in testOffset()
DRestingHeartRateRecordTest.java361 TestUtils.getAggregateResponse( in testBpmAggregation_timeRange_all()
DDistanceRecordTest.java573 TestUtils.getAggregateResponse( in testAggregation_DistanceTotal_AtOverlapStartAndEndTime()
DPowerRecordTest.java304 TestUtils.getAggregateResponse( in testAggregation_power()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNoPermissionsGrantedTest.java43 import static android.healthconnect.cts.utils.TestUtils.getAggregateResponse;
289 getAggregateResponse( in testAggregate_noPermissions_expectError()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/
DRateLimiterTest.java271 TestUtils.getAggregateResponse(aggregateRecordsRequest, testRecord); in tryAcquireCallQuotaNTimesForRead()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java309 public static <T> AggregateRecordsResponse<T> getAggregateResponse( in getAggregateResponse() method in TestUtils
317 public static <T> AggregateRecordsResponse<T> getAggregateResponse( in getAggregateResponse() method in TestUtils

12