Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DNutritionFormatterTest.kt82 val record = getBuilder().setEnergy(fromCalories(1234567.0)).build() in <lambda>()
90 val record = getBuilder().setEnergy(fromCalories(1234567.0)).build() in <lambda>()
99 val record = getBuilder().setEnergy(fromCalories(295000.0)).build() in <lambda>()
107 val record = getBuilder().setEnergy(fromCalories(295000.0)).build() in <lambda>()
122 .setEnergy(fromCalories(30000.0)) in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DTotalCaloriesBurnedRecordInternal.java40 public TotalCaloriesBurnedRecordInternal setEnergy(double energy) { in setEnergy() method in TotalCaloriesBurnedRecordInternal
DActiveCaloriesBurnedRecordInternal.java40 public ActiveCaloriesBurnedRecordInternal setEnergy(double energy) { in setEnergy() method in ActiveCaloriesBurnedRecordInternal
DNutritionRecordInternal.java300 public NutritionRecordInternal setEnergy(double energy) { in setEnergy() method in NutritionRecordInternal
592 .setEnergy(Energy.fromCalories(getEnergy())) in toExternalRecord()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DActiveCaloriesBurnedRecordHelper.java93 activeCaloriesBurnedRecord.setEnergy(getCursorDouble(cursor, ENERGY_COLUMN_NAME)); in populateSpecificRecordValue()
DTotalCaloriesBurnedRecordHelper.java100 totalCaloriesBurnedRecord.setEnergy(getCursorDouble(cursor, ENERGY_COLUMN_NAME)); in populateSpecificRecordValue()
DNutritionRecordHelper.java450 nutritionRecord.setEnergy(getCursorDouble(cursor, ENERGY_COLUMN_NAME)); in populateSpecificRecordValue()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DActiveCaloriesBurnedRecord.java230 recordInternal.setEnergy(mEnergy.getInCalories()); in toRecordInternal()
DTotalCaloriesBurnedRecord.java237 recordInternal.setEnergy(mEnergy.getInCalories()); in toRecordInternal()
DNutritionRecord.java377 public Builder setEnergy(@Nullable Energy energy) { in setEnergy() method in NutritionRecord.Builder
2056 recordInternal.setEnergy(getEnergy().getInCalories()); in toRecordInternal()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DNutritionRecordTest.java828 .setEnergy(Energy.fromCalories(0.1)) in getNutritionRecord_update()
900 .setEnergy(Energy.fromCalories(0.1)) in getCompleteNutritionRecord()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt643 setEnergy( in createRecordObjectHelper()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1313 …method @NonNull public android.health.connect.datatypes.NutritionRecord.Builder setEnergy(@Nullabl…