Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/optimize/
DVersionCollapser.cpp73 static void CollapseVersions(IAaptContext* context, int min_sdk, ResourceEntry* entry) { in CollapseVersions() argument
83 if (config.sdkVersion <= min_sdk) { in CollapseVersions()
98 val->config.sdkVersion <= min_sdk; in CollapseVersions()
130 config_value->config.sdkVersion <= min_sdk) { in CollapseVersions()
162 const int min_sdk = context->GetMinSdkVersion(); in Consume() local
165 << "Running VersionCollapser with minSdk = " << min_sdk); in Consume()
170 CollapseVersions(context, 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.cpp859 uint16_t min_sdk = 0; in ApplyVersionForCompatibility() local
861 min_sdk = SDK_U; in ApplyVersionForCompatibility()
866 min_sdk = SDK_O; in ApplyVersionForCompatibility()
868 min_sdk = SDK_MARSHMALLOW; in ApplyVersionForCompatibility()
870 min_sdk = SDK_LOLLIPOP; in ApplyVersionForCompatibility()
875 min_sdk = SDK_HONEYCOMB_MR2; in ApplyVersionForCompatibility()
880 min_sdk = SDK_FROYO; in ApplyVersionForCompatibility()
886 min_sdk = SDK_DONUT; in ApplyVersionForCompatibility()
889 if (min_sdk > config->sdkVersion) { in ApplyVersionForCompatibility()
890 config->sdkVersion = min_sdk; in ApplyVersionForCompatibility()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.h80 static AndroidSdk ForMinSdk(int min_sdk) { in ForMinSdk()
82 sdk.min_sdk_version = min_sdk; in ForMinSdk()
/frameworks/base/tools/aapt2/test/
DBuilders.cpp276 ArtifactBuilder& ArtifactBuilder::SetAndroidSdk(int min_sdk) { in SetAndroidSdk() argument
277 artifact_.android_sdk = {AndroidSdk::ForMinSdk(min_sdk)}; in SetAndroidSdk()
319 std::string label, int min_sdk) { in AddAndroidSdk() argument
320 config_.android_sdks[label] = AndroidSdk::ForMinSdk(min_sdk); in AddAndroidSdk()
DContext.h134 ContextBuilder& SetMinSdkVersion(int min_sdk) { in SetMinSdkVersion() argument
135 context_->min_sdk_version_ = min_sdk; in SetMinSdkVersion()
DBuilders.h171 ArtifactBuilder& SetAndroidSdk(int min_sdk);
192 PostProcessingConfigurationBuilder& AddAndroidSdk(std::string label, int min_sdk);
/frameworks/base/tools/aapt2/cmd/
DUtil.h69 int min_sdk, const std::vector<SplitConstraints>& split_constraints);
DUtil.cpp170 int min_sdk, const std::vector<SplitConstraints>& split_constraints) { in AdjustSplitConstraintsForMinSdk() argument
176 const ConfigDescription &configToInsert = (config.sdkVersion <= min_sdk) in AdjustSplitConstraintsForMinSdk()
461 if (const xml::Attribute* min_sdk = in ExtractAppInfoFromBinaryManifest() local
463 std::optional<int> maybe_sdk = ExtractSdkVersion(*min_sdk, &error_msg); in ExtractAppInfoFromBinaryManifest()
DLink.cpp989 if (xml::Attribute* min_sdk = in ExtractAppInfoFromManifest() local
991 app_info.min_sdk_version = ResourceUtils::ParseSdkVersion(min_sdk->value); in ExtractAppInfoFromManifest()
/frameworks/libs/systemui/weathereffects/
DAndroid.bp23 // min_sdk version must be specified to not compile against platform apis.
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp804 const int32_t* min_sdk = nullptr; member in aapt::UsesSdkBadging
811 min_sdk = GetAttributeInteger(FindAttribute(element, MIN_SDK_VERSION_ATTR)); in Extract()
826 if (min_sdk) { in Extract()
827 extractor()->RaiseTargetSdk(*min_sdk); in Extract()
837 if (min_sdk) { in Print()
838 printer->Print(StringPrintf("minSdkVersion:'%d'\n", *min_sdk)); in Print()
854 if (min_sdk) { in ToProto()
855 out_sdks->set_min_sdk_version(*min_sdk); in ToProto()
/frameworks/base/tools/aapt2/
DApkInfo.proto128 oneof min_sdk { oneof