Home
last modified time | relevance | path

Searched refs:minSdk (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/tools/aapt2/link/
DNoDefaultResourceRemover.cpp29 static bool KeepResource(const std::unique_ptr<ResourceEntry>& entry, int minSdk) { in KeepResource() argument
52 && config_value->config.sdkVersion <= minSdk) { in KeepResource()
59 && config_value->config.sdkVersion <= minSdk)) { in KeepResource()
71 const int minSdk = context->GetMinSdkVersion(); in Consume() local
74 [&minSdk](const std::unique_ptr<ResourceEntry>& entry) -> bool { in Consume()
75 return KeepResource(entry, minSdk); in Consume()
/frameworks/base/services/core/java/com/android/server/signedconfig/
DSignedConfig.java69 public final int minSdk; field in SignedConfig.PerSdkConfig
73 public PerSdkConfig(int minSdk, int maxSdk, Map<String, String> values) { in PerSdkConfig() argument
74 this.minSdk = minSdk; in PerSdkConfig()
97 if (config.minSdk <= sdkVersion && sdkVersion <= config.maxSdk) { in getMatchingConfig()
157 int minSdk = json.getInt(CONFIG_KEY_MIN_SDK); in parsePerSdkConfig() local
179 return new PerSdkConfig(minSdk, maxSdk, values); in parsePerSdkConfig()
/frameworks/base/tools/aapt/
DAaptConfig.cpp267 uint16_t minSdk = 0; in applyVersionForCompatibility() local
272 minSdk = SDK_O; in applyVersionForCompatibility()
274 minSdk = SDK_MNC; in applyVersionForCompatibility()
276 minSdk = SDK_LOLLIPOP; in applyVersionForCompatibility()
280 minSdk = SDK_HONEYCOMB_MR2; in applyVersionForCompatibility()
285 minSdk = SDK_FROYO; in applyVersionForCompatibility()
291 minSdk = SDK_DONUT; in applyVersionForCompatibility()
294 if (minSdk > config->sdkVersion) { in applyVersionForCompatibility()
295 config->sdkVersion = minSdk; in applyVersionForCompatibility()
DResourceTable.cpp4606 const int minSdk = getMinSdkVersion(bundle); in modifyForCompat() local
4607 if (minSdk >= SDK_LOLLIPOP_MR1) { in modifyForCompat()
4658 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat()
4843 const int minSdk = getMinSdkVersion(bundle); in modifyForCompat() local
4844 if (minSdk >= SDK_LOLLIPOP_MR1) { in modifyForCompat()
4885 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat()
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
DShadowUserManager.java76 @Implementation(minSdk = NMR1.SDK_INT)
100 @Implementation(minSdk = U.SDK_INT)
DShadowSecure.java30 @Implementation(minSdk = JELLY_BEAN_MR1)
/frameworks/libs/systemui/toruslib/
Dbuild.gradle18 'minSdk' : 31,
62 minSdkVersion versions.minSdk
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DShadowSigningInfo.java25 @Implements(value = SigningInfo.class, minSdk = P)
/frameworks/libs/systemui/weathereffects/
Dbuild.gradle17 'minSdk' : 34,
64 minSdk versions.minSdk
/frameworks/base/packages/SystemUI/animation/
Dbuild.gradle16 minSdk 33
/frameworks/base/packages/SettingsLib/Spa/
Dbuild.gradle.kts43 minSdk = 21 in <lambda>()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/
DSessionParamsBuilder.java133 public SessionParamsBuilder setMinSdk(int minSdk) { in setMinSdk() argument
134 mMinSdk = minSdk; in setMinSdk()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifV3StyleTest.java38 @Config(minSdk = Config.OLDEST_SDK, maxSdk = Config.NEWEST_SDK)
/frameworks/libs/systemui/weathereffects/graphics/
Dbuild.gradle11 minSdk 34
/frameworks/base/tools/split-select/
DMain.cpp187 int minSdk = strtol(minSdk8->c_str(), &endPtr, 10); in getAppInfo() local
192 outInfo.minSdkVersion = minSdk; in getAppInfo()
/frameworks/libs/systemui/toruslib/lib-torus/
Dbuild.gradle24 minSdkVersion versions.minSdk
/frameworks/base/tools/lint/framework/checks/src/test/java/com/google/android/lint/parcel/
DSaferParcelCheckerTest.kt732 manifest().minSdk("33"),
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DSwitchItemTest.java204 @Config(minSdk = VERSION_CODES.JELLY_BEAN_MR1)
/frameworks/base/services/tests/servicestests/src/com/android/server/signedconfig/
DSignedConfigTest.java72 assertThat(config.minSdk).isEqualTo(2); in testParsePerSdkConfigSdkMinMax()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java320 @Config(minSdk = Config.OLDEST_SDK, maxSdk = Config.NEWEST_SDK)
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java4144 private boolean checkFineLocationAccess(Record r, int minSdk) { in checkFineLocationAccess() argument
4156 .setMinSdkVersionForFine(minSdk) in checkFineLocationAccess()
4157 .setMinSdkVersionForCoarse(minSdk) in checkFineLocationAccess()
4158 .setMinSdkVersionForEnforcement(minSdk) in checkFineLocationAccess()
4173 private boolean checkCoarseLocationAccess(Record r, int minSdk) { in checkCoarseLocationAccess() argument
4185 .setMinSdkVersionForCoarse(minSdk) in checkCoarseLocationAccess()
4187 .setMinSdkVersionForEnforcement(minSdk) in checkCoarseLocationAccess()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp160 void SetMinSdkVersion(int minSdk) { in SetMinSdkVersion() argument
161 min_sdk_version_ = minSdk; in SetMinSdkVersion()