190 lines
5.7 KiB
Smali
190 lines
5.7 KiB
Smali
.class public final Lkotlinx/coroutines/e3;
|
|
.super Lkotlinx/coroutines/o1;
|
|
.source "ThreadPoolDispatcher.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u0008\n\u0002\u0008\t\u0008\u0000\u0018\u00002\u00020\u0001B\u0019\u0008\u0000\u0012\u0006\u0010\u0013\u001a\u00020\u0010\u0012\u0006\u0010\u0016\u001a\u00020\u0004\u00a2\u0006\u0004\u0008\u0017\u0010\u0018J\u0008\u0010\u0003\u001a\u00020\u0002H\u0016J\u0008\u0010\u0005\u001a\u00020\u0004H\u0016R\u0014\u0010\t\u001a\u00020\u00068\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008\u0007\u0010\u0008R\u001a\u0010\u000f\u001a\u00020\n8\u0016X\u0096\u0004\u00a2\u0006\u000c\n\u0004\u0008\u000b\u0010\u000c\u001a\u0004\u0008\r\u0010\u000eR\u0014\u0010\u0013\u001a\u00020\u00108\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008\u0011\u0010\u0012R\u0014\u0010\u0016\u001a\u00020\u00048\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008\u0014\u0010\u0015\u00a8\u0006\u0019"
|
|
}
|
|
d2 = {
|
|
"Lkotlinx/coroutines/e3;",
|
|
"Lkotlinx/coroutines/o1;",
|
|
"Lkotlin/d1;",
|
|
"close",
|
|
"",
|
|
"toString",
|
|
"Ljava/util/concurrent/atomic/AtomicInteger;",
|
|
"c",
|
|
"Ljava/util/concurrent/atomic/AtomicInteger;",
|
|
"threadNo",
|
|
"Ljava/util/concurrent/Executor;",
|
|
"d",
|
|
"Ljava/util/concurrent/Executor;",
|
|
"H1",
|
|
"()Ljava/util/concurrent/Executor;",
|
|
"executor",
|
|
"",
|
|
"e",
|
|
"I",
|
|
"nThreads",
|
|
"f",
|
|
"Ljava/lang/String;",
|
|
"name",
|
|
"<init>",
|
|
"(ILjava/lang/String;)V",
|
|
"kotlinx-coroutines-core"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final c:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
.field public final d:Ljava/util/concurrent/Executor;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final e:I
|
|
|
|
.field public final f:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ILjava/lang/String;)V
|
|
.locals 0
|
|
.param p2 # Ljava/lang/String;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lkotlinx/coroutines/o1;-><init>()V
|
|
|
|
iput p1, p0, Lkotlinx/coroutines/e3;->e:I
|
|
|
|
iput-object p2, p0, Lkotlinx/coroutines/e3;->f:Ljava/lang/String;
|
|
|
|
.line 2
|
|
new-instance p2, Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
invoke-direct {p2}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
|
|
|
|
iput-object p2, p0, Lkotlinx/coroutines/e3;->c:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
.line 3
|
|
new-instance p2, Lkotlinx/coroutines/e3$a;
|
|
|
|
invoke-direct {p2, p0}, Lkotlinx/coroutines/e3$a;-><init>(Lkotlinx/coroutines/e3;)V
|
|
|
|
invoke-static {p1, p2}, Ljava/util/concurrent/Executors;->newScheduledThreadPool(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ScheduledExecutorService;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lkotlinx/coroutines/e3;->d:Ljava/util/concurrent/Executor;
|
|
|
|
.line 4
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/o1;->J1()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic L1(Lkotlinx/coroutines/e3;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget p0, p0, Lkotlinx/coroutines/e3;->e:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final synthetic M1(Lkotlinx/coroutines/e3;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p0, p0, Lkotlinx/coroutines/e3;->f:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic N1(Lkotlinx/coroutines/e3;)Ljava/util/concurrent/atomic/AtomicInteger;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p0, p0, Lkotlinx/coroutines/e3;->c:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public H1()Ljava/util/concurrent/Executor;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlinx/coroutines/e3;->d:Ljava/util/concurrent/Executor;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public close()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/e3;->H1()Ljava/util/concurrent/Executor;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "null cannot be cast to non-null type java.util.concurrent.ExecutorService"
|
|
|
|
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
check-cast v0, Ljava/util/concurrent/ExecutorService;
|
|
|
|
invoke-interface {v0}, Ljava/util/concurrent/ExecutorService;->shutdown()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "ThreadPoolDispatcher["
|
|
|
|
.line 1
|
|
invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Lkotlinx/coroutines/e3;->e:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lkotlinx/coroutines/e3;->f:Ljava/lang/String;
|
|
|
|
const/16 v2, 0x5d
|
|
|
|
invoke-static {v0, v1, v2}, Lu2/g;->a(Ljava/lang/StringBuilder;Ljava/lang/String;C)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|