Home
last modified time | relevance | path

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

123

/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.h78 RsContext rsContextCreateGL(RsDevice dev, uint32_t version, uint32_t sdkVersion,
130 RsContext rsContextCreate(RsDevice dev, uint32_t version, uint32_t sdkVersion,
/frameworks/base/libs/androidfw/tests/
DConfigDescription_test.cpp93 EXPECT_EQ(SDK_MARSHMALLOW, config.sdkVersion); in TEST()
99 EXPECT_EQ(SDK_MARSHMALLOW, config.sdkVersion); in TEST()
108 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
114 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
123 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
129 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
137 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
161 EXPECT_EQ(SDK_U, config.sdkVersion); in TEST()
166 EXPECT_EQ(SDK_U, config.sdkVersion); in TEST()
171 EXPECT_EQ(SDK_U, config.sdkVersion); in TEST()
DAssetManager2_bench.cpp235 configs[0].sdkVersion = ~configs[0].sdkVersion; in BM_AssetManagerSetConfigurationFramework()
255 config.sdkVersion = ~config.sdkVersion; in BM_AssetManagerSetConfigurationFrameworkOld()
DConfig_test.cpp50 config.sdkVersion = 4; in buildDensityConfig()
58 deviceConfig.sdkVersion = 21; in TEST()
86 expectedBest.sdkVersion = 21; in TEST()
94 deviceConfig.sdkVersion = 21; in TEST()
/frameworks/base/tools/aapt2/link/
DAutoVersioner.cpp36 CHECK(sdk_version_to_generate > config.sdkVersion); in ShouldGenerateVersionedResource()
62 temp_config.sdkVersion = (*iter)->config.sdkVersion; in FindNextApiVersionForConfig()
65 return (*iter)->config.sdkVersion; in FindNextApiVersionForConfig()
85 if (config_value->config.sdkVersion >= SDK_LOLLIPOP_MR1) { in Consume()
103 if (sdk_level > std::max<ApiVersion>(config_value->config.sdkVersion, 1)) { in Consume()
130 new_config.sdkVersion = static_cast<uint16_t>(min_sdk_stripped.value()); in Consume()
DXmlCompatVersioner.cpp110 cloned_doc->file.config.sdkVersion = static_cast<uint16_t>(target_api); in ProcessDoc()
136 api_range.start = std::max(api_range.start, static_cast<ApiVersion>(doc->file.config.sdkVersion)); in Process()
144 versioned_docs.back()->file.config.sdkVersion = doc->file.config.sdkVersion; in Process()
DNoDefaultResourceRemover.cpp52 && config_value->config.sdkVersion <= minSdk) { in KeepResource()
59 && config_value->config.sdkVersion <= minSdk)) { in KeepResource()
/frameworks/base/tools/aapt/tests/
DAaptConfig_test.cpp91 EXPECT_EQ(SDK_MNC, config.sdkVersion); in TEST()
97 EXPECT_EQ(SDK_MNC, config.sdkVersion); in TEST()
106 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
112 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
121 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
127 EXPECT_EQ(SDK_O, config.sdkVersion); in TEST()
DResourceTable_test.cpp51 v21Config.sdkVersion = 21; in TEST()
55 sw600dpV13Config.sdkVersion = 13; in TEST()
/frameworks/base/tools/aapt2/optimize/
DVersionCollapser.cpp83 if (config.sdkVersion <= min_sdk) { in CollapseVersions()
96 config_without_sdk.sdkVersion = val->config.sdkVersion; in CollapseVersions()
98 val->config.sdkVersion <= min_sdk; in CollapseVersions()
129 if (config_value->config.sdkVersion != 0 && in CollapseVersions()
130 config_value->config.sdkVersion <= min_sdk) { in CollapseVersions()
/frameworks/base/core/java/com/android/internal/pm/permission/
DCompatibilityPermissionInfo.java80 int sdkVersion) { in CompatibilityPermissionInfo() argument
84 this.mSdkVersion = sdkVersion; in CompatibilityPermissionInfo()
/frameworks/base/services/core/java/com/android/server/signedconfig/
DSignedConfig.java95 public PerSdkConfig getMatchingConfig(int sdkVersion) { in getMatchingConfig() argument
97 if (config.minSdk <= sdkVersion && sdkVersion <= config.maxSdk) { in getMatchingConfig()
/frameworks/base/native/android/
Dconfiguration.cpp97 return config->sdkVersion; in AConfiguration_getSdkVersion()
190 void AConfiguration_setSdkVersion(AConfiguration* config, int32_t sdkVersion) { in AConfiguration_setSdkVersion() argument
191 config->sdkVersion = sdkVersion; in AConfiguration_setSdkVersion()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp322 config_feminine.sdkVersion = android::ResTable_config::SDKVERSION_ANY; in TEST()
329 config_masculine.sdkVersion = android::ResTable_config::SDKVERSION_ANY; in TEST()
336 config_neuter.sdkVersion = android::ResTable_config::SDKVERSION_ANY; in TEST()
362 config_feminine.sdkVersion = android::ResTable_config::SDKVERSION_ANY; in TEST()
374 config_masculine.sdkVersion = android::ResTable_config::SDKVERSION_ANY; in TEST()
387 config_neuter.sdkVersion = android::ResTable_config::SDKVERSION_ANY; in TEST()
423 config_feminine.sdkVersion = android::ResTable_config::SDKVERSION_ANY; in TEST()
432 config_masculine.sdkVersion = android::ResTable_config::SDKVERSION_ANY; in TEST()
441 config_neuter.sdkVersion = android::ResTable_config::SDKVERSION_ANY; in TEST()
464 config_feminine.sdkVersion = android::ResTable_config::SDKVERSION_ANY; in TEST()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DRenderScript.java160 static private boolean setupNative(int sdkVersion, Context ctx) { in setupNative() argument
163 if (android.os.Build.VERSION.SDK_INT < sdkVersion && in setupNative()
1384 …private static RenderScript internalCreate(Context ctx, int sdkVersion, ContextType ct, int flags)… in internalCreate() argument
1388 sSdkVersion = sdkVersion; in internalCreate()
1389 } else if (sSdkVersion != sdkVersion) { in internalCreate()
1437 int dispatchAPI = sdkVersion; in internalCreate()
1438 if (sdkVersion < android.os.Build.VERSION.SDK_INT) { in internalCreate()
1497 rs.mContext = rs.nContextCreate(device, 0, sdkVersion, ct.mID, rs.mNativeLibDir); in internalCreate()
1500 rs.mContextSdkVersion = sdkVersion; in internalCreate()
1569 public static RenderScript create(Context ctx, int sdkVersion) { in create() argument
[all …]
/frameworks/base/libs/androidfw/
DConfigDescription.cpp634 out->sdkVersion = out->SDKVERSION_ANY; in parseVersion()
651 out->sdkVersion = (uint16_t)atoi(sdkName.c_str()); in parseVersion()
889 if (min_sdk > config->sdkVersion) { in ApplyVersionForCompatibility()
890 config->sdkVersion = min_sdk; in ApplyVersionForCompatibility()
896 copy.sdkVersion = 0; in CopyWithoutSdkVersion()
985 if (sdkVersion || o.sdkVersion) return (!o.sdkVersion); in HasHigherPrecedenceThan()
/frameworks/base/rs/java/android/renderscript/
DRenderScriptGL.java181 int sdkVersion = ctx.getApplicationInfo().targetSdkVersion; in RenderScriptGL() local
187 mContext = nContextCreateGL(device, 0, sdkVersion, in RenderScriptGL()
/frameworks/libs/binary_translation/native_activity/include/berberis/native_activity/
Dnative_activity.h56 int32_t sdkVersion; member
/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.c_str()); 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/tools/aapt2/test/
DBuilders.h272 ConfigDescriptionBuilder& setSdkVersion(uint16_t sdkVersion) { in setSdkVersion() argument
273 config_.sdkVersion = sdkVersion; in setSdkVersion()

123