Searched refs:BloodGlucose (Results 1 – 9 of 9) sorted by relevance
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/units/ |
D | BloodGlucoseTest.java | 21 import android.health.connect.datatypes.units.BloodGlucose; 35 assertThat(BloodGlucose.fromMillimolesPerLiter(10.0)).isInstanceOf(BloodGlucose.class); in testCreate() 36 assertThat(BloodGlucose.fromMillimolesPerLiter(10.0).getInMillimolesPerLiter()) in testCreate() 42 BloodGlucose bloodGlucose1 = BloodGlucose.fromMillimolesPerLiter(10.0); in testEquals() 43 BloodGlucose bloodGlucose2 = BloodGlucose.fromMillimolesPerLiter(10.0); in testEquals() 44 BloodGlucose bloodGlucose3 = BloodGlucose.fromMillimolesPerLiter(20.0); in testEquals() 52 BloodGlucose bloodGlucose1 = BloodGlucose.fromMillimolesPerLiter(10.0); in testCompare() 53 BloodGlucose bloodGlucose2 = BloodGlucose.fromMillimolesPerLiter(10.0); in testCompare() 54 BloodGlucose bloodGlucose3 = BloodGlucose.fromMillimolesPerLiter(20.0); in testCompare()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/units/ |
D | BloodGlucose.java | 24 public final class BloodGlucose implements Comparable<BloodGlucose> { class 27 private BloodGlucose(double value) { in BloodGlucose() method in BloodGlucose 37 public static BloodGlucose fromMillimolesPerLiter(double value) { in fromMillimolesPerLiter() 38 return new BloodGlucose(value); in fromMillimolesPerLiter() 59 public int compareTo(@NonNull BloodGlucose other) { in compareTo() 73 if (object instanceof BloodGlucose) { in equals() 74 BloodGlucose other = (BloodGlucose) object; in equals()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | BloodGlucoseRecord.java | 22 import android.health.connect.datatypes.units.BloodGlucose; 40 private final BloodGlucose mLevel; 59 @NonNull BloodGlucose level, in BloodGlucoseRecord() 96 public BloodGlucose getLevel() { in getLevel() 246 private final BloodGlucose mLevel; 266 @NonNull BloodGlucose level, in Builder()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | BloodGlucoseRecordTest.java | 37 import android.health.connect.datatypes.units.BloodGlucose; 332 BloodGlucose.fromMillimolesPerLiter(10.0), in testZoneOffsets() 460 BloodGlucose.fromMillimolesPerLiter(51.0), in testCreateBloodGlucoseRecord_invalidValue() 472 BloodGlucose.fromMillimolesPerLiter(20.0), in testCreateBloodGlucoseRecord_invalidMealTypeValue() 539 BloodGlucose.fromMillimolesPerLiter(20.0), in getBloodGlucoseRecord_update() 551 BloodGlucose.fromMillimolesPerLiter(10.0), in getBaseBloodGlucoseRecord() 575 BloodGlucose.fromMillimolesPerLiter(10.0), in getCompleteBloodGlucoseRecord()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | BloodGlucoseRecordInternal.java | 23 import android.health.connect.datatypes.units.BloodGlucose; 91 BloodGlucose.fromMillimolesPerLiter(getLevel()), in toExternalRecord()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | BloodGlucoseFormatterTest.kt | 35 import android.health.connect.datatypes.units.BloodGlucose 252 BloodGlucose.fromMillimolesPerLiter(level), in getRecord()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/ |
D | InsertRecordFragment.kt | 39 import android.health.connect.datatypes.units.BloodGlucose in <lambda>() 205 BloodGlucose::class.java, in <lambda>()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/ |
D | InsertOrUpdateRecords.kt | 69 import android.health.connect.datatypes.units.BloodGlucose 417 BloodGlucose.fromMillimolesPerLiter( in createRecordObjectHelper()
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 422 method @NonNull public android.health.connect.datatypes.units.BloodGlucose getLevel(); 429 …ll java.time.Instant, int, @NonNull android.health.connect.datatypes.units.BloodGlucose, int, int); 1714 …public final class BloodGlucose implements java.lang.Comparable<android.health.connect.datatypes.u… 1715 method public int compareTo(@NonNull android.health.connect.datatypes.units.BloodGlucose); 1716 …method @NonNull public static android.health.connect.datatypes.units.BloodGlucose fromMillimolesPe…
|