Searched refs:pb_attr (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/format/proto/
H A DProtoSerialize.cpp488 pb::Attribute* pb_attr = out_value_->mutable_compound_value()->mutable_attr(); variable
489 pb_attr->set_format_flags(attr->type_mask);
490 pb_attr->set_min_int(attr->min_int);
491 pb_attr->set_max_int(attr->max_int);
494 pb::Attribute_Symbol* pb_symbol = pb_attr->add_symbol();
619 pb::XmlAttribute* pb_attr = pb_element->add_attribute(); local
620 pb_attr->set_name(attr.name);
621 pb_attr->set_namespace_uri(attr.namespace_uri);
622 pb_attr->set_value(attr.value);
625 pb_attr
[all...]
H A DProtoDeserialize.cpp639 const pb::Attribute& pb_attr = pb_compound_value.attr(); local
640 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(pb_attr.format_flags());
641 attr->min_int = pb_attr.min_int();
642 attr->max_int = pb_attr.max_int();
643 for (const pb::Attribute_Symbol& pb_symbol : pb_attr.symbol()) {
910 for (const pb::XmlAttribute& pb_attr : pb_el.attribute()) {
912 attr.name = pb_attr.name();
913 attr.namespace_uri = pb_attr.namespace_uri();
914 attr.value = pb_attr.value();
915 if (pb_attr
[all...]

Completed in 59 milliseconds