- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Build$VERSION (0.06 sec)
-
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt
// If the API version is 0, assume this is the Android artifact, but running on the JVM without Robolectric. if (Build.VERSION.SDK_INT == 0) { return Jdk9Platform.buildIfSupported() ?: Platform() } throw IllegalStateException("Expected Android API level 21+ but was ${Build.VERSION.SDK_INT}") } actual val isAndroid: Boolean get() = true var applicationContext: Context?
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.6K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
response.use { assertEquals(200, response.code) } } @Test fun testLocalhostInsecure() { assumeTrue(Build.VERSION.SDK_INT >= 24) val clientCertificates = HandshakeCertificates .Builder() .apply { if (Build.VERSION.SDK_INT >= 24) { addInsecureHost(server.hostName) } }.build() client = client
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0) -
.teamcity/scripts/update_wrapper_and_create_pr.sh
source version-info-final-release/promote-projects/gradle/build/version-info.properties export WRAPPER_VERSION="$promotedVersion" elif [[ "$TRIGGERED_BY" == *"Release - Release Candidate"* ]]; then source version-info-release-candidate/promote-projects/gradle/build/version-info.properties export WRAPPER_VERSION="$promotedVersion" fi
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Jul 29 03:20:20 UTC 2025 - 2.9K bytes - Viewed (0) -
android-test-app/src/main/kotlin/okhttp/android/testapp/TestApplication.kt
} } private fun isSecondaryProcess(): Boolean = getProcess() != packageName @SuppressLint("DiscouragedPrivateApi") private fun getProcess(): String? = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { getProcessName() } else { Class .forName("android.app.ActivityThread") .getDeclaredMethod("currentProcessName") .apply { isAccessible = true }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Aug 19 08:10:39 UTC 2025 - 1.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java
/** * Maven build version: a human-readable string containing this Maven version, buildnumber, and time of its build. * * @since 3.0.0 */ @Config(readOnly = true, source = Config.Source.SYSTEM_PROPERTIES) public static final String MAVEN_BUILD_VERSION = "maven.build.version"; /** * Maven installation configuration directory. *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 25 11:08:20 UTC 2025 - 25.4K bytes - Viewed (0)