apkfuckery/com.discord/smali/okhttp3/a.smali

691 lines
16 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lokhttp3/a;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Address.java"
2019-02-04 20:08:30 +00:00
# instance fields
2019-05-04 02:59:52 +00:00
.field public final bkO:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
.field public final bkP:Lokhttp3/o;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
.field public final bkQ:Ljavax/net/SocketFactory;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
.field final bkR:Lokhttp3/b;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
.field public final bkS:Ljava/util/List;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/u;",
">;"
}
.end annotation
.end field
2019-05-04 02:59:52 +00:00
.field public final bkT:Ljava/util/List;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/k;",
">;"
}
.end annotation
.end field
2019-05-04 02:59:52 +00:00
.field public final bkU:Ljava/net/Proxy;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field public final bkV:Lokhttp3/g;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-02-04 20:08:30 +00:00
.field public final hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field public final proxySelector:Ljava/net/ProxySelector;
.field public final sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/String;ILokhttp3/o;Ljavax/net/SocketFactory;Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/HostnameVerifier;Lokhttp3/g;Lokhttp3/b;Ljava/net/Proxy;Ljava/util/List;Ljava/util/List;Ljava/net/ProxySelector;)V
2019-05-03 18:53:54 +00:00
.locals 13
2019-02-04 20:08:30 +00:00
.param p5 # Ljavax/net/ssl/SSLSocketFactory;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.param p6 # Ljavax/net/ssl/HostnameVerifier;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.param p7 # Lokhttp3/g;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.param p9 # Ljava/net/Proxy;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"I",
"Lokhttp3/o;",
"Ljavax/net/SocketFactory;",
"Ljavax/net/ssl/SSLSocketFactory;",
"Ljavax/net/ssl/HostnameVerifier;",
"Lokhttp3/g;",
"Lokhttp3/b;",
"Ljava/net/Proxy;",
"Ljava/util/List<",
"Lokhttp3/u;",
">;",
"Ljava/util/List<",
"Lokhttp3/k;",
">;",
"Ljava/net/ProxySelector;",
")V"
}
.end annotation
2019-05-03 18:53:54 +00:00
move-object v0, p0
move-object v1, p1
move v2, p2
move-object/from16 v3, p3
move-object/from16 v4, p4
move-object/from16 v5, p5
move-object/from16 v6, p8
move-object/from16 v7, p12
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-05-03 18:53:54 +00:00
new-instance v8, Lokhttp3/s$a;
invoke-direct {v8}, Lokhttp3/s$a;-><init>()V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v9, "https"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v10, "http"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eqz v5, :cond_0
move-object v11, v9
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_0
2019-05-03 18:53:54 +00:00
move-object v11, v10
2019-02-04 20:08:30 +00:00
:goto_0
2019-05-03 18:53:54 +00:00
invoke-virtual {v11, v10}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result v12
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eqz v12, :cond_1
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iput-object v10, v8, Lokhttp3/s$a;->boH:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
:cond_1
2019-05-03 18:53:54 +00:00
invoke-virtual {v11, v9}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result v10
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eqz v10, :cond_b
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iput-object v9, v8, Lokhttp3/s$a;->boH:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_1
2019-05-03 18:53:54 +00:00
if-eqz v1, :cond_a
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v9, 0x0
2019-02-04 20:08:30 +00:00
invoke-virtual {p1}, Ljava/lang/String;->length()I
2019-05-03 18:53:54 +00:00
move-result v10
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-static {p1, v9, v10}, Lokhttp3/s$a;->j(Ljava/lang/String;II)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object v9
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eqz v9, :cond_9
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iput-object v9, v8, Lokhttp3/s$a;->boI:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-lez v2, :cond_8
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const v1, 0xffff
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-gt v2, v1, :cond_8
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput v2, v8, Lokhttp3/s$a;->port:I
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {v8}, Lokhttp3/s$a;->Cb()Lokhttp3/s;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iput-object v1, v0, Lokhttp3/a;->bkO:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eqz v3, :cond_7
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iput-object v3, v0, Lokhttp3/a;->bkP:Lokhttp3/o;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eqz v4, :cond_6
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iput-object v4, v0, Lokhttp3/a;->bkQ:Ljavax/net/SocketFactory;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eqz v6, :cond_5
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iput-object v6, v0, Lokhttp3/a;->bkR:Lokhttp3/b;
2019-02-04 20:08:30 +00:00
if-eqz p10, :cond_4
2019-05-03 18:53:54 +00:00
invoke-static/range {p10 .. p10}, Lokhttp3/internal/c;->ad(Ljava/util/List;)Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iput-object v1, v0, Lokhttp3/a;->bkS:Ljava/util/List;
2019-02-04 20:08:30 +00:00
if-eqz p11, :cond_3
2019-05-03 18:53:54 +00:00
invoke-static/range {p11 .. p11}, Lokhttp3/internal/c;->ad(Ljava/util/List;)Ljava/util/List;
move-result-object v1
2019-05-04 02:59:52 +00:00
iput-object v1, v0, Lokhttp3/a;->bkT:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eqz v7, :cond_2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object v7, v0, Lokhttp3/a;->proxySelector:Ljava/net/ProxySelector;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-object/from16 v1, p9
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iput-object v1, v0, Lokhttp3/a;->bkU:Ljava/net/Proxy;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object v5, v0, Lokhttp3/a;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-object/from16 v1, p6
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object v1, v0, Lokhttp3/a;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-object/from16 v1, p7
2019-05-04 02:59:52 +00:00
iput-object v1, v0, Lokhttp3/a;->bkV:Lokhttp3/g;
2019-02-04 20:08:30 +00:00
return-void
:cond_2
2019-05-03 18:53:54 +00:00
new-instance v1, Ljava/lang/NullPointerException;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "proxySelector == null"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v1, v2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw v1
2019-02-04 20:08:30 +00:00
:cond_3
2019-05-03 18:53:54 +00:00
new-instance v1, Ljava/lang/NullPointerException;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "connectionSpecs == null"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v1, v2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw v1
2019-02-04 20:08:30 +00:00
:cond_4
2019-05-03 18:53:54 +00:00
new-instance v1, Ljava/lang/NullPointerException;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "protocols == null"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v1, v2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw v1
2019-02-04 20:08:30 +00:00
:cond_5
2019-05-03 18:53:54 +00:00
new-instance v1, Ljava/lang/NullPointerException;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "proxyAuthenticator == null"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v1, v2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw v1
2019-02-04 20:08:30 +00:00
:cond_6
2019-05-03 18:53:54 +00:00
new-instance v1, Ljava/lang/NullPointerException;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "socketFactory == null"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v1, v2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw v1
2019-02-04 20:08:30 +00:00
:cond_7
2019-05-03 18:53:54 +00:00
new-instance v1, Ljava/lang/NullPointerException;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "dns == null"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v1, v2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw v1
2019-02-04 20:08:30 +00:00
:cond_8
2019-05-03 18:53:54 +00:00
new-instance v1, Ljava/lang/IllegalArgumentException;
2019-02-04 20:08:30 +00:00
invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
2019-05-03 18:53:54 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v3, "unexpected port: "
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v3, v2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw v1
2019-02-04 20:08:30 +00:00
:cond_9
2019-05-03 18:53:54 +00:00
new-instance v2, Ljava/lang/IllegalArgumentException;
2019-02-04 20:08:30 +00:00
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
2019-05-03 18:53:54 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v3, "unexpected host: "
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v3, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v2, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw v2
2019-02-04 20:08:30 +00:00
:cond_a
2019-05-03 18:53:54 +00:00
new-instance v1, Ljava/lang/NullPointerException;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "host == null"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v1, v2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw v1
2019-02-04 20:08:30 +00:00
:cond_b
2019-05-03 18:53:54 +00:00
new-instance v1, Ljava/lang/IllegalArgumentException;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "unexpected scheme: "
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v2, v11}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw v1
2019-02-04 20:08:30 +00:00
.end method
# virtual methods
.method final a(Lokhttp3/a;)Z
.locals 2
2019-05-04 02:59:52 +00:00
iget-object v0, p0, Lokhttp3/a;->bkP:Lokhttp3/o;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iget-object v1, p1, Lokhttp3/a;->bkP:Lokhttp3/o;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
2019-05-04 02:59:52 +00:00
iget-object v0, p0, Lokhttp3/a;->bkR:Lokhttp3/b;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iget-object v1, p1, Lokhttp3/a;->bkR:Lokhttp3/b;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
2019-05-04 02:59:52 +00:00
iget-object v0, p0, Lokhttp3/a;->bkS:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iget-object v1, p1, Lokhttp3/a;->bkS:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v0, v1}, Ljava/util/List;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
2019-05-04 02:59:52 +00:00
iget-object v0, p0, Lokhttp3/a;->bkT:Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iget-object v1, p1, Lokhttp3/a;->bkT:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v0, v1}, Ljava/util/List;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lokhttp3/a;->proxySelector:Ljava/net/ProxySelector;
iget-object v1, p1, Lokhttp3/a;->proxySelector:Ljava/net/ProxySelector;
invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
2019-05-04 02:59:52 +00:00
iget-object v0, p0, Lokhttp3/a;->bkU:Ljava/net/Proxy;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iget-object v1, p1, Lokhttp3/a;->bkU:Ljava/net/Proxy;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-static {v0, v1}, Lokhttp3/internal/c;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lokhttp3/a;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
iget-object v1, p1, Lokhttp3/a;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
2019-02-27 21:13:14 +00:00
invoke-static {v0, v1}, Lokhttp3/internal/c;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lokhttp3/a;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
iget-object v1, p1, Lokhttp3/a;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
2019-02-27 21:13:14 +00:00
invoke-static {v0, v1}, Lokhttp3/internal/c;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
move-result v0
if-eqz v0, :cond_0
2019-05-04 02:59:52 +00:00
iget-object v0, p0, Lokhttp3/a;->bkV:Lokhttp3/g;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iget-object v1, p1, Lokhttp3/a;->bkV:Lokhttp3/g;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-static {v0, v1}, Lokhttp3/internal/c;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
move-result v0
if-eqz v0, :cond_0
2019-05-04 02:59:52 +00:00
iget-object v0, p0, Lokhttp3/a;->bkO:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
iget v0, v0, Lokhttp3/s;->port:I
2019-05-04 02:59:52 +00:00
iget-object p1, p1, Lokhttp3/a;->bkO:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
iget p1, p1, Lokhttp3/s;->port:I
if-ne v0, p1, :cond_0
const/4 p1, 0x1
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 2
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
instance-of v0, p1, Lokhttp3/a;
if-eqz v0, :cond_0
2019-05-04 02:59:52 +00:00
iget-object v0, p0, Lokhttp3/a;->bkO:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
check-cast p1, Lokhttp3/a;
2019-05-04 02:59:52 +00:00
iget-object v1, p1, Lokhttp3/a;->bkO:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Lokhttp3/s;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0, p1}, Lokhttp3/a;->a(Lokhttp3/a;)Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public final hashCode()I
2019-02-27 21:13:14 +00:00
.locals 3
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iget-object v0, p0, Lokhttp3/a;->bkO:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, Lokhttp3/s;->hashCode()I
move-result v0
add-int/lit16 v0, v0, 0x20f
mul-int/lit8 v0, v0, 0x1f
2019-05-04 02:59:52 +00:00
iget-object v1, p0, Lokhttp3/a;->bkP:Lokhttp3/o;
2019-02-04 20:08:30 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
2019-05-04 02:59:52 +00:00
iget-object v1, p0, Lokhttp3/a;->bkR:Lokhttp3/b;
2019-02-04 20:08:30 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
2019-05-04 02:59:52 +00:00
iget-object v1, p0, Lokhttp3/a;->bkS:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1}, Ljava/util/List;->hashCode()I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
2019-05-04 02:59:52 +00:00
iget-object v1, p0, Lokhttp3/a;->bkT:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1}, Ljava/util/List;->hashCode()I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lokhttp3/a;->proxySelector:Ljava/net/ProxySelector;
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
2019-05-04 02:59:52 +00:00
iget-object v1, p0, Lokhttp3/a;->bkU:Ljava/net/Proxy;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const/4 v2, 0x0
if-eqz v1, :cond_0
invoke-virtual {v1}, Ljava/net/Proxy;->hashCode()I
2019-02-04 20:08:30 +00:00
move-result v1
2019-02-27 21:13:14 +00:00
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
2019-02-04 20:08:30 +00:00
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lokhttp3/a;->sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
2019-02-27 21:13:14 +00:00
if-eqz v1, :cond_1
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
2019-02-04 20:08:30 +00:00
move-result v1
2019-02-27 21:13:14 +00:00
goto :goto_1
:cond_1
const/4 v1, 0x0
:goto_1
2019-02-04 20:08:30 +00:00
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lokhttp3/a;->hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
2019-02-27 21:13:14 +00:00
if-eqz v1, :cond_2
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
2019-02-04 20:08:30 +00:00
move-result v1
2019-02-27 21:13:14 +00:00
goto :goto_2
:cond_2
const/4 v1, 0x0
:goto_2
2019-02-04 20:08:30 +00:00
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
2019-05-04 02:59:52 +00:00
iget-object v1, p0, Lokhttp3/a;->bkV:Lokhttp3/g;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-eqz v1, :cond_3
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v1}, Lokhttp3/g;->hashCode()I
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
move-result v2
:cond_3
add-int/2addr v0, v2
2019-02-04 20:08:30 +00:00
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Address{"
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-05-04 02:59:52 +00:00
iget-object v1, p0, Lokhttp3/a;->bkO:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iget-object v1, v1, Lokhttp3/s;->boI:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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;
2019-05-04 02:59:52 +00:00
iget-object v1, p0, Lokhttp3/a;->bkO:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
iget v1, v1, Lokhttp3/s;->port:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2019-05-04 02:59:52 +00:00
iget-object v1, p0, Lokhttp3/a;->bkU:Ljava/net/Proxy;
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_0
const-string v1, ", proxy="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-05-04 02:59:52 +00:00
iget-object v1, p0, Lokhttp3/a;->bkU:Ljava/net/Proxy;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2019-02-04 20:29:01 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
:cond_0
const-string v1, ", proxySelector="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lokhttp3/a;->proxySelector:Ljava/net/ProxySelector;
2019-02-04 20:29:01 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_0
2019-02-04 20:08:30 +00:00
const-string v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method