76 lines
1.3 KiB
Smali
76 lines
1.3 KiB
Smali
|
.class public final Lu/a;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "AndroidExecutors.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/MemberClasses;
|
||
|
value = {
|
||
|
Lu/a$b;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field public static final b:Lu/a;
|
||
|
|
||
|
.field public static final c:I
|
||
|
|
||
|
.field public static final d:I
|
||
|
|
||
|
.field public static final e:I
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final a:Ljava/util/concurrent/Executor;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public static constructor <clinit>()V
|
||
|
.locals 2
|
||
|
|
||
|
new-instance v0, Lu/a;
|
||
|
|
||
|
invoke-direct {v0}, Lu/a;-><init>()V
|
||
|
|
||
|
sput-object v0, Lu/a;->b:Lu/a;
|
||
|
|
||
|
invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Runtime;->availableProcessors()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
sput v0, Lu/a;->c:I
|
||
|
|
||
|
add-int/lit8 v1, v0, 0x1
|
||
|
|
||
|
sput v1, Lu/a;->d:I
|
||
|
|
||
|
mul-int/lit8 v0, v0, 0x2
|
||
|
|
||
|
add-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
sput v0, Lu/a;->e:I
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>()V
|
||
|
.locals 2
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
new-instance v0, Lu/a$b;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, v1}, Lu/a$b;-><init>(Lu/a$a;)V
|
||
|
|
||
|
iput-object v0, p0, Lu/a;->a:Ljava/util/concurrent/Executor;
|
||
|
|
||
|
return-void
|
||
|
.end method
|