apkfuckery/com.discord/smali/okhttp3/v.smali

514 lines
11 KiB
Smali
Raw Normal View History

2019-02-27 21:13:14 +00:00
.class public final Lokhttp3/v;
2019-02-04 20:08:30 +00:00
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "RealCall.java"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Lokhttp3/e;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/v$a;
}
.end annotation
# instance fields
2019-05-16 22:41:35 +00:00
.field final bpP:Lokhttp3/t;
2019-02-22 00:19:04 +00:00
2019-05-16 22:41:35 +00:00
.field final bpQ:Lokhttp3/internal/c/j;
2019-02-27 00:16:35 +00:00
2019-05-16 22:41:35 +00:00
.field final bpR:Lokio/a;
2019-02-27 00:16:35 +00:00
2019-05-16 22:41:35 +00:00
.field private bpS:Lokhttp3/p;
2019-03-08 06:19:26 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-02-27 21:13:14 +00:00
2019-05-16 22:41:35 +00:00
.field final bpT:Lokhttp3/w;
2019-02-27 21:13:14 +00:00
2019-05-16 22:41:35 +00:00
.field final bpU:Z
2019-02-17 02:24:41 +00:00
2019-05-16 22:41:35 +00:00
.field private bpV:Z
2019-02-04 20:08:30 +00:00
# direct methods
.method private constructor <init>(Lokhttp3/t;Lokhttp3/w;Z)V
2019-02-17 02:24:41 +00:00
.locals 2
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-05-16 22:41:35 +00:00
iput-object p1, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iput-object p2, p0, Lokhttp3/v;->bpT:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iput-boolean p3, p0, Lokhttp3/v;->bpU:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
new-instance p2, Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p2, p1, p3}, Lokhttp3/internal/c/j;-><init>(Lokhttp3/t;Z)V
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iput-object p2, p0, Lokhttp3/v;->bpQ:Lokhttp3/internal/c/j;
2019-02-17 02:24:41 +00:00
new-instance p2, Lokhttp3/v$1;
invoke-direct {p2, p0}, Lokhttp3/v$1;-><init>(Lokhttp3/v;)V
2019-05-16 22:41:35 +00:00
iput-object p2, p0, Lokhttp3/v;->bpR:Lokio/a;
2019-02-17 02:24:41 +00:00
2019-05-16 22:41:35 +00:00
iget-object p2, p0, Lokhttp3/v;->bpR:Lokio/a;
2019-02-17 02:24:41 +00:00
2019-05-16 22:41:35 +00:00
iget p1, p1, Lokhttp3/t;->bpD:I
2019-02-17 02:24:41 +00:00
int-to-long v0, p1
sget-object p1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
2019-02-27 21:13:14 +00:00
invoke-virtual {p2, v0, v1, p1}, Lokio/a;->d(JLjava/util/concurrent/TimeUnit;)Lokio/r;
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-05-14 21:53:09 +00:00
.method private Ck()V
2019-02-04 20:08:30 +00:00
.locals 2
2019-05-14 21:53:09 +00:00
invoke-static {}, Lokhttp3/internal/g/f;->Dv()Lokhttp3/internal/g/f;
2019-02-04 20:08:30 +00:00
move-result-object v0
const-string v1, "response.body().close()"
2019-05-04 02:59:52 +00:00
invoke-virtual {v0, v1}, Lokhttp3/internal/g/f;->ej(Ljava/lang/String;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-05-16 22:41:35 +00:00
iget-object v1, p0, Lokhttp3/v;->bpQ:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iput-object v0, v1, Lokhttp3/internal/c/j;->brY:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-27 21:13:14 +00:00
.method public static a(Lokhttp3/t;Lokhttp3/w;Z)Lokhttp3/v;
2019-02-04 20:08:30 +00:00
.locals 1
new-instance v0, Lokhttp3/v;
invoke-direct {v0, p0, p1, p2}, Lokhttp3/v;-><init>(Lokhttp3/t;Lokhttp3/w;Z)V
2019-05-16 22:41:35 +00:00
iget-object p0, p0, Lokhttp3/t;->bpw:Lokhttp3/p$a;
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
invoke-interface {p0}, Lokhttp3/p$a;->BQ()Lokhttp3/p;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-05-16 22:41:35 +00:00
iput-object p0, v0, Lokhttp3/v;->bpS:Lokhttp3/p;
2019-02-04 20:08:30 +00:00
return-object v0
.end method
.method static synthetic c(Lokhttp3/v;)Lokhttp3/p;
.locals 0
2019-05-16 22:41:35 +00:00
iget-object p0, p0, Lokhttp3/v;->bpS:Lokhttp3/p;
2019-02-04 20:08:30 +00:00
return-object p0
.end method
# virtual methods
2019-05-14 21:53:09 +00:00
.method public final BJ()Lokhttp3/Response;
2019-05-03 18:53:54 +00:00
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
monitor-enter p0
:try_start_0
2019-05-16 22:41:35 +00:00
iget-boolean v0, p0, Lokhttp3/v;->bpV:Z
2019-05-03 18:53:54 +00:00
if-nez v0, :cond_1
const/4 v0, 0x1
2019-05-16 22:41:35 +00:00
iput-boolean v0, p0, Lokhttp3/v;->bpV:Z
2019-05-03 18:53:54 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
2019-05-14 21:53:09 +00:00
invoke-direct {p0}, Lokhttp3/v;->Ck()V
2019-05-03 18:53:54 +00:00
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpR:Lokio/a;
2019-05-03 18:53:54 +00:00
invoke-virtual {v0}, Lokio/a;->enter()V
:try_start_1
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-05-03 18:53:54 +00:00
2019-05-16 22:41:35 +00:00
iget-object v0, v0, Lokhttp3/t;->bpt:Lokhttp3/n;
2019-05-03 18:53:54 +00:00
invoke-virtual {v0, p0}, Lokhttp3/n;->a(Lokhttp3/v;)V
2019-05-14 21:53:09 +00:00
invoke-virtual {p0}, Lokhttp3/v;->Cm()Lokhttp3/Response;
2019-05-03 18:53:54 +00:00
move-result-object v0
:try_end_1
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
if-eqz v0, :cond_0
2019-05-16 22:41:35 +00:00
iget-object v1, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-05-03 18:53:54 +00:00
2019-05-16 22:41:35 +00:00
iget-object v1, v1, Lokhttp3/t;->bpt:Lokhttp3/n;
2019-05-03 18:53:54 +00:00
invoke-virtual {v1, p0}, Lokhttp3/n;->b(Lokhttp3/v;)V
return-object v0
:cond_0
:try_start_2
new-instance v0, Ljava/io/IOException;
const-string v1, "Canceled"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
.catchall {:try_start_2 .. :try_end_2} :catchall_0
:catchall_0
move-exception v0
goto :goto_0
:catch_0
move-exception v0
:try_start_3
invoke-virtual {p0, v0}, Lokhttp3/v;->b(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object v0
throw v0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:goto_0
2019-05-16 22:41:35 +00:00
iget-object v1, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-05-03 18:53:54 +00:00
2019-05-16 22:41:35 +00:00
iget-object v1, v1, Lokhttp3/t;->bpt:Lokhttp3/n;
2019-05-03 18:53:54 +00:00
invoke-virtual {v1, p0}, Lokhttp3/n;->b(Lokhttp3/v;)V
throw v0
:cond_1
:try_start_4
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Already Executed"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:catchall_1
move-exception v0
monitor-exit p0
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
throw v0
.end method
2019-05-14 21:53:09 +00:00
.method final Cl()Ljava/lang/String;
2019-05-04 02:59:52 +00:00
.locals 1
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpT:Lokhttp3/w;
2019-05-04 02:59:52 +00:00
2019-05-16 22:41:35 +00:00
iget-object v0, v0, Lokhttp3/w;->bkV:Lokhttp3/s;
2019-05-04 02:59:52 +00:00
2019-05-14 21:53:09 +00:00
invoke-virtual {v0}, Lokhttp3/s;->Ca()Ljava/lang/String;
2019-05-04 02:59:52 +00:00
move-result-object v0
return-object v0
.end method
2019-05-14 21:53:09 +00:00
.method final Cm()Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
.locals 13
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-object v0, v0, Lokhttp3/t;->bpu:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpQ:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2019-02-27 21:13:14 +00:00
new-instance v0, Lokhttp3/internal/c/a;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-object v2, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
iget-object v2, v2, Lokhttp3/t;->cookieJar:Lokhttp3/m;
2019-02-27 21:13:14 +00:00
invoke-direct {v0, v2}, Lokhttp3/internal/c/a;-><init>(Lokhttp3/m;)V
2019-02-04 20:08:30 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
new-instance v0, Lokhttp3/internal/a/a;
2019-05-16 22:41:35 +00:00
iget-object v2, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
invoke-virtual {v2}, Lokhttp3/t;->Ci()Lokhttp3/internal/a/e;
2019-02-04 20:08:30 +00:00
move-result-object v2
invoke-direct {v0, v2}, Lokhttp3/internal/a/a;-><init>(Lokhttp3/internal/a/e;)V
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
new-instance v0, Lokhttp3/internal/b/a;
2019-05-16 22:41:35 +00:00
iget-object v2, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
invoke-direct {v0, v2}, Lokhttp3/internal/b/a;-><init>(Lokhttp3/t;)V
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2019-05-16 22:41:35 +00:00
iget-boolean v0, p0, Lokhttp3/v;->bpU:Z
2019-02-04 20:08:30 +00:00
if-nez v0, :cond_0
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-object v0, v0, Lokhttp3/t;->bpv:Ljava/util/List;
2019-02-04 20:08:30 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
:cond_0
2019-02-27 21:13:14 +00:00
new-instance v0, Lokhttp3/internal/c/b;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-boolean v2, p0, Lokhttp3/v;->bpU:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {v0, v2}, Lokhttp3/internal/c/b;-><init>(Z)V
2019-02-04 20:08:30 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2019-02-27 21:13:14 +00:00
new-instance v12, Lokhttp3/internal/c/g;
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
2019-05-16 22:41:35 +00:00
iget-object v6, p0, Lokhttp3/v;->bpT:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-object v8, p0, Lokhttp3/v;->bpS:Lokhttp3/p;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget v9, v0, Lokhttp3/t;->bpE:I
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget v10, v0, Lokhttp3/t;->bpF:I
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget v11, v0, Lokhttp3/t;->bpG:I
2019-02-04 20:08:30 +00:00
move-object v0, v12
move-object v7, p0
2019-02-27 21:13:14 +00:00
invoke-direct/range {v0 .. v11}, Lokhttp3/internal/c/g;-><init>(Ljava/util/List;Lokhttp3/internal/b/g;Lokhttp3/internal/c/c;Lokhttp3/internal/b/c;ILokhttp3/w;Lokhttp3/e;Lokhttp3/p;III)V
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpT:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
invoke-interface {v12, v0}, Lokhttp3/Interceptor$Chain;->b(Lokhttp3/w;)Lokhttp3/Response;
move-result-object v0
return-object v0
.end method
.method public final a(Lokhttp3/f;)V
.locals 2
monitor-enter p0
:try_start_0
2019-05-16 22:41:35 +00:00
iget-boolean v0, p0, Lokhttp3/v;->bpV:Z
2019-02-04 20:08:30 +00:00
if-nez v0, :cond_0
const/4 v0, 0x1
2019-05-16 22:41:35 +00:00
iput-boolean v0, p0, Lokhttp3/v;->bpV:Z
2019-02-04 20:08:30 +00:00
monitor-exit p0
:try_end_0
2019-02-27 21:13:14 +00:00
.catchall {:try_start_0 .. :try_end_0} :catchall_1
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
invoke-direct {p0}, Lokhttp3/v;->Ck()V
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-object v0, v0, Lokhttp3/t;->bpt:Lokhttp3/n;
2019-02-04 20:08:30 +00:00
new-instance v1, Lokhttp3/v$a;
invoke-direct {v1, p0, p1}, Lokhttp3/v$a;-><init>(Lokhttp3/v;Lokhttp3/f;)V
2019-02-27 21:13:14 +00:00
monitor-enter v0
:try_start_1
2019-05-16 22:41:35 +00:00
iget-object p1, v0, Lokhttp3/n;->bow:Ljava/util/Deque;
2019-02-27 21:13:14 +00:00
invoke-interface {p1, v1}, Ljava/util/Deque;->add(Ljava/lang/Object;)Z
monitor-exit v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
2019-05-14 21:53:09 +00:00
invoke-virtual {v0}, Lokhttp3/n;->BO()Z
2019-02-04 20:08:30 +00:00
return-void
2019-02-27 21:13:14 +00:00
:catchall_0
move-exception p1
:try_start_2
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw p1
2019-02-04 20:08:30 +00:00
:cond_0
2019-02-27 21:13:14 +00:00
:try_start_3
2019-02-04 20:08:30 +00:00
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "Already Executed"
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
2019-02-27 21:13:14 +00:00
:catchall_1
2019-02-04 20:08:30 +00:00
move-exception p1
monitor-exit p0
2019-02-27 21:13:14 +00:00
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
2019-02-04 20:08:30 +00:00
throw p1
.end method
2019-02-17 02:24:41 +00:00
.method final b(Ljava/io/IOException;)Ljava/io/IOException;
.locals 2
.param p1 # Ljava/io/IOException;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpR:Lokio/a;
2019-02-17 02:24:41 +00:00
2019-05-14 21:53:09 +00:00
invoke-virtual {v0}, Lokio/a;->DF()Z
2019-02-17 02:24:41 +00:00
move-result v0
if-nez v0, :cond_0
return-object p1
:cond_0
new-instance v0, Ljava/io/InterruptedIOException;
const-string v1, "timeout"
invoke-direct {v0, v1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
if-eqz p1, :cond_1
invoke-virtual {v0, p1}, Ljava/io/InterruptedIOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
:cond_1
return-object v0
.end method
2019-02-04 20:08:30 +00:00
.method public final cancel()V
.locals 1
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpQ:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v0}, Lokhttp3/internal/c/j;->cancel()V
2019-02-04 20:08:30 +00:00
return-void
.end method
.method public final synthetic clone()Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/CloneNotSupportedException;
}
.end annotation
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpP:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-object v1, p0, Lokhttp3/v;->bpT:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-boolean v2, p0, Lokhttp3/v;->bpU:Z
2019-02-04 20:08:30 +00:00
invoke-static {v0, v1, v2}, Lokhttp3/v;->a(Lokhttp3/t;Lokhttp3/w;Z)Lokhttp3/v;
move-result-object v0
return-object v0
.end method
.method public final isCanceled()Z
.locals 1
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpQ:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-05-16 22:41:35 +00:00
iget-boolean v0, v0, Lokhttp3/internal/c/j;->bsd:Z
2019-02-04 20:08:30 +00:00
return v0
.end method
2019-02-04 20:32:01 +00:00
2019-02-27 21:13:14 +00:00
.method public final timeout()Lokio/r;
2019-02-17 02:24:41 +00:00
.locals 1
2019-05-16 22:41:35 +00:00
iget-object v0, p0, Lokhttp3/v;->bpR:Lokio/a;
2019-02-17 02:24:41 +00:00
return-object v0
.end method