Home
last modified time | relevance | path

Searched refs:protoAcfg (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/utils/proto_message_converter/src/
DProtoMessageConverter.cpp96 auto cast_to_acfg = [](const proto::VehicleAreaConfig& protoAcfg) { in protoToAidl() argument
98 .areaId = protoAcfg.area_id(), in protoToAidl()
99 .access = static_cast<aidl_vehicle::VehiclePropertyAccess>(protoAcfg.access()), in protoToAidl()
100 .minInt32Value = protoAcfg.min_int32_value(), in protoToAidl()
101 .maxInt32Value = protoAcfg.max_int32_value(), in protoToAidl()
102 .minInt64Value = protoAcfg.min_int64_value(), in protoToAidl()
103 .maxInt64Value = protoAcfg.max_int64_value(), in protoToAidl()
104 .minFloatValue = protoAcfg.min_float_value(), in protoToAidl()
105 .maxFloatValue = protoAcfg.max_float_value(), in protoToAidl()
106 .supportVariableUpdateRate = protoAcfg.support_variable_update_rate(), in protoToAidl()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DProtoMessageConverter.cpp133 auto cast_to_acfg = [](const vhal_proto::VehicleAreaConfig& protoAcfg) { in fromProto() argument
135 CHECK_COPY_PROTOBUF_VAR_TO_VHAL_TYPE(protoAcfg, area_id, &acfg, areaId); in fromProto()
136 CHECK_COPY_PROTOBUF_VAR_TO_VHAL_TYPE(protoAcfg, min_int32_value, &acfg, minInt32Value); in fromProto()
137 CHECK_COPY_PROTOBUF_VAR_TO_VHAL_TYPE(protoAcfg, max_int32_value, &acfg, maxInt32Value); in fromProto()
138 CHECK_COPY_PROTOBUF_VAR_TO_VHAL_TYPE(protoAcfg, min_int64_value, &acfg, minInt64Value); in fromProto()
139 CHECK_COPY_PROTOBUF_VAR_TO_VHAL_TYPE(protoAcfg, max_int64_value, &acfg, maxInt64Value); in fromProto()
140 CHECK_COPY_PROTOBUF_VAR_TO_VHAL_TYPE(protoAcfg, min_float_value, &acfg, minFloatValue); in fromProto()
141 CHECK_COPY_PROTOBUF_VAR_TO_VHAL_TYPE(protoAcfg, max_float_value, &acfg, maxFloatValue); in fromProto()