Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AndroidPlatform (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

    import okhttp3.internal.tls.BasicTrustRootIndex
    import okhttp3.internal.tls.CertificateChainCleaner
    import okhttp3.internal.tls.TrustRootIndex
    
    /** Android 5 to 9 (API 21 to 28). */
    @SuppressSignatureCheck
    class AndroidPlatform : Platform() {
      private val socketAdapters =
        listOfNotNull(
          StandardAndroidSocketAdapter.buildIfSupported(),
          DeferredSocketAdapter(AndroidSocketAdapter.playProviderFactory),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/graal/GraalSvm.kt

    import okhttp3.internal.platform.AndroidPlatform
    import okhttp3.internal.platform.BouncyCastlePlatform
    import okhttp3.internal.platform.ConscryptPlatform
    import okhttp3.internal.platform.Jdk8WithJettyBootPlatform
    import okhttp3.internal.platform.Jdk9Platform
    import okhttp3.internal.platform.OpenJSSEPlatform
    import okhttp3.internal.platform.Platform
    
    @TargetClass(AndroidPlatform::class)
    @Delete
    class TargetAndroidPlatform
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

    import android.os.Build
    import java.lang.reflect.InvocationTargetException
    import java.lang.reflect.Method
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    import okhttp3.internal.platform.AndroidPlatform
    import okhttp3.internal.platform.Platform
    
    /**
     * Modern reflection based SocketAdapter for Conscrypt class SSLSockets.
     *
     * This is used directly for providers where class name is known e.g. the Google Play Provider
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

     * chain. This class duplicates the clean chain building performed during the TLS handshake. We
     * prefer other mechanisms where they exist, such as with
     * [okhttp3.internal.platform.AndroidPlatform.AndroidCertificateChainCleaner].
     *
     * This class includes code from [Conscrypt's][Conscrypt] [TrustManagerImpl] and
     * [TrustedCertificateIndex].
     *
     * [Conscrypt]: https://conscrypt.org/
     */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

          } else {
            findJvmPlatform()
          }
    
        private fun findAndroidPlatform(): Platform {
          AndroidLog.enable()
          return Android10Platform.buildIfSupported() ?: AndroidPlatform.buildIfSupported()!!
        }
    
        private fun findJvmPlatform(): Platform {
          if (isConscryptPreferred) {
            val conscrypt = ConscryptPlatform.buildIfSupported()
    
            if (conscrypt != null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

    import okhttp3.dnsoverhttps.DnsOverHttps
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.http2.Http2
    import okhttp3.internal.platform.Android10Platform
    import okhttp3.internal.platform.AndroidPlatform
    import okhttp3.internal.platform.Platform
    import okhttp3.logging.LoggingEventListener
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.internal.TlsUtil.localhost
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top