Home
last modified time | relevance | path

Searched refs:configArray (Results 1 – 20 of 20) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DVehicleUtils.cpp127 auto configArray = config->configArray; in checkVendorMixedPropValue() local
133 if (configArray[1] == 1) { in checkVendorMixedPropValue()
137 if (configArray[2] == 1) { in checkVendorMixedPropValue()
141 int32Count += static_cast<size_t>(configArray[3]); in checkVendorMixedPropValue()
150 if (configArray[4] == 1) { in checkVendorMixedPropValue()
154 int64Count += static_cast<size_t>(configArray[5]); in checkVendorMixedPropValue()
163 if (configArray[6] == 1) { in checkVendorMixedPropValue()
167 floatCount += static_cast<size_t>(configArray[7]); in checkVendorMixedPropValue()
176 size_t byteCount = static_cast<size_t>(configArray[8]); in checkVendorMixedPropValue()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DDefaultVehicleHal.cpp234 auto configArray = config->configArray; in checkVendorMixedPropValue() local
240 if (configArray[1] == 1) { in checkVendorMixedPropValue()
244 if (configArray[2] == 1) { in checkVendorMixedPropValue()
248 int32Count += static_cast<size_t>(configArray[3]); in checkVendorMixedPropValue()
255 if (configArray[4] == 1) { in checkVendorMixedPropValue()
259 int64Count += static_cast<size_t>(configArray[5]); in checkVendorMixedPropValue()
266 if (configArray[6] == 1) { in checkVendorMixedPropValue()
270 floatCount += static_cast<size_t>(configArray[7]); in checkVendorMixedPropValue()
276 if (configArray[8] != 0 && value.value.bytes.size() != static_cast<size_t>(configArray[8])) { in checkVendorMixedPropValue()
DDefaultConfig.h147 .configArray = {(int)VehicleUnit::METER_PER_SEC,
337 .configArray = {(int)VehicleUnit::KILOPASCAL, (int)VehicleUnit::PSI,
347 .configArray = {(int)VehicleGear::GEAR_PARK,
384 .configArray = {(int)VehicleUnit::LITER, (int)VehicleUnit::US_GALLON},
409 .configArray = {0, 0, 0, 3, 0, 0, 0, 0, 0},
422 .configArray = {toInt(VehicleProperty::HVAC_FAN_SPEED),
557 .configArray = {160, 280, 5, 605, 825, 10},
593 .configArray = {(int)VehicleUnit::FAHRENHEIT, (int)VehicleUnit::CELSIUS}},
602 .configArray = {(int)VehicleUnit::KILOMETER, (int)VehicleUnit::MILE},
619 .configArray = {(int)VehicleGear::GEAR_PARK,
[all …]
DFakeObd2Frame.cpp94 auto sensorStore = fillDefaultObd2Frame(static_cast<size_t>(propConfig.configArray[0]), in initObd2LiveFrame()
95 static_cast<size_t>(propConfig.configArray[1])); in initObd2LiveFrame()
103 auto sensorStore = fillDefaultObd2Frame(static_cast<size_t>(propConfig.configArray[0]), in initObd2FreezeFrame()
104 static_cast<size_t>(propConfig.configArray[1])); in initObd2FreezeFrame()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/src/
DFakeObd2Frame.cpp107 auto sensorStore = fillDefaultObd2Frame(static_cast<size_t>(propConfig.configArray[0]), in initObd2LiveFrame()
108 static_cast<size_t>(propConfig.configArray[1])); in initObd2LiveFrame()
116 auto sensorStore = fillDefaultObd2Frame(static_cast<size_t>(propConfig.configArray[0]), in initObd2FreezeFrame()
117 static_cast<size_t>(propConfig.configArray[1])); in initObd2FreezeFrame()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/
DProtoMessageConverter_test.cpp48 EXPECT_EQ(config.configArray, tmpConfig.configArray); in CheckPropConfigConversion()
/hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/
DVehiclePropConfig.aidl109 int[] configArray;
/hardware/interfaces/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/1/android/hardware/automotive/vehicle/
DVehiclePropConfig.aidl41 int[] configArray;
/hardware/interfaces/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/
DVehiclePropConfig.aidl41 int[] configArray;
/hardware/interfaces/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/3/android/hardware/automotive/vehicle/
DVehiclePropConfig.aidl41 int[] configArray;
/hardware/interfaces/automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/2/android/hardware/automotive/vehicle/
DVehiclePropConfig.aidl41 int[] configArray;
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DVehicleUtilsTest.cpp202 .configArray = {0, 1, 1, 1, 1, 1, 1, 1, 1}, in getInvalidPropValuesTestCases()
223 .configArray = {0, 1, 1, 1, 1, 1, 1, 1, 1}, in getInvalidPropValuesTestCases()
243 .configArray = {0, 1, 1, 1, 1, 1, 1, 1, 1}, in getInvalidPropValuesTestCases()
263 .configArray = {0, 1, 1, 1, 1, 1, 1, 1, 1}, in getInvalidPropValuesTestCases()
284 .configArray = {0, 1, 1, 1, 1, 1, 1, 1, 1}, in getInvalidPropValuesTestCases()
/hardware/interfaces/automotive/vehicle/2.0/
Dtypes.hal39 * For vendor MIXED type properties, configArray needs to be formatted in this
41 * configArray[0], 1 indicates the property has a String value
42 * configArray[1], 1 indicates the property has a Boolean value .
43 * configArray[2], 1 indicates the property has an Integer value.
44 * configArray[3], the number indicates the size of Integer[] in the property.
45 * configArray[4], 1 indicates the property has a Long value.
46 * configArray[5], the number indicates the size of Long[] in the property.
47 * configArray[6], 1 indicates the property has a Float value.
48 * configArray[7], the number indicates the size of Float[] in the property.
49 * configArray[8], the number indicates the size of byte[] in the property.
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/test/
DFakeObd2FrameTest.cpp58 .configArray = {1, 1}}; in getObd2LiveFrameConfig()
65 .configArray = {0, 0}}; in getObd2FreezeFrameConfig()
/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/utils/proto_message_converter/src/
DProtoMessageConverter.cpp62 for (auto& configElement : in.configArray) { in aidlToProto()
94 COPY_PROTOBUF_VEC_TO_VHAL_TYPE(in, config_array, out, configArray); in protoToAidl()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DProtoMessageConverter.cpp79 for (auto& configElement : cfg.configArray) { in toProto()
130 COPY_PROTOBUF_VEC_TO_VHAL_TYPE(protoCfg, config_array, cfg, configArray); in fromProto()
/hardware/interfaces/automotive/vehicle/aidl/impl/default_config/config/
DREADME.md39 "configArray": [1, 2, "Constants::HVAC_ALL"],
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp308 const auto& configArray = vehiclePropConfig.configArray; in storePropInitialValue() local
309 hvacPowerDependentProps.insert(configArray.begin(), configArray.end()); in storePropInitialValue()
400 cfg.configArray[0] = config; in init()
611 const auto& hvacTemperatureSetConfigArray = hvacTemperatureSetConfigResult.value().configArray; in setHvacTemperatureValueSuggestion()
/hardware/interfaces/automotive/vehicle/aidl/impl/default_config/JsonConfigLoader/src/
DJsonConfigLoader.cpp642 &configDecl.config.configArray, errors); in parseEachProperty()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/test/
DFakeVehicleHardwareTest.cpp427 ptr->configArray = config.configArray; in getVehiclePropConfig()
3520 auto& hvacTemperatureSetConfigArray = hvacTemperatureSetConfig->configArray; in TEST_F()