Home
last modified time | relevance | path

Searched refs:getMass (Results 1 – 15 of 15) sorted by relevance

/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt135 private fun getMass( in getMass() method
315 getMass(mFieldNameToFieldInput, "mBodyWaterMass")) in createRecordObjectHelper()
323 getMass(mFieldNameToFieldInput, "mMass")) in createRecordObjectHelper()
340 getMass(mFieldNameToFieldInput, "mMass")) in createRecordObjectHelper()
348 getMass(mFieldNameToFieldInput, "mWeight")) in createRecordObjectHelper()
618 setBiotin(getMass(mFieldNameToFieldInput, "mBiotin")) in createRecordObjectHelper()
621 setCaffeine(getMass(mFieldNameToFieldInput, "mCaffeine")) in createRecordObjectHelper()
624 setCalcium(getMass(mFieldNameToFieldInput, "mCalcium")) in createRecordObjectHelper()
627 setChloride(getMass(mFieldNameToFieldInput, "mChloride")) in createRecordObjectHelper()
630 setCholesterol(getMass(mFieldNameToFieldInput, "mCholesterol")) in createRecordObjectHelper()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DLeanBodyMassRecord.java62 public Mass getMass() { in getMass() method in LeanBodyMassRecord
78 return getMass().equals(that.getMass()); in equals()
84 return Objects.hash(super.hashCode(), getMass()); in hashCode()
DBoneMassRecord.java60 public Mass getMass() { in getMass() method in BoneMassRecord
76 return getMass().equals(that.getMass()); in equals()
82 return Objects.hash(super.hashCode(), getMass()); in hashCode()
DExercisePerformanceGoal.java246 public Mass getMass() { in getMass() method in ExercisePerformanceGoal.WeightGoal
255 return this.getMass().equals(that.getMass()); in equals()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DLeanBodyMassRecordInternal.java33 public double getMass() { in getMass() method in LeanBodyMassRecordInternal
47 return new LeanBodyMassRecord.Builder(buildMetaData(), getTime(), Mass.fromGrams(getMass())) in toExternalRecord()
DBoneMassRecordInternal.java33 public double getMass() { in getMass() method in BoneMassRecordInternal
47 return new BoneMassRecord.Builder(buildMetaData(), getTime(), Mass.fromGrams(getMass())) in toExternalRecord()
DExercisePerformanceGoalInternal.java114 return new WeightGoalInternal(goal.getMass()); in fromExternalObject()
340 public Mass getMass() { in getMass() method in ExercisePerformanceGoalInternal.WeightGoalInternal
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DExercisePerformanceGoalInternalTest.java192 assertThat(restored.getMass()).isEqualTo(original.getMass()); in weightGoal_writeToParcelThenRestore_objectsAreIdentical()
205 .getMass()) in weightGoal_convertToExternalAndBack_objectsAreIdentical()
206 .isEqualTo(original.getMass()); in weightGoal_convertToExternalAndBack_objectsAreIdentical()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DBoneMassRecordHelper.java59 contentValues.put(MASS_COLUMN_NAME, boneMassRecord.getMass()); in populateSpecificContentValues()
DLeanBodyMassRecordHelper.java61 contentValues.put(MASS_COLUMN_NAME, leanBodyMassRecord.getMass()); in populateSpecificContentValues()
DPlannedExerciseSessionRecordHelper.java542 ((WeightGoalInternal) performanceGoal).getMass().getInGrams())); in getPerformanceGoalUpsert()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DBoneMassRecordTest.java184 assertThat(newRecord.getMass()).isEqualTo(testRecord.getMass()); in testReadBoneMassRecordUsingFilters_dataFilter_correct()
DLeanBodyMassRecordTest.java188 assertThat(newRecord.getMass()).isEqualTo(testRecord.getMass()); in testReadLeanBodyMassRecordUsingFilters_dataFilter_correct()
DExercisePerformanceGoalTest.java301 assertThat(goal.getMass()).isEqualTo(Mass.fromGrams(20_000)); in weightGoal_getters()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt538 method @NonNull public android.health.connect.datatypes.units.Mass getMass();
761 method @NonNull public android.health.connect.datatypes.units.Mass getMass();
1067 method @NonNull public android.health.connect.datatypes.units.Mass getMass();