374 lines
6.5 KiB
Smali
374 lines
6.5 KiB
Smali
.class public abstract La0/a/s0$b;
|
|
.super Ljava/lang/Object;
|
|
.source "EventLoop.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
.implements Ljava/lang/Comparable;
|
|
.implements La0/a/o0;
|
|
.implements La0/a/a2/a0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = La0/a/s0;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "b"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Ljava/lang/Runnable;",
|
|
"Ljava/lang/Comparable<",
|
|
"La0/a/s0$b;",
|
|
">;",
|
|
"La0/a/o0;",
|
|
"La0/a/a2/a0;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public d:Ljava/lang/Object;
|
|
|
|
.field public e:I
|
|
|
|
.field public final f:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(J)V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, -0x1
|
|
|
|
iput v0, p0, La0/a/s0$b;->e:I
|
|
|
|
sget-object v0, La0/a/w1;->a:La0/a/v1;
|
|
|
|
check-cast v0, La0/a/h0;
|
|
|
|
invoke-virtual {v0}, La0/a/h0;->a()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {p1, p2}, La0/a/t0;->a(J)J
|
|
|
|
move-result-wide p1
|
|
|
|
add-long/2addr p1, v0
|
|
|
|
iput-wide p1, p0, La0/a/s0$b;->f:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final declared-synchronized a(La0/a/a2/z;La0/a/s0;)I
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"La0/a/a2/z<",
|
|
"La0/a/s0$b;",
|
|
">;",
|
|
"La0/a/s0;",
|
|
")I"
|
|
}
|
|
.end annotation
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
const-string v0, "delayed"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
const-string v0, "eventLoop"
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
iget-object v0, p0, La0/a/s0$b;->d:Ljava/lang/Object;
|
|
|
|
sget-object v1, La0/a/t0;->a:La0/a/a2/v;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
const/4 p1, 0x2
|
|
|
|
monitor-exit p0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
:try_start_1
|
|
monitor-enter p1
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
:try_start_2
|
|
iget-boolean p2, p2, La0/a/s0;->isCompleted:Z
|
|
|
|
const/4 v0, 0x1
|
|
|
|
xor-int/2addr p2, v0
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
invoke-virtual {p1, p0}, La0/a/a2/z;->a(La0/a/a2/a0;)V
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
const/4 p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 p2, 0x0
|
|
|
|
:goto_0
|
|
:try_start_3
|
|
monitor-exit p1
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
xor-int/lit8 p1, p2, 0x1
|
|
|
|
monitor-exit p0
|
|
|
|
return p1
|
|
|
|
:goto_1
|
|
:try_start_4
|
|
monitor-exit p1
|
|
|
|
throw p2
|
|
|
|
:cond_2
|
|
invoke-static {v0}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
:try_end_4
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_1
|
|
|
|
throw v1
|
|
|
|
:cond_3
|
|
:try_start_5
|
|
invoke-static {v0}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
:try_end_5
|
|
.catchall {:try_start_5 .. :try_end_5} :catchall_1
|
|
|
|
throw v1
|
|
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public a()La0/a/a2/z;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"La0/a/a2/z<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, La0/a/s0$b;->d:Ljava/lang/Object;
|
|
|
|
instance-of v1, v0, La0/a/a2/z;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:cond_0
|
|
check-cast v0, La0/a/a2/z;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public a(La0/a/a2/z;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"La0/a/a2/z<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, La0/a/s0$b;->d:Ljava/lang/Object;
|
|
|
|
sget-object v1, La0/a/t0;->a:La0/a/a2/v;
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
iput-object p1, p0, La0/a/s0$b;->d:Ljava/lang/Object;
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "Failed requirement."
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public compareTo(Ljava/lang/Object;)I
|
|
.locals 4
|
|
|
|
check-cast p1, La0/a/s0$b;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-wide v0, p0, La0/a/s0$b;->f:J
|
|
|
|
iget-wide v2, p1, La0/a/s0$b;->f:J
|
|
|
|
sub-long/2addr v0, v2
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long p1, v0, v2
|
|
|
|
if-lez p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-gez p1, :cond_1
|
|
|
|
const/4 p1, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
|
|
:cond_2
|
|
const-string p1, "other"
|
|
|
|
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final declared-synchronized dispose()V
|
|
.locals 2
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, La0/a/s0$b;->d:Ljava/lang/Object;
|
|
|
|
sget-object v1, La0/a/t0;->a:La0/a/a2/v;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
:try_start_1
|
|
instance-of v1, v0, La0/a/a2/z;
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:cond_1
|
|
check-cast v0, La0/a/a2/z;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-virtual {v0, p0}, La0/a/a2/z;->b(La0/a/a2/a0;)Z
|
|
|
|
:cond_2
|
|
sget-object v0, La0/a/t0;->a:La0/a/a2/v;
|
|
|
|
iput-object v0, p0, La0/a/s0$b;->d:Ljava/lang/Object;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
const-string v0, "Delayed[nanos="
|
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-wide v1, p0, La0/a/s0$b;->f:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x5d
|
|
|
|
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
|