Home
last modified time | relevance | path

Searched refs:floatValues (Results 1 – 18 of 18) 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/hardware/
DCarSensorEvent.java129 public final float[] floatValues; field in CarSensorEvent
140 floatValues = new float[len]; in CarSensorEvent()
141 in.readFloatArray(floatValues); in CarSensorEvent()
160 dest.writeInt(floatValues.length); in writeToParcel()
161 dest.writeFloatArray(floatValues); in writeToParcel()
184 floatValues = new float[floatValueSize]; in CarSensorEvent()
190 CarSensorEvent(int sensorType, long timestamp, float[] floatValues, int[] intValues, in CarSensorEvent() argument
194 this.floatValues = floatValues; in CarSensorEvent()
234 data.temperature = floatValues[INDEX_ENVIRONMENT_TEMPERATURE]; in getEnvironmentData()
375 if (floatValues == null) { in getFuelLevelData()
[all …]
DCarSensorManager.java464 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/hal/
DCarPropertyUtils.java80 v.floatValues.get(0)); in toCarPropertyValue()
88 Float[] values = new Float[v.floatValues.size()]; in toCarPropertyValue()
90 values[i] = v.floatValues.get(i); in toCarPropertyValue()
136 valuesList.addAll(value.floatValues); in toMixedCarPropertyValue()
157 v.floatValues.add((Float) o); in toVehiclePropValue()
159 Collections.addAll(v.floatValues, (Float[]) o); in toVehiclePropValue()
244 v.floatValues.add((Float) values[indexOfValues]); in toMixedVehiclePropValue()
DVehicleHal.java518 return (T) propValue.value.floatValues.get(0); in get()
523 Float[] floatArray = new Float[propValue.value.floatValues.size()]; in get()
524 return (T) propValue.value.floatValues.toArray(floatArray); in get()
528 return (T) toFloatArray(propValue.value.floatValues); in get()
868 v.value.floatValues.add(Float.parseFloat(s)); in createPropValueForInjecting()
949 Arrays.toString(value.value.floatValues.toArray()), in dumpVehiclePropValue()
DPropertyHalServiceIds.java822 int sizeOfAllValue = rawValue.int32Values.size() + rawValue.floatValues.size() in checkFormatForAllProperties()
834 return sizeOfAllValue == 1 && rawValue.floatValues.size() == 1; in checkFormatForAllProperties()
838 return sizeOfAllValue == rawValue.floatValues.size(); in checkFormatForAllProperties()
DDiagnosticHalService.java388 builder.withFloatValue(i, value.value.floatValues.get(i)); in createCarDiagnosticEvent()
/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/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java182 SparseArray<Float> floatValues, in CarDiagnosticEvent() argument
187 mFloatValues = floatValues; in CarDiagnosticEvent()
423 Float[] floatValues = new Float[floatKeys.length]; in hashCode() local
430 floatValues[i] = mFloatValues.valueAt(i); in hashCode()
435 int floatValuesHash = Objects.hash((Object[]) floatValues); in hashCode()
/packages/services/Car/car-lib/api/
Dlint-baseline.txt152 MissingNullability: android.car.hardware.CarSensorEvent#floatValues:
153 Missing nullability on field `floatValues` in class `class android.car.hardware.CarSensorEvent`
Dcurrent.txt506 field @Deprecated public final float[] floatValues;
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticManagerTest.java569 diagnosticJson.floatValues.get(FloatSensorIndex.OXYGEN_SENSOR1_VOLTAGE), in testDiagnosticJson()
DCarPropertyManagerTest.java752 tempValue.value.floatValues.add(INIT_TEMP_VALUE); in configureMockedHal()
/packages/services/Car/car-lib/api/released/
D2.txt216 field public final float[] floatValues;
D1.txt210 field public final float[] floatValues;