Home
last modified time | relevance | path

Searched refs:floatValues (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/tools/emulator/
Ddiagjson.example19 "floatValues": [
63 "floatValues": [
107 "floatValues": [
151 "floatValues": [
195 "floatValues": [
239 "floatValues": [
283 "floatValues": [
327 "floatValues": [
371 "floatValues": [
415 "floatValues": [
[all …]
Dobd2_to_diagjson.py133 self.store.floatValues = []
137 self.store.floatValues.append(d)
140 def floatValues(self): member in Event
143 for value in self.store.floatValues:
153 for floatValue in json.floatValues:
167 for id, value in self.floatValues():
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java59 private final SparseArray<Float> floatValues; field in CarDiagnosticEvent
71 floatValues = new SparseArray<>(len); in CarDiagnosticEvent()
75 floatValues.put(key, value); in CarDiagnosticEvent()
97 dest.writeInt(floatValues.size()); in writeToParcel()
98 for (int i = 0; i < floatValues.size(); ++i) { in writeToParcel()
99 int key = floatValues.keyAt(i); in writeToParcel()
101 dest.writeFloat(floatValues.get(key)); in writeToParcel()
153 for (int i = 0; i < floatValues.size(); ++i) { in writeToJson()
155 jsonWriter.name("id").value(floatValues.keyAt(i)); in writeToJson()
156 jsonWriter.name("value").value(floatValues.valueAt(i)); in writeToJson()
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorEvent.java128 public final float[] floatValues; field in CarSensorEvent
139 floatValues = new float[len]; in CarSensorEvent()
140 in.readFloatArray(floatValues); in CarSensorEvent()
159 dest.writeInt(floatValues.length); in writeToParcel()
160 dest.writeFloatArray(floatValues); in writeToParcel()
183 floatValues = new float[floatValueSize]; in CarSensorEvent()
189 CarSensorEvent(int sensorType, long timestamp, float[] floatValues, int[] intValues, in CarSensorEvent() argument
193 this.floatValues = floatValues; in CarSensorEvent()
230 data.temperature = floatValues[INDEX_ENVIRONMENT_TEMPERATURE]; in getEnvironmentData()
371 if (floatValues == null) { in getFuelLevelData()
[all …]
DCarSensorManager.java465 event.floatValues[0] = (float) propertyValue.getValue(); in createCarSensorEvent()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DDiagnosticJson.java32 public final SparseArray<Float> floatValues; field in DiagnosticJson
39 SparseArray<Float> floatValues, in DiagnosticJson() argument
44 this.floatValues = Objects.requireNonNull(floatValues); in DiagnosticJson()
53 new SparseArrayIterator<>(floatValues) in build()
DVehiclePropValueBuilder.java52 newValue.value.floatValues.addAll(propValue.value.floatValues); in clone()
88 mPropValue.value.floatValues.add(val); in addFloatValue()
/packages/services/Car/service/src/com/android/car/
DCarSensorEventFactory.java59 event.floatValues[0] = value; in createFloatEvent()
65 int numFloats = v.value.floatValues.size(); in createMixedEvent()
72 event.floatValues[i] = v.value.floatValues.get(i); in createMixedEvent()
/packages/services/Car/service/src/com/android/car/hal/
DCarPropertyUtils.java57 v.floatValues.get(0)); in toCarPropertyValue()
65 Float[] values = new Float[v.floatValues.size()]; in toCarPropertyValue()
67 values[i] = v.floatValues.get(i); in toCarPropertyValue()
114 v.floatValues.add((Float) o); in toVehiclePropValue()
116 Collections.addAll(v.floatValues, (Float[]) o); in toVehiclePropValue()
240 return value.floatValues; in getRawValueList()
DVehicleHal.java349 return (T) propValue.value.floatValues.get(0); in get()
354 Float[] floatArray = new Float[propValue.value.floatValues.size()]; in get()
355 return (T) propValue.value.floatValues.toArray(floatArray); in get()
359 return (T) toFloatArray(propValue.value.floatValues); in get()
621 v.value.floatValues.add(Float.parseFloat(s)); in injectVhalEvent()
716 .append(",floatValues: ").append(Arrays.toString(value.value.floatValues.toArray())) in dumpVehiclePropValue()
DDiagnosticHalService.java376 builder.withFloatValue(i, value.value.floatValues.get(i)); in createCarDiagnosticEvent()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticManagerTest.java559 diagnosticJson.floatValues.get(FloatSensorIndex.OXYGEN_SENSOR1_VOLTAGE), in testDiagnosticJson()
/packages/services/Car/car-lib/api/released/
D2.txt216 field public final float[] floatValues;
D1.txt210 field public final float[] floatValues;
/packages/services/Car/car-lib/api/
Dcurrent.txt418 field @Deprecated public final float[] floatValues;