Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DDefaultConfig.h154 .areaConfigs = {VehicleAreaConfig{.areaId = (SEAT_1_LEFT)},
155 VehicleAreaConfig{.areaId = (SEAT_1_RIGHT)}},
168 .areaConfigs = {VehicleAreaConfig{.areaId = (0)}},
281 .areaId = WHEEL_FRONT_LEFT,
286 .areaId = WHEEL_FRONT_RIGHT,
291 .areaId = WHEEL_REAR_LEFT,
296 .areaId = WHEEL_REAR_RIGHT,
311 .areaId = WHEEL_FRONT_LEFT,
314 .areaId = WHEEL_FRONT_RIGHT,
317 .areaId = WHEEL_REAR_LEFT,
[all …]
DVehicleHalServer.cpp60 int32_t curArea = isGlobalProp(cfg.prop) ? 0 : cfg.areaConfigs[i].areaId; in VehicleHalServer()
64 .areaId = curArea, in VehicleHalServer()
216 req->areaId = 0; in createApPowerStateReq()
228 keyEvent->areaId = 0; in createHwInputKeyProp()
251 updatedPropValue->areaId = value.areaId; in onSetProperty()
260 updatedPropValue->areaId = value.areaId; in onSetProperty()
269 updatedPropValue->areaId = value.areaId; in onSetProperty()
320 updatedPropValue->areaId = value.areaId; in onSetProperty()
DVehicleEmulator.cpp112 int32_t areaId = 0; in doGetProperty() local
120 areaId = getProp.area_id(); in doGetProperty()
125 .areaId = areaId, in doGetProperty()
158 .areaId = protoVal.area_id(), in doSetProperty()
DEmulatedUserHal.cpp144 if (value.areaId != 0) { in onSetInitialUserInfoResponse()
183 if (value.areaId != 0) { in onSetSwitchUserResponse()
229 if (value.areaId != 0) { in onSetCreateUserResponse()
260 if (value.areaId != 0) { in onSetUserIdentificationAssociation()
289 switch (response->areaId) { in sendUserHalResponse()
DProtoMessageConverter.cpp90 protoACfg->set_area_id(areaConfig.areaId); in toProto()
135 CHECK_COPY_PROTOBUF_VAR_TO_VHAL_TYPE(protoAcfg, area_id, &acfg, areaId); in fromProto()
156 protoVal->set_area_id(val.areaId); in toProto()
187 CHECK_COPY_PROTOBUF_VAR_TO_VHAL_TYPE(protoVal, area_id, val, areaId); in fromProto()
DLinearFakeValueGenerator.cpp50 VehiclePropValue event = {.timestamp = {}, .areaId = {}, .prop = mGenCfg.propId}; in nextEvent()
DEmulatedVehicleHal.cpp298 int32_t curArea = isGlobalProp(cfg.prop) ? 0 : cfg.areaConfigs[i].areaId; in onCreate()
302 .areaId = curArea, in onCreate()
521 v->areaId = 0; in createVhalHeartBeatProp()
DJsonFakeValueGenerator.cpp123 .areaId = rawEvent["areaId"].asInt(), in parseFakeValueJson()
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleHalManager_test.cpp71 int32_t areaId = requestedPropValue.areaId; in get() local
92 pValue->areaId = areaId; in get()
121 void sendHalError(StatusCode error, int32_t property, int32_t areaId) { in sendHalError() argument
122 doHalPropertySetError(error, property, areaId); in sendHalError()
131 return makeKey(v.prop, v.areaId); in makeKey()
157 void invokeGet(int32_t property, int32_t areaId) { in invokeGet() argument
160 requestedValue.areaId = areaId; in invokeGet()
187 pValue->areaId = 0; in getComplexProperty()
353 pValue->areaId = 0; in TEST_F()
391 expectedValue->areaId = 0; in TEST_F()
[all …]
DVehicleHalTestUtils.h48 .areaId = toInt(VehicleAreaSeat::ROW_1_LEFT), .minInt32Value = 1, .maxInt32Value = 7},
50 .areaId = toInt(VehicleAreaSeat::ROW_1_RIGHT), .minInt32Value = 1, .maxInt32Value = 5,
57 .areaConfigs = {VehicleAreaConfig{.areaId = toInt(VehicleAreaSeat::ROW_1_LEFT),
61 .areaId = toInt(VehicleAreaSeat::ROW_1_RIGHT),
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/
DVehicleManager_fuzzer.h66 void sendHalError(StatusCode error, int32_t property, int32_t areaId) { in sendHalError() argument
67 doHalPropertySetError(error, property, areaId); in sendHalError()
71 int64_t makeKey(const VehiclePropValue& v) const { return makeKey(v.prop, v.areaId); } in makeKey()
119 void invokeGet(int32_t property, int32_t areaId);
DVehicleManager_fuzzer.cpp111 int32_t areaId = requestedPropValue.areaId; in get() local
135 auto key = makeKey(toInt(property), areaId); in get()
141 pValue->areaId = areaId; in get()
250 expectedValue->areaId = 0; in invokeSetAndGetValues()
349 void VehicleHalManagerFuzzer::invokeGet(int32_t property, int32_t areaId) { in invokeGet() argument
352 requestedValue.areaId = areaId; in invokeGet()
398 .areaConfigs = {VehicleAreaConfig{.areaId = (0)}}, in invokeVehiclePropStore()
403 propValue.areaId = 0; in invokeVehiclePropStore()
410 store->readValueOrNull(propValue.prop, propValue.areaId, 0); in invokeVehiclePropStore()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleHal.h39 StatusCode errorCode, int32_t property, int32_t areaId)>;
116 int32_t areaId) { in doHalPropertySetError() argument
117 mOnHalPropertySetError(errorCode, propId, areaId); in doHalPropertySetError()
DVehicleHalManager.h90 int32_t areaId);
108 void cmdDumpOneProperty(int fd, int32_t prop, int32_t areaId);
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/
DProtoMessageConverter_test.cpp57 EXPECT_EQ(lhs.areaId, rhs.areaId); in CheckPropConfigConversion()
94 prop.areaId = 123; in TEST()
/hardware/interfaces/automotive/vehicle/2.0/vts/functional/
DVtsHalAutomotiveVehicleV2_0TargetTest.cpp94 void invokeGet(int32_t property, int32_t areaId) { in invokeGet() argument
97 requestedValue.areaId = areaId; in invokeGet()
/hardware/interfaces/automotive/vehicle/2.0/
DIVehicleCallback.hal53 * @param areaId - bitmask that specifies in which areas the problem has
58 int32_t areaId);
Dtypes.hal288 * VHAL implementations must ignore the areaId. Use VehicleArea:GLOBAL.
618 * Each tires is identified by its areaConfig.areaId config and their
630 * .areaId = VehicleAreaWheel::LEFT_FRONT,
947 * On/off AC for designated areaId
987 * areaConfig.areaId = {ROW_1_LEFT | ROW_1_RIGHT} indicates HVAC_MAX_DEFROST_ON
3999 int32_t areaId;
4076 int32_t areaId;
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleObjectPool.cpp49 dest->areaId = src.areaId; in obtain()
DVmsUtils.cpp52 result->areaId = toInt(VehicleArea::GLOBAL); in createBaseVmsMessage()