Searched refs:floatValues (Results 1 – 12 of 12) sorted by relevance
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | LinearFakeValueGenerator.cpp | 36 .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() 62 value.floatValues.resize(1); in nextEvent() 63 value.floatValues[0] = mGenCfg.currentValue; in nextEvent()
|
D | JsonFakeValueGenerator.cpp | 141 value.floatValues.resize(1); in parseFakeValueJson() 142 value.floatValues[0] = rawEventValue.asFloat(); in parseFakeValueJson() 173 copyJsonArray(dest.floatValues, jsonValue["floatValues"]); in copyMixedValueJson() 209 auto& floatValues = diagnosticValue.floatValues; in generateDiagnosticBytes() local 210 for (size_t i = 0; i < floatValues.size(); i++) { in generateDiagnosticBytes() 211 if (floatValues[i] != 0.0) { in generateDiagnosticBytes()
|
D | DefaultConfig.h | 50 .initialValue = {.floatValues = {15000.0f}}}, 66 .initialValue = {.floatValues = {150000.0f}}}, 136 .initialValue = {.floatValues = {0.0f}}}, 180 .initialValue = {.floatValues = {0.0f}}}, 189 .initialValue = {.floatValues = {0.0f}}}, 198 .initialValue = {.floatValues = {0.0f}}}, 208 .initialValue = {.floatValues = {0.0f}}, 219 .initialValue = {.floatValues = {15000.0f}}}, 237 .initialValue = {.floatValues = {150000.0f}}}, 263 .initialValue = {.floatValues = {0.0f}}}, [all …]
|
D | VehicleHalServer.cpp | 150 if (v.floatValues.size() < 3) { in handleGenerateFakeDataRequest() 152 << v.floatValues.size(); in handleGenerateFakeDataRequest() 258 updatedPropValue->value.floatValues[0] = value.value.floatValues[0]; in onSetProperty()
|
D | ProtoMessageConverter.cpp | 177 for (auto& floatValue : val.value.floatValues) { in toProto() 200 COPY_PROTOBUF_VEC_TO_VHAL_TYPE(protoVal, float_values, val, value.floatValues); in fromProto()
|
D | VehicleEmulator.cpp | 186 val.value.floatValues = std::vector<float> { protoVal.float_values().begin(), in doSetProperty()
|
D | EmulatedVehicleHal.cpp | 467 outValue->value.floatValues = freezeFrame->value.floatValues; in fillObd2FreezeFrame()
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VehicleHalManager_test.cpp | 190 pValue->value.floatValues = hidl_vec<float_t>{1.1, 2.2}; in getComplexProperty() 339 ASSERT_EQ(2u, actualValue.value.floatValues.size()); in TEST_F() 340 ASSERT_FLOAT_EQ(1.1, actualValue.value.floatValues[0]); in TEST_F() 341 ASSERT_FLOAT_EQ(2.2, actualValue.value.floatValues[1]); in TEST_F() 382 ASSERT_FLOAT_EQ(42.42, actualValue.value.floatValues[0]); in TEST_F() 606 ASSERT_EQ(3u, value->value.floatValues.size()); in TEST_F() 607 ASSERT_EQ(-3.402823466E+38f, value->value.floatValues[0]); in TEST_F() 608 ASSERT_EQ(0.0f, value->value.floatValues[1]); in TEST_F() 609 ASSERT_EQ(3.402823466E+38f, value->value.floatValues[2]); in TEST_F()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VehicleObjectPool.cpp | 74 val->value.floatValues[0] = value; in obtainFloat() 145 check(&v->floatValues, (VehiclePropertyType::FLOAT == mPropType || in check()
|
D | Obd2SensorStore.cpp | 99 propValue->value.floatValues = getFloatSensors(); in fillPropValue()
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/ |
D | VehicleManager_fuzzer.cpp | 130 pValue->value.floatValues = hidl_vec<float_t>{1.1, 2.2}; in get()
|
/hardware/interfaces/automotive/vehicle/2.0/ |
D | types.hal | 1278 * floatValues[0] = the requested value that an application wants to set a temperature to. 1279 * floatValues[1] = the unit for floatValues[0]. It should be one of 1281 * floatValues[2] = the value OEMs suggested in CELSIUS. This value is not included 1283 * floatValues[3] = the value OEMs suggested in FAHRENHEIT. This value is not included 1287 * the value. OEMs need to return the suggested values in floatValues[2] and floatValues[3] by 2330 * floatValues must be a vector containing Obd2FloatSensorIndex.LAST_SYSTEM_INDEX + 3 2341 * followed by as many bits as the size of floatValues. 2351 * floatValues[0 thru 3] are not valid sensor values 2352 * floatValues[4 and 5] are valid sensor values 2353 * floatValues[6] is not a valid sensor value [all …]
|