2019-07-24 11:27:29 +00:00
|
|
|
.class final Lokhttp3/internal/g/a;
|
|
|
|
.super Lokhttp3/internal/g/f;
|
|
|
|
.source "AndroidPlatform.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokhttp3/internal/g/a$b;,
|
|
|
|
Lokhttp3/internal/g/a$c;,
|
|
|
|
Lokhttp3/internal/g/a$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-07-29 20:14:17 +00:00
|
|
|
.field private final bxL:Ljava/lang/Class;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Class<",
|
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
.field private final bxM:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lokhttp3/internal/g/e<",
|
|
|
|
"Ljava/net/Socket;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
.field private final bxN:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lokhttp3/internal/g/e<",
|
|
|
|
"Ljava/net/Socket;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
.field private final bxO:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lokhttp3/internal/g/e<",
|
|
|
|
"Ljava/net/Socket;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
.field private final bxP:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lokhttp3/internal/g/e<",
|
|
|
|
"Ljava/net/Socket;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
.field private final bxQ:Lokhttp3/internal/g/a$c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method private constructor <init>(Ljava/lang/Class;Lokhttp3/internal/g/e;Lokhttp3/internal/g/e;Lokhttp3/internal/g/e;Lokhttp3/internal/g/e;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/Class<",
|
|
|
|
"*>;",
|
|
|
|
"Lokhttp3/internal/g/e<",
|
|
|
|
"Ljava/net/Socket;",
|
|
|
|
">;",
|
|
|
|
"Lokhttp3/internal/g/e<",
|
|
|
|
"Ljava/net/Socket;",
|
|
|
|
">;",
|
|
|
|
"Lokhttp3/internal/g/e<",
|
|
|
|
"Ljava/net/Socket;",
|
|
|
|
">;",
|
|
|
|
"Lokhttp3/internal/g/e<",
|
|
|
|
"Ljava/net/Socket;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lokhttp3/internal/g/f;-><init>()V
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
invoke-static {}, Lokhttp3/internal/g/a$c;->HP()Lokhttp3/internal/g/a$c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/internal/g/a;->bxQ:Lokhttp3/internal/g/a$c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/internal/g/a;->bxL:Ljava/lang/Class;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iput-object p2, p0, Lokhttp3/internal/g/a;->bxM:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iput-object p3, p0, Lokhttp3/internal/g/a;->bxN:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iput-object p4, p0, Lokhttp3/internal/g/a;->bxO:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iput-object p5, p0, Lokhttp3/internal/g/a;->bxP:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
.method private static HM()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const-string v0, "GMSCore_OpenSSL"
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/security/Security;->getProvider(Ljava/lang/String;)Ljava/security/Provider;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "android.net.Network"
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
.method public static HN()Lokhttp3/internal/g/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 10
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v1, "com.android.org.conscrypt.SSLParametersImpl"
|
|
|
|
|
|
|
|
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
move-object v3, v1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
:try_start_1
|
|
|
|
const-string v1, "org.apache.harmony.xnet.provider.jsse.SSLParametersImpl"
|
|
|
|
|
|
|
|
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
new-instance v4, Lokhttp3/internal/g/e;
|
|
|
|
|
|
|
|
const-string v1, "setUseSessionTickets"
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
new-array v5, v2, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
sget-object v6, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
aput-object v6, v5, v7
|
|
|
|
|
|
|
|
invoke-direct {v4, v0, v1, v5}, Lokhttp3/internal/g/e;-><init>(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V
|
|
|
|
|
|
|
|
new-instance v5, Lokhttp3/internal/g/e;
|
|
|
|
|
|
|
|
const-string v1, "setHostname"
|
|
|
|
|
|
|
|
new-array v6, v2, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
const-class v8, Ljava/lang/String;
|
|
|
|
|
|
|
|
aput-object v8, v6, v7
|
|
|
|
|
|
|
|
invoke-direct {v5, v0, v1, v6}, Lokhttp3/internal/g/e;-><init>(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
invoke-static {}, Lokhttp3/internal/g/a;->HM()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
new-instance v1, Lokhttp3/internal/g/e;
|
|
|
|
|
|
|
|
const-class v6, [B
|
|
|
|
|
|
|
|
const-string v8, "getAlpnSelectedProtocol"
|
|
|
|
|
|
|
|
new-array v9, v7, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
invoke-direct {v1, v6, v8, v9}, Lokhttp3/internal/g/e;-><init>(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V
|
|
|
|
|
|
|
|
new-instance v6, Lokhttp3/internal/g/e;
|
|
|
|
|
|
|
|
const-string v8, "setAlpnProtocols"
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
const-class v9, [B
|
|
|
|
|
|
|
|
aput-object v9, v2, v7
|
|
|
|
|
|
|
|
invoke-direct {v6, v0, v8, v2}, Lokhttp3/internal/g/e;-><init>(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V
|
|
|
|
|
|
|
|
move-object v7, v6
|
|
|
|
|
|
|
|
move-object v6, v1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object v6, v0
|
|
|
|
|
|
|
|
move-object v7, v6
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
new-instance v1, Lokhttp3/internal/g/a;
|
|
|
|
|
|
|
|
move-object v2, v1
|
|
|
|
|
|
|
|
invoke-direct/range {v2 .. v7}, Lokhttp3/internal/g/a;-><init>(Ljava/lang/Class;Lokhttp3/internal/g/e;Lokhttp3/internal/g/e;Lokhttp3/internal/g/e;Lokhttp3/internal/g/e;)V
|
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Z
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Ljava/lang/Class<",
|
|
|
|
"*>;",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
")Z"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/lang/reflect/InvocationTargetException;,
|
|
|
|
Ljava/lang/IllegalAccessException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "isCleartextTrafficPermitted"
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
new-array v2, v1, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
const-class v3, Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0, v2}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object p1, v1, v4
|
|
|
|
|
|
|
|
invoke-virtual {v0, p3, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Lokhttp3/internal/g/a;->b(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private b(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Z
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Ljava/lang/Class<",
|
|
|
|
"*>;",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
")Z"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/lang/reflect/InvocationTargetException;,
|
|
|
|
Ljava/lang/IllegalAccessException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "isCleartextTrafficPermitted"
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
new-array v2, v1, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0, v2}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
new-array v0, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3, v0}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
invoke-super {p0, p1}, Lokhttp3/internal/g/f;->isCleartextTrafficPermitted(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-07-29 20:14:17 +00:00
|
|
|
.method public final HO()Ljavax/net/ssl/SSLContext;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
|
|
|
|
const/16 v2, 0x10
|
|
|
|
|
|
|
|
if-lt v1, v2, :cond_0
|
|
|
|
|
|
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/NoClassDefFoundError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
const/16 v2, 0x16
|
|
|
|
|
|
|
|
if-ge v1, v2, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
:goto_0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
const-string v0, "TLSv1.2"
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljavax/net/ssl/SSLContext;->getInstance(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
:cond_1
|
|
|
|
:try_start_2
|
|
|
|
const-string v0, "TLS"
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljavax/net/ssl/SSLContext;->getInstance(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_2
|
|
|
|
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_2 .. :try_end_2} :catch_2
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:catch_2
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v2, "No TLS provider"
|
|
|
|
|
|
|
|
invoke-direct {v1, v2, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(ILjava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.locals 5
|
|
|
|
.param p3 # Ljava/lang/Throwable;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
const/4 v0, 0x5
|
|
|
|
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x3
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const/16 p1, 0xa
|
|
|
|
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-static {p3}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ge p3, v1, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1, p3}, Ljava/lang/String;->indexOf(II)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/4 v3, -0x1
|
|
|
|
|
|
|
|
if-eq v2, v3, :cond_2
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move v2, v1
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
add-int/lit16 v3, p3, 0xfa0
|
|
|
|
|
|
|
|
invoke-static {v2, v3}, Ljava/lang/Math;->min(II)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p3, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
const-string v4, "OkHttp"
|
|
|
|
|
|
|
|
invoke-static {v0, v4, p3}, Landroid/util/Log;->println(ILjava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
if-lt v3, v2, :cond_3
|
|
|
|
|
|
|
|
add-int/lit8 p3, v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move p3, v3
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Ljava/net/Socket;Ljava/net/InetSocketAddress;I)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "Exception in connect"
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-virtual {p1, p2, p3}, Ljava/net/Socket;->connect(Ljava/net/SocketAddress;I)V
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_2
|
|
|
|
.catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
.catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
sget p2, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
|
|
|
|
const/16 p3, 0x1a
|
|
|
|
|
|
|
|
if-ne p2, p3, :cond_0
|
|
|
|
|
|
|
|
new-instance p2, Ljava/io/IOException;
|
|
|
|
|
|
|
|
invoke-direct {p2, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/io/IOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
new-instance p2, Ljava/io/IOException;
|
|
|
|
|
|
|
|
invoke-direct {p2, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/io/IOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:catch_2
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Lokhttp3/internal/c;->a(Ljava/lang/AssertionError;)Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
new-instance p2, Ljava/io/IOException;
|
|
|
|
|
|
|
|
invoke-direct {p2, p1}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Ljavax/net/ssl/SSLSocket;Ljava/lang/String;Ljava/util/List;)V
|
|
|
|
.locals 6
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljavax/net/ssl/SSLSocket;",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lokhttp3/u;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iget-object v2, p0, Lokhttp3/internal/g/a;->bxM:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-array v3, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
sget-object v4, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
aput-object v4, v3, v0
|
|
|
|
|
|
|
|
invoke-virtual {v2, p1, v3}, Lokhttp3/internal/g/e;->b(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iget-object v2, p0, Lokhttp3/internal/g/a;->bxN:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-array v3, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object p2, v3, v0
|
|
|
|
|
|
|
|
invoke-virtual {v2, p1, v3}, Lokhttp3/internal/g/e;->b(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
:cond_0
|
2019-07-29 20:14:17 +00:00
|
|
|
iget-object p2, p0, Lokhttp3/internal/g/a;->bxP:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Lokhttp3/internal/g/e;->bD(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
|
|
|
|
new-array p2, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v1, Lokio/c;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Lokio/c;-><init>()V
|
|
|
|
|
|
|
|
invoke-interface {p3}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v3, v2, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {p3, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
check-cast v4, Lokhttp3/u;
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
sget-object v5, Lokhttp3/u;->bsQ:Lokhttp3/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eq v4, v5, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Lokhttp3/u;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
2019-07-25 02:21:43 +00:00
|
|
|
invoke-virtual {v1, v5}, Lokio/c;->dQ(I)Lokio/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v4}, Lokhttp3/u;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v1, v4}, Lokio/c;->eF(Ljava/lang/String;)Lokio/c;
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {v1}, Lokio/c;->readByteArray()[B
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
aput-object p3, p2, v0
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iget-object p3, p0, Lokhttp3/internal/g/a;->bxP:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p3, p1, p2}, Lokhttp3/internal/g/e;->c(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method protected final b(Ljavax/net/ssl/SSLSocketFactory;)Ljavax/net/ssl/X509TrustManager;
|
|
|
|
.locals 4
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/g/a;->bxL:Ljava/lang/Class;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v1, "sslParameters"
|
|
|
|
|
|
|
|
invoke-static {p1, v0, v1}, Lokhttp3/internal/g/a;->a(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "com.google.android.gms.org.conscrypt.SSLParametersImpl"
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-static {v0, v2, v3}, Ljava/lang/Class;->forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {p1, v0, v1}, Lokhttp3/internal/g/a;->a(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
invoke-super {p0, p1}, Lokhttp3/internal/g/f;->b(Ljavax/net/ssl/SSLSocketFactory;)Ljavax/net/ssl/X509TrustManager;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
const-class p1, Ljavax/net/ssl/X509TrustManager;
|
|
|
|
|
|
|
|
const-string v1, "x509TrustManager"
|
|
|
|
|
|
|
|
invoke-static {v0, p1, v1}, Lokhttp3/internal/g/a;->a(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, Ljavax/net/ssl/X509TrustManager;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-class p1, Ljavax/net/ssl/X509TrustManager;
|
|
|
|
|
|
|
|
const-string v1, "trustManager"
|
|
|
|
|
|
|
|
invoke-static {v0, p1, v1}, Lokhttp3/internal/g/a;->a(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, Ljavax/net/ssl/X509TrustManager;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final b(Ljavax/net/ssl/X509TrustManager;)Lokhttp3/internal/i/c;
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "android.net.http.X509TrustManagerExtensions"
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
new-array v2, v1, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
const-class v3, Ljavax/net/ssl/X509TrustManager;
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
new-array v3, v1, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
aput-object p1, v3, v4
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v3, "checkServerTrusted"
|
|
|
|
|
|
|
|
const/4 v5, 0x3
|
|
|
|
|
|
|
|
new-array v5, v5, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
const-class v6, [Ljava/security/cert/X509Certificate;
|
|
|
|
|
|
|
|
aput-object v6, v5, v4
|
|
|
|
|
|
|
|
const-class v4, Ljava/lang/String;
|
|
|
|
|
|
|
|
aput-object v4, v5, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x2
|
|
|
|
|
|
|
|
const-class v4, Ljava/lang/String;
|
|
|
|
|
|
|
|
aput-object v4, v5, v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3, v5}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v1, Lokhttp3/internal/g/a$a;
|
|
|
|
|
|
|
|
invoke-direct {v1, v2, v0}, Lokhttp3/internal/g/a$a;-><init>(Ljava/lang/Object;Ljava/lang/reflect/Method;)V
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
invoke-super {p0, p1}, Lokhttp3/internal/g/f;->b(Ljavax/net/ssl/X509TrustManager;)Lokhttp3/internal/i/c;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final c(Ljavax/net/ssl/X509TrustManager;)Lokhttp3/internal/i/e;
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "findTrustAnchorByIssuerAndSignature"
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
new-array v3, v2, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const-class v5, Ljava/security/cert/X509Certificate;
|
|
|
|
|
|
|
|
aput-object v5, v3, v4
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v3}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/reflect/Method;->setAccessible(Z)V
|
|
|
|
|
|
|
|
new-instance v1, Lokhttp3/internal/g/a$b;
|
|
|
|
|
|
|
|
invoke-direct {v1, p1, v0}, Lokhttp3/internal/g/a$b;-><init>(Ljavax/net/ssl/X509TrustManager;Ljava/lang/reflect/Method;)V
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
invoke-super {p0, p1}, Lokhttp3/internal/g/f;->c(Ljavax/net/ssl/X509TrustManager;)Lokhttp3/internal/i/e;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final e(Ljavax/net/ssl/SSLSocket;)Ljava/lang/String;
|
|
|
|
.locals 3
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/g/a;->bxO:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {v0, p1}, Lokhttp3/internal/g/e;->bD(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:cond_1
|
2019-07-29 20:14:17 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/g/a;->bxO:Lokhttp3/internal/g/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1, v2}, Lokhttp3/internal/g/e;->c(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, [B
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/String;
|
|
|
|
|
|
|
|
sget-object v1, Lokhttp3/internal/c;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
|
|
|
|
invoke-direct {v0, p1, v1}, Ljava/lang/String;-><init>([BLjava/nio/charset/Charset;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-object v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final eB(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/g/a;->bxQ:Lokhttp3/internal/g/a$c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lokhttp3/internal/g/a$c;->eC(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final isCleartextTrafficPermitted(Ljava/lang/String;)Z
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "android.security.NetworkSecurityPolicy"
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "getInstance"
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
new-array v3, v2, [Ljava/lang/Class;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, v0, v1}, Lokhttp3/internal/g/a;->a(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_3
|
|
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_3
|
|
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_2
|
|
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_2
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const-string v0, "unable to determine cleartext support"
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lokhttp3/internal/c;->a(Ljava/lang/String;Ljava/lang/Exception;)Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:catch_3
|
|
|
|
invoke-super {p0, p1}, Lokhttp3/internal/g/f;->isCleartextTrafficPermitted(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final t(Ljava/lang/String;Ljava/lang/Object;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-07-29 20:14:17 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/g/a;->bxQ:Lokhttp3/internal/g/a$c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Lokhttp3/internal/g/a$c;->bC(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x5
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p2, p1, v0}, Lokhttp3/internal/g/a;->a(ILjava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|