213 lines
4.1 KiB
Smali
213 lines
4.1 KiB
Smali
|
.class public abstract Lt/a/v0;
|
||
|
.super Lt/a/u0;
|
||
|
.source "Executors.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lt/a/i0;
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public d:Z
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Lt/a/u0;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public a(JLt/a/h;)V
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(J",
|
||
|
"Lt/a/h<",
|
||
|
"-",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;)V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p3, :cond_3
|
||
|
|
||
|
iget-boolean v1, p0, Lt/a/v0;->d:Z
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
new-instance v1, Lt/a/q1;
|
||
|
|
||
|
invoke-direct {v1, p0, p3}, Lt/a/q1;-><init>(Lt/a/x;Lt/a/h;)V
|
||
|
|
||
|
sget-object v2, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
||
|
|
||
|
:try_start_0
|
||
|
move-object v3, p0
|
||
|
|
||
|
check-cast v3, Lt/a/u1;
|
||
|
|
||
|
iget-object v3, v3, Lt/a/u1;->f:Ljava/util/concurrent/Executor;
|
||
|
|
||
|
instance-of v4, v3, Ljava/util/concurrent/ScheduledExecutorService;
|
||
|
|
||
|
if-nez v4, :cond_0
|
||
|
|
||
|
move-object v3, v0
|
||
|
|
||
|
:cond_0
|
||
|
check-cast v3, Ljava/util/concurrent/ScheduledExecutorService;
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
invoke-interface {v3, v1, p1, p2, v2}, Ljava/util/concurrent/ScheduledExecutorService;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
|
||
|
|
||
|
move-result-object v0
|
||
|
:try_end_0
|
||
|
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_0 .. :try_end_0} :catch_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:catch_0
|
||
|
nop
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
new-instance p1, Lt/a/e;
|
||
|
|
||
|
invoke-direct {p1, v0}, Lt/a/e;-><init>(Ljava/util/concurrent/Future;)V
|
||
|
|
||
|
check-cast p3, Lt/a/i;
|
||
|
|
||
|
invoke-virtual {p3, p1}, Lt/a/i;->a(Lkotlin/jvm/functions/Function1;)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_2
|
||
|
sget-object v0, Lt/a/f0;->j:Lt/a/f0;
|
||
|
|
||
|
invoke-virtual {v0, p1, p2, p3}, Lt/a/s0;->a(JLt/a/h;)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_3
|
||
|
const-string p1, "continuation"
|
||
|
|
||
|
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
||
|
.locals 1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p1, :cond_1
|
||
|
|
||
|
if-eqz p2, :cond_0
|
||
|
|
||
|
:try_start_0
|
||
|
move-object p1, p0
|
||
|
|
||
|
check-cast p1, Lt/a/u1;
|
||
|
|
||
|
iget-object p1, p1, Lt/a/u1;->f:Ljava/util/concurrent/Executor;
|
||
|
|
||
|
sget-object v0, Lt/a/w1;->a:Lt/a/v1;
|
||
|
:try_end_0
|
||
|
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_0 .. :try_end_0} :catch_0
|
||
|
|
||
|
check-cast v0, Lt/a/h0;
|
||
|
|
||
|
:try_start_1
|
||
|
invoke-virtual {v0, p2}, Lt/a/h0;->a(Ljava/lang/Runnable;)Ljava/lang/Runnable;
|
||
|
|
||
|
invoke-interface {p1, p2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
||
|
:try_end_1
|
||
|
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_1 .. :try_end_1} :catch_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:catch_0
|
||
|
sget-object p1, Lt/a/w1;->a:Lt/a/v1;
|
||
|
|
||
|
check-cast p1, Lt/a/h0;
|
||
|
|
||
|
invoke-virtual {p1}, Lt/a/h0;->d()V
|
||
|
|
||
|
sget-object p1, Lt/a/f0;->j:Lt/a/f0;
|
||
|
|
||
|
invoke-virtual {p1, p2}, Lt/a/s0;->a(Ljava/lang/Runnable;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
const-string p1, "block"
|
||
|
|
||
|
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:cond_1
|
||
|
const-string p1, "context"
|
||
|
|
||
|
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public equals(Ljava/lang/Object;)Z
|
||
|
.locals 1
|
||
|
|
||
|
instance-of v0, p1, Lt/a/v0;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p1, Lt/a/u1;
|
||
|
|
||
|
iget-object p1, p1, Lt/a/u1;->f:Ljava/util/concurrent/Executor;
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Lt/a/u1;
|
||
|
|
||
|
iget-object v0, v0, Lt/a/u1;->f:Ljava/util/concurrent/Executor;
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public hashCode()I
|
||
|
.locals 1
|
||
|
|
||
|
move-object v0, p0
|
||
|
|
||
|
check-cast v0, Lt/a/u1;
|
||
|
|
||
|
iget-object v0, v0, Lt/a/u1;->f:Ljava/util/concurrent/Executor;
|
||
|
|
||
|
invoke-static {v0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|