Home
last modified time | relevance | path

Searched refs:fromLiters (Results 1 – 11 of 11) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/units/
DVolumeTest.java34 assertThat(Volume.fromLiters(10.0)).isInstanceOf(Volume.class); in testCreate()
35 assertThat(Volume.fromLiters(10.0).getInLiters()).isEqualTo(10.0); in testCreate()
40 Volume Volume1 = Volume.fromLiters(10.0); in testEquals()
41 Volume Volume2 = Volume.fromLiters(10.0); in testEquals()
42 Volume Volume3 = Volume.fromLiters(20.0); in testEquals()
50 Volume Volume1 = Volume.fromLiters(10.0); in testCompare()
51 Volume Volume2 = Volume.fromLiters(10.0); in testCompare()
52 Volume Volume3 = Volume.fromLiters(20.0); in testCompare()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DHydrationRecordTest.java355 Volume.fromLiters(10.0)); in testZoneOffsets()
555 Volume.fromLiters(100.1)) in testCreateHydrationRecord_invalidValue()
574 Volume.fromLiters(10.0)) in getHydrationRecord_update()
585 Volume.fromLiters(10.0)) in getBaseHydrationRecord()
606 Volume.fromLiters(10.0)) in getCompleteHydrationRecord()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DTestConstants.kt351 getHydrationRecord(INSTANT_MONTH1, INSTANT_MONTH2, Volume.fromLiters(2.0))
353 getHydrationRecord(INSTANT_MONTH3, INSTANT_MONTH4, Volume.fromLiters(0.3))
355 getHydrationRecord(INSTANT_MONTH5, INSTANT_MONTH6, Volume.fromLiters(1.5))
387 getHydrationRecord(instantToday, instantToday.plusSeconds(900), Volume.fromLiters(2.0)), in getMixedRecordsAcrossTwoDays()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/units/
DVolume.java37 public static Volume fromLiters(double value) { in fromLiters() method in Volume
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DHydrationRecordInternal.java51 Volume.fromLiters(getVolume())) in toExternalRecord()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DHydrationFormatterTest.kt89 getMetaData(), NOW, NOW.plusSeconds(2), Volume.fromLiters(liters)) in getRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DAggregationTypeIdMapper.java308 return new AggregateResult<>(Volume.fromLiters(result)); in getVolumeResult()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/
DDataMigrationTest.java524 final Volume volume1 = Volume.fromLiters(0.2); in migrateHydration_noClientIdsAndSameTime_notIgnored()
530 final Volume volume2 = Volume.fromLiters(0.3); in migrateHydration_noClientIdsAndSameTime_notIgnored()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt390 Volume.fromLiters( in createRecordObjectHelper()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthConnectManagerTest.java617 final Volume volume1 = Volume.fromLiters(0.1); in testInsertRecords_hydrationNoClientIdsAndSameTime_doesNotOverwrite()
618 final Volume volume2 = Volume.fromLiters(0.2); in testInsertRecords_hydrationNoClientIdsAndSameTime_doesNotOverwrite()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1776 method @NonNull public static android.health.connect.datatypes.units.Volume fromLiters(double);