Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/units/
DPressureTest.java21 import android.health.connect.datatypes.units.Pressure;
34 assertThat(Pressure.fromMillimetersOfMercury(10.0)).isInstanceOf(Pressure.class); in testCreate()
35 assertThat(Pressure.fromMillimetersOfMercury(10.0).getInMillimetersOfMercury()) in testCreate()
41 Pressure Pressure1 = Pressure.fromMillimetersOfMercury(10.0); in testEquals()
42 Pressure Pressure2 = Pressure.fromMillimetersOfMercury(10.0); in testEquals()
43 Pressure Pressure3 = Pressure.fromMillimetersOfMercury(20.0); in testEquals()
51 Pressure Pressure1 = Pressure.fromMillimetersOfMercury(10.0); in testCompare()
52 Pressure Pressure2 = Pressure.fromMillimetersOfMercury(10.0); in testCompare()
53 Pressure Pressure3 = Pressure.fromMillimetersOfMercury(20.0); in testCompare()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DBloodPressureRecord.java24 import android.health.connect.datatypes.units.Pressure;
46 public static final AggregationType<Pressure> DIASTOLIC_AVG =
51 Pressure.class);
58 public static final AggregationType<Pressure> DIASTOLIC_MAX =
63 Pressure.class);
70 public static final AggregationType<Pressure> DIASTOLIC_MIN =
75 Pressure.class);
82 public static final AggregationType<Pressure> SYSTOLIC_AVG =
87 Pressure.class);
94 public static final AggregationType<Pressure> SYSTOLIC_MAX =
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/units/
DPressure.java24 public final class Pressure implements Comparable<Pressure> { class
27 private Pressure(double value) { in Pressure() method in Pressure
37 public static Pressure fromMillimetersOfMercury(double value) { in fromMillimetersOfMercury()
38 return new Pressure(value); in fromMillimetersOfMercury()
59 public int compareTo(@NonNull Pressure other) { in compareTo()
73 if (object instanceof Pressure) { in equals()
74 Pressure other = (Pressure) object; in equals()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DBloodPressureRecordTest.java47 import android.health.connect.datatypes.units.Pressure;
354 Pressure.fromMillimetersOfMercury(19.0), in testCreateBloodPressureRecord_invalidDiastolicValue()
355 Pressure.fromMillimetersOfMercury(10.0), in testCreateBloodPressureRecord_invalidDiastolicValue()
366 Pressure.fromMillimetersOfMercury(20.0), in testCreateBloodPressureRecord_invalidSystolicValue()
367 Pressure.fromMillimetersOfMercury(9.0), in testCreateBloodPressureRecord_invalidSystolicValue()
382 Pressure.fromMillimetersOfMercury(20.0), in testZoneOffsets()
383 Pressure.fromMillimetersOfMercury(10.0), in testZoneOffsets()
429 Pressure.fromMillimetersOfMercury(systolic), in getBaseBloodPressureRecord()
430 Pressure.fromMillimetersOfMercury(diastolic), in getBaseBloodPressureRecord()
444 AggregateRecordsResponse<Pressure> response = in testAggregation_bloodPressure()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DBloodPressureRecordInternal.java24 import android.health.connect.datatypes.units.Pressure;
91 Pressure.fromMillimetersOfMercury(getSystolic()), in toExternalRecord()
92 Pressure.fromMillimetersOfMercury(getDiastolic()), in toExternalRecord()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DBloodPressureFormatterTest.kt26 import android.health.connect.datatypes.units.Pressure
156 Pressure.fromMillimetersOfMercury(systolic), in getRecord()
157 Pressure.fromMillimetersOfMercury(diastolic), in getRecord()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DTestHelperUtils.java37 import android.health.connect.datatypes.units.Pressure;
75 Pressure.fromMillimetersOfMercury(22.0), in getBloodPressureRecord()
76 Pressure.fromMillimetersOfMercury(24.0), in getBloodPressureRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DAggregationTypeIdMapper.java112 import android.health.connect.datatypes.units.Pressure;
297 private AggregateResult<Pressure> getPressureResult(double result) { in getPressureResult()
298 return new AggregateResult<>(Pressure.fromMillimetersOfMercury(result)); in getPressureResult()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt75 import android.health.connect.datatypes.units.Pressure
429 Pressure.fromMillimetersOfMercury( in createRecordObjectHelper()
431 Pressure.fromMillimetersOfMercury( in createRecordObjectHelper()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/
DInsertRecordFragment.kt45 import android.health.connect.datatypes.units.Pressure in <lambda>()
204 Pressure::class.java, in <lambda>()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt455 method @NonNull public android.health.connect.datatypes.units.Pressure getDiastolic();
457 method @NonNull public android.health.connect.datatypes.units.Pressure getSystolic();
458 …h.connect.datatypes.AggregationType<android.health.connect.datatypes.units.Pressure> DIASTOLIC_AVG;
459 …h.connect.datatypes.AggregationType<android.health.connect.datatypes.units.Pressure> DIASTOLIC_MAX;
460 …h.connect.datatypes.AggregationType<android.health.connect.datatypes.units.Pressure> DIASTOLIC_MIN;
461 …th.connect.datatypes.AggregationType<android.health.connect.datatypes.units.Pressure> SYSTOLIC_AVG;
462 …th.connect.datatypes.AggregationType<android.health.connect.datatypes.units.Pressure> SYSTOLIC_MAX;
463 …th.connect.datatypes.AggregationType<android.health.connect.datatypes.units.Pressure> SYSTOLIC_MIN;
483 …ull android.health.connect.datatypes.units.Pressure, @NonNull android.health.connect.datatypes.uni…
1750 …public final class Pressure implements java.lang.Comparable<android.health.connect.datatypes.units…
[all …]