675 lines
14 KiB
Smali
675 lines
14 KiB
Smali
.class public final Lm0/a;
|
|
.super Ljava/lang/Object;
|
|
.source "Address.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lm0/w;
|
|
|
|
.field public final b:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lm0/y;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final c:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lm0/m;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final d:Lm0/s;
|
|
|
|
.field public final e:Ljavax/net/SocketFactory;
|
|
|
|
.field public final f:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
.field public final g:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
.field public final h:Lm0/h;
|
|
|
|
.field public final i:Lm0/c;
|
|
|
|
.field public final j:Ljava/net/Proxy;
|
|
|
|
.field public final k:Ljava/net/ProxySelector;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;ILm0/s;Ljavax/net/SocketFactory;Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/HostnameVerifier;Lm0/h;Lm0/c;Ljava/net/Proxy;Ljava/util/List;Ljava/util/List;Ljava/net/ProxySelector;)V
|
|
.locals 10
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"I",
|
|
"Lm0/s;",
|
|
"Ljavax/net/SocketFactory;",
|
|
"Ljavax/net/ssl/SSLSocketFactory;",
|
|
"Ljavax/net/ssl/HostnameVerifier;",
|
|
"Lm0/h;",
|
|
"Lm0/c;",
|
|
"Ljava/net/Proxy;",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lm0/y;",
|
|
">;",
|
|
"Ljava/util/List<",
|
|
"Lm0/m;",
|
|
">;",
|
|
"Ljava/net/ProxySelector;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move-object v3, p3
|
|
|
|
move-object v4, p4
|
|
|
|
move-object/from16 v5, p8
|
|
|
|
move-object/from16 v6, p12
|
|
|
|
const/4 v7, 0x0
|
|
|
|
if-eqz v1, :cond_d
|
|
|
|
if-eqz v3, :cond_c
|
|
|
|
if-eqz v4, :cond_b
|
|
|
|
if-eqz v5, :cond_a
|
|
|
|
if-eqz p10, :cond_9
|
|
|
|
if-eqz p11, :cond_8
|
|
|
|
if-eqz v6, :cond_7
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object v3, v0, Lm0/a;->d:Lm0/s;
|
|
|
|
iput-object v4, v0, Lm0/a;->e:Ljavax/net/SocketFactory;
|
|
|
|
move-object v3, p5
|
|
|
|
iput-object v3, v0, Lm0/a;->f:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
move-object/from16 v3, p6
|
|
|
|
iput-object v3, v0, Lm0/a;->g:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
move-object/from16 v3, p7
|
|
|
|
iput-object v3, v0, Lm0/a;->h:Lm0/h;
|
|
|
|
iput-object v5, v0, Lm0/a;->i:Lm0/c;
|
|
|
|
move-object/from16 v3, p9
|
|
|
|
iput-object v3, v0, Lm0/a;->j:Ljava/net/Proxy;
|
|
|
|
iput-object v6, v0, Lm0/a;->k:Ljava/net/ProxySelector;
|
|
|
|
new-instance v3, Lm0/w$a;
|
|
|
|
invoke-direct {v3}, Lm0/w$a;-><init>()V
|
|
|
|
iget-object v4, v0, Lm0/a;->f:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
const-string v5, "https"
|
|
|
|
const-string v6, "http"
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
move-object v4, v5
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v4, v6
|
|
|
|
:goto_0
|
|
const/4 v7, 0x1
|
|
|
|
invoke-static {v4, v6, v7}, Li0/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v8
|
|
|
|
if-eqz v8, :cond_1
|
|
|
|
iput-object v6, v3, Lm0/w$a;->a:Ljava/lang/String;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-static {v4, v5, v7}, Li0/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_6
|
|
|
|
iput-object v5, v3, Lm0/w$a;->a:Ljava/lang/String;
|
|
|
|
:goto_1
|
|
sget-object v4, Lm0/w;->l:Lm0/w$b;
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
const/4 v9, 0x7
|
|
|
|
move-object p3, v4
|
|
|
|
move-object p4, p1
|
|
|
|
move p5, v5
|
|
|
|
move/from16 p6, v6
|
|
|
|
move/from16 p7, v8
|
|
|
|
move/from16 p8, v9
|
|
|
|
invoke-static/range {p3 .. p8}, Lm0/w$b;->d(Lm0/w$b;Ljava/lang/String;IIZI)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v4}, Li0/i/t;->c0(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
iput-object v4, v3, Lm0/w$a;->d:Ljava/lang/String;
|
|
|
|
if-le v7, v2, :cond_2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const v1, 0xffff
|
|
|
|
if-lt v1, v2, :cond_3
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
:goto_2
|
|
const/4 v7, 0x0
|
|
|
|
:goto_3
|
|
if-eqz v7, :cond_4
|
|
|
|
iput v2, v3, Lm0/w$a;->e:I
|
|
|
|
invoke-virtual {v3}, Lm0/w$a;->b()Lm0/w;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Lm0/a;->a:Lm0/w;
|
|
|
|
invoke-static/range {p10 .. p10}, Lm0/g0/b;->E(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Lm0/a;->b:Ljava/util/List;
|
|
|
|
invoke-static/range {p11 .. p11}, Lm0/g0/b;->E(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Lm0/a;->c:Ljava/util/List;
|
|
|
|
return-void
|
|
|
|
:cond_4
|
|
const-string v1, "unexpected port: "
|
|
|
|
invoke-static {v1, p2}, Lf/e/b/a/a;->h(Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v2, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v2, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
|
|
:cond_5
|
|
new-instance v2, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v3, "unexpected host: "
|
|
|
|
invoke-static {v3, p1}, Lf/e/b/a/a;->p(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v2, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
|
|
:cond_6
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v2, "unexpected scheme: "
|
|
|
|
invoke-static {v2, v4}, Lf/e/b/a/a;->p(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
|
|
:cond_7
|
|
const-string v1, "proxySelector"
|
|
|
|
invoke-static {v1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v7
|
|
|
|
:cond_8
|
|
const-string v1, "connectionSpecs"
|
|
|
|
invoke-static {v1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v7
|
|
|
|
:cond_9
|
|
const-string v1, "protocols"
|
|
|
|
invoke-static {v1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v7
|
|
|
|
:cond_a
|
|
const-string v1, "proxyAuthenticator"
|
|
|
|
invoke-static {v1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v7
|
|
|
|
:cond_b
|
|
const-string v1, "socketFactory"
|
|
|
|
invoke-static {v1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v7
|
|
|
|
:cond_c
|
|
const-string v1, "dns"
|
|
|
|
invoke-static {v1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v7
|
|
|
|
:cond_d
|
|
const-string v1, "uriHost"
|
|
|
|
invoke-static {v1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v7
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lm0/a;)Z
|
|
.locals 2
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object v0, p0, Lm0/a;->d:Lm0/s;
|
|
|
|
iget-object v1, p1, Lm0/a;->d:Lm0/s;
|
|
|
|
invoke-static {v0, v1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lm0/a;->i:Lm0/c;
|
|
|
|
iget-object v1, p1, Lm0/a;->i:Lm0/c;
|
|
|
|
invoke-static {v0, v1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lm0/a;->b:Ljava/util/List;
|
|
|
|
iget-object v1, p1, Lm0/a;->b:Ljava/util/List;
|
|
|
|
invoke-static {v0, v1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lm0/a;->c:Ljava/util/List;
|
|
|
|
iget-object v1, p1, Lm0/a;->c:Ljava/util/List;
|
|
|
|
invoke-static {v0, v1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lm0/a;->k:Ljava/net/ProxySelector;
|
|
|
|
iget-object v1, p1, Lm0/a;->k:Ljava/net/ProxySelector;
|
|
|
|
invoke-static {v0, v1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lm0/a;->j:Ljava/net/Proxy;
|
|
|
|
iget-object v1, p1, Lm0/a;->j:Ljava/net/Proxy;
|
|
|
|
invoke-static {v0, v1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lm0/a;->f:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
iget-object v1, p1, Lm0/a;->f:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
invoke-static {v0, v1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lm0/a;->g:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
iget-object v1, p1, Lm0/a;->g:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
invoke-static {v0, v1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lm0/a;->h:Lm0/h;
|
|
|
|
iget-object v1, p1, Lm0/a;->h:Lm0/h;
|
|
|
|
invoke-static {v0, v1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lm0/a;->a:Lm0/w;
|
|
|
|
iget v0, v0, Lm0/w;->f:I
|
|
|
|
iget-object p1, p1, Lm0/a;->a:Lm0/w;
|
|
|
|
iget p1, p1, Lm0/w;->f:I
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
|
|
:cond_1
|
|
const-string p1, "that"
|
|
|
|
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
instance-of v0, p1, Lm0/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lm0/a;->a:Lm0/w;
|
|
|
|
check-cast p1, Lm0/a;
|
|
|
|
iget-object v1, p1, Lm0/a;->a:Lm0/w;
|
|
|
|
invoke-static {v0, v1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0, p1}, Lm0/a;->a(Lm0/a;)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
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lm0/a;->a:Lm0/w;
|
|
|
|
invoke-virtual {v0}, Lm0/w;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit16 v0, v0, 0x20f
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v1, p0, Lm0/a;->d:Lm0/s;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-object v0, p0, Lm0/a;->i:Lm0/c;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v1, p0, Lm0/a;->b:Ljava/util/List;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-object v0, p0, Lm0/a;->c:Ljava/util/List;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v1, p0, Lm0/a;->k:Ljava/net/ProxySelector;
|
|
|
|
invoke-virtual {v1}, Ljava/net/ProxySelector;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-object v0, p0, Lm0/a;->j:Ljava/net/Proxy;
|
|
|
|
invoke-static {v0}, Ljava/util/Objects;->hashCode(Ljava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v1, p0, Lm0/a;->f:Ljavax/net/ssl/SSLSocketFactory;
|
|
|
|
invoke-static {v1}, Ljava/util/Objects;->hashCode(Ljava/lang/Object;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-object v0, p0, Lm0/a;->g:Ljavax/net/ssl/HostnameVerifier;
|
|
|
|
invoke-static {v0}, Ljava/util/Objects;->hashCode(Ljava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v1, p0, Lm0/a;->h:Lm0/h;
|
|
|
|
invoke-static {v1}, Ljava/util/Objects;->hashCode(Ljava/lang/Object;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
const-string v0, "Address{"
|
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lm0/a;->a:Lm0/w;
|
|
|
|
iget-object v1, v1, Lm0/w;->e:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x3a
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lm0/a;->a:Lm0/w;
|
|
|
|
iget v1, v1, Lm0/w;->f:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lm0/a;->j:Ljava/net/Proxy;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const-string v1, "proxy="
|
|
|
|
invoke-static {v1}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, p0, Lm0/a;->j:Ljava/net/Proxy;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v1, "proxySelector="
|
|
|
|
invoke-static {v1}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, p0, Lm0/a;->k:Ljava/net/ProxySelector;
|
|
|
|
:goto_0
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()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;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|