apkfuckery/com.discord/smali_classes2/c0/k.smali

707 lines
13 KiB
Smali
Raw Normal View History

2020-03-27 22:23:51 +00:00
.class public final Lc0/k;
2020-02-20 19:33:18 +00:00
.super Ljava/lang/Object;
.source "ConnectionSpec.kt"
2019-12-21 01:41:59 +00:00
# annotations
2020-02-20 19:33:18 +00:00
.annotation system Ldalvik/annotation/MemberClasses;
2019-12-21 01:41:59 +00:00
value = {
2020-03-27 22:23:51 +00:00
Lc0/k$a;
2019-12-21 01:41:59 +00:00
}
.end annotation
2020-02-20 19:33:18 +00:00
# static fields
2020-03-27 22:23:51 +00:00
.field public static final e:[Lc0/h;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
.field public static final f:[Lc0/h;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
.field public static final g:Lc0/k;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
.field public static final h:Lc0/k;
2020-02-20 19:33:18 +00:00
2019-12-21 01:41:59 +00:00
# instance fields
2020-02-20 19:33:18 +00:00
.field public final a:Z
.field public final b:Z
.field public final c:[Ljava/lang/String;
.field public final d:[Ljava/lang/String;
2019-12-21 01:41:59 +00:00
# direct methods
2020-02-20 19:33:18 +00:00
.method public static constructor <clinit>()V
.locals 12
const/16 v0, 0x9
2020-03-27 22:23:51 +00:00
new-array v1, v0, [Lc0/h;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->q:Lc0/h;
2020-02-20 19:33:18 +00:00
const/4 v3, 0x0
aput-object v2, v1, v3
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->r:Lc0/h;
2020-02-20 19:33:18 +00:00
const/4 v4, 0x1
aput-object v2, v1, v4
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->s:Lc0/h;
2020-02-20 19:33:18 +00:00
const/4 v5, 0x2
aput-object v2, v1, v5
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->k:Lc0/h;
2020-02-20 19:33:18 +00:00
const/4 v6, 0x3
aput-object v2, v1, v6
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->m:Lc0/h;
2020-02-20 19:33:18 +00:00
const/4 v7, 0x4
aput-object v2, v1, v7
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->l:Lc0/h;
2020-02-20 19:33:18 +00:00
const/4 v8, 0x5
aput-object v2, v1, v8
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->n:Lc0/h;
2020-02-20 19:33:18 +00:00
const/4 v9, 0x6
aput-object v2, v1, v9
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->p:Lc0/h;
2020-02-20 19:33:18 +00:00
const/4 v10, 0x7
aput-object v2, v1, v10
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->o:Lc0/h;
2020-02-20 19:33:18 +00:00
const/16 v11, 0x8
aput-object v2, v1, v11
2020-03-27 22:23:51 +00:00
sput-object v1, Lc0/k;->e:[Lc0/h;
2020-02-20 19:33:18 +00:00
const/16 v1, 0x10
2020-03-27 22:23:51 +00:00
new-array v1, v1, [Lc0/h;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->q:Lc0/h;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v3
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->r:Lc0/h;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v4
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->s:Lc0/h;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v5
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->k:Lc0/h;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v6
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->m:Lc0/h;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v7
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->l:Lc0/h;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v8
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->n:Lc0/h;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v9
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->p:Lc0/h;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v10
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->o:Lc0/h;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v11
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->i:Lc0/h;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v0
2020-03-27 22:23:51 +00:00
sget-object v0, Lc0/h;->j:Lc0/h;
2020-02-20 19:33:18 +00:00
const/16 v2, 0xa
aput-object v0, v1, v2
2020-03-27 22:23:51 +00:00
sget-object v0, Lc0/h;->g:Lc0/h;
2020-02-20 19:33:18 +00:00
const/16 v2, 0xb
aput-object v0, v1, v2
2020-03-27 22:23:51 +00:00
sget-object v0, Lc0/h;->h:Lc0/h;
2020-02-20 19:33:18 +00:00
const/16 v2, 0xc
aput-object v0, v1, v2
2020-03-27 22:23:51 +00:00
sget-object v0, Lc0/h;->e:Lc0/h;
2020-02-20 19:33:18 +00:00
const/16 v2, 0xd
aput-object v0, v1, v2
2020-03-27 22:23:51 +00:00
sget-object v0, Lc0/h;->f:Lc0/h;
2020-02-20 19:33:18 +00:00
const/16 v2, 0xe
aput-object v0, v1, v2
2020-03-27 22:23:51 +00:00
sget-object v0, Lc0/h;->d:Lc0/h;
2020-02-20 19:33:18 +00:00
const/16 v2, 0xf
aput-object v0, v1, v2
2020-03-27 22:23:51 +00:00
sput-object v1, Lc0/k;->f:[Lc0/h;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
new-instance v0, Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v0, v4}, Lc0/k$a;-><init>(Z)V
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
sget-object v1, Lc0/k;->e:[Lc0/h;
2020-02-20 19:33:18 +00:00
array-length v2, v1
invoke-static {v1, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object v1
2020-03-27 22:23:51 +00:00
check-cast v1, [Lc0/h;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v0, v1}, Lc0/k$a;->a([Lc0/h;)Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
new-array v1, v5, [Lc0/b0;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/b0;->d:Lc0/b0;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v3
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/b0;->e:Lc0/b0;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v4
2020-03-27 22:23:51 +00:00
invoke-virtual {v0, v1}, Lc0/k$a;->a([Lc0/b0;)Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v0, v4}, Lc0/k$a;->a(Z)Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v0}, Lc0/k$a;->a()Lc0/k;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
new-instance v0, Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v0, v4}, Lc0/k$a;-><init>(Z)V
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
sget-object v1, Lc0/k;->f:[Lc0/h;
2020-02-20 19:33:18 +00:00
array-length v2, v1
invoke-static {v1, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object v1
2020-03-27 22:23:51 +00:00
check-cast v1, [Lc0/h;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v0, v1}, Lc0/k$a;->a([Lc0/h;)Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
new-array v1, v5, [Lc0/b0;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/b0;->d:Lc0/b0;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v3
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/b0;->e:Lc0/b0;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v4
2020-03-27 22:23:51 +00:00
invoke-virtual {v0, v1}, Lc0/k$a;->a([Lc0/b0;)Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v0, v4}, Lc0/k$a;->a(Z)Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v0}, Lc0/k$a;->a()Lc0/k;
2020-02-20 19:33:18 +00:00
move-result-object v0
2020-03-27 22:23:51 +00:00
sput-object v0, Lc0/k;->g:Lc0/k;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
new-instance v0, Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v0, v4}, Lc0/k$a;-><init>(Z)V
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
sget-object v1, Lc0/k;->f:[Lc0/h;
2020-02-20 19:33:18 +00:00
array-length v2, v1
invoke-static {v1, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object v1
2020-03-27 22:23:51 +00:00
check-cast v1, [Lc0/h;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v0, v1}, Lc0/k$a;->a([Lc0/h;)Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
new-array v1, v7, [Lc0/b0;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/b0;->d:Lc0/b0;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v3
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/b0;->e:Lc0/b0;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v4
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/b0;->f:Lc0/b0;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v5
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/b0;->g:Lc0/b0;
2020-02-20 19:33:18 +00:00
aput-object v2, v1, v6
2020-03-27 22:23:51 +00:00
invoke-virtual {v0, v1}, Lc0/k$a;->a([Lc0/b0;)Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v0, v4}, Lc0/k$a;->a(Z)Lc0/k$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v0}, Lc0/k$a;->a()Lc0/k;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
new-instance v0, Lc0/k;
2020-02-20 19:33:18 +00:00
const/4 v1, 0x0
2020-03-27 22:23:51 +00:00
invoke-direct {v0, v3, v3, v1, v1}, Lc0/k;-><init>(ZZ[Ljava/lang/String;[Ljava/lang/String;)V
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
sput-object v0, Lc0/k;->h:Lc0/k;
2020-02-20 19:33:18 +00:00
return-void
.end method
.method public constructor <init>(ZZ[Ljava/lang/String;[Ljava/lang/String;)V
2019-12-21 01:41:59 +00:00
.locals 0
2020-02-20 19:33:18 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-03-27 22:23:51 +00:00
iput-boolean p1, p0, Lc0/k;->a:Z
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
iput-boolean p2, p0, Lc0/k;->b:Z
2019-12-21 01:41:59 +00:00
2020-03-27 22:23:51 +00:00
iput-object p3, p0, Lc0/k;->c:[Ljava/lang/String;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
iput-object p4, p0, Lc0/k;->d:[Ljava/lang/String;
2019-12-21 01:41:59 +00:00
return-void
.end method
# virtual methods
2020-02-20 19:33:18 +00:00
.method public final a()Ljava/util/List;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
2020-03-27 22:23:51 +00:00
"Lc0/h;",
2020-02-20 19:33:18 +00:00
">;"
}
.end annotation
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lc0/k;->c:[Ljava/lang/String;
2020-02-20 19:33:18 +00:00
if-eqz v0, :cond_1
new-instance v1, Ljava/util/ArrayList;
array-length v2, v0
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
array-length v2, v0
const/4 v3, 0x0
:goto_0
if-ge v3, v2, :cond_0
aget-object v4, v0, v3
2020-03-27 22:23:51 +00:00
sget-object v5, Lc0/h;->t:Lc0/h$b;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v5, v4}, Lc0/h$b;->a(Ljava/lang/String;)Lc0/h;
2020-02-20 19:33:18 +00:00
move-result-object v4
invoke-interface {v1, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_0
2020-03-27 22:23:51 +00:00
invoke-static {v1}, Ly/q/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
2020-02-20 19:33:18 +00:00
move-result-object v0
goto :goto_1
:cond_1
const/4 v0, 0x0
:goto_1
return-object v0
.end method
.method public final a(Ljavax/net/ssl/SSLSocket;)Z
2019-12-21 01:41:59 +00:00
.locals 4
2020-02-20 19:33:18 +00:00
2020-03-14 04:13:36 +00:00
if-eqz p1, :cond_4
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
iget-boolean v0, p0, Lc0/k;->a:Z
2020-02-20 19:33:18 +00:00
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lc0/k;->d:[Ljava/lang/String;
2020-02-20 19:33:18 +00:00
2020-03-14 04:13:36 +00:00
if-eqz v0, :cond_2
2020-02-20 19:33:18 +00:00
invoke-virtual {p1}, Ljavax/net/ssl/SSLSocket;->getEnabledProtocols()[Ljava/lang/String;
move-result-object v2
2020-03-27 22:23:51 +00:00
sget-object v3, Ly/r/c;->d:Ly/r/c;
2020-02-20 19:33:18 +00:00
2020-03-14 04:13:36 +00:00
if-eqz v3, :cond_1
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-static {v0, v2, v3}, Lc0/c0/a;->a([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)Z
2020-02-20 19:33:18 +00:00
move-result v0
2020-03-14 04:13:36 +00:00
if-nez v0, :cond_2
2020-02-20 19:33:18 +00:00
return v1
:cond_1
2020-03-27 22:23:51 +00:00
new-instance p1, Ly/l;
2020-03-14 04:13:36 +00:00
const-string v0, "null cannot be cast to non-null type kotlin.Comparator<T> /* = java.util.Comparator<T> */"
2020-03-27 22:23:51 +00:00
invoke-direct {p1, v0}, Ly/l;-><init>(Ljava/lang/String;)V
2020-03-14 04:13:36 +00:00
throw p1
:cond_2
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lc0/k;->c:[Ljava/lang/String;
2020-02-20 19:33:18 +00:00
2020-03-14 04:13:36 +00:00
if-eqz v0, :cond_3
2020-02-20 19:33:18 +00:00
invoke-virtual {p1}, Ljavax/net/ssl/SSLSocket;->getEnabledCipherSuites()[Ljava/lang/String;
move-result-object p1
2020-03-27 22:23:51 +00:00
sget-object v2, Lc0/h;->t:Lc0/h$b;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v2}, Lc0/h$b;->a()Ljava/util/Comparator;
2020-02-20 19:33:18 +00:00
move-result-object v2
2020-03-27 22:23:51 +00:00
invoke-static {v0, p1, v2}, Lc0/c0/a;->a([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)Z
2020-02-20 19:33:18 +00:00
move-result p1
2020-03-14 04:13:36 +00:00
if-nez p1, :cond_3
2020-02-20 19:33:18 +00:00
return v1
2020-03-14 04:13:36 +00:00
:cond_3
2020-02-20 19:33:18 +00:00
const/4 p1, 0x1
return p1
2020-03-14 04:13:36 +00:00
:cond_4
2020-02-20 19:33:18 +00:00
const-string p1, "socket"
2020-03-27 22:23:51 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2020-02-20 19:33:18 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public final b()Ljava/util/List;
.locals 6
.annotation system Ldalvik/annotation/Signature;
2019-12-21 01:41:59 +00:00
value = {
2020-02-20 19:33:18 +00:00
"()",
"Ljava/util/List<",
2020-03-27 22:23:51 +00:00
"Lc0/b0;",
2020-02-20 19:33:18 +00:00
">;"
2019-12-21 01:41:59 +00:00
}
.end annotation
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lc0/k;->d:[Ljava/lang/String;
2019-12-21 01:41:59 +00:00
2020-02-20 19:33:18 +00:00
if-eqz v0, :cond_1
new-instance v1, Ljava/util/ArrayList;
array-length v2, v0
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
array-length v2, v0
const/4 v3, 0x0
:goto_0
if-ge v3, v2, :cond_0
aget-object v4, v0, v3
2020-03-27 22:23:51 +00:00
sget-object v5, Lc0/b0;->j:Lc0/b0$a;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
invoke-virtual {v5, v4}, Lc0/b0$a;->a(Ljava/lang/String;)Lc0/b0;
2020-02-20 19:33:18 +00:00
move-result-object v4
invoke-interface {v1, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
add-int/lit8 v3, v3, 0x1
goto :goto_0
2019-12-21 01:41:59 +00:00
:cond_0
2020-03-27 22:23:51 +00:00
invoke-static {v1}, Ly/q/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
2020-02-20 19:33:18 +00:00
move-result-object v0
goto :goto_1
:cond_1
2019-12-21 01:41:59 +00:00
const/4 v0, 0x0
2020-02-20 19:33:18 +00:00
:goto_1
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 4
2020-03-27 22:23:51 +00:00
instance-of v0, p1, Lc0/k;
2020-02-20 19:33:18 +00:00
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
2020-03-27 22:23:51 +00:00
iget-boolean v2, p0, Lc0/k;->a:Z
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
check-cast p1, Lc0/k;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
iget-boolean v3, p1, Lc0/k;->a:Z
2020-02-20 19:33:18 +00:00
if-eq v2, v3, :cond_2
return v1
:cond_2
if-eqz v2, :cond_5
2020-03-27 22:23:51 +00:00
iget-object v2, p0, Lc0/k;->c:[Ljava/lang/String;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
iget-object v3, p1, Lc0/k;->c:[Ljava/lang/String;
2020-02-20 19:33:18 +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
2020-03-27 22:23:51 +00:00
iget-object v2, p0, Lc0/k;->d:[Ljava/lang/String;
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
iget-object v3, p1, Lc0/k;->d:[Ljava/lang/String;
2020-02-20 19:33:18 +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
2020-03-27 22:23:51 +00:00
iget-boolean v2, p0, Lc0/k;->b:Z
2020-02-20 19:33:18 +00:00
2020-03-27 22:23:51 +00:00
iget-boolean p1, p1, Lc0/k;->b:Z
2020-02-20 19:33:18 +00:00
if-eq v2, p1, :cond_5
return v1
:cond_5
return v0
.end method
.method public hashCode()I
.locals 3
2020-03-27 22:23:51 +00:00
iget-boolean v0, p0, Lc0/k;->a:Z
2020-02-20 19:33:18 +00:00
if-eqz v0, :cond_2
const/16 v0, 0x20f
2020-03-27 22:23:51 +00:00
iget-object v1, p0, Lc0/k;->c:[Ljava/lang/String;
2020-02-20 19:33:18 +00:00
const/4 v2, 0x0
if-eqz v1, :cond_0
invoke-static {v1}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
2019-12-21 01:41:59 +00:00
move-result v1
2020-02-20 19:33:18 +00:00
goto :goto_0
:cond_0
const/4 v1, 0x0
2019-12-21 01:41:59 +00:00
:goto_0
2020-02-20 19:33:18 +00:00
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
2020-03-27 22:23:51 +00:00
iget-object v1, p0, Lc0/k;->d:[Ljava/lang/String;
2020-02-20 19:33:18 +00:00
if-eqz v1, :cond_1
invoke-static {v1}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
move-result v2
:cond_1
add-int/2addr v0, v2
2019-12-21 01:41:59 +00:00
2020-02-20 19:33:18 +00:00
mul-int/lit8 v0, v0, 0x1f
2019-12-21 01:41:59 +00:00
2020-03-27 22:23:51 +00:00
iget-boolean v1, p0, Lc0/k;->b:Z
2020-02-20 19:33:18 +00:00
xor-int/lit8 v1, v1, 0x1
add-int/2addr v0, v1
goto :goto_1
:cond_2
const/16 v0, 0x11
:goto_1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 4
2020-03-27 22:23:51 +00:00
iget-boolean v0, p0, Lc0/k;->a:Z
2020-02-20 19:33:18 +00:00
if-nez v0, :cond_0
const-string v0, "ConnectionSpec()"
return-object v0
:cond_0
const-string v0, "ConnectionSpec("
const-string v1, "cipherSuites="
invoke-static {v0, v1}, Le/e/b/a/a;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
2020-03-27 22:23:51 +00:00
invoke-virtual {p0}, Lc0/k;->a()Ljava/util/List;
2020-02-20 19:33:18 +00:00
move-result-object v1
const-string v2, "[all enabled]"
invoke-static {v1, v2}, Ljava/util/Objects;->toString(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, "tlsVersions="
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-03-27 22:23:51 +00:00
invoke-virtual {p0}, Lc0/k;->b()Ljava/util/List;
2019-12-21 01:41:59 +00:00
move-result-object v3
2020-02-20 19:33:18 +00:00
invoke-static {v3, v2}, Ljava/util/Objects;->toString(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
2019-12-21 01:41:59 +00:00
2020-02-20 19:33:18 +00:00
move-result-object v2
2019-12-21 01:41:59 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-21 01:41:59 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "supportsTlsExtensions="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-03-27 22:23:51 +00:00
iget-boolean v1, p0, Lc0/k;->b:Z
2020-02-20 19:33:18 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
2019-12-21 01:41:59 +00:00
.end method