Home
last modified time | relevance | path

Searched refs:api_range (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/link/
DXmlCompatVersioner.cpp58 const util::Range<ApiVersion>& api_range, bool generated, in ProcessRule() argument
62 if (src_attr_version <= api_range.start) { in ProcessRule()
70 if (api_range.start >= SDK_LOLLIPOP_MR1) { in ProcessRule()
81 if (src_attr_version < api_range.end) { in ProcessRule()
95 iter != rules_->end() ? iter->second.get() : nullptr, api_range, in ProcessRule()
107 const util::Range<ApiVersion> api_range{target_api, max_api}; in ProcessDoc() local
125 api_range, false /*generated*/, out_el, out_apis_referenced, in ProcessDoc()
133 IAaptContext* context, xml::XmlResource* doc, util::Range<ApiVersion> api_range) { in Process() argument
135 api_range.start = std::max(api_range.start, context->GetMinSdkVersion()); in Process()
136 api_range.start = std::max(api_range.start, static_cast<ApiVersion>(doc->file.config.sdkVersion)); in Process()
[all …]
DXmlCompatVersioner.h62 util::Range<ApiVersion> api_range);
72 const util::Range<ApiVersion>& api_range, bool generated, xml::Element* dst_el,
/frameworks/base/tools/aapt2/cmd/
DLink.cpp500 const util::Range<ApiVersion> api_range{config.sdkVersion, in LinkAndVersionXmlFile() local
502 return xml_compat_versioner.Process(context_, doc, api_range); in LinkAndVersionXmlFile()