apkfuckery/com.discord/smali_classes2/okhttp3/v$a.smali

276 lines
6.1 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class final Lokhttp3/v$a;
.super Lokhttp3/internal/b;
2019-02-04 20:29:01 +00:00
.source "RealCall.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/v;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x10
name = "a"
.end annotation
2019-02-17 02:24:41 +00:00
# static fields
.field static final synthetic $assertionsDisabled:Z
2019-02-04 20:08:30 +00:00
# instance fields
2019-04-06 01:08:52 +00:00
.field final synthetic boh:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
.field final boi:Lokhttp3/f;
2019-02-04 20:08:30 +00:00
# direct methods
2019-02-17 02:24:41 +00:00
.method static constructor <clinit>()V
.locals 1
const-class v0, Lokhttp3/v;
return-void
.end method
2019-02-04 20:08:30 +00:00
.method constructor <init>(Lokhttp3/v;Lokhttp3/f;)V
.locals 3
2019-04-06 01:08:52 +00:00
iput-object p1, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
const-string v0, "OkHttp %s"
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/Object;
2019-03-22 22:04:12 +00:00
invoke-virtual {p1}, Lokhttp3/v;->Ay()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object p1
const/4 v2, 0x0
aput-object p1, v1, v2
invoke-direct {p0, v0, v1}, Lokhttp3/internal/b;-><init>(Ljava/lang/String;[Ljava/lang/Object;)V
2019-04-06 01:08:52 +00:00
iput-object p2, p0, Lokhttp3/v$a;->boi:Lokhttp3/f;
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
2019-03-22 22:04:12 +00:00
.method final AB()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
.locals 1
2019-04-06 01:08:52 +00:00
iget-object v0, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
iget-object v0, v0, Lokhttp3/v;->boe:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
iget-object v0, v0, Lokhttp3/w;->bjg:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
iget-object v0, v0, Lokhttp3/s;->bna:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
return-object v0
.end method
.method public final execute()V
.locals 7
2019-04-06 01:08:52 +00:00
iget-object v0, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-17 02:24:41 +00:00
2019-04-06 01:08:52 +00:00
iget-object v0, v0, Lokhttp3/v;->boc:Lokio/a;
2019-02-17 02:24:41 +00:00
invoke-virtual {v0}, Lokio/a;->enter()V
2019-02-04 20:08:30 +00:00
const/4 v0, 0x1
const/4 v1, 0x0
:try_start_0
2019-04-06 01:08:52 +00:00
iget-object v2, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
2019-03-22 22:04:12 +00:00
invoke-virtual {v2}, Lokhttp3/v;->Az()Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-04-06 01:08:52 +00:00
iget-object v3, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
iget-object v3, v3, Lokhttp3/v;->bob:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
iget-boolean v1, v3, Lokhttp3/internal/c/j;->bqp:Z
2019-02-04 20:08:30 +00:00
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-02-04 20:29:01 +00:00
if-eqz v1, :cond_0
2019-02-04 20:08:30 +00:00
:try_start_1
2019-04-06 01:08:52 +00:00
iget-object v1, p0, Lokhttp3/v$a;->boi:Lokhttp3/f;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
new-instance v2, Ljava/io/IOException;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
const-string v3, "Canceled"
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
invoke-direct {v2, v3}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
invoke-interface {v1, v2}, Lokhttp3/f;->a(Ljava/io/IOException;)V
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_0
2019-04-06 01:08:52 +00:00
iget-object v1, p0, Lokhttp3/v$a;->boi:Lokhttp3/f;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
iget-object v3, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
invoke-interface {v1, v3, v2}, Lokhttp3/f;->a(Lokhttp3/e;Lokhttp3/Response;)V
:try_end_1
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_0
2019-04-06 01:08:52 +00:00
iget-object v0, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
iget-object v0, v0, Lokhttp3/v;->boa:Lokhttp3/t;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
iget-object v0, v0, Lokhttp3/t;->bnE:Lokhttp3/n;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_1
2019-02-17 02:24:41 +00:00
invoke-virtual {v0, p0}, Lokhttp3/n;->b(Lokhttp3/v$a;)V
2019-02-04 20:08:30 +00:00
return-void
2019-02-04 20:29:01 +00:00
:catch_0
move-exception v1
goto :goto_2
2019-02-04 20:08:30 +00:00
:catchall_0
move-exception v0
2019-02-04 20:29:01 +00:00
goto :goto_6
2019-02-04 20:08:30 +00:00
:catch_1
move-exception v0
move-object v1, v0
const/4 v0, 0x0
2019-02-04 20:29:01 +00:00
:goto_2
2019-02-17 02:24:41 +00:00
:try_start_2
2019-04-06 01:08:52 +00:00
iget-object v2, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-17 02:24:41 +00:00
invoke-virtual {v2, v1}, Lokhttp3/v;->b(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object v1
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_3
2019-03-22 22:04:12 +00:00
invoke-static {}, Lokhttp3/internal/g/f;->BI()Lokhttp3/internal/g/f;
2019-02-04 20:08:30 +00:00
move-result-object v0
const/4 v2, 0x4
new-instance v3, Ljava/lang/StringBuilder;
const-string v4, "Callback failure for "
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-04-06 01:08:52 +00:00
iget-object v4, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
2019-04-06 01:08:52 +00:00
iget-object v6, v4, Lokhttp3/v;->bob:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
iget-boolean v6, v6, Lokhttp3/internal/c/j;->bqp:Z
2019-02-04 20:08:30 +00:00
if-eqz v6, :cond_1
const-string v6, "canceled "
2019-02-04 20:29:01 +00:00
goto :goto_3
2019-02-04 20:08:30 +00:00
:cond_1
const-string v6, ""
2019-02-04 20:29:01 +00:00
:goto_3
2019-02-04 20:08:30 +00:00
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-04-06 01:08:52 +00:00
iget-boolean v6, v4, Lokhttp3/v;->bof:Z
2019-02-04 20:08:30 +00:00
if-eqz v6, :cond_2
const-string v6, "web socket"
2019-02-04 20:29:01 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
:cond_2
const-string v6, "call"
2019-02-04 20:29:01 +00:00
:goto_4
2019-02-04 20:08:30 +00:00
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v6, " to "
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-03-22 22:04:12 +00:00
invoke-virtual {v4}, Lokhttp3/v;->Ay()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v4
invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v4
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
2019-02-27 21:13:14 +00:00
invoke-virtual {v0, v2, v3, v1}, Lokhttp3/internal/g/f;->a(ILjava/lang/String;Ljava/lang/Throwable;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_5
2019-02-04 20:08:30 +00:00
:cond_3
2019-04-06 01:08:52 +00:00
iget-object v0, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
invoke-static {v0}, Lokhttp3/v;->c(Lokhttp3/v;)Lokhttp3/p;
2019-04-06 01:08:52 +00:00
iget-object v0, p0, Lokhttp3/v$a;->boi:Lokhttp3/f;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
invoke-interface {v0, v1}, Lokhttp3/f;->a(Ljava/io/IOException;)V
2019-02-04 20:08:30 +00:00
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
2019-02-04 20:29:01 +00:00
:goto_5
2019-04-06 01:08:52 +00:00
iget-object v0, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
iget-object v0, v0, Lokhttp3/v;->boa:Lokhttp3/t;
2019-02-04 20:29:01 +00:00
2019-04-06 01:08:52 +00:00
iget-object v0, v0, Lokhttp3/t;->bnE:Lokhttp3/n;
2019-02-04 20:29:01 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_6
2019-04-06 01:08:52 +00:00
iget-object v1, p0, Lokhttp3/v$a;->boh:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
2019-04-06 01:08:52 +00:00
iget-object v1, v1, Lokhttp3/v;->boa:Lokhttp3/t;
2019-02-04 20:29:01 +00:00
2019-04-06 01:08:52 +00:00
iget-object v1, v1, Lokhttp3/t;->bnE:Lokhttp3/n;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v1, p0}, Lokhttp3/n;->b(Lokhttp3/v$a;)V
2019-02-04 20:08:30 +00:00
throw v0
2019-02-04 20:29:01 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method