Home
last modified time | relevance | path

Searched refs:sdkLevel (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/tools/
Dpublic_attr_map.py33 sdkLevel = findSdkLevelForAttribute(node.get('id', '0')) variable
34 if sdkLevel > 1 and sdkLevel < 22:
35 attrs.append("{{ u\"{}\", {} }}".format(node.get('name'), sdkLevel))
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp142 int32_t sdkProfile, sdkLevel; in addSupportedProfileLevels() local
144 && mapper->mapLevel(pl.level, &sdkLevel)) { in addSupportedProfileLevels()
145 caps->addProfileLevel((uint32_t)sdkProfile, (uint32_t)sdkLevel); in addSupportedProfileLevels()
150 caps->addProfileLevel((uint32_t)sdkProfile, (uint32_t)sdkLevel); in addSupportedProfileLevels()
156 caps->addProfileLevel((uint32_t)sdkProfile, (uint32_t)sdkLevel); in addSupportedProfileLevels()
180 && mapper->mapLevel(nextLevel, &sdkLevel)) { in addSupportedProfileLevels()
182 (uint32_t)sdkProfile, (uint32_t)sdkLevel); in addSupportedProfileLevels()
/frameworks/base/core/java/android/hardware/
DSensor.java866 static int getMaxLengthValuesArray(Sensor sensor, int sdkLevel) { in getMaxLengthValuesArray() argument
870 && sdkLevel <= Build.VERSION_CODES.JELLY_BEAN_MR1) { in getMaxLengthValuesArray()
/frameworks/base/tools/aapt/
DResourceTable.cpp4664 const int sdkLevel = getPublicAttributeSdkLevel(attrId); in modifyForCompat() local
4665 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat()
4666 AaptUtil::appendValue(attributesToRemove, sdkLevel, bag.keyAt(bi)); in modifyForCompat()
4676 const int sdkLevel = attributesToRemove.keyAt(i); in modifyForCompat() local
4678 if (!shouldGenerateVersionedResource(c, config, sdkLevel)) { in modifyForCompat()
4686 newConfig.sdkVersion = sdkLevel; in modifyForCompat()
4697 if (attributesToRemove.keyAt(j) > sdkLevel) { in modifyForCompat()
4891 const int sdkLevel = getPublicAttributeSdkLevel(attr.nameResId); in modifyForCompat() local
4892 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat()
4900 sdkVersionToGenerate = std::min(sdkLevel, sdkVersionToGenerate); in modifyForCompat()