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

514 lines
11 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lokhttp3/v;
.super Ljava/lang/Object;
.source "RealCall.java"
# interfaces
.implements Lokhttp3/e;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/v$a;
}
.end annotation
# instance fields
2019-08-01 23:08:43 +00:00
.field final buC:Lokhttp3/t;
2019-08-01 02:26:13 +00:00
2019-08-01 23:08:43 +00:00
.field final buD:Lokhttp3/internal/c/j;
2019-08-01 02:26:13 +00:00
2019-08-01 23:08:43 +00:00
.field final buE:Lokio/a;
.field private buF:Lokhttp3/p;
2019-07-29 20:14:17 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-07-27 00:12:07 +00:00
2019-08-01 23:08:43 +00:00
.field final buG:Lokhttp3/w;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
.field final buH:Z
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
.field private buI:Z
2019-07-24 11:27:29 +00:00
# direct methods
.method private constructor <init>(Lokhttp3/t;Lokhttp3/w;Z)V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-08-01 23:08:43 +00:00
iput-object p1, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iput-object p2, p0, Lokhttp3/v;->buG:Lokhttp3/w;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iput-boolean p3, p0, Lokhttp3/v;->buH:Z
2019-07-24 11:27:29 +00:00
new-instance p2, Lokhttp3/internal/c/j;
invoke-direct {p2, p1, p3}, Lokhttp3/internal/c/j;-><init>(Lokhttp3/t;Z)V
2019-08-01 23:08:43 +00:00
iput-object p2, p0, Lokhttp3/v;->buD:Lokhttp3/internal/c/j;
2019-07-24 11:27:29 +00:00
new-instance p2, Lokhttp3/v$1;
invoke-direct {p2, p0}, Lokhttp3/v$1;-><init>(Lokhttp3/v;)V
2019-08-01 23:08:43 +00:00
iput-object p2, p0, Lokhttp3/v;->buE:Lokio/a;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object p2, p0, Lokhttp3/v;->buE:Lokio/a;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget p1, p1, Lokhttp3/t;->buq:I
2019-07-24 11:27:29 +00:00
int-to-long v0, p1
sget-object p1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-virtual {p2, v0, v1, p1}, Lokio/a;->d(JLjava/util/concurrent/TimeUnit;)Lokio/s;
return-void
.end method
2019-08-01 02:26:13 +00:00
.method private GM()V
2019-07-24 11:27:29 +00:00
.locals 2
2019-08-01 02:26:13 +00:00
invoke-static {}, Lokhttp3/internal/g/f;->HX()Lokhttp3/internal/g/f;
2019-07-24 11:27:29 +00:00
move-result-object v0
const-string v1, "response.body().close()"
invoke-virtual {v0, v1}, Lokhttp3/internal/g/f;->eB(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
2019-08-01 23:08:43 +00:00
iget-object v1, p0, Lokhttp3/v;->buD:Lokhttp3/internal/c/j;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iput-object v0, v1, Lokhttp3/internal/c/j;->bwK:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public static a(Lokhttp3/t;Lokhttp3/w;Z)Lokhttp3/v;
.locals 1
new-instance v0, Lokhttp3/v;
invoke-direct {v0, p0, p1, p2}, Lokhttp3/v;-><init>(Lokhttp3/t;Lokhttp3/w;Z)V
2019-08-01 23:08:43 +00:00
iget-object p0, p0, Lokhttp3/t;->buj:Lokhttp3/p$a;
2019-07-24 11:27:29 +00:00
2019-08-01 02:26:13 +00:00
invoke-interface {p0}, Lokhttp3/p$a;->Gs()Lokhttp3/p;
2019-07-24 11:27:29 +00:00
move-result-object p0
2019-08-01 23:08:43 +00:00
iput-object p0, v0, Lokhttp3/v;->buF:Lokhttp3/p;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
.method static synthetic c(Lokhttp3/v;)Lokhttp3/p;
.locals 0
2019-08-01 23:08:43 +00:00
iget-object p0, p0, Lokhttp3/v;->buF:Lokhttp3/p;
2019-07-24 11:27:29 +00:00
return-object p0
.end method
# virtual methods
2019-08-01 02:26:13 +00:00
.method final GN()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.locals 1
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buG:Lokhttp3/w;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v0, v0, Lokhttp3/w;->bpJ:Lokhttp3/s;
2019-07-24 11:27:29 +00:00
2019-08-01 02:26:13 +00:00
invoke-virtual {v0}, Lokhttp3/s;->GC()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v0
return-object v0
.end method
2019-08-01 02:26:13 +00:00
.method final GO()Lokhttp3/Response;
2019-07-24 11:27:29 +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-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v0, v0, Lokhttp3/t;->buh:Ljava/util/List;
2019-07-24 11:27:29 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buD:Lokhttp3/internal/c/j;
2019-07-24 11:27:29 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
new-instance v0, Lokhttp3/internal/c/a;
2019-08-01 23:08:43 +00:00
iget-object v2, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
iget-object v2, v2, Lokhttp3/t;->cookieJar:Lokhttp3/m;
invoke-direct {v0, v2}, Lokhttp3/internal/c/a;-><init>(Lokhttp3/m;)V
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
new-instance v0, Lokhttp3/internal/a/a;
2019-08-01 23:08:43 +00:00
iget-object v2, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 02:26:13 +00:00
invoke-virtual {v2}, Lokhttp3/t;->GK()Lokhttp3/internal/a/e;
2019-07-24 11:27:29 +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-08-01 23:08:43 +00:00
iget-object v2, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +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-08-01 23:08:43 +00:00
iget-boolean v0, p0, Lokhttp3/v;->buH:Z
2019-07-24 11:27:29 +00:00
if-nez v0, :cond_0
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v0, v0, Lokhttp3/t;->bui:Ljava/util/List;
2019-07-24 11:27:29 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
:cond_0
new-instance v0, Lokhttp3/internal/c/b;
2019-08-01 23:08:43 +00:00
iget-boolean v2, p0, Lokhttp3/v;->buH:Z
2019-07-24 11:27:29 +00:00
invoke-direct {v0, v2}, Lokhttp3/internal/c/b;-><init>(Z)V
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
new-instance v12, Lokhttp3/internal/c/g;
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
2019-08-01 23:08:43 +00:00
iget-object v6, p0, Lokhttp3/v;->buG:Lokhttp3/w;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v8, p0, Lokhttp3/v;->buF:Lokhttp3/p;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget v9, v0, Lokhttp3/t;->bur:I
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget v10, v0, Lokhttp3/t;->bus:I
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget v11, v0, Lokhttp3/t;->but:I
2019-07-24 11:27:29 +00:00
move-object v0, v12
move-object v7, p0
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-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buG:Lokhttp3/w;
2019-07-24 11:27:29 +00:00
invoke-interface {v12, v0}, Lokhttp3/Interceptor$Chain;->b(Lokhttp3/w;)Lokhttp3/Response;
move-result-object v0
return-object v0
.end method
2019-08-01 02:26:13 +00:00
.method public final Gl()Lokhttp3/Response;
2019-07-24 11:27:29 +00:00
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
monitor-enter p0
:try_start_0
2019-08-01 23:08:43 +00:00
iget-boolean v0, p0, Lokhttp3/v;->buI:Z
2019-07-24 11:27:29 +00:00
if-nez v0, :cond_1
const/4 v0, 0x1
2019-08-01 23:08:43 +00:00
iput-boolean v0, p0, Lokhttp3/v;->buI:Z
2019-07-24 11:27:29 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
2019-08-01 02:26:13 +00:00
invoke-direct {p0}, Lokhttp3/v;->GM()V
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buE:Lokio/a;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Lokio/a;->enter()V
:try_start_1
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v0, v0, Lokhttp3/t;->bug:Lokhttp3/n;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, p0}, Lokhttp3/n;->a(Lokhttp3/v;)V
2019-08-01 02:26:13 +00:00
invoke-virtual {p0}, Lokhttp3/v;->GO()Lokhttp3/Response;
2019-07-24 11:27:29 +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-08-01 23:08:43 +00:00
iget-object v1, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v1, v1, Lokhttp3/t;->bug:Lokhttp3/n;
2019-07-24 11:27:29 +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-08-01 23:08:43 +00:00
iget-object v1, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v1, v1, Lokhttp3/t;->bug:Lokhttp3/n;
2019-07-24 11:27:29 +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
.method public final a(Lokhttp3/f;)V
.locals 2
monitor-enter p0
:try_start_0
2019-08-01 23:08:43 +00:00
iget-boolean v0, p0, Lokhttp3/v;->buI:Z
2019-07-24 11:27:29 +00:00
if-nez v0, :cond_0
const/4 v0, 0x1
2019-08-01 23:08:43 +00:00
iput-boolean v0, p0, Lokhttp3/v;->buI:Z
2019-07-24 11:27:29 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
2019-08-01 02:26:13 +00:00
invoke-direct {p0}, Lokhttp3/v;->GM()V
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v0, v0, Lokhttp3/t;->bug:Lokhttp3/n;
2019-07-24 11:27:29 +00:00
new-instance v1, Lokhttp3/v$a;
invoke-direct {v1, p0, p1}, Lokhttp3/v$a;-><init>(Lokhttp3/v;Lokhttp3/f;)V
monitor-enter v0
:try_start_1
2019-08-01 23:08:43 +00:00
iget-object p1, v0, Lokhttp3/n;->btj:Ljava/util/Deque;
2019-07-24 11:27:29 +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-08-01 02:26:13 +00:00
invoke-virtual {v0}, Lokhttp3/n;->Gq()Z
2019-07-24 11:27:29 +00:00
return-void
: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
:cond_0
:try_start_3
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
:catchall_1
move-exception p1
monitor-exit p0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
throw p1
.end method
.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-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buE:Lokio/a;
2019-07-24 11:27:29 +00:00
2019-08-01 02:26:13 +00:00
invoke-virtual {v0}, Lokio/a;->Ih()Z
2019-07-24 11:27:29 +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
.method public final cancel()V
.locals 1
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buD:Lokhttp3/internal/c/j;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Lokhttp3/internal/c/j;->cancel()V
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-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buC:Lokhttp3/t;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-object v1, p0, Lokhttp3/v;->buG:Lokhttp3/w;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-boolean v2, p0, Lokhttp3/v;->buH:Z
2019-07-24 11:27:29 +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-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buD:Lokhttp3/internal/c/j;
2019-07-24 11:27:29 +00:00
2019-08-01 23:08:43 +00:00
iget-boolean v0, v0, Lokhttp3/internal/c/j;->bwP:Z
2019-07-24 11:27:29 +00:00
return v0
.end method
.method public final timeout()Lokio/s;
.locals 1
2019-08-01 23:08:43 +00:00
iget-object v0, p0, Lokhttp3/v;->buE:Lokio/a;
2019-07-24 11:27:29 +00:00
return-object v0
.end method