Home
last modified time | relevance | path

Searched refs:stringJoiner (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DNutritionFormatter.kt74 val stringJoiner = StringJoiner("\n") in <lambda>() constant
75 record.mealName?.run { stringJoiner.addAggregation(R.string.meal_name, this) } in <lambda>()
77 stringJoiner.addAggregation( in <lambda>()
80 record.biotin?.addAggregation(R.string.biotin, stringJoiner, formatMass) in <lambda>()
81 record.caffeine?.addAggregation(R.string.caffeine, stringJoiner, formatMass) in <lambda>()
82 record.calcium?.addAggregation(R.string.calcium, stringJoiner, formatMass) in <lambda>()
83 record.chloride?.addAggregation(R.string.chloride, stringJoiner, formatMass) in <lambda>()
84 record.cholesterol?.addAggregation(R.string.cholesterol, stringJoiner, formatMass) in <lambda>()
85 record.chromium?.addAggregation(R.string.chromium, stringJoiner, formatMass) in <lambda>()
86 record.copper?.addAggregation(R.string.copper, stringJoiner, formatMass) in <lambda>()
[all …]
DBloodGlucoseFormatter.kt61 val stringJoiner = StringJoiner(" ") in format() constant
62 stringJoiner.add( in format()
66 stringJoiner.add(getSpecimenSource(record.specimenSource)) in format()
70 stringJoiner.add(MealFormatter.formatMealType(context, record.mealType)) in format()
74 stringJoiner.add(getRelationToMeal(record.relationToMeal)) in format()
77 return stringJoiner.toString() in format()
DBloodPressureFormatter.kt60 val stringJoiner = StringJoiner(" ") in formatBloodPressure() constant
61 stringJoiner.add(bloodPressure) in formatBloodPressure()
64 stringJoiner.add(getMeasurementLocation(record.measurementLocation)) in formatBloodPressure()
68 stringJoiner.add(getBodyPosition(record.bodyPosition)) in formatBloodPressure()
71 return stringJoiner.toString() in formatBloodPressure()
DCervicalMucusFormatter.kt46 val stringJoiner = StringJoiner(" ") in formatValue() constant
48 stringJoiner.add(formatAppearances(record.appearance)) in formatValue()
51 stringJoiner.add(formatSensation(record.sensation)) in formatValue()
53 return stringJoiner.toString() in formatValue()
/packages/services/Car/service/src/com/android/car/hal/property/
DHalPropertyDebugUtils.java192 StringJoiner stringJoiner = new StringJoiner(", ", "[", "]"); in toValueString() local
208 stringJoiner.add(getIntValueName(propertyId, halPropValue.getInt32Value(i), in toValueString()
211 return stringJoiner.toString(); in toValueString()
221 stringJoiner.add(halPropValue.getFloatValue(i) + propertyUnits); in toValueString()
223 return stringJoiner.toString(); in toValueString()
233 stringJoiner.add(halPropValue.getInt64Value(i) + propertyUnits); in toValueString()
235 return stringJoiner.toString(); in toValueString()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearHistory.java144 StringJoiner stringJoiner = new StringJoiner(",", in toString() local
147 stringJoiner.add(mWearHistory.get(index).toString()); in toString()
149 return stringJoiner.toString(); in toString()
/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DIoStats.java219 StringJoiner stringJoiner = new StringJoiner(", "); in toString() local
221 stringJoiner.add(stats.toString()); in toString()
223 return "timestamp = " + getTimestamp() + ", stats = " + stringJoiner.toString(); in toString()
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java551 StringJoiner stringJoiner = new StringJoiner(delimiter, prefix, /* suffix= */ ""); in listToString() local
553 stringJoiner.add(list.get(index).toString()); in listToString()
555 return stringJoiner.toString(); in listToString()