AsyncTimeout$Watchdog.smali
.class final Lokio/AsyncTimeout$Watchdog;
.super Ljava/lang/Thread;
.source "AsyncTimeout.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokio/AsyncTimeout;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "Watchdog"
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nAsyncTimeout.kt\nKotlin\n*S Kotlin\n*F\n+ 1 AsyncTimeout.kt\nokio/AsyncTimeout$Watchdog\n+ 2 -Platform.kt\nokio/-Platform\n*L\n1#1,341:1\n28#2:342\n*E\n*S KotlinDebug\n*F\n+ 1 AsyncTimeout.kt\nokio/AsyncTimeout$Watchdog\n*L\n200#1:342\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0002\n\u0000\u0008\u0002\u0018\u00002\u00020\u0001B\u0007\u0008\u0000\u00a2\u0006\u0002\u0010\u0002J\u0008\u0010\u0003\u001a\u00020\u0004H\u0016\u00a8\u0006\u0005"
}
d2 = {
"Lokio/AsyncTimeout$Watchdog;",
"Ljava/lang/Thread;",
"()V",
"run",
"",
"okio"
}
k = 0x1
mv = {
0x1,
0x1,
0xf
}
.end annotation
# direct methods
.method public constructor <init>()V
.registers 2
const-string v0, "Okio Watchdog"
.line 191
invoke-direct {p0, v0}, Ljava/lang/Thread;-><init>(Ljava/lang/String;)V
const/4 v0, 0x1
.line 193
invoke-virtual {p0, v0}, Lokio/AsyncTimeout$Watchdog;->setDaemon(Z)V
return-void
.end method
# virtual methods
.method public run()V
.registers 5
:catch_0
:cond_0
:goto_0
const/4 v0, 0x0
.line 199
:try_start_1
move-object v1, v0
check-cast v1, Lokio/AsyncTimeout;
.line 200
const-class v1, Lokio/AsyncTimeout;
.line 342
monitor-enter v1
:try_end_7
.catch Ljava/lang/InterruptedException; {:try_start_1 .. :try_end_7} :catch_0
.line 201
:try_start_7
sget-object v2, Lokio/AsyncTimeout;->Companion:Lokio/AsyncTimeout$Companion;
invoke-virtual {v2}, Lokio/AsyncTimeout$Companion;->awaitTimeout$okio()Lokio/AsyncTimeout;
move-result-object v2
.line 205
# getter for: Lokio/AsyncTimeout;->head:Lokio/AsyncTimeout;
invoke-static {}, Lokio/AsyncTimeout;->access$getHead$cp()Lokio/AsyncTimeout;
move-result-object v3
if-ne v2, v3, :cond_1a
.line 206
check-cast v0, Lokio/AsyncTimeout;
invoke-static {v0}, Lokio/AsyncTimeout;->access$setHead$cp(Lokio/AsyncTimeout;)V
:try_end_18
.catchall {:try_start_7 .. :try_end_18} :catchall_23
.line 207
:try_start_18
monitor-exit v1
:try_end_19
.catch Ljava/lang/InterruptedException; {:try_start_18 .. :try_end_19} :catch_0
return-void
.line 209
:cond_1a
:try_start_1a
sget-object v0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_1c
.catchall {:try_start_1a .. :try_end_1c} :catchall_23
:try_start_1c
monitor-exit v1
if-eqz v2, :cond_0
.line 212
invoke-virtual {v2}, Lokio/AsyncTimeout;->timedOut()V
goto :goto_0
:catchall_23
move-exception v0
.line 209
monitor-exit v1
throw v0
:try_end_26
.catch Ljava/lang/InterruptedException; {:try_start_1c .. :try_end_26} :catch_0
.end method