Home
last modified time | relevance | path

Searched refs:heightCm (Results 1 – 1 of 1) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DTotalCaloriesAggregationTest.java110 double heightCm = 180; in totalCaloriesBurned_derivedFromWeightAndHeight() local
114 getBaseHeightRecord(EPOCH, heightCm / 100), in totalCaloriesBurned_derivedFromWeightAndHeight()
124 response.get(ENERGY_TOTAL), getBasalCaloriesPerDay(weightKg, heightCm)); in totalCaloriesBurned_derivedFromWeightAndHeight()
395 private static double getBasalCaloriesPerDay(double weightKg, double heightCm) { in getBasalCaloriesPerDay() argument
401 return (10 * weightKg + 6.25 * heightCm - 5 * defaultAge - 78) * 1000; in getBasalCaloriesPerDay()