Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/optimize/
DVersionCollapser.cpp73 static void CollapseVersions(int min_sdk, ResourceEntry* entry) { in CollapseVersions() argument
83 if (config.sdkVersion <= min_sdk) { in CollapseVersions()
98 val->config.sdkVersion <= min_sdk; in CollapseVersions()
123 config_value->config.sdkVersion <= min_sdk) { in CollapseVersions()
149 const int min_sdk = context->GetMinSdkVersion(); in Consume() local
153 CollapseVersions(min_sdk, entry.get()); in Consume()
DMultiApkGenerator.cpp95 void SetMinSdkVersion(int min_sdk) { in SetMinSdkVersion() argument
96 min_sdk_ = min_sdk; in SetMinSdkVersion()
/frameworks/base/libs/androidfw/
DConfigDescription.cpp834 uint16_t min_sdk = 0; in ApplyVersionForCompatibility() local
839 min_sdk = SDK_O; in ApplyVersionForCompatibility()
841 min_sdk = SDK_MARSHMALLOW; in ApplyVersionForCompatibility()
843 min_sdk = SDK_LOLLIPOP; in ApplyVersionForCompatibility()
848 min_sdk = SDK_HONEYCOMB_MR2; in ApplyVersionForCompatibility()
853 min_sdk = SDK_FROYO; in ApplyVersionForCompatibility()
859 min_sdk = SDK_DONUT; in ApplyVersionForCompatibility()
862 if (min_sdk > config->sdkVersion) { in ApplyVersionForCompatibility()
863 config->sdkVersion = min_sdk; in ApplyVersionForCompatibility()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.h81 static AndroidSdk ForMinSdk(int min_sdk) { in ForMinSdk()
83 sdk.min_sdk_version = min_sdk; in ForMinSdk()
/frameworks/base/tools/aapt2/test/
DBuilders.cpp265 ArtifactBuilder& ArtifactBuilder::SetAndroidSdk(int min_sdk) { in SetAndroidSdk() argument
266 artifact_.android_sdk = {AndroidSdk::ForMinSdk(min_sdk)}; in SetAndroidSdk()
308 std::string label, int min_sdk) { in AddAndroidSdk() argument
309 config_.android_sdks[label] = AndroidSdk::ForMinSdk(min_sdk); in AddAndroidSdk()
DContext.h125 ContextBuilder& SetMinSdkVersion(int min_sdk) { in SetMinSdkVersion() argument
126 context_->min_sdk_version_ = min_sdk; in SetMinSdkVersion()
DBuilders.h174 ArtifactBuilder& SetAndroidSdk(int min_sdk);
195 PostProcessingConfigurationBuilder& AddAndroidSdk(std::string label, int min_sdk);
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp119 int min_sdk, const std::vector<SplitConstraints>& split_constraints) { in AdjustSplitConstraintsForMinSdk() argument
125 const ConfigDescription &configToInsert = (config.sdkVersion <= min_sdk) in AdjustSplitConstraintsForMinSdk()
407 if (const xml::Attribute* min_sdk = in ExtractAppInfoFromBinaryManifest() local
409 Maybe<int> maybe_sdk = ExtractSdkVersion(*min_sdk, &error_msg); in ExtractAppInfoFromBinaryManifest()
DUtil.h53 int min_sdk, const std::vector<SplitConstraints>& split_constraints);
DLink.cpp963 if (xml::Attribute* min_sdk = in ExtractAppInfoFromManifest() local
965 app_info.min_sdk_version = ResourceUtils::ParseSdkVersion(min_sdk->value); in ExtractAppInfoFromManifest()
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp589 const int32_t* min_sdk = nullptr; member in aapt::UsesSdkBadging
596 min_sdk = GetAttributeInteger(FindAttribute(element, MIN_SDK_VERSION_ATTR)); in Extract()
607 if (min_sdk) { in Extract()
608 extractor()->RaiseTargetSdk(*min_sdk); in Extract()
616 if (min_sdk) { in Print()
617 printer->Print(StringPrintf("sdkVersion:'%d'\n", *min_sdk)); in Print()