Home
last modified time | relevance | path

Searched refs:minSdk (Results 1 – 12 of 12) 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.cpp4613 const int minSdk = getMinSdkVersion(bundle); in modifyForCompat() local
4614 if (minSdk >= SDK_LOLLIPOP_MR1) { in modifyForCompat()
4665 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat()
4850 const int minSdk = getMinSdkVersion(bundle); in modifyForCompat() local
4851 if (minSdk >= SDK_LOLLIPOP_MR1) { in modifyForCompat()
4892 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat()
/frameworks/layoutlib/bridge/tests/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/base/tools/split-select/
DMain.cpp190 int minSdk = strtol(minSdk8->string(), &endPtr, 10); in getAppInfo() local
195 outInfo.minSdkVersion = minSdk; in getAppInfo()
/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/base/services/core/java/com/android/server/
DTelephonyRegistry.java3214 private boolean checkFineLocationAccess(Record r, int minSdk) { in checkFineLocationAccess() argument
3223 .setMinSdkVersionForFine(minSdk) in checkFineLocationAccess()
3224 .setMinSdkVersionForCoarse(minSdk) in checkFineLocationAccess()
3225 .setMinSdkVersionForEnforcement(minSdk) in checkFineLocationAccess()
3240 private boolean checkCoarseLocationAccess(Record r, int minSdk) { in checkCoarseLocationAccess() argument
3249 .setMinSdkVersionForCoarse(minSdk) in checkCoarseLocationAccess()
3251 .setMinSdkVersionForEnforcement(minSdk) in checkCoarseLocationAccess()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java320 @Config(minSdk = Config.OLDEST_SDK, maxSdk = Config.NEWEST_SDK)
/frameworks/base/tools/aapt2/cmd/
DLink.cpp157 void SetMinSdkVersion(int minSdk) { in SetMinSdkVersion() argument
158 min_sdk_version_ = minSdk; in SetMinSdkVersion()