- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for NewApi (0.04 seconds)
-
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt
*/ @SuppressLint("NewApi") @SuppressSignatureCheck class Android10SocketAdapter : SocketAdapter { override fun matchesSocket(sslSocket: SSLSocket): Boolean = SSLSockets.isSupportedSocket(sslSocket) override fun isSupported(): Boolean = Companion.isSupported() @SuppressLint("NewApi") override fun getSelectedProtocol(sslSocket: SSLSocket): String? = try {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 09:36:53 GMT 2026 - 2.8K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt
} else { // Unable to report via CloseGuard. As a last-ditch effort, send it to the logger. super.logCloseableLeak(message, stackTrace) } } @SuppressLint("NewApi") override fun isCleartextTrafficPermitted(hostname: String): Boolean = NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(hostname)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jul 20 11:25:50 GMT 2025 - 4.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
import okhttp3.Protocol import okhttp3.internal.SuppressSignatureCheck /** * OpenJDK 9+ and JDK8 build 252+. * * This may also be used for Android tests with Robolectric. */ @Suppress("NewApi") open class Jdk9Platform : Platform() { @SuppressSignatureCheck override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<@JvmSuppressWildcards Protocol>, ) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 3.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
open fun getSelectedProtocol(sslSocket: SSLSocket): String? = null /** For MockWebServer. This returns the inbound SNI names. */ @Suppress("NewApi") @IgnoreJRERequirement // This function is overridden to require API >= 24. open fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> { val session = sslSocket.session as? ExtendedSSLSession ?: return listOf()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 8.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Stopwatch.java
* library desugaring</a>. * * @since 33.4.0 (but since 22.0 in the JRE flavor) */ // If users use this when they shouldn't, we hope that NewApi will catch subsequent Duration calls @IgnoreJRERequirement @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible public Duration elapsed() { return Duration.ofNanos(elapsedNanos()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.5K bytes - Click Count (0)