Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/link/
DXmlCompatVersioner.cpp35 static bool CopyAttribute(const xml::Attribute& src_attr, bool generated, xml::Element* dst_el, in CopyAttribute() argument
37 xml::Attribute* dst_attr = dst_el->FindAttribute(src_attr.namespace_uri, src_attr.name); in CopyAttribute()
41 dst_attr->value = src_attr.value; in CopyAttribute()
42 dst_attr->compiled_attribute = src_attr.compiled_attribute; in CopyAttribute()
43 if (src_attr.compiled_value != nullptr) { in CopyAttribute()
44 dst_attr->compiled_value.reset(src_attr.compiled_value->Clone(out_string_pool)); in CopyAttribute()
50 dst_el->attributes.push_back(CopyAttr(src_attr, out_string_pool)); in CopyAttribute()
54 void XmlCompatVersioner::ProcessRule(const xml::Element& src_el, const xml::Attribute& src_attr, in ProcessRule() argument
62 if (!CopyAttribute(src_attr, generated, dst_el, out_string_pool)) { in ProcessRule()
72 if (!CopyAttribute(src_attr, generated, dst_el, out_string_pool)) { in ProcessRule()
[all …]
DXmlCompatVersioner.h47 const xml::Attribute& src_attr,
70 void ProcessRule(const xml::Element& src_el, const xml::Attribute& src_attr,
89 std::vector<DegradeResult> Degrade(const xml::Element& src_el, const xml::Attribute& src_attr,