Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DActiveCaloriesBurnedRecord.java183 public Energy getEnergy() { in getEnergy() method in ActiveCaloriesBurnedRecord
199 return getEnergy().equals(that.getEnergy()); in equals()
207 return Objects.hash(super.hashCode(), getEnergy()); in hashCode()
DTotalCaloriesBurnedRecord.java94 public Energy getEnergy() { in getEnergy() method in TotalCaloriesBurnedRecord
109 return this.getEnergy().equals(other.getEnergy()); in equals()
117 return Objects.hash(super.hashCode(), this.getEnergy()); in hashCode()
DNutritionRecord.java1671 public Energy getEnergy() { in getEnergy() method in NutritionRecord
1898 && Objects.equals(getEnergy(), that.getEnergy()) in equals()
1951 getEnergy(), in hashCode()
2055 if (!Objects.isNull(getEnergy())) { in toRecordInternal()
2056 recordInternal.setEnergy(getEnergy().getInCalories()); in toRecordInternal()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DTotalCaloriesBurnedRecordInternal.java34 public double getEnergy() { in getEnergy() method in TotalCaloriesBurnedRecordInternal
52 Energy.fromCalories(getEnergy())) in toExternalRecord()
DActiveCaloriesBurnedRecordInternal.java34 public double getEnergy() { in getEnergy() method in ActiveCaloriesBurnedRecordInternal
52 Energy.fromCalories(getEnergy())) in toExternalRecord()
DNutritionRecordInternal.java294 public double getEnergy() { in getEnergy() method in NutritionRecordInternal
592 .setEnergy(Energy.fromCalories(getEnergy())) in toExternalRecord()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DActiveCaloriesBurnedRecordHelper.java100 contentValues.put(ENERGY_COLUMN_NAME, activeCaloriesBurnedRecord.getEnergy()); in populateSpecificContentValues()
DTotalCaloriesBurnedRecordHelper.java150 contentValues.put(ENERGY_COLUMN_NAME, totalCaloriesBurnedRecord.getEnergy()); in populateSpecificContentValues()
DNutritionRecordHelper.java503 contentValues.put(ENERGY_COLUMN_NAME, nutritionRecord.getEnergy()); in populateSpecificContentValues()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DTotalCaloriesBurnedRecordTest.java216 assertThat(newRecord.getEnergy()).isEqualTo(testRecord.getEnergy()); in testReadTotalCaloriesBurnedRecordUsingFilters_dataFilter_correct()
DActiveCaloriesBurnedRecordTest.java230 assertThat(newRecord.getEnergy()).isEqualTo(testRecord.getEnergy()); in testReadActiveCaloriesBurnedRecordUsingFilters_dataFilter_correct()
DNutritionRecordTest.java304 assertThat(newRecord.getEnergy()).isEqualTo(testRecord.getEnergy()); in testReadNutritionRecordUsingFilters_dataFilter_correct()
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/
DBackupRestoreE2ETest.java503 ((ActiveCaloriesBurnedRecord) record).getEnergy().getInCalories()); in recordToString()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java777 values.putDouble(ENERGY_IN_CALORIES, record.getEnergy().getInCalories()); in getTotalCaloriesBurnedRecord()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt375 method @NonNull public android.health.connect.datatypes.units.Energy getEnergy();
1219 method @Nullable public android.health.connect.datatypes.units.Energy getEnergy();
1648 method @NonNull public android.health.connect.datatypes.units.Energy getEnergy();