Rabbit-R1/original r1/smali/smali_classes2/androidx/work/ConfigurationKt.smali
2024-05-21 17:08:36 -04:00

108 lines
2.9 KiB
Smali

.class public final Landroidx/work/ConfigurationKt;
.super Ljava/lang/Object;
.source "Configuration.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u0016\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\u001a\u0010\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u0007H\u0002\"\u0014\u0010\u0000\u001a\u00020\u0001X\u0080D\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0002\u0010\u0003\u00a8\u0006\u0008"
}
d2 = {
"DEFAULT_CONTENT_URI_TRIGGERS_WORKERS_LIMIT",
"",
"getDEFAULT_CONTENT_URI_TRIGGERS_WORKERS_LIMIT",
"()I",
"createDefaultExecutor",
"Ljava/util/concurrent/Executor;",
"isTaskExecutor",
"",
"work-runtime_release"
}
k = 0x2
mv = {
0x1,
0x8,
0x0
}
xi = 0x30
.end annotation
# static fields
.field private static final DEFAULT_CONTENT_URI_TRIGGERS_WORKERS_LIMIT:I = 0x8
# direct methods
.method static constructor <clinit>()V
.locals 0
return-void
.end method
.method public static final synthetic access$createDefaultExecutor(Z)Ljava/util/concurrent/Executor;
.locals 0
.line 1
invoke-static {p0}, Landroidx/work/ConfigurationKt;->createDefaultExecutor(Z)Ljava/util/concurrent/Executor;
move-result-object p0
return-object p0
.end method
.method private static final createDefaultExecutor(Z)Ljava/util/concurrent/Executor;
.locals 2
.line 465
new-instance v0, Landroidx/work/ConfigurationKt$createDefaultExecutor$factory$1;
invoke-direct {v0, p0}, Landroidx/work/ConfigurationKt$createDefaultExecutor$factory$1;-><init>(Z)V
.line 475
invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Runtime;->availableProcessors()I
move-result p0
add-int/lit8 p0, p0, -0x1
const/4 v1, 0x4
invoke-static {p0, v1}, Ljava/lang/Math;->min(II)I
move-result p0
const/4 v1, 0x2
invoke-static {v1, p0}, Ljava/lang/Math;->max(II)I
move-result p0
.line 476
check-cast v0, Ljava/util/concurrent/ThreadFactory;
.line 473
invoke-static {p0, v0}, Ljava/util/concurrent/Executors;->newFixedThreadPool(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
move-result-object p0
const-string v0, "newFixedThreadPool(\n \u2026)),\n factory\n )"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p0, Ljava/util/concurrent/Executor;
return-object p0
.end method
.method public static final getDEFAULT_CONTENT_URI_TRIGGERS_WORKERS_LIMIT()I
.locals 1
sget v0, Landroidx/work/ConfigurationKt;->DEFAULT_CONTENT_URI_TRIGGERS_WORKERS_LIMIT:I
return v0
.end method