Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 13 of 13 for SDK_INT (0.47 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

      companion object {
        fun buildIfSupported(): SocketAdapter? = if (isSupported()) Android10SocketAdapter() else null
    
        @androidx.annotation.ChecksSdkIntAtLeast(api = 29)
        fun isSupported() = isAndroid && Build.VERSION.SDK_INT >= 29
      }
    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)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

          try {
            // Enable session tickets.
            setUseSessionTickets.invoke(sslSocket, true)
    
            // Assume platform support on 24+
            if (hostname != null && Build.VERSION.SDK_INT <= 23) {
              // This is SSLParameters.setServerNames() in API 24+.
              setHostname.invoke(sslSocket, hostname)
            }
    
            // Enable ALPN.
            setAlpnProtocols.invoke(
              sslSocket,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          assumeNotGraalVMImage()
          assumeTrue(PlatformVersion.majorVersion == majorVersion)
        }
    
        fun androidSdkVersion(): Int? =
          if (Platform.isAndroid) {
            Build.VERSION.SDK_INT
          } else {
            null
          }
    
        fun localhostHandshakeCertificates(): HandshakeCertificates =
          when {
            isBouncyCastle() -> localhostHandshakeCertificatesWithRsa2048
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 15.5K bytes
    - Click Count (1)
Back to Top