97 lines
2.3 KiB
Smali
97 lines
2.3 KiB
Smali
.class public final Lu/a/u1$a;
|
|
.super Ljava/lang/Object;
|
|
.source "ThreadPoolDispatcher.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/concurrent/ThreadFactory;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lu/a/u1;-><init>(ILjava/lang/String;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:Lu/a/u1;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lu/a/u1;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lu/a/u1$a;->d:Lu/a/u1;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
|
|
.locals 5
|
|
|
|
new-instance v0, Lu/a/p1;
|
|
|
|
iget-object v1, p0, Lu/a/u1$a;->d:Lu/a/u1;
|
|
|
|
const-string v2, "target"
|
|
|
|
invoke-static {p1, v2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Lu/a/u1$a;->d:Lu/a/u1;
|
|
|
|
iget v3, v2, Lu/a/u1;->g:I
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-ne v3, v4, :cond_0
|
|
|
|
invoke-static {v2}, Lu/a/u1;->a(Lu/a/u1;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget-object v3, p0, Lu/a/u1$a;->d:Lu/a/u1;
|
|
|
|
invoke-static {v3}, Lu/a/u1;->a(Lu/a/u1;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v3, "-"
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v3, p0, Lu/a/u1$a;->d:Lu/a/u1;
|
|
|
|
iget-object v3, v3, Lu/a/u1;->e:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
:goto_0
|
|
invoke-direct {v0, v1, p1, v2}, Lu/a/p1;-><init>(Lu/a/u1;Ljava/lang/Runnable;Ljava/lang/String;)V
|
|
|
|
return-object v0
|
|
.end method
|