Home
last modified time | relevance | path

Searched refs:setSugar (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DNutritionRecordInternal.java564 public NutritionRecordInternal setSugar(double sugar) { in setSugar() method in NutritionRecordInternal
616 .setSugar(Mass.fromGrams(getSugar())) in toExternalRecord()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DNutritionFormatterTest.kt146 .setSugar(fromGrams(32.0)) in <lambda>()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DNutritionRecordTest.java852 .setSugar(Mass.fromGrams(0.2)) in getNutritionRecord_update()
924 .setSugar(Mass.fromGrams(0.1)) in getCompleteNutritionRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DNutritionRecord.java664 public Builder setSugar(@Nullable Mass sugar) { in setSugar() method in NutritionRecord.Builder
2128 recordInternal.setSugar(getSugar().getInGrams()); in toRecordInternal()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DNutritionRecordHelper.java477 nutritionRecord.setSugar(getCursorDouble(cursor, SUGAR_COLUMN_NAME)); in populateSpecificRecordValue()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1336 …method @NonNull public android.health.connect.datatypes.NutritionRecord.Builder setSugar(@Nullable…