Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DLinearFakeValueGenerator.cpp36 .initialValue = v.floatValues[0], in LinearFakeValueGenerator()
37 .currentValue = v.floatValues[0], in LinearFakeValueGenerator()
38 .dispersion = v.floatValues[1], in LinearFakeValueGenerator()
39 .increment = v.floatValues[2], in LinearFakeValueGenerator()
61 value.floatValues.resize(1); in nextEvent()
62 value.floatValues[0] = mGenCfg.currentValue; in nextEvent()
DJsonFakeValueGenerator.cpp123 value.floatValues.resize(1); in parseFakeValueJson()
124 value.floatValues[0] = rawEventValue.asFloat(); in parseFakeValueJson()
148 copyJsonArray(dest.floatValues, jsonValue["floatValues"]); in copyMixedValueJson()
184 auto& floatValues = diagnosticValue.floatValues; in generateDiagnosticBytes() local
185 for (size_t i = 0; i < floatValues.size(); i++) { in generateDiagnosticBytes()
186 if (floatValues[i] != 0.0) { in generateDiagnosticBytes()
DDefaultConfig.h172 .initialValue = {.floatValues = {15000.0f}}},
189 .initialValue = {.floatValues = {150000.0f}}},
241 .initialValue = {.floatValues = {0.0f}}},
270 .initialValue = {.floatValues = {0.0f}}},
281 .initialValue = {.floatValues = {0.0f}},
291 .initialValue = {.floatValues = {15000.0f}}},
309 .initialValue = {.floatValues = {150000.0f}}},
336 .initialValue = {.floatValues = {0.0f}}},
347 .initialValue = {.floatValues = {100.0f}}}, // units in meters
377 .initialValue = {.floatValues = {200}}}, // units in kPa
[all …]
DEmulatedVehicleHal.cpp391 if (v.floatValues.size() < 3) { in handleGenerateFakeDataRequest()
393 v.floatValues.size()); in handleGenerateFakeDataRequest()
554 outValue->value.floatValues = freezeFrame->value.floatValues; in fillObd2FreezeFrame()
DVehicleEmulator.cpp185 val.value.floatValues = std::vector<float> { protoVal.float_values().begin(), in doSetProperty()
301 for (auto& floatValue : val->value.floatValues) { in populateProtoVehiclePropValue()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleUtils.cpp42 val->value.floatValues.resize(vecSize); in createVehiclePropValue()
70 return value.floatValues.size(); in getVehicleRawValueVectorSize()
91 dest->floatValues = src.floatValues; in copyVehicleRawValue()
121 shallowCopyHidlVec(&dest->value.floatValues, src.value.floatValues); in shallowCopy()
DVehicleObjectPool.cpp74 val->value.floatValues[0] = value; in obtainFloat()
145 check(&v->floatValues, (VehiclePropertyType::FLOAT == mPropType || in check()
DObd2SensorStore.cpp99 propValue->value.floatValues = getFloatSensors(); in fillPropValue()
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleHalManager_test.cpp77 pValue->value.floatValues = hidl_vec<float_t> { 1.1, 2.2 }; in get()
325 ASSERT_EQ(2u, actualValue.value.floatValues.size()); in TEST_F()
326 ASSERT_FLOAT_EQ(1.1, actualValue.value.floatValues[0]); in TEST_F()
327 ASSERT_FLOAT_EQ(2.2, actualValue.value.floatValues[1]); in TEST_F()
363 ASSERT_FLOAT_EQ(42.42, actualValue.value.floatValues[0]); in TEST_F()
/hardware/interfaces/automotive/vehicle/2.0/
Dtypes.hal2027 * floatValues must be a vector containing Obd2FloatSensorIndex.LAST_SYSTEM_INDEX + 3
2038 * followed by as many bits as the size of floatValues.
2048 * floatValues[0 thru 3] are not valid sensor values
2049 * floatValues[4 and 5] are valid sensor values
2050 * floatValues[6] is not a valid sensor value
2898 vec<float> floatValues;