Home
last modified time | relevance | path

Searched refs:bodyWaterMass (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DBodyWaterMassRecord.java47 @NonNull Mass bodyWaterMass, in BodyWaterMassRecord() argument
50 Objects.requireNonNull(bodyWaterMass); in BodyWaterMassRecord()
52 requireInRange(bodyWaterMass.getInGrams(), 0, 1000000, "mass"); in BodyWaterMassRecord()
54 mBodyWaterMass = bodyWaterMass; in BodyWaterMassRecord()
97 @NonNull Metadata metadata, @NonNull Instant time, @NonNull Mass bodyWaterMass) { in Builder() argument
100 Objects.requireNonNull(bodyWaterMass); in Builder()
103 mBodyWaterMass = bodyWaterMass; in Builder()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DBodyWaterMassRecordInternal.java45 public void setBodyWaterMass(double bodyWaterMass) { in setBodyWaterMass() argument
46 mBodyWaterMass = bodyWaterMass; in setBodyWaterMass()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DBodyWaterMassFormatter.kt38 return formatValue(context, record.bodyWaterMass, unitPreferences.getWeightUnit()) in formatValue()
45 return formatA11yValue(context, record.bodyWaterMass, unitPreferences.getWeightUnit()) in formatA11yValue()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DTestConstants.kt130 fun getBodyWaterMassRecord(time: Instant, bodyWaterMass: Mass): BodyWaterMassRecord { in getBodyWaterMassRecord()
131 return BodyWaterMassRecord.Builder(getMetaData(), time, bodyWaterMass).build() in getBodyWaterMassRecord()
312 assertThat(actualElement.bodyWaterMass).isEqualTo(expectedElement.bodyWaterMass) in verifyBodyWaterMassListsEqual()