Home
last modified time | relevance | path

Searched refs:floatValues (Results 1 – 25 of 25) 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/service/src/com/android/car/hal/
DHalPropValueBuilder.java330 float[] floatValues, long[] int64Values, String stringValue, byte[] byteValues) { in build() argument
332 Objects.requireNonNull(floatValues, "Use empty value, not null for empty values"); in build()
337 return new AidlHalPropValue(prop, areaId, timestamp, status, int32Values, floatValues, in build()
340 return new HidlHalPropValue(prop, areaId, timestamp, status, int32Values, floatValues, in build()
403 mVehiclePropValue.value.floatValues = new float[]{value}; in AidlHalPropValue()
408 mVehiclePropValue.value.floatValues = values; in AidlHalPropValue()
432 float[] floatValues, long[] int64Values, String stringValue, byte[] byteValues) { in AidlHalPropValue() argument
435 mVehiclePropValue.value.floatValues = floatValues; in AidlHalPropValue()
462 if (mVehiclePropValue.value.floatValues == null) { in AidlHalPropValue()
463 mVehiclePropValue.value.floatValues = new float[0]; in AidlHalPropValue()
[all …]
DVehicleHal.java1039 float[] floatValues = new float[dataList.size()]; in createPropValueForInjecting() local
1041 floatValues[i] = Float.parseFloat(dataList.get(i)); in createPropValueForInjecting()
1044 floatValues); in createPropValueForInjecting()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorEvent.java163 public final float[] floatValues; field in CarSensorEvent
176 floatValues = new float[len]; in CarSensorEvent()
177 in.readFloatArray(floatValues); in CarSensorEvent()
199 dest.writeInt(floatValues.length); in writeToParcel()
200 dest.writeFloatArray(floatValues); in writeToParcel()
224 floatValues = new float[floatValueSize]; in CarSensorEvent()
230 CarSensorEvent(int sensorType, long timestamp, float[] floatValues, int[] intValues, in CarSensorEvent() argument
234 this.floatValues = floatValues; in CarSensorEvent()
277 data.temperature = floatValues[INDEX_ENVIRONMENT_TEMPERATURE]; in getEnvironmentData()
433 if (floatValues == null) { in getFuelLevelData()
[all …]
DCarSensorManager.java512 event.floatValues[0] = (float) propertyValue.getValue(); in createCarSensorEvent()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/hal/test/
DAidlVehiclePropValueBuilder.java46 mPropValue.value.floatValues = new float[0]; in AidlVehiclePropValueBuilder()
71 if (propValue.value.floatValues != null) { in clone()
72 newValue.value.floatValues = propValue.value.floatValues.clone(); in clone()
74 newValue.value.floatValues = new float[0]; in clone()
140 int oldSize = mPropValue.value.floatValues.length; in addFloatValues()
144 newValues[i] = mPropValue.value.floatValues[i]; in addFloatValues()
149 mPropValue.value.floatValues = newValues; in addFloatValues()
DDiagnosticJson.java34 public final SparseArray<Float> floatValues; field in DiagnosticJson
41 SparseArray<Float> floatValues, in DiagnosticJson() argument
46 this.floatValues = Objects.requireNonNull(floatValues); in DiagnosticJson()
55 new SparseArrayIterator<>(floatValues) in build()
DHidlVehiclePropValueBuilder.java52 newValue.value.floatValues.addAll(propValue.value.floatValues); in clone()
88 mPropValue.value.floatValues.add(val); in addFloatValue()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DDiagnosticHalServiceTest.java87 float[] floatValues = new float[]{0.0f, TEST_FLOAT_VALUE}; in getTestFreezeFrame() local
96 int32Values, floatValues, new long[0], TEST_STRING, byteValues); in getTestFreezeFrame()
104 float[] floatValues = new float[]{0.0f, TEST_FLOAT_VALUE}; in getTestLiveFrame() local
113 int32Values, floatValues, new long[0], TEST_STRING, byteValues); in getTestLiveFrame()
DDiagnosticJsonTestUtils.java41 expected.value.floatValues = new float[size]; in buildEmptyVehiclePropertyValue()
43 expected.value.floatValues[i] = 0f; in buildEmptyVehiclePropertyValue()
DHalPropValueTest.java59 hidlValue.value.floatValues.add(TEST_FLOAT_VALUE); in getTestHidlPropValue()
76 aidlValue.value.floatValues = new float[] {TEST_FLOAT_VALUE}; in getTestAidlPropValue()
175 assertThat(vehiclePropValue.value.floatValues).containsExactly( in testBuildFromFloatHidl()
195 assertThat(vehiclePropValue.value.floatValues).containsExactly( in testBuildFromFloatsHidl()
340 assertThat(vehiclePropValue.value.floatValues).usingExactEquality().containsExactly( in testBuildFromFloatAidl()
360 assertThat(vehiclePropValue.value.floatValues).usingExactEquality().containsExactly( in testBuildFromFloatsAidl()
521 hidlValue.value.floatValues.add(TEST_FLOAT_VALUE); in testToCarPropertyValueFromHidlFloat()
539 hidlValue.value.floatValues.add(TEST_FLOAT_VALUE); in testToCarPropertyValueFromHidlFloatVec()
540 hidlValue.value.floatValues.add(TEST_FLOAT_VALUE); in testToCarPropertyValueFromHidlFloatVec()
637 hidlValue.value.floatValues.add(TEST_FLOAT_VALUE); in testToCarPropertyValueFromHidlMixed()
[all …]
DDiagnosticJsonTest.java79 assertThat(actual.value.floatValues[SOME_FLOAT_ID]).isEqualTo(SOME_FLOAT_VALUE); in testBuild_passingBuilderWithFullVehicleProperty()
/packages/services/Car/cpp/vhal/client/src/
DAidlHalPropValue.cpp70 mPropValue.value.floatValues = values; in setFloatValues()
74 return mPropValue.value.floatValues; in getFloatValues()
DHidlHalPropValue.cpp70 mPropValue.value.floatValues = values; in setFloatValues()
74 return mPropValue.value.floatValues; in getFloatValues()
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java195 SparseArray<Float> floatValues, in CarDiagnosticEvent() argument
200 mFloatValues = floatValues; in CarDiagnosticEvent()
456 Float[] floatValues = new Float[floatKeys.length]; in hashCode() local
463 floatValues[i] = mFloatValues.valueAt(i); in hashCode()
468 int floatValuesHash = Objects.hash((Object[]) floatValues); in hashCode()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPropertyManagerTest.java714 propWithFloat.value.floatValues = new float[]{0f}; in testOnChangeEventInvalidPayload()
949 tempValue.value.floatValues = new float[]{INIT_TEMP_VALUE}; in configureMockedHal()
1067 vehiclePropValue.value.floatValues = new float[]{floatValue}; in newTirePressureVehiclePropValue()
DCarDiagnosticManagerTest.java739 diagnosticJson.floatValues.get(FloatSensorIndex.OXYGEN_SENSOR1_VOLTAGE), in testDiagnosticJson()
/packages/services/Car/car-lib/api/
Dlint-baseline.txt120 MissingNullability: android.car.hardware.CarSensorEvent#floatValues:
121 Missing nullability on field `floatValues` in class `class android.car.hardware.CarSensorEvent`
Dcurrent.txt614 field @Deprecated public final float[] floatValues;
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/
DClusterHomeManagerTest.java208 event.value.floatValues = new float[]{0f}; in testClusterSwitchUi_InvalidProp()
/packages/services/Car/car-lib/api/released/
D1.txt210 field public final float[] floatValues;
D2.txt216 field public final float[] floatValues;
/packages/services/Car/car-lib-module/api/
Dcurrent.txt614 field @Deprecated public final float[] floatValues;
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1329 field TIRAMISU_0 float[] floatValues;