Home
last modified time | relevance | path

Searched refs:setCaffeine (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DNutritionFormatterTest.kt67 val record = getBuilder().setCaffeine(fromGrams(32.0)).build() in <lambda>()
74 val record = getBuilder().setCaffeine(fromGrams(32.0)).build() in <lambda>()
119 .setCaffeine(fromGrams(12.0)) in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DNutritionRecordInternal.java168 public NutritionRecordInternal setCaffeine(double caffeine) { in setCaffeine() method in NutritionRecordInternal
580 .setCaffeine(Mass.fromGrams(getCaffeine())) in toExternalRecord()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DNutritionRecordTest.java816 .setCaffeine(Mass.fromGrams(0.1)) in getNutritionRecord_update()
888 .setCaffeine(Mass.fromGrams(0.1)) in getCompleteNutritionRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DNutritionRecord.java233 public Builder setCaffeine(@Nullable Mass caffeine) { in setCaffeine() method in NutritionRecord.Builder
2020 recordInternal.setCaffeine(getCaffeine().getInGrams()); in toRecordInternal()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt621 setCaffeine(getMass(mFieldNameToFieldInput, "mCaffeine")) in createRecordObjectHelper()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DNutritionRecordHelper.java438 nutritionRecord.setCaffeine(getCursorDouble(cursor, CAFFEINE_COLUMN_NAME)); in populateSpecificRecordValue()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1305 …method @NonNull public android.health.connect.datatypes.NutritionRecord.Builder setCaffeine(@Nulla…