Searched refs:int32Values (Results 1 – 12 of 12) sorted by relevance
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VmsUtils_test.cpp | 38 EXPECT_EQ(message->value.int32Values.size(), 0x4ul); in TEST() 42 EXPECT_EQ(message->value.int32Values[1], 1); in TEST() 43 EXPECT_EQ(message->value.int32Values[2], 0); in TEST() 44 EXPECT_EQ(message->value.int32Values[3], 2); in TEST() 53 EXPECT_EQ(message->value.int32Values.size(), 0x4ul); in TEST() 57 EXPECT_EQ(message->value.int32Values[1], 1); in TEST() 58 EXPECT_EQ(message->value.int32Values[2], 0); in TEST() 59 EXPECT_EQ(message->value.int32Values[3], 2); in TEST() 68 EXPECT_EQ(message->value.int32Values.size(), 0x7ul); in TEST() 72 EXPECT_EQ(message->value.int32Values[1], 123); in TEST() [all …]
|
D | VehicleHalManager_test.cpp | 75 pValue->value.int32Values = hidl_vec<int32_t> { 10, 20 }; in get() 277 subscribedValue->value.int32Values[0] = 42; in TEST_F() 321 ASSERT_EQ(2u, actualValue.value.int32Values.size()); in TEST_F() 322 ASSERT_EQ(10, actualValue.value.int32Values[0]); in TEST_F() 323 ASSERT_EQ(20, actualValue.value.int32Values[1]); in TEST_F() 380 ASSERT_EQ(VAL, actualValue.value.int32Values[0]); in TEST_F() 409 ASSERT_EQ(VAL1, actualValue.value.int32Values[0]); in TEST_F() 415 ASSERT_EQ(VAL2, actualValue.value.int32Values[0]); in TEST_F() 437 ASSERT_TRUE(actualValue.value.int32Values[0]); in TEST_F()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VmsUtils.cpp | 58 result->value.int32Values = hidl_vec<int32_t>{toInt(VmsMessageType::SUBSCRIBE), layer.type, in createSubscribeMessage() 66 result->value.int32Values = hidl_vec<int32_t>{ in createSubscribeToPublisherMessage() 74 result->value.int32Values = hidl_vec<int32_t>{toInt(VmsMessageType::UNSUBSCRIBE), layer.type, in createUnsubscribeMessage() 82 result->value.int32Values = hidl_vec<int32_t>{ in createUnsubscribeToPublisherMessage() 109 result->value.int32Values = offerings; in createOfferingMessage() 115 result->value.int32Values = hidl_vec<int32_t>{ in createAvailabilityRequest() 123 result->value.int32Values = hidl_vec<int32_t>{ in createSubscriptionsRequest() 132 result->value.int32Values = hidl_vec<int32_t>{ in createDataMessageWithLayerPublisherInfo() 142 result->value.int32Values = hidl_vec<int32_t>{ in createPublisherIdRequest() 153 result->value.int32Values = hidl_vec<int32_t>{ in createStartSessionMessage() [all …]
|
D | VehicleUtils.cpp | 38 val->value.int32Values.resize(vecSize); in createVehiclePropValue() 67 return value.int32Values.size(); in getVehicleRawValueVectorSize() 90 dest->int32Values = src.int32Values; in copyVehicleRawValue() 119 shallowCopyHidlVec(&dest->value.int32Values, src.value.int32Values); in shallowCopy()
|
D | VehicleObjectPool.cpp | 60 val->value.int32Values[0] = value; in obtainInt32() 142 return check(&v->int32Values, (VehiclePropertyType::INT32 == mPropType || in check()
|
D | Obd2SensorStore.cpp | 98 propValue->value.int32Values = getIntegerSensors(); in fillPropValue()
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | DefaultConfig.h | 180 .initialValue = {.int32Values = {1}}}, 197 .initialValue = {.int32Values = {1}}}, 206 .initialValue = {.int32Values = {SEAT_1_LEFT}}}, 215 .initialValue = {.int32Values = {FUEL_DOOR_REAR_LEFT}}}, 224 .initialValue = {.int32Values = {CHARGE_PORT_FRONT_LEFT}}}, 252 .initialValue = {.int32Values = {(int)VehicleUnit::KILOMETERS_PER_HOUR}}}, 262 .initialValue = {.int32Values = {SEAT_1_LEFT}}}, 300 .initialValue = {.int32Values = {0}}}, 318 .initialValue = {.int32Values = {0}}}, 327 .initialValue = {.int32Values = {0}}}, [all …]
|
D | JsonFakeValueGenerator.cpp | 48 mNumOfIterations = v.int32Values.size() < 2 ? -1 : v.int32Values[1]; in JsonFakeValueGenerator() 115 value.int32Values.resize(1); in parseFakeValueJson() 116 value.int32Values[0] = rawEventValue.asInt(); in parseFakeValueJson() 146 copyJsonArray(dest.int32Values, jsonValue["int32Values"]); in copyMixedValueJson() 177 auto& int32Values = diagnosticValue.int32Values; in generateDiagnosticBytes() local 178 for (size_t i = 0; i < int32Values.size(); i++) { in generateDiagnosticBytes() 179 if (int32Values[i] != 0) { in generateDiagnosticBytes()
|
D | EmulatedVehicleHal.cpp | 147 if (hvacPowerOn && hvacPowerOn->value.int32Values.size() == 1 in set() 148 && hvacPowerOn->value.int32Values[0] == 0) { in set() 161 switch (propValue.value.int32Values[0]) { in set() 373 if (!v.int32Values.size()) { in handleGenerateFakeDataRequest() 378 FakeDataCommand command = static_cast<FakeDataCommand>(v.int32Values[0]); in handleGenerateFakeDataRequest() 383 if (v.int32Values.size() < 2) { in handleGenerateFakeDataRequest() 396 int32_t cookie = v.int32Values[1]; in handleGenerateFakeDataRequest() 414 if (v.int32Values.size() < 2) { in handleGenerateFakeDataRequest() 418 int32_t cookie = v.int32Values[1]; in handleGenerateFakeDataRequest() 434 int32_t keyCode = request.value.int32Values[2]; in handleGenerateFakeDataRequest() [all …]
|
D | LinearFakeValueGenerator.cpp | 35 .propId = v.int32Values[1], in LinearFakeValueGenerator() 53 value.int32Values.resize(1); in nextEvent() 54 value.int32Values[0] = static_cast<int32_t>(mGenCfg.currentValue); in nextEvent()
|
D | VehicleEmulator.cpp | 175 val.value.int32Values = std::vector<int32_t> { protoVal.int32_values().begin(), in doSetProperty() 293 for (auto& int32Value : val->value.int32Values) { in populateProtoVehiclePropValue()
|
/hardware/interfaces/automotive/vehicle/2.0/ |
D | types.hal | 1261 * int32Values[0] : VehicleApPowerStateReq enum value 1262 * int32Values[1] : additional parameter relevant for each state, 1280 * int32Values[0] : VehicleApPowerStateReport enum value 1281 * int32Values[1] : Time in ms to wake up, if necessary. Otherwise 0. 1300 * int32Values[0] must be VehicleApPowerBootupReason. 1333 * int32Values[0] : action defined by VehicleHwKeyInputAction 1334 * int32Values[1] : key code, must use standard android key code 1335 * int32Values[2] : target display defined in VehicleDisplay. Events not 1338 * int32Values[3] : [optional] Number of ticks. The value must be equal or 1999 * read from int32Values; [all …]
|