Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tools/aapt2/link/
H A DXmlCompatVersioner.cpp39 xml::Attribute* dst_attr = dst_el->FindAttribute(src_attr.namespace_uri, src_attr.name); in CopyAttribute()
43 dst_attr->value = src_attr.value; in CopyAttribute()
44 dst_attr->compiled_attribute = src_attr.compiled_attribute; in CopyAttribute()
45 if (src_attr.compiled_value != nullptr) { in CopyAttribute()
46 dst_attr->compiled_value = src_attr.compiled_value->Transform(cloner); in CopyAttribute()
52 dst_el->attributes.push_back(CopyAttr(src_attr, out_string_pool)); in CopyAttribute()
64 if (!CopyAttribute(src_attr, generated, dst_el, out_string_pool)) { in ProcessRule()
74 if (!CopyAttribute(src_attr, generated, dst_el, out_string_pool)) { in ProcessRule()
89 for (const DegradeResult& result : rule->Degrade(src_el, src_attr, out_string_pool)) { in ProcessRule()
168 const xml::Attribute& src_attr, in Degrade() argument
[all …]
H A 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,