apkfuckery/com.discord/smali/e/c/a/a2.smali

1652 lines
36 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Le/c/a/a2;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "Util.java"
# static fields
2019-12-06 03:29:40 +00:00
.field public static final a:Ljava/text/DecimalFormat;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public static final b:Ljava/text/SimpleDateFormat;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-07-24 11:27:29 +00:00
.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-12-06 03:29:40 +00:00
sput-object v0, Le/c/a/a2;->a:Ljava/text/DecimalFormat;
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/text/SimpleDateFormat;
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
const-string v2, "yyyy-MM-dd\'T\'HH:mm:ss.SSS\'Z\'Z"
invoke-direct {v0, v2, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V
2019-12-06 03:29:40 +00:00
sput-object v0, Le/c/a/a2;->b:Ljava/text/SimpleDateFormat;
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public static a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;I)I
.locals 3
: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
2019-12-06 03:29:40 +00:00
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
move-result-object v0
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
aput-object p1, v1, v2
const/4 p1, 0x1
invoke-virtual {p0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object p0
aput-object p0, v1, p1
2019-12-06 03:29:40 +00:00
check-cast v0, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
const-string p0, "Unable to read \'%s\' field in migration device with message (%s)"
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p0, v1}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +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
2019-12-06 03:29:40 +00:00
.method public static a(Ljava/lang/Long;)I
2019-07-24 11:27:29 +00:00
.locals 0
if-nez p0, :cond_0
const/4 p0, 0x0
return p0
:cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Ljava/lang/Long;->hashCode()I
2019-07-24 11:27:29 +00:00
move-result p0
return p0
.end method
2019-12-06 03:29:40 +00:00
.method public static a(Ljava/lang/Object;)I
2019-07-24 11:27:29 +00:00
.locals 0
if-nez p0, :cond_0
const/4 p0, 0x0
return p0
:cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
move-result p0
return p0
.end method
.method public static a(Ljava/lang/String;)I
.locals 0
if-nez p0, :cond_0
const/4 p0, 0x0
return p0
:cond_0
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
2019-07-24 11:27:29 +00:00
move-result p0
return p0
.end method
2019-12-06 03:29:40 +00:00
.method public static a(ILe/c/a/n0;)J
2019-07-24 11:27:29 +00:00
.locals 6
2019-12-06 03:29:40 +00:00
iget v0, p1, Le/c/a/n0;->minRetries:I
2019-07-24 11:27:29 +00:00
if-ge p0, v0, :cond_0
const-wide/16 p0, 0x0
return-wide p0
:cond_0
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
2019-12-06 03:29:40 +00:00
iget-wide v2, p1, Le/c/a/n0;->milliSecondMultiplier:J
2019-07-24 11:27:29 +00:00
mul-long v0, v0, v2
2019-12-06 03:29:40 +00:00
iget-wide v2, p1, Le/c/a/n0;->maxWait:J
2019-07-24 11:27:29 +00:00
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
move-result-wide v0
2019-12-06 03:29:40 +00:00
iget-wide v2, p1, Le/c/a/n0;->minRange:D
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-wide p0, p1, Le/c/a/n0;->maxRange:D
2019-07-24 11:27:29 +00:00
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
mul-double p0, p0, v4
double-to-long p0, p0
return-wide p0
.end method
2019-12-06 03:29:40 +00:00
.method public static a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;J)J
.locals 3
:try_start_0
invoke-virtual {p0, p1, p2, p3}, Ljava/io/ObjectInputStream$GetField;->get(Ljava/lang/String;J)J
move-result-wide p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-wide p0
:catch_0
move-exception p0
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object v0
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
aput-object p1, v1, v2
const/4 p1, 0x1
invoke-virtual {p0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object p0
aput-object p0, v1, p1
check-cast v0, Le/c/a/b1;
const-string p0, "Unable to read \'%s\' field in migration device with message (%s)"
invoke-virtual {v0, p0, v1}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
return-wide p2
.end method
2019-07-24 11:27:29 +00:00
.method public static a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"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
2019-12-06 03:29:40 +00:00
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_3
2019-07-24 11:27:29 +00:00
:try_start_2
new-instance p0, Ljava/io/ObjectInputStream;
invoke-direct {p0, p1}, Ljava/io/ObjectInputStream;-><init>(Ljava/io/InputStream;)V
:try_end_2
2019-12-06 03:29:40 +00:00
.catch Ljava/io/FileNotFoundException; {:try_start_2 .. :try_end_2} :catch_5
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_4
2019-07-24 11:27:29 +00:00
: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
2019-12-06 03:29:40 +00:00
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
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
: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
2019-12-06 03:29:40 +00:00
check-cast p1, Le/c/a/b1;
:try_start_4
invoke-virtual {p1, p3, v4}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
:try_end_4
.catch Ljava/lang/ClassNotFoundException; {:try_start_4 .. :try_end_4} :catch_2
.catch Ljava/lang/ClassCastException; {:try_start_4 .. :try_end_4} :catch_1
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0
goto/16 :goto_5
2019-07-24 11:27:29 +00:00
:catch_0
move-exception p1
2019-12-06 03:29:40 +00:00
goto :goto_0
:catch_1
move-exception p1
goto :goto_1
:catch_2
move-exception p1
goto :goto_2
:goto_0
:try_start_5
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
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
2019-12-06 03:29:40 +00:00
:try_end_5
.catch Ljava/io/FileNotFoundException; {:try_start_5 .. :try_end_5} :catch_8
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
check-cast p3, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:try_start_6
invoke-virtual {p3, v4, v5}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_5
:catch_3
2019-07-24 11:27:29 +00:00
move-exception p1
2019-12-06 03:29:40 +00:00
goto :goto_3
:goto_1
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
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
2019-12-06 03:29:40 +00:00
:try_end_6
.catch Ljava/io/FileNotFoundException; {:try_start_6 .. :try_end_6} :catch_8
.catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
check-cast p3, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:try_start_7
invoke-virtual {p3, v4, v5}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_2
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
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
2019-12-06 03:29:40 +00:00
:try_end_7
.catch Ljava/io/FileNotFoundException; {:try_start_7 .. :try_end_7} :catch_8
.catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
check-cast p3, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:try_start_8
invoke-virtual {p3, v4, v5}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:try_end_8
.catch Ljava/io/FileNotFoundException; {:try_start_8 .. :try_end_8} :catch_8
.catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_5
:catch_4
2019-07-24 11:27:29 +00:00
move-exception p0
move-object v6, p1
move-object p1, p0
move-object p0, v6
2019-12-06 03:29:40 +00:00
goto :goto_3
2019-07-24 11:27:29 +00:00
:catch_5
2019-12-06 03:29:40 +00:00
move-object p0, p1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_4
2019-07-24 11:27:29 +00:00
:catch_6
move-exception p1
move-object p0, v0
2019-12-06 03:29:40 +00:00
:goto_3
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
move-result-object p3
new-array v4, v1, [Ljava/lang/Object;
aput-object p2, v4, v2
aput-object p1, v4, v3
2019-12-06 03:29:40 +00:00
check-cast p3, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
const-string p1, "Failed to open %s file for reading (%s)"
2019-12-06 03:29:40 +00:00
invoke-virtual {p3, p1, v4}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_5
2019-07-24 11:27:29 +00:00
:catch_7
move-object p0, v0
:catch_8
2019-12-06 03:29:40 +00:00
:goto_4
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
move-result-object p1
new-array p3, v3, [Ljava/lang/Object;
aput-object p2, p3, v2
2019-12-06 03:29:40 +00:00
check-cast p1, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
const-string v4, "%s file not found"
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v4, p3}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_5
2019-07-24 11:27:29 +00:00
if-eqz p0, :cond_0
2019-12-06 03:29:40 +00:00
:try_start_9
2019-07-24 11:27:29 +00:00
invoke-interface {p0}, Ljava/io/Closeable;->close()V
2019-12-06 03:29:40 +00:00
:try_end_9
.catch Ljava/lang/Exception; {:try_start_9 .. :try_end_9} :catch_9
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_6
2019-07-24 11:27:29 +00:00
:catch_9
move-exception p0
2019-12-06 03:29:40 +00:00
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
move-result-object p1
new-array p3, v1, [Ljava/lang/Object;
aput-object p2, p3, v2
aput-object p0, p3, v3
2019-12-06 03:29:40 +00:00
check-cast p1, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
const-string p0, "Failed to close %s file for reading (%s)"
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, p0, p3}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
:goto_6
2019-07-24 11:27:29 +00:00
return-object v0
.end method
.method public static a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/io/ObjectInputStream$GetField;",
"Ljava/lang/String;",
"TT;)TT;"
}
.end annotation
:try_start_0
invoke-virtual {p0, p1, p2}, Ljava/io/ObjectInputStream$GetField;->get(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
move-exception p0
2019-12-06 03:29:40 +00:00
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
move-result-object v0
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
aput-object p1, v1, v2
const/4 p1, 0x1
invoke-virtual {p0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object p0
aput-object p0, v1, p1
2019-12-06 03:29:40 +00:00
check-cast v0, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
const-string p0, "Unable to read \'%s\' field in migration device with message (%s)"
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p0, v1}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
return-object p2
.end method
2019-12-06 03:29:40 +00:00
.method public static a()Ljava/lang/String;
.locals 1
invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;
move-result-object v0
invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
2019-07-24 11:27:29 +00:00
.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;
move-result-object p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public static a(Landroid/content/Context;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.locals 3
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
:try_start_0
2019-12-13 02:35:12 +00:00
invoke-static {p0}, Lo/a/b/b/g/e;->a(Landroid/content/Context;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v1, "getId"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v2, v2, [Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {p0, v1, v0, v2}, Lo/a/b/b/g/e;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
check-cast p0, Ljava/lang/String;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-object p0, v0
2019-07-24 11:27:29 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
return-object p0
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public static a(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
.locals 5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:try_start_0
const-string v0, "getImei"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v2, v1, [Ljava/lang/Class;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v4, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v3, v2, v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
aput-object p1, v1, v4
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p1
2019-12-13 02:35:12 +00:00
invoke-static {p1, v0, p0, v2, v1}, Lo/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object p0
2019-12-06 03:29:40 +00:00
check-cast p0, Ljava/lang/String;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const/4 p0, 0x0
:goto_0
return-object p0
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public static a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, p1, p2}, Le/c/a/a2;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object p0
2019-12-06 03:29:40 +00:00
check-cast p0, Ljava/lang/String;
2019-07-24 11:27:29 +00:00
return-object p0
.end method
2019-12-06 03:29:40 +00:00
.method public static a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 2
:try_start_0
const-string v0, "UTF-8"
invoke-virtual {p0, v0}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B
move-result-object p0
invoke-static {p1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
move-result-object p1
2019-07-24 11:27:29 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
array-length v1, p0
invoke-virtual {p1, p0, v0, v1}, Ljava/security/MessageDigest;->update([BII)V
invoke-virtual {p1}, Ljava/security/MessageDigest;->digest()[B
2019-07-24 11:27:29 +00:00
move-result-object p0
2019-12-06 03:29:40 +00:00
invoke-static {p0}, Le/c/a/a2;->a([B)Ljava/lang/String;
move-result-object p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:catch_0
const/4 p0, 0x0
:goto_0
2019-07-24 11:27:29 +00:00
return-object p0
.end method
.method public static a(Ljava/lang/String;Ljava/lang/Throwable;)Ljava/lang/String;
.locals 4
const/4 v0, 0x0
const/4 v1, 0x1
if-eqz p1, :cond_0
sget-object v2, Ljava/util/Locale;->US:Ljava/util/Locale;
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Object;
aput-object p0, v3, v0
aput-object p1, v3, v1
const-string p0, "%s: %s"
invoke-static {v2, p0, v3}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
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
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;
move-result-object p0
return-object p0
.end method
2019-12-06 03:29:40 +00:00
.method public static a([B)Ljava/lang/String;
.locals 4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-instance v0, Ljava/math/BigInteger;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v0, v1, p0}, Ljava/math/BigInteger;-><init>(I[B)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v2, "%0"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v2}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
array-length p0, p0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
shl-int/2addr p0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v3, "x"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v2, p0, v3}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;ILjava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sget-object v2, Ljava/util/Locale;->US:Ljava/util/Locale;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v3, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v0, v1, v3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v2, p0, v1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static a(Landroid/content/res/Configuration;)Ljava/util/Locale;
.locals 7
const/4 v0, 0x0
:try_start_0
const-string v1, "getLocales"
const/4 v2, 0x0
new-array v3, v2, [Ljava/lang/Object;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v4
2019-12-13 02:35:12 +00:00
invoke-static {v4, v1, p0, v0, v3}, Lo/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v1
if-nez v1, :cond_0
goto :goto_0
:cond_0
const-string v3, "get"
const/4 v4, 0x1
new-array v5, v4, [Ljava/lang/Class;
sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
aput-object v6, v5, v2
new-array v4, v4, [Ljava/lang/Object;
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
aput-object v6, v4, v2
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
2019-12-13 02:35:12 +00:00
invoke-static {v2, v3, v1, v5, v4}, Lo/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v1
check-cast v1, Ljava/util/Locale;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_1
:catchall_0
:goto_0
move-object v1, v0
:goto_1
if-eqz v1, :cond_1
return-object v1
:cond_1
:try_start_1
const-string v1, "android.content.res.Configuration"
const-string v2, "locale"
2019-12-13 02:35:12 +00:00
invoke-static {v1, v2, p0}, Lo/a/b/b/g/e;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object p0
check-cast p0, Ljava/util/Locale;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
goto :goto_2
:catchall_1
move-object p0, v0
:goto_2
return-object p0
.end method
.method public static a(Ljava/util/Map;Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"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;",
">;"
}
.end annotation
if-nez p0, :cond_0
return-object p1
:cond_0
if-nez p1, :cond_1
return-object p0
:cond_1
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0, p0}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object p0
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
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v1
check-cast v1, Ljava/util/Map$Entry;
invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v2
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v3
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
const/4 v3, 0x4
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v5
aput-object v5, v3, v4
const/4 v4, 0x1
aput-object v2, v3, v4
const/4 v2, 0x2
aput-object p2, v3, v2
const/4 v2, 0x3
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v1
aput-object v1, v3, v2
2019-12-06 03:29:40 +00:00
move-object v1, p0
check-cast v1, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v2, "Key %s with value %s from %s parameter was replaced by value %s"
invoke-virtual {v1, v2, v3}, Le/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
goto :goto_0
:cond_3
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public static a(Landroid/content/Context;Le/c/a/e1;)V
2019-07-24 11:27:29 +00:00
.locals 4
2019-12-06 03:29:40 +00:00
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
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;
move-result-object v2
const/4 v3, 0x0
if-eq v1, v2, :cond_0
new-array v1, v3, [Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
check-cast v0, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
const-string v2, "GoogleAdId being read in the background"
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v2, v1}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0}, Le/c/a/a2;->a(Landroid/content/Context;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object p0
2019-12-06 03:29:40 +00:00
const-string v1, "GoogleAdId read "
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v1, p0}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v1
new-array v2, v3, [Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v1, v2}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {p1, p0}, Le/c/a/e1;->onGoogleAdIdRead(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
return-void
:cond_0
new-array v1, v3, [Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
check-cast v0, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
const-string v2, "GoogleAdId being read in the foreground"
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v2, v1}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-instance v0, Le/c/a/a2$b;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v0, p1}, Le/c/a/a2$b;-><init>(Le/c/a/e1;)V
2019-07-24 11:27:29 +00:00
const/4 p1, 0x1
new-array p1, p1, [Landroid/content/Context;
aput-object p0, p1, v3
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Landroid/os/AsyncTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;
2019-07-24 11:27:29 +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
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
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_3
:try_start_1
new-instance p2, Ljava/io/BufferedOutputStream;
invoke-direct {p2, p1}, Ljava/io/BufferedOutputStream;-><init>(Ljava/io/OutputStream;)V
:try_end_1
2019-12-06 03:29:40 +00:00
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
2019-07-24 11:27:29 +00:00
:try_start_2
new-instance p1, Ljava/io/ObjectOutputStream;
invoke-direct {p1, p2}, Ljava/io/ObjectOutputStream;-><init>(Ljava/io/OutputStream;)V
:try_end_2
2019-12-06 03:29:40 +00:00
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2
2019-07-24 11:27:29 +00:00
:try_start_3
invoke-virtual {p1, p0}, Ljava/io/ObjectOutputStream;->writeObject(Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
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
:try_end_3
2019-12-06 03:29:40 +00:00
.catch Ljava/io/NotSerializableException; {:try_start_3 .. :try_end_3} :catch_1
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0
check-cast p2, Le/c/a/b1;
:try_start_4
invoke-virtual {p2, v3, v4}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
:try_end_4
.catch Ljava/io/NotSerializableException; {:try_start_4 .. :try_end_4} :catch_1
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0
2019-07-24 11:27:29 +00:00
goto :goto_1
:catch_0
2019-12-06 03:29:40 +00:00
move-exception p0
goto :goto_0
:catch_1
:try_start_5
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
move-result-object p0
const-string p2, "Failed to serialize %s"
new-array v3, v1, [Ljava/lang/Object;
aput-object p3, v3, v2
2019-12-06 03:29:40 +00:00
:try_end_5
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
check-cast p0, Le/c/a/b1;
:try_start_6
invoke-virtual {p0, p2, v3}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:try_end_6
.catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_0
2019-07-24 11:27:29 +00:00
goto :goto_1
2019-12-06 03:29:40 +00:00
:catch_2
2019-07-24 11:27:29 +00:00
move-exception p0
move-object p1, p2
goto :goto_0
:catch_3
move-exception p0
const/4 p1, 0x0
:goto_0
2019-12-06 03:29:40 +00:00
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
move-result-object p2
new-array v3, v0, [Ljava/lang/Object;
aput-object p3, v3, v2
aput-object p0, v3, v1
2019-12-06 03:29:40 +00:00
check-cast p2, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
const-string p0, "Failed to open %s for writing (%s)"
2019-12-06 03:29:40 +00:00
invoke-virtual {p2, p0, v3}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
:goto_1
if-eqz p1, :cond_0
2019-12-06 03:29:40 +00:00
:try_start_7
2019-07-24 11:27:29 +00:00
invoke-interface {p1}, Ljava/io/Closeable;->close()V
2019-12-06 03:29:40 +00:00
:try_end_7
.catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_4
2019-07-24 11:27:29 +00:00
goto :goto_2
:catch_4
move-exception p0
2019-12-06 03:29:40 +00:00
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
move-result-object p1
new-array p2, v0, [Ljava/lang/Object;
aput-object p3, p2, v2
aput-object p0, p2, v1
2019-12-06 03:29:40 +00:00
check-cast p1, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
const-string p0, "Failed to close %s file for writing (%s)"
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, p0, p2}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
:cond_0
:goto_2
return-void
.end method
.method public static a(Ljava/lang/Runnable;)V
.locals 3
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v0
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v1
if-eq v0, v1, :cond_0
invoke-interface {p0}, Ljava/lang/Runnable;->run()V
return-void
:cond_0
2019-12-06 03:29:40 +00:00
new-instance v0, Le/c/a/a2$a;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v0}, Le/c/a/a2$a;-><init>()V
2019-07-24 11:27:29 +00:00
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
aput-object p0, v1, v2
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v1}, Landroid/os/AsyncTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public static a(Landroid/content/Context;Ljava/lang/String;)Z
.locals 0
invoke-virtual {p0, p1}, Landroid/content/Context;->checkCallingOrSelfPermission(Ljava/lang/String;)I
move-result p0
if-nez p0, :cond_0
const/4 p0, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 p0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return p0
.end method
.method public static a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Z)Z
.locals 3
:try_start_0
invoke-virtual {p0, p1, p2}, Ljava/io/ObjectInputStream$GetField;->get(Ljava/lang/String;Z)Z
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
2019-12-06 03:29:40 +00:00
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
2019-07-24 11:27:29 +00:00
move-result-object v0
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
aput-object p1, v1, v2
const/4 p1, 0x1
invoke-virtual {p0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object p0
aput-object p0, v1, p1
2019-12-06 03:29:40 +00:00
check-cast v0, Le/c/a/b1;
2019-07-24 11:27:29 +00:00
const-string p0, "Unable to read \'%s\' field in migration device with message (%s)"
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p0, v1}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
return p2
.end method
.method public static a(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
if-eqz p0, :cond_1
if-nez p1, :cond_0
goto :goto_0
:cond_0
invoke-virtual {p0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p0
return p0
:cond_1
:goto_0
if-nez p0, :cond_2
if-nez p1, :cond_2
const/4 p0, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-07-24 11:27:29 +00:00
:cond_2
const/4 p0, 0x0
2019-12-06 03:29:40 +00:00
:goto_1
2019-07-24 11:27:29 +00:00
return p0
.end method
2019-12-06 03:29:40 +00:00
.method public static a(Ljava/util/List;Ljava/lang/String;)Z
2019-07-24 11:27:29 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
")Z"
}
.end annotation
const/4 v0, 0x0
if-nez p1, :cond_0
return v0
:cond_0
invoke-interface {p0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1
return v0
:cond_1
invoke-interface {p0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
move-result p0
return p0
.end method
2019-12-06 03:29:40 +00:00
.method public static b(Landroid/content/Context;)Ljava/lang/Boolean;
.locals 3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
:try_start_0
2019-12-13 02:35:12 +00:00
invoke-static {p0}, Lo/a/b/b/g/e;->a(Landroid/content/Context;)Ljava/lang/Object;
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v1, "isLimitAdTrackingEnabled"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v2, v2, [Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {p0, v1, v0, v2}, Lo/a/b/b/g/e;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
check-cast p0, Ljava/lang/Boolean;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-nez p0, :cond_0
goto :goto_0
:cond_0
invoke-virtual {p0}, Ljava/lang/Boolean;->booleanValue()Z
move-result p0
xor-int/lit8 p0, p0, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:catchall_0
:goto_0
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public static b(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.locals 5
:try_start_0
2019-12-06 03:29:40 +00:00
const-string v0, "getMeid"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v2, v1, [Ljava/lang/Class;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v4, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v3, v2, v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object p1, v1, v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-12-13 02:35:12 +00:00
invoke-static {p1, v0, p0, v2, v1}, Lo/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object p0
2019-12-06 03:29:40 +00:00
check-cast p0, Ljava/lang/String;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:catch_0
const/4 p0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_0
return-object p0
2019-07-24 11:27:29 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public static b()[Ljava/lang/String;
.locals 2
2019-07-24 11:27:29 +00:00
:try_start_0
2019-12-06 03:29:40 +00:00
const-string v0, "android.os.Build"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v1, "SUPPORTED_ABIS"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v0, v1}, Lo/a/b/b/g/e;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
check-cast v0, [Ljava/lang/String;
2019-07-24 11:27:29 +00:00
:try_end_0
2019-12-06 03:29:40 +00:00
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-07-24 11:27:29 +00:00
goto :goto_0
2019-12-06 03:29:40 +00:00
:catchall_0
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
return-object v0
2019-07-24 11:27:29 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public static c()Ljava/lang/String;
.locals 5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
const/4 v1, 0x0
2019-12-06 03:29:40 +00:00
:try_start_0
const-string v2, "dalvik.system.VMRuntime"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v3, "getRuntime"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v4, v0, [Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v2, v3, v1, v4}, Lo/a/b/b/g/e;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
:try_end_0
2019-12-06 03:29:40 +00:00
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-07-24 11:27:29 +00:00
goto :goto_0
2019-12-06 03:29:40 +00:00
:catchall_0
move-object v2, v1
2019-07-24 11:27:29 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
:try_start_1
const-string v3, "vmInstructionSet"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v0, v0, [Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v2, v3, v1, v0}, Lo/a/b/b/g/e;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
check-cast v0, Ljava/lang/String;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:catchall_1
move-object v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_1
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public static c(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
.locals 5
2019-07-24 11:27:29 +00:00
:try_start_0
2019-12-06 03:29:40 +00:00
const-string v0, "getDeviceId"
2019-07-24 11:27:29 +00:00
const/4 v1, 0x1
2019-12-06 03:29:40 +00:00
new-array v2, v1, [Ljava/lang/Class;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v4, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v3, v2, v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object p1, v1, v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {p1, v0, p0, v2, v1}, Lo/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object p0
2019-12-06 03:29:40 +00:00
check-cast p0, Ljava/lang/String;
2019-07-24 11:27:29 +00:00
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
2019-10-09 23:16:36 +00:00
const/4 p0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_0
2019-10-09 23:16:36 +00:00
return-object p0
.end method