Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for androidLog (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

    import okhttp3.internal.platform.android.AndroidLog.androidLog
    
    private val LogRecord.androidLevel: Int
      get() =
        when {
          level.intValue() > Level.INFO.intValue() -> Log.WARN
          level.intValue() == Level.INFO.intValue() -> Log.INFO
          else -> Log.DEBUG
        }
    
    object AndroidLogHandler : Handler() {
      override fun publish(record: LogRecord) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt

            val paramsClass = Class.forName("$packageName.SSLParametersImpl")
    
            StandardAndroidSocketAdapter(sslSocketClass, sslSocketFactoryClass, paramsClass)
          } catch (e: Exception) {
            AndroidLog.androidLog(
              loggerName = OkHttpClient::class.java.name,
              logLevel = Platform.WARN,
              message = "unable to load android socket classes",
              t = e,
            )
            null
          }
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

    import javax.net.ssl.TrustManager
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.internal.platform.android.AndroidLog
    import okhttp3.internal.readFieldOrNull
    import okhttp3.internal.tls.BasicCertificateChainCleaner
    import okhttp3.internal.tls.BasicTrustRootIndex
    import okhttp3.internal.tls.CertificateChainCleaner
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top