185 lines
3.5 KiB
Smali
185 lines
3.5 KiB
Smali
|
.class public final Ld0/d;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "AsyncTimeout.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Ld0/w;
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final synthetic d:Ld0/b;
|
||
|
|
||
|
.field public final synthetic e:Ld0/w;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Ld0/b;Ld0/w;)V
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ld0/w;",
|
||
|
")V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
iput-object p1, p0, Ld0/d;->d:Ld0/b;
|
||
|
|
||
|
iput-object p2, p0, Ld0/d;->e:Ld0/w;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public b(Ld0/e;J)J
|
||
|
.locals 2
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
iget-object v1, p0, Ld0/d;->d:Ld0/b;
|
||
|
|
||
|
invoke-virtual {v1}, Ld0/b;->g()V
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object v1, p0, Ld0/d;->e:Ld0/w;
|
||
|
|
||
|
invoke-interface {v1, p1, p2, p3}, Ld0/w;->b(Ld0/e;J)J
|
||
|
|
||
|
move-result-wide p1
|
||
|
:try_end_0
|
||
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
const/4 p3, 0x1
|
||
|
|
||
|
iget-object v0, p0, Ld0/d;->d:Ld0/b;
|
||
|
|
||
|
invoke-virtual {v0, p3}, Ld0/b;->a(Z)V
|
||
|
|
||
|
return-wide p1
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception p1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:catch_0
|
||
|
move-exception p1
|
||
|
|
||
|
:try_start_1
|
||
|
iget-object p2, p0, Ld0/d;->d:Ld0/b;
|
||
|
|
||
|
invoke-virtual {p2, p1}, Ld0/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
throw p1
|
||
|
:try_end_1
|
||
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||
|
|
||
|
:goto_0
|
||
|
iget-object p2, p0, Ld0/d;->d:Ld0/b;
|
||
|
|
||
|
invoke-virtual {p2, v0}, Ld0/b;->a(Z)V
|
||
|
|
||
|
throw p1
|
||
|
|
||
|
:cond_0
|
||
|
const-string p1, "sink"
|
||
|
|
||
|
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
throw p1
|
||
|
.end method
|
||
|
|
||
|
.method public close()V
|
||
|
.locals 3
|
||
|
|
||
|
iget-object v0, p0, Ld0/d;->d:Ld0/b;
|
||
|
|
||
|
invoke-virtual {v0}, Ld0/b;->g()V
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object v0, p0, Ld0/d;->e:Ld0/w;
|
||
|
|
||
|
invoke-interface {v0}, Ld0/w;->close()V
|
||
|
:try_end_0
|
||
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
iget-object v1, p0, Ld0/d;->d:Ld0/b;
|
||
|
|
||
|
invoke-virtual {v1, v0}, Ld0/b;->a(Z)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:catch_0
|
||
|
move-exception v0
|
||
|
|
||
|
:try_start_1
|
||
|
iget-object v1, p0, Ld0/d;->d:Ld0/b;
|
||
|
|
||
|
invoke-virtual {v1, v0}, Ld0/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
throw v0
|
||
|
:try_end_1
|
||
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||
|
|
||
|
:goto_0
|
||
|
iget-object v1, p0, Ld0/d;->d:Ld0/b;
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ld0/b;->a(Z)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public timeout()Ld0/x;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Ld0/d;->d:Ld0/b;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public toString()Ljava/lang/String;
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "AsyncTimeout.source("
|
||
|
|
||
|
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v1, p0, Ld0/d;->e:Ld0/w;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const/16 v1, 0x29
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|