apkfuckery/com.discord/smali/com/adjust/sdk/az.smali

1897 lines
42 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lcom/adjust/sdk/az;
.super Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
.source "Util.java"
2019-02-04 20:08:30 +00:00
# static fields
2019-05-03 18:53:54 +00:00
.field public static final fg:Ljava/text/DecimalFormat;
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
.field public static final fh:Ljava/text/SimpleDateFormat;
2019-02-04 20:08:30 +00:00
# direct methods
2019-02-17 02:24:41 +00:00
.method static constructor <clinit>()V
.locals 3
new-instance v0, Ljava/text/DecimalFormat;
const-string v1, "0.0"
invoke-direct {v0, v1}, Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V
2019-05-03 18:53:54 +00:00
sput-object v0, Lcom/adjust/sdk/az;->fg:Ljava/text/DecimalFormat;
2019-02-17 02:24:41 +00:00
new-instance v0, Ljava/text/SimpleDateFormat;
2019-05-03 18:53:54 +00:00
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "yyyy-MM-dd\'T\'HH:mm:ss.SSS\'Z\'Z"
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v0, v2, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
sput-object v0, Lcom/adjust/sdk/az;->fh:Ljava/text/SimpleDateFormat;
2019-02-17 02:24:41 +00:00
return-void
.end method
.method public static a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;I)I
2019-05-03 18:53:54 +00:00
.locals 3
2019-02-17 02:24:41 +00:00
:try_start_0
invoke-virtual {p0, p1, p2}, Ljava/io/ObjectInputStream$GetField;->get(Ljava/lang/String;I)I
move-result p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return p0
:catch_0
move-exception p0
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object v0
2019-05-03 18:53:54 +00:00
const/4 v1, 0x2
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const/4 v2, 0x0
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
aput-object p1, v1, v2
2019-02-17 02:24:41 +00:00
const/4 p1, 0x1
invoke-virtual {p0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object p0
2019-05-03 18:53:54 +00:00
aput-object p0, v1, p1
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const-string p0, "Unable to read \'%s\' field in migration device with message (%s)"
invoke-interface {v0, p0, v1}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-17 02:24:41 +00:00
return p2
.end method
.method public static a(Ljava/lang/Boolean;)I
.locals 0
if-nez p0, :cond_0
const/4 p0, 0x0
return p0
:cond_0
invoke-virtual {p0}, Ljava/lang/Boolean;->hashCode()I
move-result p0
return p0
.end method
.method public static a(Ljava/lang/Enum;)I
.locals 0
if-nez p0, :cond_0
const/4 p0, 0x0
return p0
:cond_0
invoke-virtual {p0}, Ljava/lang/Enum;->hashCode()I
move-result p0
return p0
.end method
.method public static a(Ljava/lang/Long;)I
.locals 0
if-nez p0, :cond_0
const/4 p0, 0x0
return p0
:cond_0
invoke-virtual {p0}, Ljava/lang/Long;->hashCode()I
move-result p0
return p0
.end method
.method public static a(ILcom/adjust/sdk/q;)J
.locals 6
iget v0, p1, Lcom/adjust/sdk/q;->minRetries:I
if-ge p0, v0, :cond_0
const-wide/16 p0, 0x0
return-wide p0
:cond_0
iget v0, p1, Lcom/adjust/sdk/q;->minRetries:I
sub-int/2addr p0, v0
const-wide/high16 v0, 0x4000000000000000L # 2.0
int-to-double v2, p0
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->pow(DD)D
move-result-wide v0
double-to-long v0, v0
iget-wide v2, p1, Lcom/adjust/sdk/q;->milliSecondMultiplier:J
mul-long v0, v0, v2
iget-wide v2, p1, Lcom/adjust/sdk/q;->maxWait:J
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
move-result-wide v0
iget-wide v2, p1, Lcom/adjust/sdk/q;->minRange:D
iget-wide p0, p1, Lcom/adjust/sdk/q;->maxRange:D
new-instance v4, Ljava/util/Random;
invoke-direct {v4}, Ljava/util/Random;-><init>()V
sub-double/2addr p0, v2
invoke-virtual {v4}, Ljava/util/Random;->nextDouble()D
move-result-wide v4
mul-double v4, v4, p0
add-double/2addr v4, v2
long-to-double p0, v0
invoke-static {p0, p1}, Ljava/lang/Double;->isNaN(D)Z
mul-double p0, p0, v4
double-to-long p0, p0
return-wide p0
.end method
.method public static a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
.locals 7
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-02-17 02:24:41 +00:00
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Context;",
2019-02-04 20:08:30 +00:00
"Ljava/lang/String;",
"Ljava/lang/String;",
2019-02-17 02:24:41 +00:00
"Ljava/lang/Class<",
"TT;>;)TT;"
}
.end annotation
const/4 v0, 0x0
const/4 v1, 0x2
const/4 v2, 0x0
const/4 v3, 0x1
:try_start_0
invoke-virtual {p0, p1}, Landroid/content/Context;->openFileInput(Ljava/lang/String;)Ljava/io/FileInputStream;
move-result-object p0
:try_end_0
.catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_7
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_6
:try_start_1
new-instance p1, Ljava/io/BufferedInputStream;
invoke-direct {p1, p0}, Ljava/io/BufferedInputStream;-><init>(Ljava/io/InputStream;)V
:try_end_1
.catch Ljava/io/FileNotFoundException; {:try_start_1 .. :try_end_1} :catch_8
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_5
:try_start_2
new-instance p0, Ljava/io/ObjectInputStream;
invoke-direct {p0, p1}, Ljava/io/ObjectInputStream;-><init>(Ljava/io/InputStream;)V
:try_end_2
.catch Ljava/io/FileNotFoundException; {:try_start_2 .. :try_end_2} :catch_4
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_3
:try_start_3
invoke-virtual {p0}, Ljava/io/ObjectInputStream;->readObject()Ljava/lang/Object;
move-result-object p1
invoke-virtual {p3, p1}, Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object p1
const-string p3, "Read %s: %s"
new-array v4, v1, [Ljava/lang/Object;
aput-object p2, v4, v2
aput-object v0, v4, v3
invoke-interface {p1, p3, v4}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:try_end_3
.catch Ljava/lang/ClassNotFoundException; {:try_start_3 .. :try_end_3} :catch_2
.catch Ljava/lang/ClassCastException; {:try_start_3 .. :try_end_3} :catch_1
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0
.catch Ljava/io/FileNotFoundException; {:try_start_3 .. :try_end_3} :catch_8
goto/16 :goto_2
:catch_0
move-exception p1
:try_start_4
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object p3
const-string v4, "Failed to read %s object (%s)"
new-array v5, v1, [Ljava/lang/Object;
aput-object p2, v5, v2
invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object p1
aput-object p1, v5, v3
invoke-interface {p3, v4, v5}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_2
:catch_1
move-exception p1
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object p3
const-string v4, "Failed to cast %s object (%s)"
new-array v5, v1, [Ljava/lang/Object;
aput-object p2, v5, v2
invoke-virtual {p1}, Ljava/lang/ClassCastException;->getMessage()Ljava/lang/String;
move-result-object p1
aput-object p1, v5, v3
invoke-interface {p3, v4, v5}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_2
:catch_2
move-exception p1
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object p3
const-string v4, "Failed to find %s class (%s)"
new-array v5, v1, [Ljava/lang/Object;
aput-object p2, v5, v2
invoke-virtual {p1}, Ljava/lang/ClassNotFoundException;->getMessage()Ljava/lang/String;
move-result-object p1
aput-object p1, v5, v3
invoke-interface {p3, v4, v5}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
:try_end_4
.catch Ljava/io/FileNotFoundException; {:try_start_4 .. :try_end_4} :catch_8
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_5
goto :goto_2
:catch_3
move-exception p0
move-object v6, p1
move-object p1, p0
move-object p0, v6
goto :goto_0
:catch_4
move-object p0, p1
goto :goto_1
:catch_5
move-exception p1
goto :goto_0
:catch_6
move-exception p1
move-object p0, v0
:goto_0
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object p3
2019-05-03 18:53:54 +00:00
new-array v4, v1, [Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
aput-object p2, v4, v2
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
aput-object p1, v4, v3
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const-string p1, "Failed to open %s file for reading (%s)"
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {p3, p1, v4}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-17 02:24:41 +00:00
goto :goto_2
:catch_7
move-object p0, v0
:catch_8
:goto_1
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object p1
2019-05-03 18:53:54 +00:00
new-array p3, v3, [Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
aput-object p2, p3, v2
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const-string v4, "%s file not found"
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {p1, v4, p3}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-17 02:24:41 +00:00
:goto_2
if-eqz p0, :cond_0
:try_start_5
invoke-interface {p0}, Ljava/io/Closeable;->close()V
:try_end_5
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_9
goto :goto_3
:catch_9
move-exception p0
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object p1
2019-05-03 18:53:54 +00:00
new-array p3, v1, [Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
aput-object p2, p3, v2
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
aput-object p0, p3, v3
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const-string p0, "Failed to close %s file for reading (%s)"
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {p1, p0, p3}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-17 02:24:41 +00:00
:cond_0
:goto_3
return-object v0
.end method
.method public static a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
2019-05-03 18:53:54 +00:00
.locals 3
2019-02-17 02:24:41 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/io/ObjectInputStream$GetField;",
2019-02-04 20:08:30 +00:00
"Ljava/lang/String;",
2019-02-17 02:24:41 +00:00
"TT;)TT;"
2019-02-04 20:08:30 +00:00
}
.end annotation
2019-02-17 02:24:41 +00:00
:try_start_0
invoke-virtual {p0, p1, p2}, Ljava/io/ObjectInputStream$GetField;->get(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:catch_0
move-exception p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v1, 0x2
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const/4 v2, 0x0
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
aput-object p1, v1, v2
2019-02-17 02:24:41 +00:00
const/4 p1, 0x1
invoke-virtual {p0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-05-03 18:53:54 +00:00
aput-object p0, v1, p1
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const-string p0, "Unable to read \'%s\' field in migration device with message (%s)"
invoke-interface {v0, p0, v1}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-17 02:24:41 +00:00
return-object p2
.end method
.method public static a(Landroid/content/ContentResolver;)Ljava/lang/String;
.locals 2
const/4 v0, 0x0
if-nez p0, :cond_0
return-object v0
:cond_0
:try_start_0
const-string v1, "advertising_id"
invoke-static {p0, v1}, Landroid/provider/Settings$Secure;->getString(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-02-17 02:24:41 +00:00
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:catch_0
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static a(Landroid/telephony/TelephonyManager;)Ljava/lang/String;
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v0, Ljava/util/ArrayList;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v1}, Lcom/adjust/sdk/ap;->c(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-17 02:24:41 +00:00
invoke-static {v0, v1}, Lcom/adjust/sdk/az;->a(Ljava/util/List;Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:goto_0
const/16 v2, 0xa
if-ge v1, v2, :cond_0
invoke-static {p0, v1}, Lcom/adjust/sdk/ap;->c(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
move-result-object v2
invoke-static {v0, v2}, Lcom/adjust/sdk/az;->a(Ljava/util/List;Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v2
if-eqz v2, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
add-int/lit8 v1, v1, 0x1
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_0
2019-02-17 02:24:41 +00:00
const v1, 0x7fffffff
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v1}, Lcom/adjust/sdk/ap;->c(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v0, p0}, Lcom/adjust/sdk/az;->a(Ljava/util/List;Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string p0, ","
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v0}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-02-17 02:24:41 +00:00
return-object p0
.end method
.method public static a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)Ljava/lang/String;
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, p1, v0}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-02-17 02:24:41 +00:00
check-cast p0, Ljava/lang/String;
2019-02-04 20:08:30 +00:00
return-object p0
.end method
2019-02-17 02:24:41 +00:00
.method public static a(Ljava/lang/String;Ljava/lang/Throwable;)Ljava/lang/String;
2019-05-03 18:53:54 +00:00
.locals 4
2019-02-17 02:24:41 +00:00
const/4 v0, 0x0
const/4 v1, 0x1
if-eqz p1, :cond_0
sget-object v2, Ljava/util/Locale;->US:Ljava/util/Locale;
2019-05-03 18:53:54 +00:00
const/4 v3, 0x2
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
new-array v3, v3, [Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
aput-object p0, v3, v0
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
aput-object p1, v3, v1
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const-string p0, "%s: %s"
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
invoke-static {v2, p0, v3}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
2019-02-17 02:24:41 +00:00
move-result-object p0
return-object p0
:cond_0
sget-object p1, Ljava/util/Locale;->US:Ljava/util/Locale;
new-array v1, v1, [Ljava/lang/Object;
aput-object p0, v1, v0
2019-05-03 18:53:54 +00:00
const-string p0, "%s"
invoke-static {p1, p0, v1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
2019-02-17 02:24:41 +00:00
move-result-object p0
return-object p0
.end method
.method public static a(Ljava/util/Map;Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;
2019-05-03 18:53:54 +00:00
.locals 6
2019-02-17 02:24:41 +00:00
.annotation system Ldalvik/annotation/Signature;
2019-02-04 20:08:30 +00:00
value = {
2019-02-17 02:24:41 +00:00
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
")",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
2019-02-04 20:08:30 +00:00
}
.end annotation
2019-02-17 02:24:41 +00:00
if-nez p0, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
if-nez p1, :cond_1
return-object p0
:cond_1
new-instance v0, Ljava/util/HashMap;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v0, p0}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-02-17 02:24:41 +00:00
invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p1
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p1
:cond_2
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v1
check-cast v1, Ljava/util/Map$Entry;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-17 02:24:41 +00:00
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
move-result-object v3
2019-02-17 02:24:41 +00:00
invoke-interface {v0, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
if-eqz v2, :cond_2
2019-05-03 18:53:54 +00:00
const/4 v3, 0x4
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
new-array v3, v3, [Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const/4 v4, 0x0
2019-02-17 02:24:41 +00:00
invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
2019-05-03 18:53:54 +00:00
move-result-object v5
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
aput-object v5, v3, v4
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const/4 v4, 0x1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object v2, v3, v4
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v2, 0x2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p2, v3, v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v2, 0x3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v1
2019-05-03 18:53:54 +00:00
aput-object v1, v3, v2
const-string v1, "Key %s with value %s from %s parameter was replaced by value %s"
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {p0, v1, v3}, Lcom/adjust/sdk/x;->d(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-17 02:24:41 +00:00
goto :goto_0
:cond_3
return-object v0
.end method
.method public static a(Landroid/content/Context;Lcom/adjust/sdk/ah;)V
.locals 4
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object v0
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v1
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-02-17 02:24:41 +00:00
const/4 v3, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eq v1, v2, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v1, v3, [Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "GoogleAdId being read in the background"
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-17 02:24:41 +00:00
invoke-static {p0}, Lcom/adjust/sdk/ap;->g(Landroid/content/Context;)Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
2019-05-03 18:53:54 +00:00
move-result-object v1
const-string v2, "GoogleAdId read "
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v2, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
2019-02-17 02:24:41 +00:00
move-result-object v1
new-array v2, v3, [Ljava/lang/Object;
invoke-interface {v0, v1, v2}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
invoke-interface {p1, p0}, Lcom/adjust/sdk/ah;->onGoogleAdIdRead(Ljava/lang/String;)V
return-void
2019-02-04 20:08:30 +00:00
:cond_0
2019-05-03 18:53:54 +00:00
new-array v1, v3, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "GoogleAdId being read in the foreground"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/adjust/sdk/az$2;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v0, p1}, Lcom/adjust/sdk/az$2;-><init>(Lcom/adjust/sdk/ah;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p1, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array p1, p1, [Landroid/content/Context;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object p0, p1, v3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v0, p1}, Lcom/adjust/sdk/az$2;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
.end method
.method public static a(Ljava/lang/Object;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Ljava/lang/String;",
")V"
}
.end annotation
const/4 v0, 0x2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x1
const/4 v2, 0x0
:try_start_0
invoke-virtual {p1, p2, v2}, Landroid/content/Context;->openFileOutput(Ljava/lang/String;I)Ljava/io/FileOutputStream;
move-result-object p1
2019-02-04 20:08:30 +00:00
:try_end_0
2019-02-17 02:24:41 +00:00
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_3
2019-02-04 20:08:30 +00:00
:try_start_1
2019-02-17 02:24:41 +00:00
new-instance p2, Ljava/io/BufferedOutputStream;
invoke-direct {p2, p1}, Ljava/io/BufferedOutputStream;-><init>(Ljava/io/OutputStream;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_2
:try_start_2
new-instance p1, Ljava/io/ObjectOutputStream;
invoke-direct {p1, p2}, Ljava/io/ObjectOutputStream;-><init>(Ljava/io/OutputStream;)V
:try_end_2
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1
:try_start_3
invoke-virtual {p1, p0}, Ljava/io/ObjectOutputStream;->writeObject(Ljava/lang/Object;)V
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object p2
const-string v3, "Wrote %s: %s"
new-array v4, v0, [Ljava/lang/Object;
aput-object p3, v4, v2
aput-object p0, v4, v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {p2, v3, v4}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:try_end_3
.catch Ljava/io/NotSerializableException; {:try_start_3 .. :try_end_3} :catch_0
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:catch_0
:try_start_4
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-02-17 02:24:41 +00:00
const-string p2, "Failed to serialize %s"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v3, v1, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object p3, v3, v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {p0, p2, v3}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
:try_end_4
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_2
2019-02-04 20:08:30 +00:00
goto :goto_1
:catch_1
move-exception p0
2019-02-17 02:24:41 +00:00
move-object p1, p2
2019-02-04 20:08:30 +00:00
goto :goto_0
:catch_2
move-exception p0
2019-02-17 02:24:41 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
:catch_3
2019-02-17 02:24:41 +00:00
move-exception p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p1, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:goto_0
2019-02-04 20:08:30 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-17 02:24:41 +00:00
move-result-object p2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v3, v0, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p3, v3, v2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p0, v3, v1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string p0, "Failed to open %s for writing (%s)"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {p2, p0, v3}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:goto_1
if-eqz p1, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_5
invoke-interface {p1}, Ljava/io/Closeable;->close()V
:try_end_5
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_4
goto :goto_2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:catch_4
move-exception p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array p2, v0, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p3, p2, v2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p0, p2, v1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string p0, "Failed to close %s file for writing (%s)"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {p1, p0, p2}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
:cond_0
2019-02-17 02:24:41 +00:00
:goto_2
return-void
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static a(Ljava/lang/Runnable;)V
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eq v0, v1, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {p0}, Ljava/lang/Runnable;->run()V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
new-instance v0, Lcom/adjust/sdk/az$1;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v0}, Lcom/adjust/sdk/az$1;-><init>()V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object p0, v1, v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v0, v1}, Lcom/adjust/sdk/az$1;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static a(Landroid/content/Context;Ljava/lang/String;)Z
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, p1}, Landroid/content/Context;->checkCallingOrSelfPermission(Ljava/lang/String;)I
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-nez p0, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
const/4 p0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Z)Z
2019-05-03 18:53:54 +00:00
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
invoke-virtual {p0, p1, p2}, Ljava/io/ObjectInputStream$GetField;->get(Ljava/lang/String;Z)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return p0
2019-02-04 20:08:30 +00:00
:catch_0
move-exception p0
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v1, 0x2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p1, v1, v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p1, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p0, v1, p1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string p0, "Unable to read \'%s\' field in migration device with message (%s)"
invoke-interface {v0, p0, v1}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p2
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static a(Ljava/lang/Boolean;Ljava/lang/Boolean;)Z
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, p1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static a(Ljava/lang/Enum;Ljava/lang/Enum;)Z
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, p1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static a(Ljava/lang/Integer;Ljava/lang/Integer;)Z
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, p1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static a(Ljava/lang/Long;Ljava/lang/Long;)Z
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, p1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static a(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz p0, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-nez p1, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
invoke-virtual {p0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_1
:goto_0
if-nez p0, :cond_2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-nez p1, :cond_2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_2
const/4 p0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method private static a(Ljava/util/List;Ljava/lang/String;)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
")Z"
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-nez p1, :cond_0
2019-02-04 20:29:01 +00:00
2019-02-17 02:24:41 +00:00
return v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
invoke-interface {p0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v1, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_1
invoke-interface {p0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method protected static aH()Ljava/lang/String;
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:29:01 +00:00
2019-02-17 02:24:41 +00:00
return-object v0
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public static aw()Ljava/lang/String;
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/ap;->aw()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static ax()Ljava/lang/String;
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/ap;->ax()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static b(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)J
2019-05-03 18:53:54 +00:00
.locals 5
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-wide/16 v0, -0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
invoke-virtual {p0, p1, v0, v1}, Ljava/io/ObjectInputStream$GetField;->get(Ljava/lang/String;J)J
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-wide p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-wide p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:catch_0
move-exception p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
move-result-object v2
2019-05-03 18:53:54 +00:00
const/4 v3, 0x2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v3, v3, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v4, 0x0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p1, v3, v4
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p1, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p0, v3, p1
const-string p0, "Unable to read \'%s\' field in migration device with message (%s)"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {v2, p0, v3}, Lcom/adjust/sdk/x;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-wide v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static b(Landroid/content/ContentResolver;)Ljava/lang/Boolean;
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
const-string v0, "limit_ad_tracking"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v0}, Landroid/provider/Settings$Secure;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;)I
move-result p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-nez p0, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
const/4 p0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:goto_0
invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:catch_0
const/4 p0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static b(Landroid/telephony/TelephonyManager;)Ljava/lang/String;
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v0, Ljava/util/ArrayList;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v1}, Lcom/adjust/sdk/ap;->a(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v1
2019-02-17 02:24:41 +00:00
invoke-static {v0, v1}, Lcom/adjust/sdk/az;->a(Ljava/util/List;Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:goto_0
const/16 v2, 0xa
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-ge v1, v2, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v1}, Lcom/adjust/sdk/ap;->a(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v0, v2}, Lcom/adjust/sdk/az;->a(Ljava/util/List;Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v2, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
add-int/lit8 v1, v1, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
const v1, 0x7fffffff
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v1}, Lcom/adjust/sdk/ap;->a(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-02-17 02:24:41 +00:00
invoke-static {v0, p0}, Lcom/adjust/sdk/az;->a(Ljava/util/List;Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string p0, ","
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v0}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static b(Ljava/lang/String;Ljava/lang/String;)Z
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, p1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static c(Landroid/telephony/TelephonyManager;)Ljava/lang/String;
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v0, Ljava/util/ArrayList;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v1}, Lcom/adjust/sdk/ap;->b(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v0, v1}, Lcom/adjust/sdk/az;->a(Ljava/util/List;Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:goto_0
const/16 v2, 0xa
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-ge v1, v2, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v1}, Lcom/adjust/sdk/ap;->b(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v0, v2}, Lcom/adjust/sdk/az;->a(Ljava/util/List;Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v2, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
add-int/lit8 v1, v1, 0x1
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_0
2019-02-17 02:24:41 +00:00
const v1, 0x7fffffff
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v1}, Lcom/adjust/sdk/ap;->b(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v0, p0}, Lcom/adjust/sdk/az;->a(Ljava/util/List;Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string p0, ","
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v0}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method private static c(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 4
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
const-string v0, "UTF-8"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, v0}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-02-17 02:24:41 +00:00
invoke-static {p1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
array-length v0, p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p1, p0, v1, v0}, Ljava/security/MessageDigest;->update([BII)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p1}, Ljava/security/MessageDigest;->digest()[B
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance p1, Ljava/math/BigInteger;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {p1, v0, p0}, Ljava/math/BigInteger;-><init>(I[B)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-instance v2, Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v3, "%0"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
array-length p0, p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
shl-int/2addr p0, v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string p0, "x"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
sget-object v2, Ljava/util/Locale;->US:Ljava/util/Locale;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v0, v0, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object p1, v0, v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v2, p0, v0}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_0
:catch_0
const/4 p0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:goto_0
return-object p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static c(Landroid/content/res/Configuration;)Ljava/util/Locale;
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0}, Lcom/adjust/sdk/ap;->a(Landroid/content/res/Configuration;)Ljava/util/Locale;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
invoke-static {p0}, Lcom/adjust/sdk/ap;->b(Landroid/content/res/Configuration;)Ljava/util/Locale;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-02-17 02:24:41 +00:00
return-object p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static g(Landroid/content/Context;)Ljava/lang/String;
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0}, Lcom/adjust/sdk/ap;->g(Landroid/content/Context;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static getSupportedAbis()[Ljava/lang/String;
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/ap;->getSupportedAbis()[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object v0
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public static h(Landroid/content/Context;)Ljava/lang/Boolean;
.locals 0
invoke-static {p0}, Lcom/adjust/sdk/ap;->h(Landroid/content/Context;)Ljava/lang/Boolean;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static i(Landroid/content/Context;)Ljava/lang/String;
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0}, Lcom/adjust/sdk/ap;->i(Landroid/content/Context;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static j(Landroid/content/Context;)Ljava/lang/String;
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0}, Lcom/adjust/sdk/ap;->j(Landroid/content/Context;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public static l(Landroid/content/Context;)Ljava/util/Map;
.locals 3
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2019-02-17 02:24:41 +00:00
"Landroid/content/Context;",
2019-02-04 20:08:30 +00:00
")",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
2019-02-17 02:24:41 +00:00
new-instance p0, Ljava/util/HashMap;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/ap;->ay()Ljava/util/List;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v1, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
check-cast v1, Lcom/adjust/sdk/a/a;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v1}, Lcom/adjust/sdk/a/a;->aI()Ljava/util/Map$Entry;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v1, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {p0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_1
invoke-interface {p0}, Ljava/util/Map;->size()I
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-nez v0, :cond_2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_2
return-object p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static m(Landroid/content/Context;)I
2019-05-03 18:53:54 +00:00
.locals 3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
const-string v0, "connectivity"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
check-cast p0, Landroid/net/ConnectivityManager;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Landroid/net/NetworkInfo;->getType()I
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:catch_0
move-exception p0
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v1, 0x1
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-05-03 18:53:54 +00:00
aput-object p0, v1, v2
const-string p0, "Couldn\'t read connectivity type (%s)"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {v0, p0, v1}, Lcom/adjust/sdk/x;->d(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p0, -0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:goto_0
return p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static m(Ljava/lang/String;)I
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-nez p0, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
move-result p0
return p0
.end method
.method public static n(Landroid/content/Context;)I
2019-05-03 18:53:54 +00:00
.locals 3
2019-02-17 02:24:41 +00:00
:try_start_0
const-string v0, "phone"
invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Landroid/telephony/TelephonyManager;
invoke-virtual {p0}, Landroid/telephony/TelephonyManager;->getNetworkType()I
move-result p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
2019-02-04 20:08:30 +00:00
goto :goto_0
2019-02-17 02:24:41 +00:00
:catch_0
move-exception p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v1, 0x1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p0, v1, v2
const-string p0, "Couldn\'t read network type (%s)"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {v0, p0, v1}, Lcom/adjust/sdk/x;->d(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p0, -0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:goto_0
return p0
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public static n(Ljava/lang/String;)Ljava/lang/String;
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v0, "SHA-1"
invoke-static {p0, v0}, Lcom/adjust/sdk/az;->c(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static o(Ljava/lang/Object;)I
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-nez p0, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return p0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static o(Landroid/content/Context;)Ljava/lang/String;
.locals 4
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
const-string v2, "phone"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
check-cast p0, Landroid/telephony/TelephonyManager;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Landroid/telephony/TelephonyManager;->getNetworkOperator()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v2, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v2, "Couldn\'t receive networkOperator string to read MCC"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v3, v1, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {p0, v2, v3}, Lcom/adjust/sdk/x;->d(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
const/4 v2, 0x3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "Couldn\'t return mcc"
2019-02-17 02:24:41 +00:00
invoke-interface {p0, v2, v1}, Lcom/adjust/sdk/x;->d(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object v0
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public static o(Ljava/lang/String;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
.locals 1
2019-02-17 02:24:41 +00:00
const-string v0, "SHA-256"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v0}, Lcom/adjust/sdk/az;->c(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object p0
return-object p0
.end method
2019-02-17 02:24:41 +00:00
.method public static p(Landroid/content/Context;)Ljava/lang/String;
.locals 4
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
const-string v2, "phone"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
check-cast p0, Landroid/telephony/TelephonyManager;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Landroid/telephony/TelephonyManager;->getNetworkOperator()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v2, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v2, "Couldn\'t receive networkOperator string to read MNC"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v3, v1, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface {p0, v2, v3}, Lcom/adjust/sdk/x;->d(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_0
const/4 v2, 0x3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:catch_0
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v2, "Couldn\'t return mnc"
2019-02-17 02:24:41 +00:00
invoke-interface {p0, v2, v1}, Lcom/adjust/sdk/x;->d(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.method public static p(Ljava/lang/String;)Ljava/lang/String;
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v0, "MD5"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v0}, Lcom/adjust/sdk/az;->c(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p0
2019-02-04 20:08:30 +00:00
return-object p0
.end method