Home
last modified time | relevance | path

Searched refs:mIntValues (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java53 private final SparseIntArray mIntValues; field in CarDiagnosticEvent
78 mIntValues = new SparseIntArray(len); in CarDiagnosticEvent()
82 mIntValues.put(key, value); in CarDiagnosticEvent()
103 dest.writeInt(mIntValues.size()); in writeToParcel()
104 for (int i = 0; i < mIntValues.size(); ++i) { in writeToParcel()
105 int key = mIntValues.keyAt(i); in writeToParcel()
107 dest.writeInt(mIntValues.get(key)); in writeToParcel()
144 for (int i = 0; i < mIntValues.size(); ++i) { in writeToJson()
146 jsonWriter.name("id").value(mIntValues.keyAt(i)); in writeToJson()
147 jsonWriter.name("value").value(mIntValues.valueAt(i)); in writeToJson()
[all …]
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DDiagnosticEventBuilder.java96 private final DefaultedArray<Integer> mIntValues;
116 mIntValues = new DefaultedArray<>(mNumIntSensors, 0); in DiagnosticEventBuilder()
121 mIntValues.clear(); in clear()
129 mIntValues.set(index, value); in addIntSensor()
156 mIntValues.forEach(propValueBuilder::addIntValue); in build()
DDiagnosticJson.java86 final SparseArray<Integer> mIntValues = new SparseArray<>(); field in DiagnosticJson.Builder
101 mIntValues.put(id, value); in readIntValues()
153 mType.get(), mTimestamp.get(), mIntValues, mFloatValues, mDtc.get(null)); in build()