50 lines
1,002 B
Smali
50 lines
1,002 B
Smali
.class public final synthetic Lu/a/a2/x;
|
|
.super Ljava/lang/Object;
|
|
.source "SystemProps.kt"
|
|
|
|
|
|
# static fields
|
|
.field public static final a:I
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
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/a2/x;->a:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final a(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
:try_start_0
|
|
invoke-static {p0}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p0, "propertyName"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|