Searched refs:addAggregationType (Results 1 – 25 of 36) sorted by relevance
12
446 .addAggregationType(BIOTIN_TOTAL) in testAggregation_NutritionValuesTotal()447 .addAggregationType(CAFFEINE_TOTAL) in testAggregation_NutritionValuesTotal()448 .addAggregationType(CALCIUM_TOTAL) in testAggregation_NutritionValuesTotal()449 .addAggregationType(CHLORIDE_TOTAL) in testAggregation_NutritionValuesTotal()450 .addAggregationType(CHOLESTEROL_TOTAL) in testAggregation_NutritionValuesTotal()451 .addAggregationType(CHROMIUM_TOTAL) in testAggregation_NutritionValuesTotal()452 .addAggregationType(COPPER_TOTAL) in testAggregation_NutritionValuesTotal()453 .addAggregationType(DIETARY_FIBER_TOTAL) in testAggregation_NutritionValuesTotal()454 .addAggregationType(FOLATE_TOTAL) in testAggregation_NutritionValuesTotal()455 .addAggregationType(FOLIC_ACID_TOTAL) in testAggregation_NutritionValuesTotal()[all …]
572 .addAggregationType(BPM_MAX) in testBpmAggregation_timeRange_all()573 .addAggregationType(BPM_MIN) in testBpmAggregation_timeRange_all()574 .addAggregationType(BPM_AVG) in testBpmAggregation_timeRange_all()616 .addAggregationType(BPM_MAX) in testBpmAggregation_timeRange_not_present()617 .addAggregationType(BPM_MIN) in testBpmAggregation_timeRange_not_present()618 .addAggregationType(BPM_AVG) in testBpmAggregation_timeRange_not_present()645 .addAggregationType(BPM_MAX) in testBpmAggregation_withDataOrigin_correct()646 .addAggregationType(BPM_MIN) in testBpmAggregation_withDataOrigin_correct()647 .addAggregationType(BPM_AVG) in testBpmAggregation_withDataOrigin_correct()681 .addAggregationType(BPM_MAX) in testBpmAggregation_withDataOrigin_incorrect()[all …]
663 .addAggregationType(SKIN_TEMPERATURE_DELTA_MIN) in testAggregation_allTimeRange_correctResults()664 .addAggregationType(SKIN_TEMPERATURE_DELTA_MAX) in testAggregation_allTimeRange_correctResults()665 .addAggregationType(SKIN_TEMPERATURE_DELTA_AVG) in testAggregation_allTimeRange_correctResults()698 .addAggregationType(SKIN_TEMPERATURE_DELTA_MIN) in testAggregation_nonOverlappedTimeRange_noResults()699 .addAggregationType(SKIN_TEMPERATURE_DELTA_MAX) in testAggregation_nonOverlappedTimeRange_noResults()700 .addAggregationType(SKIN_TEMPERATURE_DELTA_AVG) in testAggregation_nonOverlappedTimeRange_noResults()732 .addAggregationType(SKIN_TEMPERATURE_DELTA_MIN) in testAggregation_groupByDuration_correctResults()733 .addAggregationType(SKIN_TEMPERATURE_DELTA_MAX) in testAggregation_groupByDuration_correctResults()734 .addAggregationType(SKIN_TEMPERATURE_DELTA_AVG) in testAggregation_groupByDuration_correctResults()
553 .addAggregationType(WEIGHT_MIN) in testAggregatePeriodForZoneOffset()622 .addAggregationType(WEIGHT_AVG) in testAggregateDuration_differentTimeZones_correctBucketTimes()668 .addAggregationType(WEIGHT_MAX) in testDurationLocalTimeAggregationZoneOffset()718 .addAggregationType(WEIGHT_MAX) in testAggregateLocalFilter_minOffsetRecord()719 .addAggregationType(WEIGHT_MIN) in testAggregateLocalFilter_minOffsetRecord()720 .addAggregationType(WEIGHT_AVG) in testAggregateLocalFilter_minOffsetRecord()765 .addAggregationType(WEIGHT_MAX) in testOffset()766 .addAggregationType(WEIGHT_MIN) in testOffset()767 .addAggregationType(WEIGHT_AVG) in testOffset()814 .addAggregationType(WEIGHT_MAX) in testAggregateLocalFilter_daysPeriod()
827 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregation_recordStartsBeforeAggWindow_returnsRescaledStepsCountInResult()856 .addAggregationType(STEPS_COUNT_TOTAL) in testStepsCountAggregation_groupByDurationWithInstantFilter()876 .addAggregationType(STEPS_COUNT_TOTAL) in testStepsCountAggregation_groupByDuration()916 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregation_insertForEveryHour_returnsAggregateForHourAndHalfHours()948 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregation_groupByDurationInstant_halfSizeGroupResultIsCorrect()968 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregation_StepsCountTotal_withDuplicateEntry()980 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregation_StepsCountTotal_withDuplicateEntry()1235 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregateGroupByMonthPeriod_slicedCorrectly()1265 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregationLocalTimeOffset()1309 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregatePeriod_withLocalDateTime_halfSizeGroupResultIsCorrect()[all …]
451 .addAggregationType(DIASTOLIC_AVG) in testAggregation_bloodPressure()452 .addAggregationType(DIASTOLIC_MAX) in testAggregation_bloodPressure()453 .addAggregationType(DIASTOLIC_MIN) in testAggregation_bloodPressure()454 .addAggregationType(SYSTOLIC_AVG) in testAggregation_bloodPressure()455 .addAggregationType(SYSTOLIC_MAX) in testAggregation_bloodPressure()456 .addAggregationType(SYSTOLIC_MIN) in testAggregation_bloodPressure()
237 .addAggregationType(FLOORS_CLIMBED_TOTAL) in testTotalAggregation_oneRecord_returnsItsTotal()256 .addAggregationType(FLOORS_CLIMBED_TOTAL) in testAggregation_FloorsClimbedTotal()268 .addAggregationType(FLOORS_CLIMBED_TOTAL) in testAggregation_FloorsClimbedTotal()
367 .addAggregationType(RestingHeartRateRecord.BPM_MAX) in testBpmAggregation_timeRange_all()368 .addAggregationType(RestingHeartRateRecord.BPM_MIN) in testBpmAggregation_timeRange_all()369 .addAggregationType(RestingHeartRateRecord.BPM_AVG) in testBpmAggregation_timeRange_all()
310 .addAggregationType(POWER_MAX) in testAggregation_power()311 .addAggregationType(POWER_MIN) in testAggregation_power()312 .addAggregationType(POWER_AVG) in testAggregation_power()
565 .addAggregationType(RPM_MAX) in testRpmAggregation_getAggregationFromThreerecords_aggResponsesAreCorrect()566 .addAggregationType(RPM_MIN) in testRpmAggregation_getAggregationFromThreerecords_aggResponsesAreCorrect()567 .addAggregationType(RPM_AVG) in testRpmAggregation_getAggregationFromThreerecords_aggResponsesAreCorrect()
583 .addAggregationType(STEPS_CADENCE_RATE_MAX) in testRateAggregation_getAggregationFromThreerecords_aggResponsesAreCorrect()584 .addAggregationType(STEPS_CADENCE_RATE_MIN) in testRateAggregation_getAggregationFromThreerecords_aggResponsesAreCorrect()585 .addAggregationType(STEPS_CADENCE_RATE_AVG) in testRateAggregation_getAggregationFromThreerecords_aggResponsesAreCorrect()
245 .addAggregationType(WHEEL_CHAIR_PUSHES_COUNT_TOTAL) in testAggregation_countTotal()257 .addAggregationType(WHEEL_CHAIR_PUSHES_COUNT_TOTAL) in testAggregation_countTotal()
93 .addAggregationType(BASAL_CALORIES_TOTAL) in testAggregation_BasalCaloriesBurntTotal_noRecord()110 .addAggregationType(BASAL_CALORIES_TOTAL) in testAggregation_BasalCaloriesBurntTotal_lbm()122 .addAggregationType(BASAL_CALORIES_TOTAL) in testAggregation_BasalCaloriesBurntTotal_lbm()143 .addAggregationType(BASAL_CALORIES_TOTAL) in testAggregation_BasalCaloriesBurntTotal_lbm_group()158 .addAggregationType(BASAL_CALORIES_TOTAL) in testAggregation_BasalCaloriesBurntTotal_lbm_group()181 .addAggregationType(BASAL_CALORIES_TOTAL) in testAggregation_BasalCaloriesBurntTotal_groupByDuration_lbmDerived()212 .addAggregationType(BASAL_CALORIES_TOTAL) in testAggregation_BasalCaloriesBurntTotal_profile_group()228 .addAggregationType(BASAL_CALORIES_TOTAL) in testAggregation_BasalCaloriesBurntTotal_profile_group()247 .addAggregationType(BASAL_CALORIES_TOTAL) in testAggregation_basalCaloriesBurntTotal_onlyWeightBeforeInterval_usesProfile()269 .addAggregationType(BASAL_CALORIES_TOTAL) in testAggregation_basalCaloriesBurntTotal_HeightAndWeightBeforeInterval_usesProfile()[all …]
117 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_noFilter_everythingIncluded()140 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_validFilter_onlyDataFromFilteredApps()169 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_invalidApp_noDataReturned()176 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_invalidApp_noDataReturned()214 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_appNotInPriorityList_noDataReturned()221 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_appNotInPriorityList_noDataReturned()255 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_noDataFromFilteredApps_noDataReturned()262 .addAggregationType(STEPS_COUNT_TOTAL) in dataOriginFilter_noDataFromFilteredApps_noDataReturned()296 .addAggregationType(STEPS_COUNT_TOTAL) in timeRangeFilter_noDataWithinTimeInterval_noDataReturned()301 .addAggregationType(STEPS_COUNT_TOTAL) in timeRangeFilter_noDataWithinTimeInterval_noDataReturned()[all …]
100 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_derivedFromDefaultBasalCalories()119 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_derivedFromWeightAndHeight()135 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_derivedFromLbm()150 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_derivedFromBmr()168 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_hasActiveCaloriesData_sumActiveAndBasalCalories()186 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_hasTotalCaloriesData_addBasalCaloriesAtGaps()211 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_hasActiveAndTotalCaloriesData_addBasalCaloriesAtGaps()235 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_totalCaloriesDataWithoutGap_equalsToTotalCalories()253 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_deriveBasalAndActiveAndTotalCalories()275 .addAggregationType(ENERGY_TOTAL) in testAggregation_totalCaloriesBurned_activeCalories_groupBy()[all …]
117 .addAggregationType(STEPS_COUNT_TOTAL) in aggregate_noData_nullResponse()130 .addAggregationType(DISTANCE_TOTAL) in groupByDuration_noData_nullResponses()145 .addAggregationType(ACTIVE_CALORIES_TOTAL) in groupByPeriod_noData_nullResponses()166 .addAggregationType(STEPS_COUNT_TOTAL) in aggregateWithInstantFilter_stepsCountTotal()187 .addAggregationType(ACTIVE_CALORIES_TOTAL) in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal()225 .addAggregationType(DISTANCE_TOTAL) in groupByDurationWithLocalFilter_distanceTotal()264 .addAggregationType(WEIGHT_AVG) in groupByPeriod_weightAvg()302 .addAggregationType(WEIGHT_MAX) in aggregateWithInstantFilter_weightMax()321 .addAggregationType(WEIGHT_MIN) in groupByDurationWithInstantFilter_weightMin()371 .addAggregationType(STEPS_CADENCE_RATE_MAX) in groupByPeriod_stepsCadenceMax()[all …]
69 .addAggregationType(EXERCISE_DURATION_TOTAL)74 .addAggregationType(EXERCISE_DURATION_TOTAL)230 .addAggregationType(EXERCISE_DURATION_TOTAL) in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups()267 .addAggregationType(EXERCISE_DURATION_TOTAL) in testAggregation_oneSessionLocalTimeFilter_findsSessionWithMinOffset()305 .addAggregationType(EXERCISE_DURATION_TOTAL) in testAggregation_oneSessionLocalTimeFilterExcludeSegment_substractsExcludeInterval()
59 .addAggregationType(SLEEP_DURATION_TOTAL)166 .addAggregationType(SLEEP_DURATION_TOTAL) in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups()
164 .addAggregationType(aggregationType) in assertAggregation()
224 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregateIntervalRecords_expectCorrectResponse()254 .addAggregationType(WEIGHT_AVG) in testAggregateInstantRecords_expectCorrectResponse()374 .addAggregationType(WEIGHT_AVG) in testAggregateAnotherAppsRecords_recordsAreAfterCutOff_expectCorrectAggregation()395 .addAggregationType(WEIGHT_AVG) in testAggregateAnotherAppsRecords_recordsAreBeforeCutOff_expectNoAggregation()
204 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregateIntervalRecords_expectCorrectResponse()235 .addAggregationType(WEIGHT_AVG) in testAggregateInstantRecords_expectCorrectResponse()
291 .addAggregationType((AggregationType<Object>) aggregationType) in testAggregate_noPermissions_expectError()324 .addAggregationType((AggregationType<Object>) aggregationType) in testAggregateGroupByDuration_noPermissions_expectError()360 .addAggregationType((AggregationType<Object>) aggregationType) in testAggregateGroupByPeriod_noPermissions_expectError()
478 .addAggregationType(WRITE_ONLY_PERM_AGGREGATION_STEPS_TOTAL) in testAggregateRecords_onlyWritePermissions_requestsOwnDataOnly_succeeds()499 .addAggregationType(WRITE_ONLY_PERM_AGGREGATION_STEPS_TOTAL) in testAggregateRecords_onlyWritePermissions_requestsOthersData_throwsHcException()527 .addAggregationType(WRITE_ONLY_PERM_AGGREGATION_STEPS_TOTAL) in testAggregateRecords_onlyWritePermissions_allDataRequested_throwsHcException()547 .addAggregationType(WRITE_ONLY_PERM_AGGREGATION_STEPS_TOTAL) in testAggregateRecords_someReadAndWritePermissions_requestsOthersData_throwsHcException()548 .addAggregationType(READ_PERM_AGGREGATION_EXERCISE_DURATION_TOTAL) in testAggregateRecords_someReadAndWritePermissions_requestsOthersData_throwsHcException()980 .addAggregationType(STEPS_COUNT_TOTAL) in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority()1079 .addAggregationType(EXERCISE_DURATION_TOTAL) in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
96 public Builder<T> addAggregationType(@NonNull AggregationType<T> aggregationType) { in addAggregationType() method in AggregateRecordsRequest.Builder
308 .addAggregationType(BPM_MAX) in testHealthConnectAggregatedData()333 .addAggregationType(BIOTIN_TOTAL) in testHealthConnectAggregatedDataError()