1651 lines
36 KiB
Smali
1651 lines
36 KiB
Smali
.class public Le/c/a/a2;
|
|
.super Ljava/lang/Object;
|
|
.source "Util.java"
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Ljava/text/DecimalFormat;
|
|
|
|
.field public static final b:Ljava/text/SimpleDateFormat;
|
|
|
|
|
|
# direct methods
|
|
.method public 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
|
|
|
|
sput-object v0, Le/c/a/a2;->a:Ljava/text/DecimalFormat;
|
|
|
|
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
|
|
|
|
sput-object v0, Le/c/a/a2;->b:Ljava/text/SimpleDateFormat;
|
|
|
|
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
|
|
|
|
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 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/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(Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
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
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static a(ILe/c/a/n0;)J
|
|
.locals 6
|
|
|
|
iget v0, p1, Le/c/a/n0;->minRetries:I
|
|
|
|
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
|
|
|
|
iget-wide v2, p1, Le/c/a/n0;->milliSecondMultiplier:J
|
|
|
|
mul-long v0, v0, v2
|
|
|
|
iget-wide v2, p1, Le/c/a/n0;->maxWait:J
|
|
|
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
iget-wide v2, p1, Le/c/a/n0;->minRange:D
|
|
|
|
iget-wide p0, p1, Le/c/a/n0;->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
|
|
|
|
mul-double p0, p0, v4
|
|
|
|
double-to-long p0, p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.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
|
|
|
|
.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
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_3
|
|
|
|
: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_5
|
|
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_4
|
|
|
|
: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 {}, Le/c/a/z;->a()Le/c/a/u0;
|
|
|
|
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
|
|
|
|
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
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
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;
|
|
|
|
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
|
|
: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
|
|
|
|
check-cast p3, Le/c/a/b1;
|
|
|
|
:try_start_6
|
|
invoke-virtual {p3, v4, v5}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
goto :goto_5
|
|
|
|
:catch_3
|
|
move-exception p1
|
|
|
|
goto :goto_3
|
|
|
|
:goto_1
|
|
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
|
|
|
|
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
|
|
: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
|
|
|
|
check-cast p3, Le/c/a/b1;
|
|
|
|
:try_start_7
|
|
invoke-virtual {p3, v4, v5}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
goto :goto_5
|
|
|
|
:goto_2
|
|
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
|
|
|
|
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
|
|
: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
|
|
|
|
check-cast p3, Le/c/a/b1;
|
|
|
|
: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
|
|
|
|
goto :goto_5
|
|
|
|
:catch_4
|
|
move-exception p0
|
|
|
|
move-object v6, p1
|
|
|
|
move-object p1, p0
|
|
|
|
move-object p0, v6
|
|
|
|
goto :goto_3
|
|
|
|
:catch_5
|
|
move-object p0, p1
|
|
|
|
goto :goto_4
|
|
|
|
:catch_6
|
|
move-exception p1
|
|
|
|
move-object p0, v0
|
|
|
|
:goto_3
|
|
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
|
|
|
|
move-result-object p3
|
|
|
|
new-array v4, v1, [Ljava/lang/Object;
|
|
|
|
aput-object p2, v4, v2
|
|
|
|
aput-object p1, v4, v3
|
|
|
|
check-cast p3, Le/c/a/b1;
|
|
|
|
const-string p1, "Failed to open %s file for reading (%s)"
|
|
|
|
invoke-virtual {p3, p1, v4}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
goto :goto_5
|
|
|
|
:catch_7
|
|
move-object p0, v0
|
|
|
|
:catch_8
|
|
:goto_4
|
|
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
|
|
|
|
move-result-object p1
|
|
|
|
new-array p3, v3, [Ljava/lang/Object;
|
|
|
|
aput-object p2, p3, v2
|
|
|
|
check-cast p1, Le/c/a/b1;
|
|
|
|
const-string v4, "%s file not found"
|
|
|
|
invoke-virtual {p1, v4, p3}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_5
|
|
if-eqz p0, :cond_0
|
|
|
|
:try_start_9
|
|
invoke-interface {p0}, Ljava/io/Closeable;->close()V
|
|
:try_end_9
|
|
.catch Ljava/lang/Exception; {:try_start_9 .. :try_end_9} :catch_9
|
|
|
|
goto :goto_6
|
|
|
|
:catch_9
|
|
move-exception p0
|
|
|
|
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
|
|
|
|
move-result-object p1
|
|
|
|
new-array p3, v1, [Ljava/lang/Object;
|
|
|
|
aput-object p2, p3, v2
|
|
|
|
aput-object p0, p3, v3
|
|
|
|
check-cast p1, Le/c/a/b1;
|
|
|
|
const-string p0, "Failed to close %s file for reading (%s)"
|
|
|
|
invoke-virtual {p1, p0, p3}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:cond_0
|
|
:goto_6
|
|
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
|
|
|
|
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-object p2
|
|
.end method
|
|
|
|
.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
|
|
|
|
.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
|
|
|
|
.method public static a(Landroid/content/Context;)Ljava/lang/String;
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:try_start_0
|
|
invoke-static {p0}, Li/a/b/b/g/e;->a(Landroid/content/Context;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v1, "getId"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
invoke-static {p0, v1, v0, v2}, Li/a/b/b/g/e;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
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
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
|
|
.locals 5
|
|
|
|
:try_start_0
|
|
const-string v0, "getImei"
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-array v2, v1, [Ljava/lang/Class;
|
|
|
|
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
aput-object p1, v1, v4
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1, v0, p0, v2, v1}, Li/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
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
|
|
|
|
.method public static a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1, p2}, Le/c/a/a2;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.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
|
|
|
|
const/4 v0, 0x0
|
|
|
|
array-length v1, p0
|
|
|
|
invoke-virtual {p1, p0, v0, v1}, Ljava/security/MessageDigest;->update([BII)V
|
|
|
|
invoke-virtual {p1}, Ljava/security/MessageDigest;->digest()[B
|
|
|
|
move-result-object p0
|
|
|
|
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
|
|
|
|
:catch_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
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
|
|
|
|
.method public static a([B)Ljava/lang/String;
|
|
.locals 4
|
|
|
|
new-instance v0, Ljava/math/BigInteger;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-direct {v0, v1, p0}, Ljava/math/BigInteger;-><init>(I[B)V
|
|
|
|
const-string v2, "%0"
|
|
|
|
invoke-static {v2}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v2
|
|
|
|
array-length p0, p0
|
|
|
|
shl-int/2addr p0, v1
|
|
|
|
const-string v3, "x"
|
|
|
|
invoke-static {v2, p0, v3}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;ILjava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
sget-object v2, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
aput-object v0, v1, v3
|
|
|
|
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
|
|
|
|
invoke-static {v4, v1, p0, v0, v3}, Li/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
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
|
|
|
|
invoke-static {v2, v3, v1, v5, v4}, Li/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
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"
|
|
|
|
invoke-static {v1, v2, p0}, Li/a/b/b/g/e;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
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;
|
|
|
|
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
|
|
|
|
move-object v1, p0
|
|
|
|
check-cast v1, Le/c/a/b1;
|
|
|
|
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
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static a(Landroid/content/Context;Le/c/a/e1;)V
|
|
.locals 4
|
|
|
|
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
|
|
|
|
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;
|
|
|
|
check-cast v0, Le/c/a/b1;
|
|
|
|
const-string v2, "GoogleAdId being read in the background"
|
|
|
|
invoke-virtual {v0, v2, v1}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
invoke-static {p0}, Le/c/a/a2;->a(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v1, "GoogleAdId read "
|
|
|
|
invoke-static {v1, p0}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
new-array v2, v3, [Ljava/lang/Object;
|
|
|
|
invoke-virtual {v0, v1, v2}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
invoke-interface {p1, p0}, Le/c/a/e1;->onGoogleAdIdRead(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-array v1, v3, [Ljava/lang/Object;
|
|
|
|
check-cast v0, Le/c/a/b1;
|
|
|
|
const-string v2, "GoogleAdId being read in the foreground"
|
|
|
|
invoke-virtual {v0, v2, v1}, Le/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
new-instance v0, Le/c/a/a2$b;
|
|
|
|
invoke-direct {v0, p1}, Le/c/a/a2$b;-><init>(Le/c/a/e1;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
new-array p1, p1, [Landroid/content/Context;
|
|
|
|
aput-object p0, p1, v3
|
|
|
|
invoke-virtual {v0, p1}, Landroid/os/AsyncTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;
|
|
|
|
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
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
: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_2
|
|
|
|
:try_start_3
|
|
invoke-virtual {p1, p0}, Ljava/io/ObjectOutputStream;->writeObject(Ljava/lang/Object;)V
|
|
|
|
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
|
|
|
|
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
|
|
.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
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_1
|
|
:try_start_5
|
|
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p2, "Failed to serialize %s"
|
|
|
|
new-array v3, v1, [Ljava/lang/Object;
|
|
|
|
aput-object p3, v3, v2
|
|
:try_end_5
|
|
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_0
|
|
|
|
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
|
|
|
|
goto :goto_1
|
|
|
|
:catch_2
|
|
move-exception p0
|
|
|
|
move-object p1, p2
|
|
|
|
goto :goto_0
|
|
|
|
:catch_3
|
|
move-exception p0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
|
|
|
|
move-result-object p2
|
|
|
|
new-array v3, v0, [Ljava/lang/Object;
|
|
|
|
aput-object p3, v3, v2
|
|
|
|
aput-object p0, v3, v1
|
|
|
|
check-cast p2, Le/c/a/b1;
|
|
|
|
const-string p0, "Failed to open %s for writing (%s)"
|
|
|
|
invoke-virtual {p2, p0, v3}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_1
|
|
if-eqz p1, :cond_0
|
|
|
|
:try_start_7
|
|
invoke-interface {p1}, Ljava/io/Closeable;->close()V
|
|
:try_end_7
|
|
.catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_4
|
|
|
|
goto :goto_2
|
|
|
|
:catch_4
|
|
move-exception p0
|
|
|
|
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
|
|
|
|
move-result-object p1
|
|
|
|
new-array p2, v0, [Ljava/lang/Object;
|
|
|
|
aput-object p3, p2, v2
|
|
|
|
aput-object p0, p2, v1
|
|
|
|
check-cast p1, Le/c/a/b1;
|
|
|
|
const-string p0, "Failed to close %s file for writing (%s)"
|
|
|
|
invoke-virtual {p1, p0, p2}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
: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
|
|
new-instance v0, Le/c/a/a2$a;
|
|
|
|
invoke-direct {v0}, Le/c/a/a2$a;-><init>()V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object p0, v1, v2
|
|
|
|
invoke-virtual {v0, v1}, Landroid/os/AsyncTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;
|
|
|
|
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
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
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
|
|
|
|
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 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
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 p0, 0x0
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public 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
|
|
|
|
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
|
|
|
|
.method public static b(Landroid/content/Context;)Ljava/lang/Boolean;
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:try_start_0
|
|
invoke-static {p0}, Li/a/b/b/g/e;->a(Landroid/content/Context;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v1, "isLimitAdTrackingEnabled"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
invoke-static {p0, v1, v0, v2}, Li/a/b/b/g/e;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/Boolean;
|
|
|
|
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
|
|
|
|
invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
:catchall_0
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static b(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
|
|
.locals 5
|
|
|
|
:try_start_0
|
|
const-string v0, "getMeid"
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-array v2, v1, [Ljava/lang/Class;
|
|
|
|
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
aput-object p1, v1, v4
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1, v0, p0, v2, v1}, Li/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
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
|
|
|
|
.method public static b()[Ljava/lang/String;
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
const-string v0, "android.os.Build"
|
|
|
|
const-string v1, "SUPPORTED_ABIS"
|
|
|
|
invoke-static {v0, v1}, Li/a/b/b/g/e;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Ljava/lang/String;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static c()Ljava/lang/String;
|
|
.locals 5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:try_start_0
|
|
const-string v2, "dalvik.system.VMRuntime"
|
|
|
|
const-string v3, "getRuntime"
|
|
|
|
new-array v4, v0, [Ljava/lang/Object;
|
|
|
|
invoke-static {v2, v3, v1, v4}, Li/a/b/b/g/e;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-object v2, v1
|
|
|
|
:goto_0
|
|
:try_start_1
|
|
const-string v3, "vmInstructionSet"
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
invoke-static {v2, v3, v1, v0}, Li/a/b/b/g/e;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_1
|
|
move-object v0, v1
|
|
|
|
:goto_1
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static c(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
|
|
.locals 5
|
|
|
|
:try_start_0
|
|
const-string v0, "getDeviceId"
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-array v2, v1, [Ljava/lang/Class;
|
|
|
|
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
aput-object p1, v1, v4
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1, v0, p0, v2, v1}, Li/a/b/b/g/e;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
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
|