2020-03-27 22:23:51 +00:00
|
|
|
.class public Ld0/b;
|
|
|
|
.super Ld0/x;
|
|
|
|
.source "AsyncTimeout.kt"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
2020-03-27 22:23:51 +00:00
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
2019-07-24 11:27:29 +00:00
|
|
|
value = {
|
2020-03-27 22:23:51 +00:00
|
|
|
Ld0/b$b;,
|
|
|
|
Ld0/b$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
# static fields
|
|
|
|
.field public static final h:J
|
|
|
|
|
|
|
|
.field public static final i:J
|
|
|
|
|
|
|
|
.field public static j:Ld0/b;
|
|
|
|
|
|
|
|
.field public static final k:Ld0/b$a;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public e:Z
|
|
|
|
|
|
|
|
.field public f:Ld0/b;
|
|
|
|
|
|
|
|
.field public g:J
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
new-instance v0, Ld0/b$a;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ld0/b$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
sput-object v0, Ld0/b;->k:Ld0/b$a;
|
|
|
|
|
|
|
|
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
|
|
|
|
const-wide/16 v1, 0x3c
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
sput-wide v0, Ld0/b;->h:J
|
|
|
|
|
|
|
|
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
|
|
|
|
sget-wide v1, Ld0/b;->h:J
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
sput-wide v0, Ld0/b;->i:J
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ld0/x;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
# virtual methods
|
2020-03-27 22:23:51 +00:00
|
|
|
.method public final a(Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ld0/b;->h()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0, p1}, Ld0/b;->b(Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "cause"
|
|
|
|
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Z)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ld0/b;->h()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ld0/b;->b(Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public b(Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
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_0
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/io/InterruptedIOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final g()V
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Ld0/b;->e:Z
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
iget-wide v2, p0, Ld0/x;->c:J
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Ld0/x;->a:Z
|
|
|
|
|
|
|
|
const-wide/16 v4, 0x0
|
|
|
|
|
|
|
|
cmp-long v6, v2, v4
|
|
|
|
|
|
|
|
if-nez v6, :cond_0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iput-boolean v1, p0, Ld0/b;->e:Z
|
|
|
|
|
|
|
|
sget-object v1, Ld0/b;->k:Ld0/b$a;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p0, v2, v3, v0}, Ld0/b$a;->a(Ld0/b;JZ)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "Unbalanced enter/exit"
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final h()Z
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Ld0/b;->e:Z
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iput-boolean v1, p0, Ld0/b;->e:Z
|
|
|
|
|
|
|
|
sget-object v0, Ld0/b;->k:Ld0/b$a;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ld0/b$a;->a(Ld0/b;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public i()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
return-void
|
2020-02-20 19:33:18 +00:00
|
|
|
.end method
|