Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DSdkConfig.java38 int sdkVersion,
42 put(sdkVersion, new SdkVersion(androidVersion, frameworkSdkBuildVersion, codeName));
57 for (int sdkVersion : getSupportedApis()) { in getSupportedSdkConfigs()
58 sdkConfigs.add(new SdkConfig(sdkVersion)); in getSupportedSdkConfigs()
104 final SdkVersion sdkVersion = SUPPORTED_APIS.get(apiLevel); in getSdkVersion() local
105 if (sdkVersion == null) { in getSdkVersion()
108 return sdkVersion; in getSdkVersion()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResTable_config.java137 int sdkVersion = buffer.getShort() & 0xFFFF; in createConfig() local
182 sdkVersion, minorVersion, screenLayout, uiMode, smallestScreenWidthDp, screenWidthDp, in createConfig()
622 public int sdkVersion; field in ResTable_config
631 public final ResTable_config withSdkVersion(int sdkVersion) { in withSdkVersion() argument
632 if (sdkVersion == this.sdkVersion) { in withSdkVersion()
637 screenWidth, screenHeight, sdkVersion, minorVersion, screenLayout, uiMode, in withSdkVersion()
644 int screenWidth, int screenHeight, int sdkVersion, int minorVersion, int screenLayout, in ResTable_config() argument
661 this.sdkVersion = sdkVersion; in ResTable_config()
881 dtohs((short) o.sdkVersion), in fromDtoH()
1080 && sdkVersion == 0 in isDefault()
[all …]
DConfigDescription.java933 out.sdkVersion = ResTable_config.SDKVERSION_ANY; in parseVersion()
941 out.sdkVersion = Integer.parseInt(matcher.group(1)); in parseVersion()
1014 if (min_sdk > config.sdkVersion) { in applyVersionForCompatibility()
1015 config.sdkVersion = min_sdk; in applyVersionForCompatibility()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp1174 static deInt32 sdkVersion = -1; in androidGetSdkVersion() local
1175 if (sdkVersion < 0) in androidGetSdkVersion()
1179 sdkVersion = static_cast<deInt32>(strtol(value, DE_NULL, 10)); in androidGetSdkVersion()
1180 printf("SDK Version is %d\n", sdkVersion); in androidGetSdkVersion()
1182 return sdkVersion; in androidGetSdkVersion()
1187 deInt32 sdkVersion = androidGetSdkVersion(); in checkAnbApiBuild() local
1190 DE_TEST_ASSERT(!(sdkVersion >= 26)); /* __ANDROID_API_O__ */ in checkAnbApiBuild()
1194 DE_TEST_ASSERT(!(sdkVersion >= 28)); /*__ANDROID_API_P__ */ in checkAnbApiBuild()
1196 return sdkVersion; in checkAnbApiBuild()
1211 deInt32 sdkVersion = checkAnbApiBuild(); in AndroidHardwareBufferExternalApi() local
[all …]
DvktExternalMemoryUtil.hpp150 static bool loadAhbDynamicApis(deInt32 sdkVersion);
/external/tensorflow/tensorflow/lite/nnapi/
Dnnapi_implementation.cc36 char sdkVersion[PROP_VALUE_MAX]; in GetAndroidSdkVersion() local
37 int length = __system_property_get(sdkProp, sdkVersion); in GetAndroidSdkVersion()
41 int digit = sdkVersion[i] - '0'; in GetAndroidSdkVersion()
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/android/
DResTableConfigTest.java129 int sdkVersion; field in ResTableConfigTest.ResTableConfigBuilder
144 …screenHeight, sdkVersion, minorVersion, screenLayout, uiMode, smallestScreenWidthDp, screenWidthDp… in build()
DConfigDescriptionTest.java384 assertThat(config.sdkVersion).isEqualTo(12); in parse_version()
408 assertThat(config.sdkVersion).isEqualTo(ConfigDescription.SDK_HONEYCOMB_MR2); in parse_multipleQualifiers()
/external/tensorflow/tensorflow/contrib/lite/
Dnnapi_delegate.cc93 char sdkVersion[PROP_VALUE_MAX]; in GetAndroidSdkVersion() local
94 int length = __system_property_get(sdkProp, sdkVersion); in GetAndroidSdkVersion()
97 int digit = sdkVersion[i] - '0'; in GetAndroidSdkVersion()
103 return atoi(sdkVersion); in GetAndroidSdkVersion()
/external/replicaisland/src/com/replica/replicaisland/
DMainMenuActivity.java202 final int sdkVersion = Integer.parseInt(Build.VERSION.SDK); in onResume() local
203 if (sdkVersion < Build.VERSION_CODES.ECLAIR) { in onResume()
DGame.java82 final int sdkVersion = Integer.parseInt(Build.VERSION.SDK); in bootstrap() local
83 if (sdkVersion < Build.VERSION_CODES.ECLAIR) { in bootstrap()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java136 int screenLayout, int uiMode, int sdkVersion) { in setConfiguration() argument
141 screenLayout, uiMode, 0, sdkVersion); in setConfiguration()
149 int screenLayout, int uiMode, int colorMode, int sdkVersion) { in setConfiguration() argument
180 config.sdkVersion = sdkVersion; in setConfiguration()
DShadowLegacyAssetManager.java674 int screenLayout, int uiMode, int sdkVersion) { in setConfiguration() argument
679 screenLayout, uiMode, 0, sdkVersion); in setConfiguration()
712 config.sdkVersion = majorVersion; in setConfiguration()
DShadowArscAssetManager10.java588 configuration.sdkVersion = (short) (major_version); in nativeSetConfiguration()
DShadowArscAssetManager9.java584 configuration.sdkVersion = (short) (major_version); in nativeSetConfiguration()