granularity level: instruction
.class Lcom/google/firebase/installations/FirebaseInstallations$1;
.super Ljava/lang/Object;
.source "FirebaseInstallations.java"
.implements Ljava/util/concurrent/ThreadFactory;
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/FirebaseInstallations;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.field private final mCount:Ljava/util/concurrent/atomic/AtomicInteger;
.method constructor <init>()V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;
const/4 v1, 0x1
invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
iput-object v0, p0, Lcom/google/firebase/installations/FirebaseInstallations$1;->mCount:Ljava/util/concurrent/atomic/AtomicInteger;
return-void
.end method
.method public newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
.locals 4
new-instance v0, Ljava/lang/Thread;
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/Object;
iget-object v2, p0, Lcom/google/firebase/installations/FirebaseInstallations$1;->mCount:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v2}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I
move-result v2
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
const/4 v3, 0x0
aput-object v2, v1, v3
const-string v2, "firebase-installations-executor-%d"
invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-direct {v0, p1, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
return-object v0
.end method