.class public final Lokhttp3/internal/platform/ConscryptPlatform$Companion; .super Ljava/lang/Object; .source "ConscryptPlatform.kt" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lokhttp3/internal/platform/ConscryptPlatform; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "Companion" .end annotation .annotation runtime Lkotlin/Metadata; bv = { 0x1, 0x0, 0x3 } d1 = { "\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0000\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\"\u0010\u0006\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u00082\u0008\u0008\u0002\u0010\t\u001a\u00020\u00082\u0008\u0008\u0002\u0010\n\u001a\u00020\u0008J\u0008\u0010\u000b\u001a\u0004\u0018\u00010\u000cR\u0011\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0003\u0010\u0005\u00a8\u0006\r" } d2 = { "Lokhttp3/internal/platform/ConscryptPlatform$Companion;", "", "()V", "isSupported", "", "()Z", "atLeastVersion", "major", "", "minor", "patch", "buildIfSupported", "Lokhttp3/internal/platform/ConscryptPlatform;", "okhttp" } k = 0x1 mv = { 0x1, 0x4, 0x0 } .end annotation # direct methods .method private constructor ()V .locals 0 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public synthetic constructor (Lkotlin/jvm/internal/u;)V .locals 0 .line 2 invoke-direct {p0}, Lokhttp3/internal/platform/ConscryptPlatform$Companion;->()V return-void .end method .method public static synthetic atLeastVersion$default(Lokhttp3/internal/platform/ConscryptPlatform$Companion;IIIILjava/lang/Object;)Z .locals 1 and-int/lit8 p5, p4, 0x2 const/4 v0, 0x0 if-eqz p5, :cond_0 move p2, v0 :cond_0 and-int/lit8 p4, p4, 0x4 if-eqz p4, :cond_1 move p3, v0 .line 1 :cond_1 invoke-virtual {p0, p1, p2, p3}, Lokhttp3/internal/platform/ConscryptPlatform$Companion;->atLeastVersion(III)Z move-result p0 return p0 .end method # virtual methods .method public final atLeastVersion(III)Z .locals 4 .line 1 invoke-static {}, Lorg/conscrypt/Conscrypt;->version()Lorg/conscrypt/Conscrypt$Version; move-result-object v0 .line 2 invoke-virtual {v0}, Lorg/conscrypt/Conscrypt$Version;->major()I move-result v1 const/4 v2, 0x1 const/4 v3, 0x0 if-eq v1, p1, :cond_1 .line 3 invoke-virtual {v0}, Lorg/conscrypt/Conscrypt$Version;->major()I move-result p2 if-le p2, p1, :cond_0 goto :goto_0 :cond_0 move v2, v3 :goto_0 return v2 .line 4 :cond_1 invoke-virtual {v0}, Lorg/conscrypt/Conscrypt$Version;->minor()I move-result p1 if-eq p1, p2, :cond_3 .line 5 invoke-virtual {v0}, Lorg/conscrypt/Conscrypt$Version;->minor()I move-result p1 if-le p1, p2, :cond_2 goto :goto_1 :cond_2 move v2, v3 :goto_1 return v2 .line 6 :cond_3 invoke-virtual {v0}, Lorg/conscrypt/Conscrypt$Version;->patch()I move-result p1 if-lt p1, p3, :cond_4 goto :goto_2 :cond_4 move v2, v3 :goto_2 return v2 .end method .method public final buildIfSupported()Lokhttp3/internal/platform/ConscryptPlatform; .locals 2 .annotation build Lorg/jetbrains/annotations/Nullable; .end annotation .line 1 invoke-virtual {p0}, Lokhttp3/internal/platform/ConscryptPlatform$Companion;->isSupported()Z move-result v0 const/4 v1, 0x0 if-eqz v0, :cond_0 new-instance v0, Lokhttp3/internal/platform/ConscryptPlatform; invoke-direct {v0, v1}, Lokhttp3/internal/platform/ConscryptPlatform;->(Lkotlin/jvm/internal/u;)V move-object v1, v0 :cond_0 return-object v1 .end method .method public final isSupported()Z .locals 1 .line 1 invoke-static {}, Lokhttp3/internal/platform/ConscryptPlatform;->access$isSupported$cp()Z move-result v0 return v0 .end method