Home
last modified time | relevance | path

Searched refs:ValidationUtils (Results 1 – 25 of 49) sorted by relevance

12

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DSkinTemperatureRecord.java20 import static android.health.connect.datatypes.validation.ValidationUtils.validateIntDefValue;
32 import android.health.connect.datatypes.validation.ValidationUtils;
131 ValidationUtils.requireInRange(baseline.getInCelsius(), 0.0, 100, "temperature"); in SkinTemperatureRecord()
137 ValidationUtils.validateSampleStartAndEndTime( in SkinTemperatureRecord()
264 ValidationUtils.requireInRange(delta.getInCelsius(), -30, 30, "temperature delta"); in Delta()
DExerciseRoute.java23 import android.health.connect.datatypes.validation.ValidationUtils;
179 ValidationUtils.requireInRange(latitude, MIN_LATITUDE, MAX_LATITUDE, "Latitude"); in Location()
180 ValidationUtils.requireInRange( in Location()
184 ValidationUtils.requireNonNegative( in Location()
189 ValidationUtils.requireNonNegative( in Location()
DBasalBodyTemperatureRecord.java18 import static android.health.connect.datatypes.validation.ValidationUtils.validateIntDefValue;
22 import android.health.connect.datatypes.validation.ValidationUtils;
61 ValidationUtils.requireInRange(temperature.getInCelsius(), 0.0, 100, "temperature"); in BasalBodyTemperatureRecord()
DBodyTemperatureRecord.java18 import static android.health.connect.datatypes.validation.ValidationUtils.validateIntDefValue;
23 import android.health.connect.datatypes.validation.ValidationUtils;
66 ValidationUtils.requireInRange(temperature.getInCelsius(), 0.0, 100, "temperature"); in BodyTemperatureRecord()
DBloodPressureRecord.java19 import static android.health.connect.datatypes.validation.ValidationUtils.validateIntDefValue;
25 import android.health.connect.datatypes.validation.ValidationUtils;
149 ValidationUtils.requireInRange( in BloodPressureRecord()
151 ValidationUtils.requireInRange( in BloodPressureRecord()
DVo2MaxRecord.java18 import static android.health.connect.datatypes.validation.ValidationUtils.validateIntDefValue;
23 import android.health.connect.datatypes.validation.ValidationUtils;
64 ValidationUtils.requireInRange( in Vo2MaxRecord()
DBloodGlucoseRecord.java18 import static android.health.connect.datatypes.validation.ValidationUtils.validateIntDefValue;
23 import android.health.connect.datatypes.validation.ValidationUtils;
69 ValidationUtils.requireInRange(level.getInMillimolesPerLiter(), 0.0, 50.0, "level"); in BloodGlucoseRecord()
DExerciseSegment.java21 import android.health.connect.datatypes.validation.ValidationUtils;
51 ValidationUtils.requireNonNegative(repetitionsCount, "repetitionsCount"); in ExerciseSegment()
DExerciseLap.java22 import android.health.connect.datatypes.validation.ValidationUtils;
47 ValidationUtils.requireInRangeIfExists( in ExerciseLap()
DHeartRateRecord.java24 import android.health.connect.datatypes.validation.ValidationUtils;
103 ValidationUtils.validateSampleStartAndEndTime( in HeartRateRecord()
175 ValidationUtils.requireInRange(beatsPerMinute, 1, (long) 300, "beatsPerMinute"); in HeartRateSample()
DStepsCadenceRecord.java21 import android.health.connect.datatypes.validation.ValidationUtils;
100 ValidationUtils.validateSampleStartAndEndTime( in StepsCadenceRecord()
145 ValidationUtils.requireInRange(rate, 0.0, 10000.0, "rate"); in StepsCadenceRecordSample()
DSpeedRecord.java22 import android.health.connect.datatypes.validation.ValidationUtils;
101 ValidationUtils.validateSampleStartAndEndTime( in SpeedRecord()
147 ValidationUtils.requireInRange(speed.getInMetersPerSecond(), 0.0, 1000000, "speed"); in SpeedRecordSample()
DPowerRecord.java24 import android.health.connect.datatypes.validation.ValidationUtils;
66 ValidationUtils.validateSampleStartAndEndTime( in PowerRecord()
115 ValidationUtils.requireInRange(power.getInWatts(), 0.0, 100000.0, "power"); in PowerRecordSample()
DCyclingPedalingCadenceRecord.java21 import android.health.connect.datatypes.validation.ValidationUtils;
103 ValidationUtils.validateSampleStartAndEndTime( in CyclingPedalingCadenceRecord()
151 ValidationUtils.requireInRange( in CyclingPedalingCadenceRecordSample()
DHeartRateVariabilityRmssdRecord.java20 import android.health.connect.datatypes.validation.ValidationUtils;
50 ValidationUtils.requireInRange( in HeartRateVariabilityRmssdRecord()
DLeanBodyMassRecord.java20 import android.health.connect.datatypes.validation.ValidationUtils;
54 ValidationUtils.requireInRange(mass.getInGrams(), 0.0, 1000000.0, "mass"); in LeanBodyMassRecord()
DOxygenSaturationRecord.java20 import android.health.connect.datatypes.validation.ValidationUtils;
56 ValidationUtils.requireInRange(percentage.getValue(), 0.0, 100.0, "percentage"); in OxygenSaturationRecord()
DRespiratoryRateRecord.java20 import android.health.connect.datatypes.validation.ValidationUtils;
53 ValidationUtils.requireInRange(rate, 0.0, 1000.0, "rate"); in RespiratoryRateRecord()
DBodyFatRecord.java20 import android.health.connect.datatypes.validation.ValidationUtils;
55 ValidationUtils.requireInRange(percentage.getValue(), 0.0, 100.0, "bodyFatPercentage"); in BodyFatRecord()
DBoneMassRecord.java20 import android.health.connect.datatypes.validation.ValidationUtils;
52 ValidationUtils.requireInRange(mass.getInGrams(), 0.0, 1000000.0, "mass"); in BoneMassRecord()
DBasalMetabolicRateRecord.java24 import android.health.connect.datatypes.validation.ValidationUtils;
58 ValidationUtils.requireInRange( in BasalMetabolicRateRecord()
DRestingHeartRateRecord.java23 import android.health.connect.datatypes.validation.ValidationUtils;
93 ValidationUtils.requireInRange(beatsPerMinute, 1, (long) 300, "beatsPerMinute"); in RestingHeartRateRecord()
DStepsRecord.java23 import android.health.connect.datatypes.validation.ValidationUtils;
162 ValidationUtils.requireInRange(count, 0, 1000000, "stepsCount"); in StepsRecord()
DWeightRecord.java23 import android.health.connect.datatypes.validation.ValidationUtils;
87 ValidationUtils.requireInRange(weight.getInGrams(), 0.0, 1000000.0, "weight"); in WeightRecord()
DHeightRecord.java23 import android.health.connect.datatypes.validation.ValidationUtils;
88 ValidationUtils.requireInRange(height.getInMeters(), 0.0, 3.0, "height"); in HeightRecord()

12