117 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			117 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
.class public final Lokhttp3/internal/platform/android/ConscryptSocketAdapter$Companion$factory$1;
 | 
						|
.super Ljava/lang/Object;
 | 
						|
.source "ConscryptSocketAdapter.kt"
 | 
						|
 | 
						|
# interfaces
 | 
						|
.implements Lokhttp3/internal/platform/android/DeferredSocketAdapter$Factory;
 | 
						|
 | 
						|
 | 
						|
# annotations
 | 
						|
.annotation system Ldalvik/annotation/EnclosingClass;
 | 
						|
    value = Lokhttp3/internal/platform/android/ConscryptSocketAdapter;
 | 
						|
.end annotation
 | 
						|
 | 
						|
.annotation system Ldalvik/annotation/InnerClass;
 | 
						|
    accessFlags = 0x19
 | 
						|
    name = null
 | 
						|
.end annotation
 | 
						|
 | 
						|
.annotation runtime Lkotlin/Metadata;
 | 
						|
    bv = {
 | 
						|
        0x1,
 | 
						|
        0x0,
 | 
						|
        0x3
 | 
						|
    }
 | 
						|
    d1 = {
 | 
						|
        "\u0000\u001d\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H\u0016J\u0010\u0010\u0006\u001a\u00020\u00072\u0006\u0010\u0004\u001a\u00020\u0005H\u0016\u00a8\u0006\u0008"
 | 
						|
    }
 | 
						|
    d2 = {
 | 
						|
        "okhttp3/internal/platform/android/ConscryptSocketAdapter$Companion$factory$1",
 | 
						|
        "Lokhttp3/internal/platform/android/DeferredSocketAdapter$Factory;",
 | 
						|
        "create",
 | 
						|
        "Lokhttp3/internal/platform/android/SocketAdapter;",
 | 
						|
        "sslSocket",
 | 
						|
        "Ljavax/net/ssl/SSLSocket;",
 | 
						|
        "matchesSocket",
 | 
						|
        "",
 | 
						|
        "okhttp"
 | 
						|
    }
 | 
						|
    k = 0x1
 | 
						|
    mv = {
 | 
						|
        0x1,
 | 
						|
        0x4,
 | 
						|
        0x0
 | 
						|
    }
 | 
						|
.end annotation
 | 
						|
 | 
						|
 | 
						|
# direct methods
 | 
						|
.method public constructor <init>()V
 | 
						|
    .locals 0
 | 
						|
 | 
						|
    .line 1
 | 
						|
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 | 
						|
 | 
						|
 | 
						|
# virtual methods
 | 
						|
.method public create(Ljavax/net/ssl/SSLSocket;)Lokhttp3/internal/platform/android/SocketAdapter;
 | 
						|
    .locals 1
 | 
						|
    .param p1    # Ljavax/net/ssl/SSLSocket;
 | 
						|
        .annotation build Lorg/jetbrains/annotations/NotNull;
 | 
						|
        .end annotation
 | 
						|
    .end param
 | 
						|
    .annotation build Lorg/jetbrains/annotations/NotNull;
 | 
						|
    .end annotation
 | 
						|
 | 
						|
    const-string v0, "sslSocket"
 | 
						|
 | 
						|
    invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
 | 
						|
 | 
						|
    .line 1
 | 
						|
    new-instance p1, Lokhttp3/internal/platform/android/ConscryptSocketAdapter;
 | 
						|
 | 
						|
    invoke-direct {p1}, Lokhttp3/internal/platform/android/ConscryptSocketAdapter;-><init>()V
 | 
						|
 | 
						|
    return-object p1
 | 
						|
.end method
 | 
						|
 | 
						|
.method public matchesSocket(Ljavax/net/ssl/SSLSocket;)Z
 | 
						|
    .locals 1
 | 
						|
    .param p1    # Ljavax/net/ssl/SSLSocket;
 | 
						|
        .annotation build Lorg/jetbrains/annotations/NotNull;
 | 
						|
        .end annotation
 | 
						|
    .end param
 | 
						|
 | 
						|
    const-string v0, "sslSocket"
 | 
						|
 | 
						|
    invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
 | 
						|
 | 
						|
    .line 1
 | 
						|
    sget-object v0, Lokhttp3/internal/platform/ConscryptPlatform;->Companion:Lokhttp3/internal/platform/ConscryptPlatform$Companion;
 | 
						|
 | 
						|
    invoke-virtual {v0}, Lokhttp3/internal/platform/ConscryptPlatform$Companion;->isSupported()Z
 | 
						|
 | 
						|
    move-result v0
 | 
						|
 | 
						|
    if-eqz v0, :cond_0
 | 
						|
 | 
						|
    invoke-static {p1}, Lorg/conscrypt/Conscrypt;->isConscrypt(Ljavax/net/ssl/SSLSocket;)Z
 | 
						|
 | 
						|
    move-result p1
 | 
						|
 | 
						|
    if-eqz p1, :cond_0
 | 
						|
 | 
						|
    const/4 p1, 0x1
 | 
						|
 | 
						|
    goto :goto_0
 | 
						|
 | 
						|
    :cond_0
 | 
						|
    const/4 p1, 0x0
 | 
						|
 | 
						|
    :goto_0
 | 
						|
    return p1
 | 
						|
.end method
 |