Home
last modified time | relevance | path

Searched refs:getInLiters (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/units/
DVolume.java42 public double getInLiters() { in getInLiters() method in Volume
75 return this.getInLiters() == other.getInLiters(); in equals()
87 return Objects.hash(this.getInLiters()); in hashCode()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DHydrationRecord.java74 ValidationUtils.requireInRange(volume.getInLiters(), 0.0, 100.0, "volume"); in HydrationRecord()
227 recordInternal.setVolume(mVolume.getInLiters()); in toRecordInternal()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/units/
DVolumeTest.java35 assertThat(Volume.fromLiters(10.0).getInLiters()).isEqualTo(10.0); in testCreate()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DHydrationRecordTest.java333 assertThat(newVolume.getInLiters() - oldVolume.getInLiters()).isEqualTo(20); in testAggregation_VolumeTotal()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1777 method public double getInLiters();