Home
last modified time | relevance | path

Searched refs:min_sdk (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/optimize/
DVersionCollapser.cpp72 static void CollapseVersions(int min_sdk, ResourceEntry* entry) { in CollapseVersions() argument
82 if (config.sdkVersion <= min_sdk) { in CollapseVersions()
99 val->config.sdkVersion <= min_sdk; in CollapseVersions()
126 config_value->config.sdkVersion <= min_sdk) { in CollapseVersions()
151 const int min_sdk = context->GetMinSdkVersion(); in Consume() local
155 CollapseVersions(min_sdk, entry.get()); in Consume()
/frameworks/base/tools/aapt2/
DConfigDescription.cpp840 uint16_t min_sdk = 0; in ApplyVersionForCompatibility() local
845 min_sdk = SDK_O; in ApplyVersionForCompatibility()
847 min_sdk = SDK_MARSHMALLOW; in ApplyVersionForCompatibility()
849 min_sdk = SDK_LOLLIPOP; in ApplyVersionForCompatibility()
854 min_sdk = SDK_HONEYCOMB_MR2; in ApplyVersionForCompatibility()
859 min_sdk = SDK_FROYO; in ApplyVersionForCompatibility()
865 min_sdk = SDK_DONUT; in ApplyVersionForCompatibility()
868 if (min_sdk > config->sdkVersion) { in ApplyVersionForCompatibility()
869 config->sdkVersion = min_sdk; in ApplyVersionForCompatibility()
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp116 int min_sdk, const std::vector<SplitConstraints>& split_constraints) { in AdjustSplitConstraintsForMinSdk() argument
122 if (config.sdkVersion <= min_sdk) { in AdjustSplitConstraintsForMinSdk()
340 if (xml::Attribute* min_sdk = in ExtractAppInfoFromBinaryManifest() local
342 Maybe<int> maybe_sdk = ExtractSdkVersion(min_sdk, &error_msg); in ExtractAppInfoFromBinaryManifest()
DUtil.h51 int min_sdk, const std::vector<SplitConstraints>& split_constraints);
DLink.cpp809 if (xml::Attribute* min_sdk = in ExtractAppInfoFromManifest() local
811 app_info.min_sdk_version = ResourceUtils::ParseSdkVersion(min_sdk->value); in ExtractAppInfoFromManifest()
/frameworks/base/tools/aapt2/test/
DContext.h125 ContextBuilder& SetMinSdkVersion(int min_sdk) { in SetMinSdkVersion() argument
126 context_->min_sdk_version_ = min_sdk; in SetMinSdkVersion()