Home
last modified time | relevance | path

Searched refs:sdkVersion (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/rs/
DrsApiContext.cpp28 extern "C" RsContext rsContextCreateVendor(RsDevice vdev, uint32_t version, uint32_t sdkVersion, in rsContextCreateVendor() argument
34 rsc->setTargetSdkVersion(sdkVersion); in rsContextCreateVendor()
39 extern "C" RsContext rsContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, in rsContextCreate() argument
41 return rsContextCreateVendor(vdev, version, sdkVersion, ct, flags, nullptr); in rsContextCreate()
56 uint32_t sdkVersion, RsSurfaceConfig sc, in rsContextCreateGL() argument
62 rsc->setTargetSdkVersion(sdkVersion); in rsContextCreateGL()
DrsScriptC.cpp302 uint32_t sdkVersion = 0; in runCompiler() local
310 sdkVersion = bcWrapper.getTargetAPI(); in runCompiler()
313 if (sdkVersion == 0) { in runCompiler()
316 sdkVersion = rsc->getTargetSdkVersion(); in runCompiler()
321 mApiLevel = sdkVersion; in runCompiler()
324 sdkVersion); in runCompiler()
326 ALOGE("Failed to translate bitcode from version: %u", sdkVersion); in runCompiler()
Drs.h40 RsContext rsContextCreateGL(RsDevice dev, uint32_t version, uint32_t sdkVersion,
57 RsContext rsContextCreate(RsDevice dev, uint32_t version, uint32_t sdkVersion,
DrsApiStubs.cpp149 extern "C" RsContext rsContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, in rsContextCreate() argument
163 context = instance.GetEntryFuncs()->ContextCreate(vdev, version, sdkVersion, ct, flags); in rsContextCreate()
167 context = instance.GetEntryFuncs()->ContextCreate(vdev, version, sdkVersion, ct, flags); in rsContextCreate()
725 RsContext rsContextCreateGL(RsDevice vdev, uint32_t version, uint32_t sdkVersion, in rsContextCreateGL() argument
734 … RsContext context = instance.GetEntryFuncs()->ContextCreateGL(vdev, version, sdkVersion, sc, dpi); in rsContextCreateGL()
/frameworks/base/tools/aapt2/link/
DAutoVersioner.cpp33 CHECK(sdk_version_to_generate > config.sdkVersion); in ShouldGenerateVersionedResource()
59 temp_config.sdkVersion = (*iter)->config.sdkVersion; in FindNextApiVersionForConfig()
62 return (*iter)->config.sdkVersion; in FindNextApiVersionForConfig()
80 if (config_value->config.sdkVersion >= SDK_LOLLIPOP_MR1) { in Consume()
98 if (sdk_level > std::max<ApiVersion>(config_value->config.sdkVersion, 1)) { in Consume()
125 new_config.sdkVersion = static_cast<uint16_t>(min_sdk_stripped.value()); in Consume()
DXmlCompatVersioner.cpp108 cloned_doc->file.config.sdkVersion = static_cast<uint16_t>(target_api); in ProcessDoc()
134 api_range.start = std::max(api_range.start, static_cast<ApiVersion>(doc->file.config.sdkVersion)); in Process()
142 versioned_docs.back()->file.config.sdkVersion = doc->file.config.sdkVersion; in Process()
/frameworks/base/tools/aapt2/
DConfigDescription_test.cpp95 EXPECT_EQ(SDK_MARSHMALLOW, config.sdkVersion); in TEST()
101 EXPECT_EQ(SDK_MARSHMALLOW, config.sdkVersion); in TEST()
110 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
116 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
125 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
131 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
139 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
DConfigDescription.cpp622 out->sdkVersion = out->SDKVERSION_ANY; in parseVersion()
639 out->sdkVersion = (uint16_t)atoi(sdkName.c_str()); in parseVersion()
868 if (min_sdk > config->sdkVersion) { in ApplyVersionForCompatibility()
869 config->sdkVersion = min_sdk; in ApplyVersionForCompatibility()
875 copy.sdkVersion = 0; in CopyWithoutSdkVersion()
940 if (sdkVersion || o.sdkVersion) return (!o.sdkVersion); in HasHigherPrecedenceThan()
/frameworks/base/tools/aapt2/optimize/
DVersionCollapser.cpp82 if (config.sdkVersion <= min_sdk) { in CollapseVersions()
97 config_without_sdk.sdkVersion = val->config.sdkVersion; in CollapseVersions()
99 val->config.sdkVersion <= min_sdk; in CollapseVersions()
125 if (config_value->config.sdkVersion != 0 && in CollapseVersions()
126 config_value->config.sdkVersion <= min_sdk) { in CollapseVersions()
/frameworks/base/libs/androidfw/tests/
DSparseEntry_bench.cpp31 config.sdkVersion = 26; in BM_SparseEntryGetResourceSparseSmall()
40 config.sdkVersion = 26; in BM_SparseEntryGetResourceNotSparseSmall()
49 config.sdkVersion = 26; in BM_SparseEntryGetResourceSparseLarge()
58 config.sdkVersion = 26; in BM_SparseEntryGetResourceNotSparseLarge()
DConfig_test.cpp50 config.sdkVersion = 4; in buildDensityConfig()
58 deviceConfig.sdkVersion = 21; in TEST()
83 expectedBest.sdkVersion = 21; in TEST()
91 deviceConfig.sdkVersion = 21; in TEST()
/frameworks/base/tools/aapt/tests/
DAaptConfig_test.cpp92 EXPECT_EQ(SDK_MNC, config.sdkVersion); in TEST()
98 EXPECT_EQ(SDK_MNC, config.sdkVersion); in TEST()
107 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
113 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
122 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
128 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
DResourceTable_test.cpp52 v21Config.sdkVersion = 21; in TEST()
56 sw600dpV13Config.sdkVersion = 13; in TEST()
/frameworks/base/native/android/
Dconfiguration.cpp92 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/rs/support/java/src/android/support/v8/renderscript/
DRenderScript.java143 static private boolean setupNative(int sdkVersion, Context ctx) { in setupNative() argument
146 if (android.os.Build.VERSION.SDK_INT < sdkVersion && in setupNative()
1367 …private static RenderScript internalCreate(Context ctx, int sdkVersion, ContextType ct, int flags)… in internalCreate() argument
1371 sSdkVersion = sdkVersion; in internalCreate()
1372 } else if (sSdkVersion != sdkVersion) { in internalCreate()
1418 int dispatchAPI = sdkVersion; in internalCreate()
1419 if (sdkVersion < android.os.Build.VERSION.SDK_INT) { in internalCreate()
1478 rs.mContext = rs.nContextCreate(device, 0, sdkVersion, ct.mID, rs.mNativeLibDir); in internalCreate()
1481 rs.mContextSdkVersion = sdkVersion; in internalCreate()
1550 public static RenderScript create(Context ctx, int sdkVersion) { in create() argument
[all …]
/frameworks/base/rs/java/android/renderscript/
DRenderScriptGL.java176 int sdkVersion = ctx.getApplicationInfo().targetSdkVersion; in RenderScriptGL() local
182 mContext = nContextCreateGL(device, 0, sdkVersion, in RenderScriptGL()
DRenderScript.java1407 …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/aapt/
DAaptConfig.cpp294 if (minSdk > config->sdkVersion) { in applyVersionForCompatibility()
295 config->sdkVersion = minSdk; in applyVersionForCompatibility()
861 out->sdkVersion = out->SDKVERSION_ANY; in parseVersion()
878 out->sdkVersion = (uint16_t)atoi(sdkName.string()); in parseVersion()
886 return String8::format("v%u", config.sdkVersion); in getVersion()
899 if (config.sdkVersion != SDK_LOLLIPOP) { in isDensityOnly()
903 } else if (config.sdkVersion != SDK_DONUT) { in isDensityOnly()
/frameworks/base/tools/split-select/
DGrouper.cpp43 key.config.sdkVersion = 0; // Ignore density so we can support anydpi. in groupByMutualExclusivity()
DRuleGenerator.cpp112 if (group[index].config.sdkVersion != 0) { in generate()
116 sdk->longArgs.add(group[index].config.sdkVersion - 1); in generate()
/frameworks/native/include/android/
Dnative_activity.h98 int32_t sdkVersion; member
/frameworks/base/telecomm/java/android/telecom/
DVideoCallImpl.java216 public void setTargetSdkVersion(int sdkVersion) { in setTargetSdkVersion() argument
217 mTargetSdkVersion = sdkVersion; in setTargetSdkVersion()
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp271 jstring externalDataDir, jint sdkVersion, jobject jAssetMgr, in loadNativeCode_native() argument
283 sdkVersion, in loadNativeCode_native()
355 code->sdkVersion = sdkVersion; in loadNativeCode_native()
/frameworks/rs/cpp/
DrsDispatch.h31 typedef RsContext (*ContextCreateFnPtr)(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsCon…
32 typedef RsContext (*ContextCreateVendorFnPtr)(RsDevice vdev, uint32_t version, uint32_t sdkVersion,…
110 typedef RsContext (*ContextCreateGLFnPtr) (RsDevice vdev, uint32_t version, uint32_t sdkVersion, Rs…
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp43 preferred_density_config.sdkVersion = 0; in ParseTargetDensityParameter()
122 if (config.sdkVersion <= min_sdk) { in AdjustSplitConstraintsForMinSdk()

12