Searched refs:protoVal (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | VehicleEmulator.cpp | 131 vhal_proto::VehiclePropValue* protoVal = respMsg.add_value(); in doGetProperty() local 132 populateProtoVehiclePropValue(protoVal, val.get()); in doGetProperty() 147 vhal_proto::VehiclePropValue* protoVal = respMsg.add_value(); in doGetPropertyAll() local 148 populateProtoVehiclePropValue(protoVal, &prop); in doGetPropertyAll() 155 vhal_proto::VehiclePropValue protoVal = rxMsg.value(0); in doSetProperty() local 158 .areaId = protoVal.area_id(), in doSetProperty() 159 .prop = protoVal.prop(), in doSetProperty() 160 .status = (VehiclePropertyStatus)protoVal.status(), in doSetProperty() 166 if (protoVal.has_string_value()) { in doSetProperty() 167 val.value.stringValue = protoVal.string_value().c_str(); in doSetProperty() [all …]
|
D | ProtoMessageConverter.cpp | 151 void toProto(vhal_proto::VehiclePropValue* protoVal, const VehiclePropValue& val) { in toProto() argument 152 protoVal->set_prop(val.prop); in toProto() 153 protoVal->set_value_type(toInt(getPropType(val.prop))); in toProto() 154 protoVal->set_timestamp(val.timestamp); in toProto() 155 protoVal->set_status((vhal_proto::VehiclePropStatus)(val.status)); in toProto() 156 protoVal->set_area_id(val.areaId); in toProto() 162 protoVal->set_string_value(val.value.stringValue.c_str(), val.value.stringValue.size()); in toProto() 166 protoVal->set_bytes_value(val.value.bytes.data(), val.value.bytes.size()); in toProto() 170 protoVal->add_int32_values(int32Value); in toProto() 174 protoVal->add_int64_values(int64Value); in toProto() [all …]
|
D | ProtoMessageConverter.h | 42 void toProto(vhal_proto::VehiclePropValue* protoVal, const VehiclePropValue& val); 44 void fromProto(VehiclePropValue* val, const vhal_proto::VehiclePropValue& protoVal);
|
D | VehicleEmulator.h | 89 void populateProtoVehiclePropValue(vhal_proto::VehiclePropValue* protoVal,
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/ |
D | ProtoMessageConverter_test.cpp | 79 vhal_proto::VehiclePropValue protoVal; in CheckPropValueConversion() local 82 toProto(&protoVal, val); in CheckPropValueConversion() 83 fromProto(&tmpVal, protoVal); in CheckPropValueConversion()
|