/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | BodyTemperatureFormatterTest.kt | 69 formatter.formatValue( in <lambda>() 73 formatter.formatValue( in <lambda>() 77 formatter.formatValue( in <lambda>() 105 formatter.formatValue( in <lambda>() 109 formatter.formatValue( in <lambda>() 113 formatter.formatValue( in <lambda>() 141 formatter.formatValue( in <lambda>() 145 formatter.formatValue( in <lambda>() 149 formatter.formatValue( in <lambda>() 176 assertThat(formatter.formatValue(getRecord(MEASUREMENT_LOCATION_EAR, 1.0), preferences)) in <lambda>() [all …]
|
D | BasalBodyTemperatureFormatterTest.kt | 69 formatter.formatValue( in <lambda>() 73 formatter.formatValue( in <lambda>() 77 formatter.formatValue( in <lambda>() 105 formatter.formatValue( in <lambda>() 109 formatter.formatValue( in <lambda>() 113 formatter.formatValue( in <lambda>() 141 formatter.formatValue( in <lambda>() 145 formatter.formatValue( in <lambda>() 149 formatter.formatValue( in <lambda>() 176 assertThat(formatter.formatValue(getRecord(MEASUREMENT_LOCATION_EAR, 1.0), preferences)) in <lambda>() [all …]
|
D | Vo2MaxFormatterTest.kt | 61 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 mL/(kg·min)") in <lambda>() 81 fun formatValue() = runBlocking { in <lambda>() method in com.android.healthconnect.controller.tests.dataentries.formatters.Vo2MaxFormatterTest 84 assertThat(formatter.formatValue(record, preferences)).isEqualTo("17.3 mL/(kg·min)") in <lambda>() 99 assertThat(formatter.formatValue(record, preferences)) in formatValue_hrRation_showsMethod() 107 assertThat(formatter.formatValue(record, preferences)) in <lambda>() 115 assertThat(formatter.formatValue(record, preferences)) in <lambda>() 123 assertThat(formatter.formatValue(record, preferences)) in <lambda>() 131 assertThat(formatter.formatValue(record, preferences)) in <lambda>()
|
D | HeightFormatterTest.kt | 62 assertThat(formatter.formatValue(height, preferences)).isEqualTo("0 cm") in <lambda>() 70 assertThat(formatter.formatValue(height, preferences)).isEqualTo("0′0″") in <lambda>() 78 assertThat(formatter.formatValue(height, preferences)).isEqualTo("1 cm") in <lambda>() 86 assertThat(formatter.formatValue(height, preferences)).isEqualTo("0′0″") in <lambda>() 94 assertThat(formatter.formatValue(height, preferences)).isEqualTo("175 cm") in <lambda>() 102 assertThat(formatter.formatValue(height, preferences)).isEqualTo("5′9″") in <lambda>()
|
D | BoneMassFormatterTest.kt | 64 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 kg") in <lambda>() 72 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0.2 kg") in <lambda>() 95 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 lb") in <lambda>() 103 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0.4 lb") in <lambda>() 126 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 st") in <lambda>() 134 assertThat(formatter.formatValue(record, preferences)).isEqualTo("2 st 1.8 lb") in <lambda>()
|
D | BodyWaterMassFormatterTest.kt | 63 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 kg") in <lambda>() 71 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0.2 kg") in <lambda>() 94 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 lb") in <lambda>() 102 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0.4 lb") in <lambda>() 125 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 st") in <lambda>() 133 assertThat(formatter.formatValue(record, preferences)).isEqualTo("2 st 1.8 lb") in <lambda>()
|
D | LeanBodyMassFormatterTest.kt | 64 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 kg") in <lambda>() 72 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0.2 kg") in <lambda>() 95 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 lb") in <lambda>() 103 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0.4 lb") in <lambda>() 126 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 st") in <lambda>() 134 assertThat(formatter.formatValue(record, preferences)).isEqualTo("2 st 1.8 lb") in <lambda>()
|
D | WeightFormatterTest.kt | 64 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 kg") in <lambda>() 72 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0.2 kg") in <lambda>() 95 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 lb") in <lambda>() 103 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0.4 lb") in <lambda>() 126 assertThat(formatter.formatValue(record, preferences)).isEqualTo("0 st") in <lambda>() 134 assertThat(formatter.formatValue(record, preferences)).isEqualTo("2 st 1.8 lb") in <lambda>()
|
D | CervicalMucusFormatterTest.kt | 70 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Dry") in <lambda>() 77 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Sticky") in <lambda>() 84 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Creamy") in <lambda>() 90 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Watery") in <lambda>() 96 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Egg white") in <lambda>()
|
D | FloorsFormatterTest.kt | 57 fun formatValue() = runBlocking { in <lambda>() method 58 assertThat(formatter.formatValue(getRecord(4.0), preferences)).isEqualTo("4 floors") in <lambda>() 63 assertThat(formatter.formatValue(getRecord(1.0), preferences)).isEqualTo("1 floor") in <lambda>() 68 assertThat(formatter.formatValue(getRecord(1234.0), preferences)).isEqualTo("1,234 floors") in <lambda>()
|
D | BloodPressureFormatterTest.kt | 64 fun formatValue() = runBlocking { in <lambda>() method in com.android.healthconnect.controller.tests.dataentries.formatters.BloodPressureFormatterTest 67 assertThat(formatter.formatValue(record, preferences)).isEqualTo("123/82 mmHg") in <lambda>() 83 assertThat(formatter.formatValue(record, preferences)).isEqualTo("123/82 mmHg Standing up") in <lambda>() 103 assertThat(formatter.formatValue(record, preferences)) in <lambda>() 128 assertThat(formatter.formatValue(record, preferences)) in <lambda>()
|
D | HydrationFormatterTest.kt | 58 fun formatValue() = runBlocking { in <lambda>() method in com.android.healthconnect.controller.tests.dataentries.formatters.HydrationFormatterTest 59 assertThat(formatter.formatValue(getRecord(12.0), preferences)).isEqualTo("12 L") in <lambda>() 69 assertThat(formatter.formatValue(getRecord(1.0), preferences)).isEqualTo("1 L") in <lambda>() 79 assertThat(formatter.formatValue(getRecord(0.3), preferences)).isEqualTo("0.3 L") in <lambda>()
|
D | NutritionFormatterTest.kt | 62 assertThat(formatter.formatValue(record, preferences)).isEqualTo("-") in formatValue_noData() 69 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Caffeine: 32 g") in <lambda>() 84 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Energy: 5,165 kJ") in <lambda>() 101 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Energy: 295 Cal") in <lambda>() 161 assertThat(formatter.formatValue(record, preferences)) in <lambda>()
|
D | SpeedFormatterTest.kt | 63 assertThat(formatter.formatValue(record, preferences)).isEqualTo("No data") in <lambda>() 72 assertThat(formatter.formatValue(record, preferences)).isEqualTo("43.2 km/h") in <lambda>() 80 assertThat(formatter.formatValue(record, preferences)).isEqualTo("32.16 km/h") in <lambda>() 88 assertThat(formatter.formatValue(record, preferences)).isEqualTo("26.843 mph") in <lambda>() 96 assertThat(formatter.formatValue(record, preferences)).isEqualTo("19.983 mph") in <lambda>()
|
D | StepsCadenceFormatterTest.kt | 60 assertThat(formatter.formatValue(record, preferences)).isEqualTo("No data") in <lambda>() 72 assertThat(formatter.formatValue(record, preferences)).isEqualTo("1 step/min") in <lambda>() 78 assertThat(formatter.formatValue(record, preferences)).isEqualTo("10.3 steps/min") in <lambda>() 84 assertThat(formatter.formatValue(record, preferences)).isEqualTo("15.2 steps/min") in <lambda>()
|
D | RespiratoryRateFormatterTest.kt | 58 assertThat(formatter.formatValue(getRecord(0.0), preferences)).isEqualTo("0 rpm") in <lambda>() 65 assertThat(formatter.formatValue(getRecord(1.0), preferences)).isEqualTo("1 rpm") in <lambda>() 72 assertThat(formatter.formatValue(getRecord(17.3), preferences)).isEqualTo("17 rpm") in <lambda>()
|
D | BodyFatFormatterTest.kt | 59 assertThat(formatter.formatValue(bodyFat, preferences)).isEqualTo("0%") in <lambda>() 65 assertThat(formatter.formatValue(bodyFat, preferences)).isEqualTo("1%") in <lambda>() 71 assertThat(formatter.formatValue(bodyFat, preferences)).isEqualTo("32.2%") in <lambda>()
|
D | MenstruationFlowFormatterTest.kt | 65 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Heavy flow") in <lambda>() 72 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Medium flow") in <lambda>() 79 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Light flow") in <lambda>()
|
D | SexualActivityFormatterTest.kt | 64 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Protected") in <lambda>() 71 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Unprotected") in <lambda>() 78 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Sexual activity") in <lambda>()
|
D | ElevationFormatterTest.kt | 59 assertThat(formatter.formatValue(getRecord(1500.0), preferences)).isEqualTo("1,500 m") in <lambda>() 64 assertThat(formatter.formatValue(getRecord(0.3), preferences)).isEqualTo("0.3 m") in <lambda>() 69 assertThat(formatter.formatValue(getRecord(1.0), preferences)).isEqualTo("1 m") in <lambda>()
|
D | OvulationTestFormatterTest.kt | 64 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Positive") in <lambda>() 71 assertThat(formatter.formatValue(record, preferences)).isEqualTo("Negative") in <lambda>() 78 assertThat(formatter.formatValue(record, preferences)).isEqualTo("High") in <lambda>()
|
D | OxygenSaturationFormatterTest.kt | 58 assertThat(formatter.formatValue(oxygenSaturation, preferences)).isEqualTo("0%") in <lambda>() 64 assertThat(formatter.formatValue(oxygenSaturation, preferences)).isEqualTo("1%") in <lambda>() 70 assertThat(formatter.formatValue(oxygenSaturation, preferences)).isEqualTo("32.2%") in <lambda>()
|
D | CyclingPedalingCadenceFormatterTest.kt | 62 assertThat(formatter.formatValue(record, preferences)).isEqualTo("No data") in <lambda>() 70 assertThat(formatter.formatValue(record, preferences)).isEqualTo("40 rpm") in <lambda>() 85 assertThat(formatter.formatValue(record, preferences)).isEqualTo("23 rpm - 43 rpm") in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | BodyWaterMassFormatter.kt | 24 import com.android.healthconnect.controller.dataentries.formatters.MassFormatter.formatValue 34 override suspend fun formatValue( in formatValue() method in com.android.healthconnect.controller.dataentries.formatters.BodyWaterMassFormatter 38 return formatValue(context, record.bodyWaterMass, unitPreferences.getWeightUnit()) in formatValue()
|
D | DistanceFormatter.kt | 32 override suspend fun formatValue( in formatValue() method in com.android.healthconnect.controller.dataentries.formatters.DistanceFormatter 36 return LengthFormatter.formatValue(context, record.distance, unitPreferences) in formatValue() 47 return LengthFormatter.formatValue(context, unit, unitPreferences) in formatUnit()
|