274 lines
6 KiB
Smali
274 lines
6 KiB
Smali
|
.class public final Lb0/x$a;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "RealCall.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Ljava/lang/Runnable;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lb0/x;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x11
|
||
|
name = "a"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public volatile d:Ljava/util/concurrent/atomic/AtomicInteger;
|
||
|
|
||
|
.field public final e:Lb0/f;
|
||
|
|
||
|
.field public final synthetic f:Lb0/x;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Lb0/x;Lb0/f;)V
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lb0/f;",
|
||
|
")V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
if-eqz p2, :cond_0
|
||
|
|
||
|
iput-object p1, p0, Lb0/x$a;->f:Lb0/x;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p2, p0, Lb0/x$a;->e:Lb0/f;
|
||
|
|
||
|
new-instance p1, Ljava/util/concurrent/atomic/AtomicInteger;
|
||
|
|
||
|
const/4 p2, 0x0
|
||
|
|
||
|
invoke-direct {p1, p2}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
|
||
|
|
||
|
iput-object p1, p0, Lb0/x$a;->d:Ljava/util/concurrent/atomic/AtomicInteger;
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
const-string p1, "responseCallback"
|
||
|
|
||
|
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
throw p1
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final a()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lb0/x$a;->f:Lb0/x;
|
||
|
|
||
|
iget-object v0, v0, Lb0/x;->g:Lb0/y;
|
||
|
|
||
|
iget-object v0, v0, Lb0/y;->b:Lb0/u;
|
||
|
|
||
|
iget-object v0, v0, Lb0/u;->e:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public run()V
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "OkHttp "
|
||
|
|
||
|
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v1, p0, Lb0/x$a;->f:Lb0/x;
|
||
|
|
||
|
iget-object v1, v1, Lb0/x;->g:Lb0/y;
|
||
|
|
||
|
iget-object v1, v1, Lb0/y;->b:Lb0/u;
|
||
|
|
||
|
invoke-virtual {v1}, Lb0/u;->g()Ljava/lang/String;
|
||
|
|
||
|
move-result-object 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
|
||
|
|
||
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
const-string v2, "currentThread"
|
||
|
|
||
|
invoke-static {v1, v2}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/Thread;->getName()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v1, v0}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object v0, p0, Lb0/x$a;->f:Lb0/x;
|
||
|
|
||
|
iget-object v0, v0, Lb0/x;->d:Lb0/c0/c/n;
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
iget-object v0, v0, Lb0/c0/c/n;->c:Lb0/c0/c/n$b;
|
||
|
|
||
|
invoke-virtual {v0}, Lc0/b;->g()V
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||
|
|
||
|
:try_start_1
|
||
|
iget-object v0, p0, Lb0/x$a;->f:Lb0/x;
|
||
|
|
||
|
invoke-virtual {v0}, Lb0/x;->c()Lokhttp3/Response;
|
||
|
|
||
|
move-result-object v0
|
||
|
:try_end_1
|
||
|
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_1
|
||
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||
|
|
||
|
const/4 v3, 0x1
|
||
|
|
||
|
:try_start_2
|
||
|
iget-object v4, p0, Lb0/x$a;->e:Lb0/f;
|
||
|
|
||
|
iget-object v5, p0, Lb0/x$a;->f:Lb0/x;
|
||
|
|
||
|
invoke-interface {v4, v5, v0}, Lb0/f;->a(Lb0/e;Lokhttp3/Response;)V
|
||
|
:try_end_2
|
||
|
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
|
||
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||
|
|
||
|
:try_start_3
|
||
|
iget-object v0, p0, Lb0/x$a;->f:Lb0/x;
|
||
|
|
||
|
:goto_0
|
||
|
iget-object v0, v0, Lb0/x;->f:Lb0/v;
|
||
|
:try_end_3
|
||
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:catch_0
|
||
|
move-exception v0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception v0
|
||
|
|
||
|
goto :goto_4
|
||
|
|
||
|
:catch_1
|
||
|
move-exception v0
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
:goto_1
|
||
|
if-eqz v3, :cond_0
|
||
|
|
||
|
:try_start_4
|
||
|
sget-object v3, Lb0/c0/g/f;->c:Lb0/c0/g/f$a;
|
||
|
|
||
|
invoke-virtual {v3}, Lb0/c0/g/f$a;->b()Lb0/c0/g/f;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
const/4 v4, 0x4
|
||
|
|
||
|
new-instance v5, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v6, "Callback failure for "
|
||
|
|
||
|
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v6, p0, Lb0/x$a;->f:Lb0/x;
|
||
|
|
||
|
invoke-virtual {v6}, Lb0/x;->d()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v6
|
||
|
|
||
|
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v5
|
||
|
|
||
|
invoke-virtual {v3, v4, v5, v0}, Lb0/c0/g/f;->a(ILjava/lang/String;Ljava/lang/Throwable;)V
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v3, p0, Lb0/x$a;->e:Lb0/f;
|
||
|
|
||
|
iget-object v4, p0, Lb0/x$a;->f:Lb0/x;
|
||
|
|
||
|
invoke-interface {v3, v4, v0}, Lb0/f;->a(Lb0/e;Ljava/io/IOException;)V
|
||
|
:try_end_4
|
||
|
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
||
|
|
||
|
:goto_2
|
||
|
:try_start_5
|
||
|
iget-object v0, p0, Lb0/x$a;->f:Lb0/x;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:goto_3
|
||
|
iget-object v0, v0, Lb0/v;->d:Lb0/o;
|
||
|
|
||
|
invoke-virtual {v0, p0}, Lb0/o;->b(Lb0/x$a;)V
|
||
|
:try_end_5
|
||
|
.catchall {:try_start_5 .. :try_end_5} :catchall_1
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:goto_4
|
||
|
:try_start_6
|
||
|
iget-object v3, p0, Lb0/x$a;->f:Lb0/x;
|
||
|
|
||
|
iget-object v3, v3, Lb0/x;->f:Lb0/v;
|
||
|
|
||
|
iget-object v3, v3, Lb0/v;->d:Lb0/o;
|
||
|
|
||
|
invoke-virtual {v3, p0}, Lb0/o;->b(Lb0/x$a;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:cond_1
|
||
|
const-string v0, "transmitter"
|
||
|
|
||
|
invoke-static {v0}, Lx/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||
|
:try_end_6
|
||
|
.catchall {:try_start_6 .. :try_end_6} :catchall_1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:catchall_1
|
||
|
move-exception v0
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|