Searched refs:ENERGY_TOTAL (Results 1 – 10 of 10) sorted by relevance
19 import static android.health.connect.datatypes.TotalCaloriesBurnedRecord.ENERGY_TOTAL;100 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_derivedFromDefaultBasalCalories()104 assertEnergyWithTolerance(response.get(ENERGY_TOTAL), DEFAULT_BASAL_CALORIES_PER_DAY); in totalCaloriesBurned_derivedFromDefaultBasalCalories()119 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_derivedFromWeightAndHeight()124 response.get(ENERGY_TOTAL), getBasalCaloriesPerDay(weightKg, heightCm)); in totalCaloriesBurned_derivedFromWeightAndHeight()135 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_derivedFromLbm()139 assertEnergyWithTolerance(response.get(ENERGY_TOTAL), getBasalCaloriesPerDay(lbmKg)); in totalCaloriesBurned_derivedFromLbm()150 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_derivedFromBmr()154 assertEnergyWithTolerance(response.get(ENERGY_TOTAL), wattToCalPerDay(bmrWatt)); in totalCaloriesBurned_derivedFromBmr()168 .addAggregationType(ENERGY_TOTAL) in totalCaloriesBurned_hasActiveCaloriesData_sumActiveAndBasalCalories()[all …]
22 import static android.health.connect.datatypes.TotalCaloriesBurnedRecord.ENERGY_TOTAL;115 ENERGY_TOTAL, Energy.fromCalories(10), record.getStartTime(), record.getEndTime()); in testAppWithReadPerms_aggregateOtherAppsTotalCaloriesBurned_expectSuccess()
30 import static android.health.connect.datatypes.TotalCaloriesBurnedRecord.ENERGY_TOTAL;277 new Pair<>(getTotalCaloriesBurnedRecordWithEmptyMetadata(), ENERGY_TOTAL), in testAggregate_noPermissions_expectError()312 ENERGY_TOTAL, in testAggregateGroupByDuration_noPermissions_expectError()346 ENERGY_TOTAL, in testAggregateGroupByPeriod_noPermissions_expectError()
51 import static android.health.connect.datatypes.NutritionRecord.ENERGY_TOTAL;174 ENERGY_TOTAL, in AggregationTypeIdMapper()176 TotalCaloriesBurnedRecord.ENERGY_TOTAL)); in AggregationTypeIdMapper()
28 import static android.health.connect.datatypes.NutritionRecord.ENERGY_TOTAL;567 .addAggregationType(ENERGY_TOTAL) in testAggregation_NutritionEnergyValuesTotal()579 .addAggregationType(ENERGY_TOTAL) in testAggregation_NutritionEnergyValuesTotal()583 Energy newEnergy = newResponse.get(ENERGY_TOTAL); in testAggregation_NutritionEnergyValuesTotal()584 Energy oldEnergy = oldResponse.get(ENERGY_TOTAL); in testAggregation_NutritionEnergyValuesTotal()
45 public static final AggregationType<Energy> ENERGY_TOTAL = field in TotalCaloriesBurnedRecord
881 public static final AggregationType<Energy> ENERGY_TOTAL = field in NutritionRecord
87 TotalCaloriesBurnedRecord.ENERGY_TOTAL, in <lambda>()
105 TotalCaloriesBurnedRecord.ENERGY_TOTAL, in <lambda>()
1264 …alth.connect.datatypes.AggregationType<android.health.connect.datatypes.units.Energy> ENERGY_TOTAL;1649 …alth.connect.datatypes.AggregationType<android.health.connect.datatypes.units.Energy> ENERGY_TOTAL;