/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | BloodGlucoseFormatterTest.kt | 83 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 98 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 113 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 121 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 129 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 137 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 145 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 153 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 161 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 169 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() [all …]
|
D | BodyTemperatureFormatterTest.kt | 87 formatter.formatA11yValue( in <lambda>() 91 formatter.formatA11yValue( in <lambda>() 95 formatter.formatA11yValue( in <lambda>() 123 formatter.formatA11yValue( in <lambda>() 127 formatter.formatA11yValue( in <lambda>() 131 formatter.formatA11yValue( in <lambda>() 159 formatter.formatA11yValue( in formatA11yValue_fahrenheit() 163 formatter.formatA11yValue( in formatA11yValue_fahrenheit() 167 formatter.formatA11yValue( in formatA11yValue_fahrenheit()
|
D | BasalBodyTemperatureFormatterTest.kt | 87 formatter.formatA11yValue( in <lambda>() 91 formatter.formatA11yValue( in <lambda>() 95 formatter.formatA11yValue( in <lambda>() 123 formatter.formatA11yValue( in <lambda>() 127 formatter.formatA11yValue( in <lambda>() 131 formatter.formatA11yValue( in <lambda>() 159 formatter.formatA11yValue( in formatA11yValue_fahrenheit() 163 formatter.formatA11yValue( in formatA11yValue_fahrenheit() 167 formatter.formatA11yValue( in formatA11yValue_fahrenheit()
|
D | HeightFormatterTest.kt | 63 assertThat(formatter.formatA11yValue(height, preferences)).isEqualTo("0 centimeters") in <lambda>() 71 assertThat(formatter.formatA11yValue(height, preferences)).isEqualTo("0 feet 0 inches") in <lambda>() 79 assertThat(formatter.formatA11yValue(height, preferences)).isEqualTo("1 centimeter") in <lambda>() 87 assertThat(formatter.formatA11yValue(height, preferences)).isEqualTo("0 feet 0 inches") in <lambda>() 95 assertThat(formatter.formatA11yValue(height, preferences)).isEqualTo("175 centimeters") in <lambda>() 103 assertThat(formatter.formatA11yValue(height, preferences)).isEqualTo("5 feet 9 inches") in <lambda>()
|
D | BoneMassFormatterTest.kt | 79 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 kilograms") in <lambda>() 87 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0.2 kilograms") in <lambda>() 110 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 pounds") in <lambda>() 118 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0.4 pounds") in formatA11yValue_pound_fraction() 141 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 stones") in <lambda>() 149 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("2 stones 1.8 pounds") in <lambda>()
|
D | BodyWaterMassFormatterTest.kt | 78 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 kilograms") in <lambda>() 86 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0.2 kilograms") in <lambda>() 109 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 pounds") in <lambda>() 117 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0.4 pounds") in formatA11yValue_pound_fraction() 140 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 stones") in <lambda>() 148 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("2 stones 1.8 pounds") in <lambda>()
|
D | LeanBodyMassFormatterTest.kt | 79 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 kilograms") in <lambda>() 87 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0.2 kilograms") in <lambda>() 110 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 pounds") in <lambda>() 118 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0.4 pounds") in formatA11yValue_pound_fraction() 141 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 stones") in <lambda>() 149 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("2 stones 1.8 pounds") in <lambda>()
|
D | WeightFormatterTest.kt | 79 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 kilograms") in <lambda>() 87 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0.2 kilograms") in <lambda>() 110 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 pounds") in <lambda>() 118 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0.4 pounds") in formatA11yValue_pound_fraction() 141 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("0 stones") in <lambda>() 149 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("2 stones 1.8 pounds") in <lambda>()
|
D | BloodPressureFormatterTest.kt | 71 fun formatA11yValue() = runBlocking { in <lambda>() method in com.android.healthconnect.controller.tests.dataentries.formatters.BloodPressureFormatterTest 74 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 91 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 115 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 141 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>()
|
D | HydrationFormatterTest.kt | 63 fun formatA11yValue() = runBlocking { in <lambda>() method 64 assertThat(formatter.formatA11yValue(getRecord(12.0), preferences)).isEqualTo("12 liters") in <lambda>() 74 assertThat(formatter.formatA11yValue(getRecord(1.0), preferences)).isEqualTo("1 liter") in <lambda>() 84 assertThat(formatter.formatA11yValue(getRecord(0.3), preferences)).isEqualTo("0.3 liters") in <lambda>()
|
D | SpeedFormatterTest.kt | 64 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("No data") in <lambda>() 104 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 113 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 122 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 131 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>()
|
D | Vo2MaxFormatterTest.kt | 68 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 76 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 88 fun formatA11yValue() = runBlocking { in <lambda>() method 91 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>()
|
D | RespiratoryRateFormatterTest.kt | 59 assertThat(formatter.formatA11yValue(getRecord(0.0), preferences)) in <lambda>() 66 assertThat(formatter.formatA11yValue(getRecord(1.0), preferences)) in <lambda>() 73 assertThat(formatter.formatA11yValue(getRecord(17.3), preferences)) in <lambda>()
|
D | BodyFatFormatterTest.kt | 77 assertThat(formatter.formatA11yValue(bodyFat, preferences)).isEqualTo("0 percent") in <lambda>() 83 assertThat(formatter.formatA11yValue(bodyFat, preferences)).isEqualTo("1 percent") in <lambda>() 89 assertThat(formatter.formatA11yValue(bodyFat, preferences)).isEqualTo("32.2 percent") in <lambda>()
|
D | ElevationFormatterTest.kt | 74 assertThat(formatter.formatA11yValue(getRecord(1500.0), preferences)) in <lambda>() 80 assertThat(formatter.formatA11yValue(getRecord(0.3), preferences)).isEqualTo("0.3 meters") in <lambda>() 85 assertThat(formatter.formatA11yValue(getRecord(1.0), preferences)).isEqualTo("1 meter") in testFormatA11yValue_one()
|
D | OxygenSaturationFormatterTest.kt | 76 assertThat(formatter.formatA11yValue(oxygenSaturation, preferences)).isEqualTo("0 percent") in <lambda>() 82 assertThat(formatter.formatA11yValue(oxygenSaturation, preferences)).isEqualTo("1 percent") in <lambda>() 88 assertThat(formatter.formatA11yValue(oxygenSaturation, preferences)) in <lambda>()
|
D | PowerFormatterTest.kt | 62 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("No data") in <lambda>() 75 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("10.1 watts") in formatA11yValue_pluralValue_returnsA11yPowerValues() 83 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("1 watt") in formatA11yValue_singleValue_returnsA11yPowerValues()
|
D | CyclingPedalingCadenceFormatterTest.kt | 63 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("No data") in <lambda>() 77 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 92 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>()
|
D | NutritionFormatterTest.kt | 76 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("Caffeine: 32 grams") in <lambda>() 92 assertThat(formatter.formatA11yValue(record, preferences)) in <lambda>() 109 assertThat(formatter.formatA11yValue(record, preferences)).isEqualTo("Energy: 295 calories") in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | BodyWaterMassFormatter.kt | 23 import com.android.healthconnect.controller.dataentries.formatters.MassFormatter.formatA11yValue 41 override suspend fun formatA11yValue( in formatA11yValue() method in com.android.healthconnect.controller.dataentries.formatters.BodyWaterMassFormatter 45 return formatA11yValue(context, record.bodyWaterMass, unitPreferences.getWeightUnit()) in formatA11yValue()
|
D | DistanceFormatter.kt | 39 override suspend fun formatA11yValue( in formatA11yValue() method in com.android.healthconnect.controller.dataentries.formatters.DistanceFormatter 43 return LengthFormatter.formatA11yValue(context, record.distance, unitPreferences) in formatA11yValue() 51 return LengthFormatter.formatA11yValue(context, unit, unitPreferences) in formatA11yUnit()
|
D | WeightFormatter.kt | 34 override suspend fun formatA11yValue( in formatA11yValue() method in com.android.healthconnect.controller.dataentries.formatters.WeightFormatter 38 return MassFormatter.formatA11yValue( in formatA11yValue()
|
D | BoneMassFormatter.kt | 34 override suspend fun formatA11yValue( in formatA11yValue() method in com.android.healthconnect.controller.dataentries.formatters.BoneMassFormatter 38 return MassFormatter.formatA11yValue(context, record.mass, unitPreferences.getWeightUnit()) in formatA11yValue()
|
D | LeanBodyMassFormatter.kt | 34 override suspend fun formatA11yValue( in formatA11yValue() method in com.android.healthconnect.controller.dataentries.formatters.LeanBodyMassFormatter 38 return MassFormatter.formatA11yValue(context, record.mass, unitPreferences.getWeightUnit()) in formatA11yValue()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/ |
D | EntryFormatter.kt | 38 titleA11y = formatA11yValue(record, unitPreferences), in formatRecord() 44 abstract suspend fun formatA11yValue(record: T, unitPreferences: UnitPreferences): String method
|