apkfuckery/com.discord/smali/okhttp3/k.smali

561 lines
11 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lokhttp3/k;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "ConnectionSpec.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/k$a;
}
.end annotation
# static fields
2019-02-17 00:24:05 +00:00
.field private static final bkb:[Lokhttp3/h;
2019-02-04 20:20:43 +00:00
2019-02-17 00:24:05 +00:00
.field private static final bkc:[Lokhttp3/h;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
.field public static final bkd:Lokhttp3/k;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
.field public static final bke:Lokhttp3/k;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
.field public static final bkf:Lokhttp3/k;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
.field public static final bkg:Lokhttp3/k;
2019-02-04 20:08:30 +00:00
# instance fields
2019-02-17 00:24:05 +00:00
.field final bkh:Z
2019-02-14 22:50:29 +00:00
2019-02-17 00:24:05 +00:00
.field public final bki:Z
2019-02-14 22:50:29 +00:00
2019-02-17 00:24:05 +00:00
.field final bkj:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-02-17 00:24:05 +00:00
.field final bkk:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
2019-02-17 00:24:05 +00:00
.locals 9
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
const/4 v0, 0x6
2019-02-04 20:08:30 +00:00
new-array v1, v0, [Lokhttp3/h;
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjH:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
const/4 v3, 0x0
aput-object v2, v1, v3
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjL:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
const/4 v4, 0x1
aput-object v2, v1, v4
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjI:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
const/4 v5, 0x2
aput-object v2, v1, v5
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjM:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
const/4 v6, 0x3
aput-object v2, v1, v6
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjS:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
const/4 v7, 0x4
aput-object v2, v1, v7
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjR:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
const/4 v8, 0x5
aput-object v2, v1, v8
2019-02-17 00:24:05 +00:00
sput-object v1, Lokhttp3/k;->bkb:[Lokhttp3/h;
2019-02-06 20:30:57 +00:00
2019-02-17 00:24:05 +00:00
const/16 v1, 0xd
2019-02-04 20:08:30 +00:00
new-array v1, v1, [Lokhttp3/h;
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjH:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v3
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjL:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v4
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjI:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v5
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjM:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v6
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjS:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v7
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjR:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v8
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/h;->bjs:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v0
2019-02-17 00:24:05 +00:00
sget-object v0, Lokhttp3/h;->bjt:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
const/4 v2, 0x7
2019-02-04 20:08:30 +00:00
aput-object v0, v1, v2
2019-02-17 00:24:05 +00:00
sget-object v0, Lokhttp3/h;->biQ:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
const/16 v2, 0x8
2019-02-04 20:08:30 +00:00
aput-object v0, v1, v2
2019-02-17 00:24:05 +00:00
sget-object v0, Lokhttp3/h;->biR:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
const/16 v2, 0x9
2019-02-04 20:08:30 +00:00
aput-object v0, v1, v2
2019-02-17 00:24:05 +00:00
sget-object v0, Lokhttp3/h;->bio:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
const/16 v2, 0xa
2019-02-04 20:08:30 +00:00
aput-object v0, v1, v2
2019-02-17 00:24:05 +00:00
sget-object v0, Lokhttp3/h;->bis:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
const/16 v2, 0xb
2019-02-04 20:08:30 +00:00
aput-object v0, v1, v2
2019-02-17 00:24:05 +00:00
sget-object v0, Lokhttp3/h;->bhS:Lokhttp3/h;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
const/16 v2, 0xc
2019-02-04 20:08:30 +00:00
aput-object v0, v1, v2
2019-02-17 00:24:05 +00:00
sput-object v1, Lokhttp3/k;->bkc:[Lokhttp3/h;
2019-02-04 20:08:30 +00:00
new-instance v0, Lokhttp3/k$a;
invoke-direct {v0, v4}, Lokhttp3/k$a;-><init>(Z)V
2019-02-17 00:24:05 +00:00
sget-object v1, Lokhttp3/k;->bkb:[Lokhttp3/h;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Lokhttp3/k$a;->a([Lokhttp3/h;)Lokhttp3/k$a;
move-result-object v0
2019-02-17 00:24:05 +00:00
new-array v1, v4, [Lokhttp3/z;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/z;->bmy:Lokhttp3/z;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v3
invoke-virtual {v0, v1}, Lokhttp3/k$a;->a([Lokhttp3/z;)Lokhttp3/k$a;
move-result-object v0
2019-02-06 20:30:57 +00:00
invoke-virtual {v0}, Lokhttp3/k$a;->zV()Lokhttp3/k$a;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-06 20:30:57 +00:00
invoke-virtual {v0}, Lokhttp3/k$a;->zW()Lokhttp3/k;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-17 00:24:05 +00:00
sput-object v0, Lokhttp3/k;->bkd:Lokhttp3/k;
2019-02-04 20:08:30 +00:00
new-instance v0, Lokhttp3/k$a;
invoke-direct {v0, v4}, Lokhttp3/k$a;-><init>(Z)V
2019-02-17 00:24:05 +00:00
sget-object v1, Lokhttp3/k;->bkc:[Lokhttp3/h;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Lokhttp3/k$a;->a([Lokhttp3/h;)Lokhttp3/k$a;
move-result-object v0
2019-02-17 00:24:05 +00:00
new-array v1, v6, [Lokhttp3/z;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/z;->bmy:Lokhttp3/z;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v3
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/z;->bmz:Lokhttp3/z;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v4
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/z;->bmA:Lokhttp3/z;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v5
invoke-virtual {v0, v1}, Lokhttp3/k$a;->a([Lokhttp3/z;)Lokhttp3/k$a;
move-result-object v0
2019-02-06 20:30:57 +00:00
invoke-virtual {v0}, Lokhttp3/k$a;->zV()Lokhttp3/k$a;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-06 20:30:57 +00:00
invoke-virtual {v0}, Lokhttp3/k$a;->zW()Lokhttp3/k;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-17 00:24:05 +00:00
sput-object v0, Lokhttp3/k;->bke:Lokhttp3/k;
2019-02-04 20:08:30 +00:00
new-instance v0, Lokhttp3/k$a;
2019-02-17 00:24:05 +00:00
sget-object v1, Lokhttp3/k;->bke:Lokhttp3/k;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
invoke-direct {v0, v1}, Lokhttp3/k$a;-><init>(Lokhttp3/k;)V
2019-02-04 20:08:30 +00:00
new-array v1, v4, [Lokhttp3/z;
2019-02-17 00:24:05 +00:00
sget-object v2, Lokhttp3/z;->bmA:Lokhttp3/z;
2019-02-04 20:08:30 +00:00
aput-object v2, v1, v3
invoke-virtual {v0, v1}, Lokhttp3/k$a;->a([Lokhttp3/z;)Lokhttp3/k$a;
move-result-object v0
2019-02-06 20:30:57 +00:00
invoke-virtual {v0}, Lokhttp3/k$a;->zV()Lokhttp3/k$a;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-06 20:30:57 +00:00
invoke-virtual {v0}, Lokhttp3/k$a;->zW()Lokhttp3/k;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-17 00:24:05 +00:00
sput-object v0, Lokhttp3/k;->bkf:Lokhttp3/k;
2019-02-04 20:08:30 +00:00
new-instance v0, Lokhttp3/k$a;
invoke-direct {v0, v3}, Lokhttp3/k$a;-><init>(Z)V
2019-02-06 20:30:57 +00:00
invoke-virtual {v0}, Lokhttp3/k$a;->zW()Lokhttp3/k;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-17 00:24:05 +00:00
sput-object v0, Lokhttp3/k;->bkg:Lokhttp3/k;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method constructor <init>(Lokhttp3/k$a;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-02-17 00:24:05 +00:00
iget-boolean v0, p1, Lokhttp3/k$a;->bkh:Z
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iput-boolean v0, p0, Lokhttp3/k;->bkh:Z
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iget-object v0, p1, Lokhttp3/k$a;->bkj:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iput-object v0, p0, Lokhttp3/k;->bkj:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iget-object v0, p1, Lokhttp3/k$a;->bkk:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iput-object v0, p0, Lokhttp3/k;->bkk:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iget-boolean p1, p1, Lokhttp3/k$a;->bki:Z
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iput-boolean p1, p0, Lokhttp3/k;->bki:Z
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
.method public final b(Ljavax/net/ssl/SSLSocket;)Z
.locals 4
2019-02-17 00:24:05 +00:00
iget-boolean v0, p0, Lokhttp3/k;->bkh:Z
2019-02-04 20:08:30 +00:00
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
2019-02-17 00:24:05 +00:00
iget-object v0, p0, Lokhttp3/k;->bkk:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_1
2019-02-17 00:24:05 +00:00
sget-object v0, Lokhttp3/internal/c;->aPy:Ljava/util/Comparator;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iget-object v2, p0, Lokhttp3/k;->bkk:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
invoke-virtual {p1}, Ljavax/net/ssl/SSLSocket;->getEnabledProtocols()[Ljava/lang/String;
move-result-object v3
invoke-static {v0, v2, v3}, Lokhttp3/internal/c;->b(Ljava/util/Comparator;[Ljava/lang/String;[Ljava/lang/String;)Z
move-result v0
if-nez v0, :cond_1
return v1
:cond_1
2019-02-17 00:24:05 +00:00
iget-object v0, p0, Lokhttp3/k;->bkj:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_2
2019-02-17 00:24:05 +00:00
sget-object v0, Lokhttp3/h;->bhJ:Ljava/util/Comparator;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iget-object v2, p0, Lokhttp3/k;->bkj:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
invoke-virtual {p1}, Ljavax/net/ssl/SSLSocket;->getEnabledCipherSuites()[Ljava/lang/String;
move-result-object p1
invoke-static {v0, v2, p1}, Lokhttp3/internal/c;->b(Ljava/util/Comparator;[Ljava/lang/String;[Ljava/lang/String;)Z
move-result p1
if-nez p1, :cond_2
return v1
:cond_2
const/4 p1, 0x1
return p1
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 4
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
instance-of v0, p1, Lokhttp3/k;
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
const/4 v0, 0x1
if-ne p1, p0, :cond_1
return v0
:cond_1
check-cast p1, Lokhttp3/k;
2019-02-17 00:24:05 +00:00
iget-boolean v2, p0, Lokhttp3/k;->bkh:Z
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iget-boolean v3, p1, Lokhttp3/k;->bkh:Z
2019-02-04 20:08:30 +00:00
if-eq v2, v3, :cond_2
return v1
:cond_2
if-eqz v2, :cond_5
2019-02-17 00:24:05 +00:00
iget-object v2, p0, Lokhttp3/k;->bkj:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iget-object v3, p1, Lokhttp3/k;->bkj:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
invoke-static {v2, v3}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_3
return v1
:cond_3
2019-02-17 00:24:05 +00:00
iget-object v2, p0, Lokhttp3/k;->bkk:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iget-object v3, p1, Lokhttp3/k;->bkk:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
invoke-static {v2, v3}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_4
return v1
:cond_4
2019-02-17 00:24:05 +00:00
iget-boolean v2, p0, Lokhttp3/k;->bki:Z
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
iget-boolean p1, p1, Lokhttp3/k;->bki:Z
2019-02-04 20:08:30 +00:00
if-eq v2, p1, :cond_5
return v1
:cond_5
return v0
.end method
.method public final hashCode()I
.locals 2
2019-02-17 00:24:05 +00:00
iget-boolean v0, p0, Lokhttp3/k;->bkh:Z
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_0
2019-02-17 00:24:05 +00:00
iget-object v0, p0, Lokhttp3/k;->bkj:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
invoke-static {v0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
move-result v0
add-int/lit16 v0, v0, 0x20f
mul-int/lit8 v0, v0, 0x1f
2019-02-17 00:24:05 +00:00
iget-object v1, p0, Lokhttp3/k;->bkk:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
invoke-static {v1}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
2019-02-17 00:24:05 +00:00
iget-boolean v1, p0, Lokhttp3/k;->bki:Z
2019-02-04 20:08:30 +00:00
xor-int/lit8 v1, v1, 0x1
add-int/2addr v0, v1
goto :goto_0
:cond_0
const/16 v0, 0x11
:goto_0
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 4
2019-02-17 00:24:05 +00:00
iget-boolean v0, p0, Lokhttp3/k;->bkh:Z
2019-02-04 20:08:30 +00:00
if-nez v0, :cond_0
const-string v0, "ConnectionSpec()"
return-object v0
:cond_0
2019-02-17 00:24:05 +00:00
iget-object v0, p0, Lokhttp3/k;->bkj:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
const/4 v1, 0x0
if-eqz v0, :cond_2
if-eqz v0, :cond_1
2019-02-04 20:32:01 +00:00
invoke-static {v0}, Lokhttp3/h;->b([Ljava/lang/String;)Ljava/util/List;
2019-02-04 20:08:30 +00:00
move-result-object v0
goto :goto_0
:cond_1
move-object v0, v1
:goto_0
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
goto :goto_1
:cond_2
const-string v0, "[all enabled]"
:goto_1
2019-02-17 00:24:05 +00:00
iget-object v2, p0, Lokhttp3/k;->bkk:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
if-eqz v2, :cond_4
if-eqz v2, :cond_3
2019-02-04 20:32:01 +00:00
invoke-static {v2}, Lokhttp3/z;->b([Ljava/lang/String;)Ljava/util/List;
2019-02-04 20:08:30 +00:00
move-result-object v1
:cond_3
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
goto :goto_2
:cond_4
const-string v1, "[all enabled]"
:goto_2
new-instance v2, Ljava/lang/StringBuilder;
const-string v3, "ConnectionSpec(cipherSuites="
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, ", tlsVersions="
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, ", supportsTlsExtensions="
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-17 00:24:05 +00:00
iget-boolean v0, p0, Lokhttp3/k;->bki:Z
2019-02-04 20:08:30 +00:00
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
const-string v0, ")"
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method