Searched refs:min_sdk (Results 1 – 11 of 11) sorted by relevance
73 static void CollapseVersions(int min_sdk, ResourceEntry* entry) { in CollapseVersions() argument83 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() local153 CollapseVersions(min_sdk, entry.get()); in Consume()
95 void SetMinSdkVersion(int min_sdk) { in SetMinSdkVersion() argument96 min_sdk_ = min_sdk; in SetMinSdkVersion()
834 uint16_t min_sdk = 0; in ApplyVersionForCompatibility() local839 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()
81 static AndroidSdk ForMinSdk(int min_sdk) { in ForMinSdk()83 sdk.min_sdk_version = min_sdk; in ForMinSdk()
265 ArtifactBuilder& ArtifactBuilder::SetAndroidSdk(int min_sdk) { in SetAndroidSdk() argument266 artifact_.android_sdk = {AndroidSdk::ForMinSdk(min_sdk)}; in SetAndroidSdk()308 std::string label, int min_sdk) { in AddAndroidSdk() argument309 config_.android_sdks[label] = AndroidSdk::ForMinSdk(min_sdk); in AddAndroidSdk()
125 ContextBuilder& SetMinSdkVersion(int min_sdk) { in SetMinSdkVersion() argument126 context_->min_sdk_version_ = min_sdk; in SetMinSdkVersion()
174 ArtifactBuilder& SetAndroidSdk(int min_sdk);195 PostProcessingConfigurationBuilder& AddAndroidSdk(std::string label, int min_sdk);
119 int min_sdk, const std::vector<SplitConstraints>& split_constraints) { in AdjustSplitConstraintsForMinSdk() argument125 const ConfigDescription &configToInsert = (config.sdkVersion <= min_sdk) in AdjustSplitConstraintsForMinSdk()407 if (const xml::Attribute* min_sdk = in ExtractAppInfoFromBinaryManifest() local409 Maybe<int> maybe_sdk = ExtractSdkVersion(*min_sdk, &error_msg); in ExtractAppInfoFromBinaryManifest()
53 int min_sdk, const std::vector<SplitConstraints>& split_constraints);
963 if (xml::Attribute* min_sdk = in ExtractAppInfoFromManifest() local965 app_info.min_sdk_version = ResourceUtils::ParseSdkVersion(min_sdk->value); in ExtractAppInfoFromManifest()
589 const int32_t* min_sdk = nullptr; member in aapt::UsesSdkBadging596 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()