Home
last modified time | relevance | path

Searched refs:protoCfg (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DProtoMessageConverter.cpp73 void toProto(vhal_proto::VehiclePropConfig* protoCfg, const VehiclePropConfig& cfg) { in toProto() argument
74 protoCfg->set_prop(cfg.prop); in toProto()
75 protoCfg->set_access(toInt(cfg.access)); in toProto()
76 protoCfg->set_change_mode(toInt(cfg.changeMode)); in toProto()
77 protoCfg->set_value_type(toInt(getPropType(cfg.prop))); in toProto()
80 protoCfg->add_config_array(configElement); in toProto()
84 protoCfg->set_config_string(cfg.configString.c_str(), cfg.configString.size()); in toProto()
87 protoCfg->clear_area_configs(); in toProto()
89 auto* protoACfg = protoCfg->add_area_configs(); in toProto()
120 protoCfg->set_min_sample_rate(cfg.minSampleRate); in toProto()
[all …]
DProtoMessageConverter.h36 void toProto(vhal_proto::VehiclePropConfig* protoCfg, const VehiclePropConfig& cfg);
38 void fromProto(VehiclePropConfig* cfg, const vhal_proto::VehiclePropConfig& protoCfg);
DVehicleEmulator.cpp89 vhal_proto::VehiclePropConfig* protoCfg = respMsg.add_config(); in doGetConfig() local
90 populateProtoVehicleConfig(protoCfg, config); in doGetConfig()
105 vhal_proto::VehiclePropConfig* protoCfg = respMsg.add_config(); in doGetConfigAll() local
106 populateProtoVehicleConfig(protoCfg, config); in doGetConfigAll()
219 void VehicleEmulator::populateProtoVehicleConfig(vhal_proto::VehiclePropConfig* protoCfg, in populateProtoVehicleConfig() argument
221 return proto_msg_converter::toProto(protoCfg, cfg); in populateProtoVehicleConfig()
DVehicleEmulator.h87 void populateProtoVehicleConfig(vhal_proto::VehiclePropConfig* protoCfg,
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/
DProtoMessageConverter_test.cpp36 vhal_proto::VehiclePropConfig protoCfg; in CheckPropConfigConversion() local
39 toProto(&protoCfg, config); in CheckPropConfigConversion()
40 fromProto(&tmpConfig, protoCfg); in CheckPropConfigConversion()