/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | ActiveCaloriesBurnedRecord.java | 183 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()
|
D | TotalCaloriesBurnedRecord.java | 94 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()
|
D | NutritionRecord.java | 1671 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/ |
D | TotalCaloriesBurnedRecordInternal.java | 34 public double getEnergy() { in getEnergy() method in TotalCaloriesBurnedRecordInternal 52 Energy.fromCalories(getEnergy())) in toExternalRecord()
|
D | ActiveCaloriesBurnedRecordInternal.java | 34 public double getEnergy() { in getEnergy() method in ActiveCaloriesBurnedRecordInternal 52 Energy.fromCalories(getEnergy())) in toExternalRecord()
|
D | NutritionRecordInternal.java | 294 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/ |
D | ActiveCaloriesBurnedRecordHelper.java | 100 contentValues.put(ENERGY_COLUMN_NAME, activeCaloriesBurnedRecord.getEnergy()); in populateSpecificContentValues()
|
D | TotalCaloriesBurnedRecordHelper.java | 150 contentValues.put(ENERGY_COLUMN_NAME, totalCaloriesBurnedRecord.getEnergy()); in populateSpecificContentValues()
|
D | NutritionRecordHelper.java | 503 contentValues.put(ENERGY_COLUMN_NAME, nutritionRecord.getEnergy()); in populateSpecificContentValues()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | TotalCaloriesBurnedRecordTest.java | 216 assertThat(newRecord.getEnergy()).isEqualTo(testRecord.getEnergy()); in testReadTotalCaloriesBurnedRecordUsingFilters_dataFilter_correct()
|
D | ActiveCaloriesBurnedRecordTest.java | 230 assertThat(newRecord.getEnergy()).isEqualTo(testRecord.getEnergy()); in testReadActiveCaloriesBurnedRecordUsingFilters_dataFilter_correct()
|
D | NutritionRecordTest.java | 304 assertThat(newRecord.getEnergy()).isEqualTo(testRecord.getEnergy()); in testReadNutritionRecordUsingFilters_dataFilter_correct()
|
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/ |
D | BackupRestoreE2ETest.java | 503 ((ActiveCaloriesBurnedRecord) record).getEnergy().getInCalories()); in recordToString()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | BundleHelper.java | 777 values.putDouble(ENERGY_IN_CALORIES, record.getEnergy().getInCalories()); in getTotalCaloriesBurnedRecord()
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 375 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();
|