- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SDK_INT (0.04 sec)
-
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
when { Build.VERSION.SDK_INT >= 24 -> { // Conscrypt 2.5+ defaults to SSLEngine-based SSLSocket assertEquals("org.conscrypt.Java8EngineSocket", socketClass) } Build.VERSION.SDK_INT < 22 -> { assertEquals("org.conscrypt.KitKatPlatformOpenSSLSocketImplAdapter", socketClass) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 27K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
assumeNotGraalVMImage() assumeTrue(PlatformVersion.majorVersion == majorVersion) } fun androidSdkVersion(): Int? { return if (Platform.isAndroid) { Build.VERSION.SDK_INT } else { null } } fun localhostHandshakeCertificates(): HandshakeCertificates { return when { isBouncyCastle() -> localhostHandshakeCertificatesWithRsa2048
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.3K bytes - Viewed (1) -
guava/src/com/google/common/io/TempFileCreator.java
return new JavaNioCreator(); } catch (ClassNotFoundException runningUnderAndroid) { // Try another way. } try { int version = (int) Class.forName("android.os.Build$VERSION").getField("SDK_INT").get(null); int jellyBean = (int) Class.forName("android.os.Build$VERSION_CODES").getField("JELLY_BEAN").get(null); /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 12.5K bytes - Viewed (0)