/frameworks/base/tools/aapt2/link/ |
D | AutoVersioner.cpp | 30 assert(sdkVersionToGenerate > config.sdkVersion); in shouldGenerateVersionedResource() 51 tempConfig.sdkVersion = (*iter)->config.sdkVersion; in shouldGenerateVersionedResource() 54 return sdkVersionToGenerate < (*iter)->config.sdkVersion; in shouldGenerateVersionedResource() 72 if (configValue->config.sdkVersion >= SDK_LOLLIPOP_MR1) { in consume() 88 if (sdkLevel > std::max<size_t>(configValue->config.sdkVersion, 1)) { in consume() 115 newConfig.sdkVersion = minSdkStripped.value(); in consume()
|
D | Link.cpp | 387 if (sdkLevel > outFileOp->xmlToFlatten->file.config.sdkVersion) { in linkAndVersionXmlFile() 395 versionedFileDesc.config.sdkVersion = (uint16_t) sdkLevel; in linkAndVersionXmlFile() 496 maxSdkLevel = std::max<size_t>(config.sdkVersion, 1u); in flatten() 1567 preferredDensityConfig.sdkVersion = 0; in link()
|
/frameworks/rs/ |
D | rsApiContext.cpp | 35 extern "C" RsContext rsContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, in rsContextCreate() argument 44 rsc->setTargetSdkVersion(sdkVersion); in rsContextCreate() 58 uint32_t sdkVersion, RsSurfaceConfig sc, in rsContextCreateGL() argument 64 rsc->setTargetSdkVersion(sdkVersion); in rsContextCreateGL()
|
D | rsScriptC.cpp | 321 uint32_t sdkVersion = 0; in runCompiler() local 329 sdkVersion = bcWrapper.getTargetAPI(); in runCompiler() 332 if (sdkVersion == 0) { in runCompiler() 335 sdkVersion = rsc->getTargetSdkVersion(); in runCompiler() 340 mApiLevel = sdkVersion; in runCompiler() 343 sdkVersion); in runCompiler() 345 ALOGE("Failed to translate bitcode from version: %u", sdkVersion); in runCompiler()
|
D | rs.h | 40 RsContext rsContextCreateGL(RsDevice dev, uint32_t version, uint32_t sdkVersion, 57 RsContext rsContextCreate(RsDevice dev, uint32_t version, uint32_t sdkVersion,
|
/frameworks/base/libs/androidfw/tests/ |
D | Config_test.cpp | 49 config.sdkVersion = 4; in buildDensityConfig() 57 deviceConfig.sdkVersion = 21; in TEST() 81 expectedBest.sdkVersion = 21; in TEST() 89 deviceConfig.sdkVersion = 21; in TEST()
|
D | Split_test.cpp | 173 baseConfig.sdkVersion = 21; in TEST()
|
/frameworks/base/tools/aapt/tests/ |
D | ResourceTable_test.cpp | 52 v21Config.sdkVersion = 21; in TEST() 56 sw600dpV13Config.sdkVersion = 13; in TEST()
|
D | AaptConfig_test.cpp | 92 EXPECT_EQ(SDK_MNC, config.sdkVersion); in TEST() 98 EXPECT_EQ(SDK_MNC, config.sdkVersion); in TEST()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 92 return config->sdkVersion; in AConfiguration_getSdkVersion() 185 void AConfiguration_setSdkVersion(AConfiguration* config, int32_t sdkVersion) { in AConfiguration_setSdkVersion() argument 186 config->sdkVersion = sdkVersion; in AConfiguration_setSdkVersion()
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription_test.cpp | 89 EXPECT_EQ(SDK_MARSHMALLOW, config.sdkVersion); in TEST() 95 EXPECT_EQ(SDK_MARSHMALLOW, config.sdkVersion); in TEST()
|
D | ConfigDescription.cpp | 556 out->sdkVersion = out->SDKVERSION_ANY; in parseVersion() 573 out->sdkVersion = (uint16_t)atoi(sdkName.c_str()); in parseVersion() 781 if (minSdk > config->sdkVersion) { in applyVersionForCompatibility() 782 config->sdkVersion = minSdk; in applyVersionForCompatibility()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | RenderScript.java | 143 static private boolean setupNative(int sdkVersion, Context ctx) { in setupNative() argument 146 if (android.os.Build.VERSION.SDK_INT < sdkVersion && in setupNative() 1354 …private static RenderScript internalCreate(Context ctx, int sdkVersion, ContextType ct, int flags)… in internalCreate() argument 1358 sSdkVersion = sdkVersion; in internalCreate() 1359 } else if (sSdkVersion != sdkVersion) { in internalCreate() 1405 int dispatchAPI = sdkVersion; in internalCreate() 1406 if (sdkVersion < android.os.Build.VERSION.SDK_INT) { in internalCreate() 1465 rs.mContext = rs.nContextCreate(device, 0, sdkVersion, ct.mID, rs.mNativeLibDir); in internalCreate() 1468 rs.mContextSdkVersion = sdkVersion; in internalCreate() 1537 public static RenderScript create(Context ctx, int sdkVersion) { in create() argument [all …]
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 273 if (minSdk > config->sdkVersion) { in applyVersionForCompatibility() 274 config->sdkVersion = minSdk; in applyVersionForCompatibility() 795 out->sdkVersion = out->SDKVERSION_ANY; in parseVersion() 812 out->sdkVersion = (uint16_t)atoi(sdkName.string()); in parseVersion() 820 return String8::format("v%u", config.sdkVersion); in getVersion() 833 if (config.sdkVersion != SDK_LOLLIPOP) { in isDensityOnly() 837 } else if (config.sdkVersion != SDK_DONUT) { in isDensityOnly()
|
D | ResourceTable.cpp | 4531 assert(sdkVersionToGenerate > sourceConfig.sdkVersion); in shouldGenerateVersionedResource() 4549 tempConfig.sdkVersion = nextConfig.sdkVersion; in shouldGenerateVersionedResource() 4552 return sdkVersionToGenerate < nextConfig.sdkVersion; in shouldGenerateVersionedResource() 4645 if (config.sdkVersion >= SDK_LOLLIPOP_MR1) { in modifyForCompat() 4655 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat() 4676 newConfig.sdkVersion = sdkLevel; in modifyForCompat() 4714 entriesToAdd[i].key.sdkVersion, in modifyForCompat() 4748 if (target->getResourceType() == "" || config.sdkVersion >= SDK_LOLLIPOP_MR1) { in modifyForCompat() 4773 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat() 4814 newConfig.sdkVersion = sdkVersionToGenerate; in modifyForCompat() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScriptGL.java | 176 int sdkVersion = ctx.getApplicationInfo().targetSdkVersion; in RenderScriptGL() local 182 mContext = nContextCreateGL(device, 0, sdkVersion, in RenderScriptGL()
|
D | RenderScript.java | 1407 …private static RenderScript internalCreate(Context ctx, int sdkVersion, ContextType ct, int flags)… in internalCreate() argument 1421 rs.mContext = rs.nContextCreate(device, flags, sdkVersion, ct.mID); in internalCreate() 1424 rs.mContextSdkVersion = sdkVersion; in internalCreate() 1498 public static RenderScript create(Context ctx, int sdkVersion) { in create() argument 1499 return create(ctx, sdkVersion, ContextType.NORMAL, CREATE_FLAG_NONE); in create() 1511 private static RenderScript create(Context ctx, int sdkVersion, ContextType ct, int flags) { in create() argument 1512 if (sdkVersion < 23) { in create() 1513 return internalCreate(ctx, sdkVersion, ct, flags); in create() 1520 (prs.mContextSdkVersion == sdkVersion)) { in create() 1526 RenderScript prs = internalCreate(ctx, sdkVersion, ct, flags); in create()
|
/frameworks/base/tools/split-select/ |
D | RuleGenerator.cpp | 112 if (group[index].config.sdkVersion != 0) { in generate() 116 sdk->longArgs.add(group[index].config.sdkVersion - 1); in generate()
|
D | Grouper.cpp | 43 key.config.sdkVersion = 0; // Ignore density so we can support anydpi. in groupByMutualExclusivity()
|
/frameworks/native/include/android/ |
D | native_activity.h | 98 int32_t sdkVersion; member
|
D | configuration.h | 579 void AConfiguration_setSdkVersion(AConfiguration* config, int32_t sdkVersion);
|
/frameworks/base/core/jni/ |
D | android_app_NativeActivity.cpp | 261 jstring externalDataDir, jint sdkVersion, jobject jAssetMgr, in loadNativeCode_native() argument 271 void* handle = OpenNativeLibrary(env, sdkVersion, pathStr, classLoader, libraryPath); in loadNativeCode_native() 339 code->sdkVersion = sdkVersion; in loadNativeCode_native()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1843 sdkVersion = dtohs(sdkVersion); in copyFromDtoH() 1857 sdkVersion = htods(sdkVersion); in swapHtoD() 2160 if (sdkVersion != o.sdkVersion) { in isMoreSpecificThan() 2161 if (!sdkVersion) return false; in isMoreSpecificThan() 2162 if (!o.sdkVersion) return true; in isMoreSpecificThan() 2492 if ((sdkVersion != o.sdkVersion) && requested->sdkVersion) { in isBetterThan() 2493 return (sdkVersion > o.sdkVersion); in isBetterThan() 2675 if (sdkVersion != 0 && sdkVersion > settings.sdkVersion) { in match() 3104 res.appendFormat("v%d", dtohs(sdkVersion)); in toString()
|
/frameworks/base/core/java/android/app/ |
D | NativeActivity.java | 97 String internalDataPath, String obbPath, String externalDataPath, int sdkVersion, in loadNativeCode() argument
|
/frameworks/rs/cpp/ |
D | rsDispatch.h | 31 typedef RsContext (*ContextCreateFnPtr)(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsCon…
|