Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DTotalCaloriesAggregationTest.java179 double totalCalories = 204560.3; in totalCaloriesBurned_hasTotalCaloriesData_addBasalCaloriesAtGaps() local
182 totalCalories, now.minus(3, HOURS), now.minus(2, HOURS))); in totalCaloriesBurned_hasTotalCaloriesData_addBasalCaloriesAtGaps()
192 DEFAULT_BASAL_CALORIES_PER_DAY * 23 / 24 + totalCalories); in totalCaloriesBurned_hasTotalCaloriesData_addBasalCaloriesAtGaps() local
199 double totalCalories = 2009870.3; in totalCaloriesBurned_hasActiveAndTotalCaloriesData_addBasalCaloriesAtGaps() local
204 totalCalories, now.minus(24, HOURS), now.minus(2, HOURS)), in totalCaloriesBurned_hasActiveAndTotalCaloriesData_addBasalCaloriesAtGaps()
220 + totalCalories in totalCaloriesBurned_hasActiveAndTotalCaloriesData_addBasalCaloriesAtGaps()
230 double totalCalories = 2009870.3; in totalCaloriesBurned_totalCaloriesDataWithoutGap_equalsToTotalCalories() local
231 insertRecords(getTotalCaloriesBurnedRecord(totalCalories, now.minus(1, DAYS), now)); in totalCaloriesBurned_totalCaloriesDataWithoutGap_equalsToTotalCalories()
239 assertEnergyWithTolerance(response.get(ENERGY_TOTAL), totalCalories); in totalCaloriesBurned_totalCaloriesDataWithoutGap_equalsToTotalCalories() local
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DDeriveBasalCaloriesBurnedHelper.java174 double totalCalories = 0; in derivedBasalCaloriesBurnedFromLeanBodyMass() local
189 totalCalories += in derivedBasalCaloriesBurnedFromLeanBodyMass()
199 totalCalories += getCalories(bmrFromLbmInCaloriesPerDay, lastReadTime, time); in derivedBasalCaloriesBurnedFromLeanBodyMass()
206 totalCalories += in derivedBasalCaloriesBurnedFromLeanBodyMass()
211 return totalCalories; in derivedBasalCaloriesBurnedFromLeanBodyMass()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DExerciseCompletionGoal.java225 public TotalCaloriesBurnedGoal(@NonNull Energy totalCalories) { in TotalCaloriesBurnedGoal() argument
226 Objects.requireNonNull(totalCalories); in TotalCaloriesBurnedGoal()
227 this.mTotalCalories = totalCalories; in TotalCaloriesBurnedGoal()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DPlannedExerciseStepFormatter.kt116 context, completionGoal.totalCalories, unitPreferences)) in <lambda>()
148 context, completionGoal.totalCalories, unitPreferences)) in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DExerciseCompletionGoalInternal.java279 public TotalCaloriesBurnedGoalInternal(@NonNull Energy totalCalories) { in TotalCaloriesBurnedGoalInternal() argument
280 this.mTotalCalories = totalCalories; in TotalCaloriesBurnedGoalInternal()