Searched refs:fromLiters (Results 1 – 11 of 11) sorted by relevance
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/units/ |
D | VolumeTest.java | 34 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/ |
D | HydrationRecordTest.java | 355 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/ |
D | TestConstants.kt | 351 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/ |
D | Volume.java | 37 public static Volume fromLiters(double value) { in fromLiters() method in Volume
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | HydrationRecordInternal.java | 51 Volume.fromLiters(getVolume())) in toExternalRecord()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | HydrationFormatterTest.kt | 89 getMetaData(), NOW, NOW.plusSeconds(2), Volume.fromLiters(liters)) in getRecord()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/ |
D | AggregationTypeIdMapper.java | 308 return new AggregateResult<>(Volume.fromLiters(result)); in getVolumeResult()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/ |
D | DataMigrationTest.java | 524 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/ |
D | InsertOrUpdateRecords.kt | 390 Volume.fromLiters( in createRecordObjectHelper()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | HealthConnectManagerTest.java | 617 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/ |
D | current.txt | 1776 method @NonNull public static android.health.connect.datatypes.units.Volume fromLiters(double);
|