2020-07-08 16:44:49 +00:00
|
|
|
.class public Landroidx/work/impl/utils/WorkTimer$1;
|
2020-05-17 12:40:10 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WorkTimer.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/util/concurrent/ThreadFactory;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-07-08 16:44:49 +00:00
|
|
|
value = Landroidx/work/impl/utils/WorkTimer;
|
2020-05-17 12:40:10 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x1
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public mThreadsCreated:I
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.field public final synthetic this$0:Landroidx/work/impl/utils/WorkTimer;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public constructor <init>(Landroidx/work/impl/utils/WorkTimer;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput-object p1, p0, Landroidx/work/impl/utils/WorkTimer$1;->this$0:Landroidx/work/impl/utils/WorkTimer;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput p1, p0, Landroidx/work/impl/utils/WorkTimer$1;->mThreadsCreated:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
|
|
|
|
.locals 2
|
|
|
|
.param p1 # Ljava/lang/Runnable;
|
|
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
invoke-static {}, Ljava/util/concurrent/Executors;->defaultThreadFactory()Ljava/util/concurrent/ThreadFactory;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/concurrent/ThreadFactory;->newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "WorkManager-WorkTimer-thread-"
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget v1, p0, Landroidx/work/impl/utils/WorkTimer$1;->mThreadsCreated:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget v0, p0, Landroidx/work/impl/utils/WorkTimer$1;->mThreadsCreated:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput v0, p0, Landroidx/work/impl/utils/WorkTimer$1;->mThreadsCreated:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|