165 lines
3.2 KiB
Smali
165 lines
3.2 KiB
Smali
.class public Lx/a/b2/d;
|
|
.super Lx/a/u0;
|
|
.source "Dispatcher.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public d:Lx/a/b2/b;
|
|
|
|
.field public final e:I
|
|
|
|
.field public final f:I
|
|
|
|
.field public final g:J
|
|
|
|
.field public final h:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public synthetic constructor <init>(IILjava/lang/String;I)V
|
|
.locals 8
|
|
|
|
and-int/lit8 v0, p4, 0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
sget p1, Lx/a/b2/m;->c:I
|
|
|
|
:cond_0
|
|
and-int/lit8 v0, p4, 0x2
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
sget p2, Lx/a/b2/m;->d:I
|
|
|
|
:cond_1
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
if-eqz p4, :cond_2
|
|
|
|
const-string p3, "DefaultDispatcher"
|
|
|
|
:cond_2
|
|
if-eqz p3, :cond_3
|
|
|
|
sget-wide v0, Lx/a/b2/m;->e:J
|
|
|
|
invoke-direct {p0}, Lx/a/u0;-><init>()V
|
|
|
|
iput p1, p0, Lx/a/b2/d;->e:I
|
|
|
|
iput p2, p0, Lx/a/b2/d;->f:I
|
|
|
|
iput-wide v0, p0, Lx/a/b2/d;->g:J
|
|
|
|
iput-object p3, p0, Lx/a/b2/d;->h:Ljava/lang/String;
|
|
|
|
new-instance p1, Lx/a/b2/b;
|
|
|
|
iget v3, p0, Lx/a/b2/d;->e:I
|
|
|
|
iget v4, p0, Lx/a/b2/d;->f:I
|
|
|
|
iget-wide v5, p0, Lx/a/b2/d;->g:J
|
|
|
|
iget-object v7, p0, Lx/a/b2/d;->h:Ljava/lang/String;
|
|
|
|
move-object v2, p1
|
|
|
|
invoke-direct/range {v2 .. v7}, Lx/a/b2/b;-><init>(IIJLjava/lang/String;)V
|
|
|
|
iput-object p1, p0, Lx/a/b2/d;->d:Lx/a/b2/b;
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
const-string p1, "schedulerName"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Ljava/lang/Runnable;Lx/a/b2/j;Z)V
|
|
.locals 1
|
|
|
|
const-string v0, "block"
|
|
|
|
invoke-static {p1, v0}, Lw/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "context"
|
|
|
|
invoke-static {p2, v0}, Lw/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lx/a/b2/d;->d:Lx/a/b2/b;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Lx/a/b2/b;->a(Ljava/lang/Runnable;Lx/a/b2/j;Z)V
|
|
:try_end_0
|
|
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
sget-object p3, Lx/a/f0;->j:Lx/a/f0;
|
|
|
|
iget-object v0, p0, Lx/a/b2/d;->d:Lx/a/b2/b;
|
|
|
|
invoke-virtual {v0, p1, p2}, Lx/a/b2/b;->a(Ljava/lang/Runnable;Lx/a/b2/j;)Lx/a/b2/i;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p3, p1}, Lx/a/s0;->a(Ljava/lang/Runnable;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
:try_start_0
|
|
iget-object p1, p0, Lx/a/b2/d;->d:Lx/a/b2/b;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x6
|
|
|
|
invoke-static {p1, p2, v0, v1, v2}, Lx/a/b2/b;->a(Lx/a/b2/b;Ljava/lang/Runnable;Lx/a/b2/j;ZI)V
|
|
:try_end_0
|
|
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
sget-object p1, Lx/a/f0;->j:Lx/a/f0;
|
|
|
|
invoke-virtual {p1, p2}, Lx/a/s0;->a(Ljava/lang/Runnable;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "block"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "context"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|