Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DNutritionRecord.java1863 public Mass getSugar() { in getSugar() method in NutritionRecord
1922 && Objects.equals(getSugar(), that.getSugar()); in equals()
1975 getSugar()); in hashCode()
2127 if (!Objects.isNull(getSugar())) { in toRecordInternal()
2128 recordInternal.setSugar(getSugar().getInGrams()); in toRecordInternal()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DNutritionRecordInternal.java558 public double getSugar() { in getSugar() method in NutritionRecordInternal
616 .setSugar(Mass.fromGrams(getSugar())) in toExternalRecord()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DNutritionRecordTest.java328 assertThat(newRecord.getSugar()).isEqualTo(testRecord.getSugar()); in testReadNutritionRecordUsingFilters_dataFilter_correct()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DNutritionRecordHelper.java527 contentValues.put(SUGAR_COLUMN_NAME, nutritionRecord.getSugar()); in populateSpecificContentValues()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1241 method @Nullable public android.health.connect.datatypes.units.Mass getSugar();