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.java57 private final SparseIntArray mIntValues; field in CarDiagnosticEvent
82 mIntValues = new SparseIntArray(len); in CarDiagnosticEvent()
86 mIntValues.put(key, value); in CarDiagnosticEvent()
108 dest.writeInt(mIntValues.size()); in writeToParcel()
109 for (int i = 0; i < mIntValues.size(); ++i) { in writeToParcel()
110 int key = mIntValues.keyAt(i); in writeToParcel()
112 dest.writeInt(mIntValues.get(key)); in writeToParcel()
149 for (int i = 0; i < mIntValues.size(); ++i) { in writeToJson()
151 jsonWriter.name("id").value(mIntValues.keyAt(i)); in writeToJson()
152 jsonWriter.name("value").value(mIntValues.valueAt(i)); in writeToJson()
[all …]
/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/
DDiagnosticEventBuilder.java100 private final DefaultedArray<Integer> mIntValues;
120 mIntValues = new DefaultedArray<>(mNumIntSensors, 0); in DiagnosticEventBuilder()
125 mIntValues.clear(); in clear()
133 mIntValues.set(index, value); in addIntSensor()
161 mIntValues.forEach(propValueBuilder::addIntValues); in build()
DDiagnosticJson.java88 final SparseArray<Integer> mIntValues = new SparseArray<>(); field in DiagnosticJson.Builder
106 mIntValues.put(id, value); in readIntValues()
161 mType.get(), mTimestamp.get(), mIntValues, mFloatValues, mDtc.get(null)); in build()