80 lines
2.3 KiB
Smali
80 lines
2.3 KiB
Smali
.class final Lio/fabric/sdk/android/a/b/o$1;
|
|
.super Ljava/lang/Object;
|
|
.source "ExecutorUtils.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/concurrent/ThreadFactory;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lio/fabric/sdk/android/a/b/o;->dC(Ljava/lang/String;)Ljava/util/concurrent/ThreadFactory;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x8
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic biL:Ljava/lang/String;
|
|
|
|
.field final synthetic biM:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicLong;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lio/fabric/sdk/android/a/b/o$1;->biL:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lio/fabric/sdk/android/a/b/o$1;->biM:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
|
|
.locals 3
|
|
|
|
invoke-static {}, Ljava/util/concurrent/Executors;->defaultThreadFactory()Ljava/util/concurrent/ThreadFactory;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lio/fabric/sdk/android/a/b/o$1$1;
|
|
|
|
invoke-direct {v1, p0, p1}, Lio/fabric/sdk/android/a/b/o$1$1;-><init>(Lio/fabric/sdk/android/a/b/o$1;Ljava/lang/Runnable;)V
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/concurrent/ThreadFactory;->newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/a/b/o$1;->biL:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/a/b/o$1;->biM:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicLong;->getAndIncrement()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)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
|
|
|
|
return-object p1
|
|
.end method
|