2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/adjust/sdk/ae;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Logger.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lcom/adjust/sdk/x;
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-10-23 04:50:18 +00:00
|
|
|
.field private static cV:Ljava/lang/String; = "Error formating log message: %s, with params: %s"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-23 04:50:18 +00:00
|
|
|
.field private cS:Lcom/adjust/sdk/ad;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-10-19 01:51:17 +00:00
|
|
|
.field private cT:Z
|
2019-10-11 21:55:41 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
.field private cU:Z
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iput-boolean v0, p0, Lcom/adjust/sdk/ae;->cU:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iput-boolean v0, p0, Lcom/adjust/sdk/ae;->cT:Z
|
2019-10-10 02:17:24 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v0, Lcom/adjust/sdk/ad;->cM:Lcom/adjust/sdk/ad;
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-boolean v1, p0, Lcom/adjust/sdk/ae;->cU:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-boolean v0, p0, Lcom/adjust/sdk/ae;->cT:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-23 04:50:18 +00:00
|
|
|
iput-object p1, p0, Lcom/adjust/sdk/ae;->cS:Lcom/adjust/sdk/ad;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iput-boolean p2, p0, Lcom/adjust/sdk/ae;->cU:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final varargs a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
const-string v0, "Adjust"
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-boolean v1, p0, Lcom/adjust/sdk/ae;->cU:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/ae;->cS:Lcom/adjust/sdk/ad;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v1, v1, Lcom/adjust/sdk/ad;->androidLogLevel:I
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
if-gt v1, v2, :cond_1
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
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;->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
|
|
|
|
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v3, Lcom/adjust/sdk/ae;->cV:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
aput-object p1, v2, 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, v2, p1
|
|
|
|
|
|
|
|
invoke-static {v1, v3, v2}, 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
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final ab()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iput-boolean v0, p0, Lcom/adjust/sdk/ae;->cT:Z
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.method public final varargs b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
const-string v0, "Adjust"
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-boolean v1, p0, Lcom/adjust/sdk/ae;->cU:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/ae;->cS:Lcom/adjust/sdk/ad;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v1, v1, Lcom/adjust/sdk/ad;->androidLogLevel:I
|
|
|
|
|
|
|
|
const/4 v2, 0x3
|
|
|
|
|
|
|
|
if-gt v1, v2, :cond_1
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
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
|
|
|
|
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v2, Lcom/adjust/sdk/ae;->cV:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
const-string v0, "Adjust"
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-boolean v1, p0, Lcom/adjust/sdk/ae;->cU:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/ae;->cS:Lcom/adjust/sdk/ad;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v1, v1, Lcom/adjust/sdk/ad;->androidLogLevel:I
|
|
|
|
|
|
|
|
const/4 v2, 0x4
|
|
|
|
|
|
|
|
if-gt v1, v2, :cond_1
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
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
|
|
|
|
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v2, Lcom/adjust/sdk/ae;->cV:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
const-string v0, "Adjust"
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-boolean v1, p0, Lcom/adjust/sdk/ae;->cU:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/ae;->cS:Lcom/adjust/sdk/ad;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v1, v1, Lcom/adjust/sdk/ad;->androidLogLevel:I
|
|
|
|
|
|
|
|
const/4 v2, 0x5
|
|
|
|
|
|
|
|
if-gt v1, v2, :cond_1
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
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
|
|
|
|
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v2, Lcom/adjust/sdk/ae;->cV:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
const-string v0, "Adjust"
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/ae;->cS:Lcom/adjust/sdk/ad;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v1, v1, Lcom/adjust/sdk/ad;->androidLogLevel:I
|
|
|
|
|
|
|
|
const/4 v2, 0x5
|
|
|
|
|
|
|
|
if-gt v1, v2, :cond_0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
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
|
|
|
|
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v2, Lcom/adjust/sdk/ae;->cV:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
const-string v0, "Adjust"
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-boolean v1, p0, Lcom/adjust/sdk/ae;->cU:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/ae;->cS:Lcom/adjust/sdk/ad;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v1, v1, Lcom/adjust/sdk/ad;->androidLogLevel:I
|
|
|
|
|
|
|
|
const/4 v2, 0x6
|
|
|
|
|
|
|
|
if-gt v1, v2, :cond_1
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
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
|
|
|
|
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
sget-object v2, Lcom/adjust/sdk/ae;->cV:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
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
|