Home
last modified time | relevance | path

Searched refs:ApiVersion (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tools/aapt2/link/
DXmlCompatVersioner.cpp55 const ApiVersion& src_attr_version, const IDegradeRule* rule, in ProcessRule()
56 const util::Range<ApiVersion>& api_range, bool generated, in ProcessRule()
58 std::set<ApiVersion>* out_apis_referenced, in ProcessRule()
82 out_apis_referenced->insert(std::min<ApiVersion>(src_attr_version, SDK_LOLLIPOP_MR1)); in ProcessRule()
89 const ApiVersion attr_version = FindAttributeSdkLevel(attr_resid); in ProcessRule()
103 ApiVersion target_api, ApiVersion max_api, xml::XmlResource* doc, in ProcessDoc()
104 std::set<ApiVersion>* out_apis_referenced) { in ProcessDoc()
105 const util::Range<ApiVersion> api_range{target_api, max_api}; in ProcessDoc()
119 const ApiVersion attr_version = FindAttributeSdkLevel(attr_resid); in ProcessDoc()
131 IAaptContext* context, xml::XmlResource* doc, util::Range<ApiVersion> api_range) { in Process()
[all …]
DXmlCompatVersioner.h38 ApiVersion attr_api_version;
62 util::Range<ApiVersion> api_range);
67 std::unique_ptr<xml::XmlResource> ProcessDoc(ApiVersion target_api, ApiVersion max_api,
69 std::set<ApiVersion>* out_apis_referenced);
71 const ApiVersion& src_attr_version, const IDegradeRule* rule,
72 const util::Range<ApiVersion>& api_range, bool generated, xml::Element* dst_el,
73 std::set<ApiVersion>* out_apis_referenced, StringPool* out_string_pool);
DAutoVersioner.cpp34 const ApiVersion sdk_version_to_generate) { in ShouldGenerateVersionedResource()
40 ApiVersion FindNextApiVersionForConfig(const ResourceEntry* entry, in FindNextApiVersionForConfig()
70 return std::numeric_limits<ApiVersion>::max(); in FindNextApiVersionForConfig()
92 Maybe<ApiVersion> min_sdk_stripped; in Consume()
101 const ApiVersion sdk_level = FindAttributeSdkLevel(iter->key.id.value()); in Consume()
102 if (sdk_level > std::max<ApiVersion>(config_value->config.sdkVersion, 1)) { in Consume()
DLinkers.h48 const ApiVersion sdk_version_to_generate);
52 ApiVersion FindNextApiVersionForConfig(const ResourceEntry* entry,
/frameworks/base/tools/aapt2/
DSdkConstants.cpp28 static ApiVersion sDevelopmentSdkLevel = 10000;
33 static const std::vector<std::pair<uint16_t, ApiVersion>> sAttrIdMap = {
62 static bool less_entry_id(const std::pair<uint16_t, ApiVersion>& p, uint16_t entryId) { in less_entry_id()
66 ApiVersion FindAttributeSdkLevel(const ResourceId& id) { in FindAttributeSdkLevel()
77 Maybe<ApiVersion> GetDevelopmentSdkCodeNameVersion(const StringPiece& code_name) { in GetDevelopmentSdkCodeNameVersion()
79 ? Maybe<ApiVersion>() : sDevelopmentSdkLevel; in GetDevelopmentSdkCodeNameVersion()
DSdkConstants.h28 using ApiVersion = int; variable
30 enum : ApiVersion {
60 ApiVersion FindAttributeSdkLevel(const ResourceId& id);
61 Maybe<ApiVersion> GetDevelopmentSdkCodeNameVersion(const android::StringPiece& code_name);
/frameworks/base/libs/androidfw/include/androidfw/
DConfigDescription.h27 using ApiVersion = int; variable
29 enum : ApiVersion {
/frameworks/base/tools/aapt2/cmd/
DLink.cpp475 const util::Range<ApiVersion> api_range{config.sdkVersion, in LinkAndVersionXmlFile()
491 static auto kDrawableVersions = std::map<std::string, ApiVersion>{