Searched refs:totalCalories (Results 1 – 5 of 5) sorted by relevance
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | TotalCaloriesAggregationTest.java | 179 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/ |
D | DeriveBasalCaloriesBurnedHelper.java | 174 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/ |
D | ExerciseCompletionGoal.java | 225 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/ |
D | PlannedExerciseStepFormatter.kt | 116 context, completionGoal.totalCalories, unitPreferences)) in <lambda>() 148 context, completionGoal.totalCalories, unitPreferences)) in <lambda>()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | ExerciseCompletionGoalInternal.java | 279 public TotalCaloriesBurnedGoalInternal(@NonNull Energy totalCalories) { in TotalCaloriesBurnedGoalInternal() argument 280 this.mTotalCalories = totalCalories; in TotalCaloriesBurnedGoalInternal()
|