Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DNutritionRecordInternal.java101 public NutritionRecordInternal setPotassium(double potassium) { in setPotassium() method in NutritionRecordInternal
574 .setPotassium(Mass.fromGrams(getPotassium())) in toExternalRecord()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DNutritionFormatterTest.kt140 .setPotassium(fromGrams(23.0)) in <lambda>()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DNutritionRecordTest.java810 .setPotassium(Mass.fromGrams(0.1)) in getNutritionRecord_update()
882 .setPotassium(Mass.fromGrams(0.1)) in getCompleteNutritionRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DNutritionRecord.java162 public Builder setPotassium(@Nullable Mass potassium) { in setPotassium() method in NutritionRecord.Builder
2004 recordInternal.setPotassium(getPotassium().getInGrams()); in toRecordInternal()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DNutritionRecordHelper.java432 nutritionRecord.setPotassium(getCursorDouble(cursor, POTASSIUM_COLUMN_NAME)); in populateSpecificRecordValue()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1329 …method @NonNull public android.health.connect.datatypes.NutritionRecord.Builder setPotassium(@Null…