apkfuckery/com.discord/smali/com/adjust/sdk/ae.smali
2019-02-21 03:16:48 +01:00

462 lines
10 KiB
Smali

.class public final Lcom/adjust/sdk/ae;
.super Ljava/lang/Object;
.source "Logger.java"
# interfaces
.implements Lcom/adjust/sdk/x;
# static fields
.field private static eS:Ljava/lang/String; = "Error formating log message: %s, with params: %s"
# instance fields
.field private eP:Lcom/adjust/sdk/ad;
.field private eQ:Z
.field private eR:Z
# direct methods
.method static constructor <clinit>()V
.locals 0
return-void
.end method
.method public constructor <init>()V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/adjust/sdk/ae;->eR:Z
iput-boolean v0, p0, Lcom/adjust/sdk/ae;->eQ:Z
sget-object v0, Lcom/adjust/sdk/ad;->eJ:Lcom/adjust/sdk/ad;
iget-boolean v1, p0, Lcom/adjust/sdk/ae;->eR:Z
invoke-virtual {p0, v0, v1}, Lcom/adjust/sdk/ae;->a(Lcom/adjust/sdk/ad;Z)V
return-void
.end method
# virtual methods
.method public final a(Lcom/adjust/sdk/ad;Z)V
.locals 1
iget-boolean v0, p0, Lcom/adjust/sdk/ae;->eQ:Z
if-eqz v0, :cond_0
return-void
:cond_0
iput-object p1, p0, Lcom/adjust/sdk/ae;->eP:Lcom/adjust/sdk/ad;
iput-boolean p2, p0, Lcom/adjust/sdk/ae;->eR:Z
return-void
.end method
.method public final varargs a(Ljava/lang/String;[Ljava/lang/Object;)V
.locals 5
iget-boolean v0, p0, Lcom/adjust/sdk/ae;->eR:Z
if-eqz v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/ae;->eP:Lcom/adjust/sdk/ad;
iget v0, v0, Lcom/adjust/sdk/ad;->androidLogLevel:I
const/4 v1, 0x2
if-gt v0, v1, :cond_1
:try_start_0
const-string v0, "Adjust"
sget-object v2, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-static {v2, p1, p2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v2
invoke-static {v0, v2}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
const-string v0, "Adjust"
sget-object v2, Ljava/util/Locale;->US:Ljava/util/Locale;
sget-object v3, Lcom/adjust/sdk/ae;->eS:Ljava/lang/String;
new-array v1, v1, [Ljava/lang/Object;
const/4 v4, 0x0
aput-object p1, v1, v4
const/4 p1, 0x1
invoke-static {p2}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
move-result-object p2
aput-object p2, v1, p1
invoke-static {v2, v3, v1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:cond_1
return-void
.end method
.method public final ai()V
.locals 1
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/adjust/sdk/ae;->eQ:Z
return-void
.end method
.method public final varargs b(Ljava/lang/String;[Ljava/lang/Object;)V
.locals 5
iget-boolean v0, p0, Lcom/adjust/sdk/ae;->eR:Z
if-eqz v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/ae;->eP:Lcom/adjust/sdk/ad;
iget v0, v0, Lcom/adjust/sdk/ad;->androidLogLevel:I
const/4 v1, 0x3
if-gt v0, v1, :cond_1
:try_start_0
const-string v0, "Adjust"
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-static {v1, p1, p2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
const-string v0, "Adjust"
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
sget-object v2, Lcom/adjust/sdk/ae;->eS:Ljava/lang/String;
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
aput-object p1, v3, v4
const/4 p1, 0x1
invoke-static {p2}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
move-result-object p2
aput-object p2, v3, p1
invoke-static {v1, v2, v3}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:cond_1
return-void
.end method
.method public final varargs c(Ljava/lang/String;[Ljava/lang/Object;)V
.locals 5
iget-boolean v0, p0, Lcom/adjust/sdk/ae;->eR:Z
if-eqz v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/ae;->eP:Lcom/adjust/sdk/ad;
iget v0, v0, Lcom/adjust/sdk/ad;->androidLogLevel:I
const/4 v1, 0x4
if-gt v0, v1, :cond_1
:try_start_0
const-string v0, "Adjust"
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-static {v1, p1, p2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
const-string v0, "Adjust"
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
sget-object v2, Lcom/adjust/sdk/ae;->eS:Ljava/lang/String;
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
aput-object p1, v3, v4
const/4 p1, 0x1
invoke-static {p2}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
move-result-object p2
aput-object p2, v3, p1
invoke-static {v1, v2, v3}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:cond_1
return-void
.end method
.method public final varargs d(Ljava/lang/String;[Ljava/lang/Object;)V
.locals 5
iget-boolean v0, p0, Lcom/adjust/sdk/ae;->eR:Z
if-eqz v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/ae;->eP:Lcom/adjust/sdk/ad;
iget v0, v0, Lcom/adjust/sdk/ad;->androidLogLevel:I
const/4 v1, 0x5
if-gt v0, v1, :cond_1
:try_start_0
const-string v0, "Adjust"
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-static {v1, p1, p2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
const-string v0, "Adjust"
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
sget-object v2, Lcom/adjust/sdk/ae;->eS:Ljava/lang/String;
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
aput-object p1, v3, v4
const/4 p1, 0x1
invoke-static {p2}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
move-result-object p2
aput-object p2, v3, p1
invoke-static {v1, v2, v3}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:cond_1
return-void
.end method
.method public final varargs e(Ljava/lang/String;[Ljava/lang/Object;)V
.locals 5
iget-object v0, p0, Lcom/adjust/sdk/ae;->eP:Lcom/adjust/sdk/ad;
iget v0, v0, Lcom/adjust/sdk/ad;->androidLogLevel:I
const/4 v1, 0x5
if-gt v0, v1, :cond_0
:try_start_0
const-string v0, "Adjust"
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-static {v1, p1, p2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
const-string v0, "Adjust"
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
sget-object v2, Lcom/adjust/sdk/ae;->eS:Ljava/lang/String;
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
aput-object p1, v3, v4
const/4 p1, 0x1
invoke-static {p2}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
move-result-object p2
aput-object p2, v3, p1
invoke-static {v1, v2, v3}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:cond_0
return-void
.end method
.method public final varargs f(Ljava/lang/String;[Ljava/lang/Object;)V
.locals 5
iget-boolean v0, p0, Lcom/adjust/sdk/ae;->eR:Z
if-eqz v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/ae;->eP:Lcom/adjust/sdk/ad;
iget v0, v0, Lcom/adjust/sdk/ad;->androidLogLevel:I
const/4 v1, 0x6
if-gt v0, v1, :cond_1
:try_start_0
const-string v0, "Adjust"
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-static {v1, p1, p2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
const-string v0, "Adjust"
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
sget-object v2, Lcom/adjust/sdk/ae;->eS:Ljava/lang/String;
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
aput-object p1, v3, v4
const/4 p1, 0x1
invoke-static {p2}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
move-result-object p2
aput-object p2, v3, p1
invoke-static {v1, v2, v3}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:cond_1
return-void
.end method