279 lines
6.1 KiB
Smali
279 lines
6.1 KiB
Smali
.class final Lokhttp3/v$a;
|
|
.super Lokhttp3/internal/b;
|
|
.source "RealCall.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lokhttp3/v;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x10
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field static final synthetic $assertionsDisabled:Z
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic bsk:Lokhttp3/v;
|
|
|
|
.field final bsl:Lokhttp3/f;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-class v0, Lokhttp3/v;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>(Lokhttp3/v;Lokhttp3/f;)V
|
|
.locals 2
|
|
|
|
iput-object p1, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
invoke-virtual {p1}, Lokhttp3/v;->FD()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
aput-object p1, v0, v1
|
|
|
|
const-string p1, "OkHttp %s"
|
|
|
|
invoke-direct {p0, p1, v0}, Lokhttp3/internal/b;-><init>(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iput-object p2, p0, Lokhttp3/v$a;->bsl:Lokhttp3/f;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method final FG()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
iget-object v0, v0, Lokhttp3/v;->bsh:Lokhttp3/w;
|
|
|
|
iget-object v0, v0, Lokhttp3/w;->bng:Lokhttp3/s;
|
|
|
|
iget-object v0, v0, Lokhttp3/s;->brc:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final execute()V
|
|
.locals 7
|
|
|
|
iget-object v0, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
iget-object v0, v0, Lokhttp3/v;->bsf:Lokio/a;
|
|
|
|
invoke-virtual {v0}, Lokio/a;->enter()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:try_start_0
|
|
iget-object v2, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
invoke-virtual {v2}, Lokhttp3/v;->FE()Lokhttp3/Response;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v3, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
iget-object v3, v3, Lokhttp3/v;->bse:Lokhttp3/internal/c/j;
|
|
|
|
iget-boolean v1, v3, Lokhttp3/internal/c/j;->bur:Z
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
:try_start_1
|
|
iget-object v1, p0, Lokhttp3/v$a;->bsl:Lokhttp3/f;
|
|
|
|
new-instance v2, Ljava/io/IOException;
|
|
|
|
const-string v3, "Canceled"
|
|
|
|
invoke-direct {v2, v3}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-interface {v1, v2}, Lokhttp3/f;->a(Ljava/io/IOException;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Lokhttp3/v$a;->bsl:Lokhttp3/f;
|
|
|
|
iget-object v3, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
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
|
|
iget-object v0, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
iget-object v0, v0, Lokhttp3/v;->bsd:Lokhttp3/t;
|
|
|
|
iget-object v0, v0, Lokhttp3/t;->brH:Lokhttp3/n;
|
|
|
|
:goto_1
|
|
invoke-virtual {v0, p0}, Lokhttp3/n;->b(Lokhttp3/v$a;)V
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
goto :goto_6
|
|
|
|
:catch_1
|
|
move-exception v0
|
|
|
|
move-object v1, v0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_2
|
|
:try_start_2
|
|
iget-object v2, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
invoke-virtual {v2, v1}, Lokhttp3/v;->b(Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
invoke-static {}, Lokhttp3/internal/g/f;->GR()Lokhttp3/internal/g/f;
|
|
|
|
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
|
|
|
|
iget-object v4, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget-object v6, v4, Lokhttp3/v;->bse:Lokhttp3/internal/c/j;
|
|
|
|
iget-boolean v6, v6, Lokhttp3/internal/c/j;->bur:Z
|
|
|
|
if-eqz v6, :cond_1
|
|
|
|
const-string v6, "canceled "
|
|
|
|
goto :goto_3
|
|
|
|
:cond_1
|
|
const-string v6, ""
|
|
|
|
:goto_3
|
|
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v6, v4, Lokhttp3/v;->bsi:Z
|
|
|
|
if-eqz v6, :cond_2
|
|
|
|
const-string v6, "web socket"
|
|
|
|
goto :goto_4
|
|
|
|
:cond_2
|
|
const-string v6, "call"
|
|
|
|
:goto_4
|
|
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;
|
|
|
|
invoke-virtual {v4}, Lokhttp3/v;->FD()Ljava/lang/String;
|
|
|
|
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
|
|
|
|
invoke-virtual {v0, v2, v3, v1}, Lokhttp3/internal/g/f;->a(ILjava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
goto :goto_5
|
|
|
|
:cond_3
|
|
iget-object v0, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
invoke-static {v0}, Lokhttp3/v;->c(Lokhttp3/v;)Lokhttp3/p;
|
|
|
|
iget-object v0, p0, Lokhttp3/v$a;->bsl:Lokhttp3/f;
|
|
|
|
invoke-interface {v0, v1}, Lokhttp3/f;->a(Ljava/io/IOException;)V
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
:goto_5
|
|
iget-object v0, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
iget-object v0, v0, Lokhttp3/v;->bsd:Lokhttp3/t;
|
|
|
|
iget-object v0, v0, Lokhttp3/t;->brH:Lokhttp3/n;
|
|
|
|
goto :goto_1
|
|
|
|
:goto_6
|
|
iget-object v1, p0, Lokhttp3/v$a;->bsk:Lokhttp3/v;
|
|
|
|
iget-object v1, v1, Lokhttp3/v;->bsd:Lokhttp3/t;
|
|
|
|
iget-object v1, v1, Lokhttp3/t;->brH:Lokhttp3/n;
|
|
|
|
invoke-virtual {v1, p0}, Lokhttp3/n;->b(Lokhttp3/v$a;)V
|
|
|
|
goto :goto_8
|
|
|
|
:goto_7
|
|
throw v0
|
|
|
|
:goto_8
|
|
goto :goto_7
|
|
.end method
|