Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DNutritionRecord.java1759 public Mass getMagnesium() { in getMagnesium() method in NutritionRecord
1909 && Objects.equals(getMagnesium(), that.getMagnesium()) in equals()
1962 getMagnesium(), in hashCode()
2088 if (!Objects.isNull(getMagnesium())) { in toRecordInternal()
2089 recordInternal.setMagnesium(getMagnesium().getInGrams()); in toRecordInternal()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DNutritionRecordInternal.java415 public double getMagnesium() { in getMagnesium() method in NutritionRecordInternal
603 .setMagnesium(Mass.fromGrams(getMagnesium())) in toExternalRecord()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DNutritionRecordTest.java315 assertThat(newRecord.getMagnesium()).isEqualTo(testRecord.getMagnesium()); in testReadNutritionRecordUsingFilters_dataFilter_correct()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DNutritionRecordHelper.java514 contentValues.put(MAGNESIUM_COLUMN_NAME, nutritionRecord.getMagnesium()); in populateSpecificContentValues()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1225 method @Nullable public android.health.connect.datatypes.units.Mass getMagnesium();