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

702 lines
16 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lcom/adjust/sdk/ap;
.super Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
.source "Reflection.java"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
# direct methods
.method private static varargs a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, p1, p3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
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
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0, p2, p4}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static varargs a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
2019-02-04 20:08:30 +00:00
value = {
2019-02-17 02:24:41 +00:00
Ljava/lang/Exception;
2019-02-04 20:08:30 +00:00
}
.end annotation
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
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 {v0, p1, p0, p2, p3}, Lcom/adjust/sdk/ap;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[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
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 a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0}, Lcom/adjust/sdk/ap;->forName(Ljava/lang/String;)Ljava/lang/Class;
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/4 v0, 0x0
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
return-object v0
:cond_0
invoke-virtual {p0, p1}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;
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
if-nez p0, :cond_1
return-object v0
:cond_1
invoke-virtual {p0, p2}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public static varargs a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
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/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, p1, v0, p2, p3}, Lcom/adjust/sdk/ap;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[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
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 a(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
.locals 5
2019-02-04 20:08:30 +00:00
:try_start_0
2019-02-17 02:24:41 +00:00
const-string v0, "getImei"
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 v2, v1, [Ljava/lang/Class;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
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-static {p0, v0, v2, v1}, Lcom/adjust/sdk/ap;->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
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
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
return-object p0
.end method
.method public static a(Landroid/content/res/Configuration;)Ljava/util/Locale;
.locals 6
const/4 v0, 0x0
:try_start_0
const-string v1, "getLocales"
const/4 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v3, v2, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v1, v0, v3}, Lcom/adjust/sdk/ap;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
if-nez p0, :cond_0
return-object v0
2019-02-04 20:08:30 +00:00
:cond_0
2019-02-17 02:24:41 +00:00
const-string v1, "get"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v3, 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v4, v3, [Ljava/lang/Class;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
sget-object v5, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object v5, v4, v2
new-array v3, v3, [Ljava/lang/Object;
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
aput-object v5, v3, v2
invoke-static {p0, v1, v4, v3}, Lcom/adjust/sdk/ap;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/util/Locale;
2019-02-04 20:08:30 +00:00
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
2019-02-17 02:24:41 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
:catch_0
2019-02-17 02:24:41 +00:00
move-object p0, v0
:goto_0
return-object p0
.end method
.method private static av()Ljava/lang/Object;
.locals 4
const/4 v0, 0x0
:try_start_0
const-string v1, "dalvik.system.VMRuntime"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v2, "getRuntime"
2019-02-04 20:08:30 +00:00
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
new-array v3, v3, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1, v2, v0, v3}, Lcom/adjust/sdk/ap;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[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 v0
:try_end_0
.catch Ljava/lang/Throwable; {: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 v0
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 aw()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
:try_start_0
invoke-static {}, Lcom/adjust/sdk/ap;->av()Ljava/lang/Object;
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v2, "vmInstructionSet"
2019-02-04 20:08:30 +00:00
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
new-array v3, v3, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1, v2, v0, v3}, Lcom/adjust/sdk/ap;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[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 v1
check-cast v1, Ljava/lang/String;
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
return-object v1
:catch_0
return-object v0
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public static ax()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
.locals 3
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
:try_start_0
const-string v1, "android.os.Build"
const-string v2, "CPU_ABI"
invoke-static {v1, v2, v0}, Lcom/adjust/sdk/ap;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
move-object v0, v1
:catch_0
return-object v0
.end method
.method static ay()Ljava/util/List;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/adjust/sdk/a/a;",
">;"
}
.end annotation
new-instance v0, Ljava/util/ArrayList;
2019-03-26 19:13:28 +00:00
sget-object v1, Lcom/adjust/sdk/r;->dU:Ljava/util/List;
2019-02-17 02:24:41 +00:00
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
2019-03-26 19:13:28 +00:00
sget-object v1, Lcom/adjust/sdk/r;->dU:Ljava/util/List;
2019-02-17 02:24:41 +00:00
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_0
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
invoke-static {v2}, Lcom/adjust/sdk/ap;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v2
invoke-static {v2}, Lcom/adjust/sdk/ap;->c(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v2
if-eqz v2, :cond_0
instance-of v3, v2, Lcom/adjust/sdk/a/a;
if-eqz v3, :cond_0
check-cast v2, Lcom/adjust/sdk/a/a;
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
return-object v0
.end method
.method public static b(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
.locals 5
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
const-string v0, "getMeid"
const/4 v1, 0x1
new-array v2, v1, [Ljava/lang/Class;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v4, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object v3, v2, v4
2019-02-04 20:08:30 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
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
aput-object p1, v1, v4
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v0, v2, v1}, Lcom/adjust/sdk/ap;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[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
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
check-cast p0, Ljava/lang/String;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
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/content/res/Configuration;)Ljava/util/Locale;
.locals 2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
const-string v0, "android.content.res.Configuration"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v1, "locale"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v0, v1, p0}, Lcom/adjust/sdk/ap;->a(Ljava/lang/String;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
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
check-cast p0, Ljava/util/Locale;
:try_end_0
.catch Ljava/lang/Throwable; {: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
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 private static c(Ljava/lang/Class;)Ljava/lang/Object;
.locals 0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
invoke-virtual {p0}, Ljava/lang/Class;->newInstance()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/Throwable; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
const/4 p0, 0x0
return-object p0
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public static c(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
.locals 5
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
const-string v0, "getDeviceId"
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 v2, v1, [Ljava/lang/Class;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v4, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object v3, v2, v4
2019-02-04 20:08:30 +00:00
new-array v1, v1, [Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
aput-object p1, v1, v4
invoke-static {p0, v0, v2, v1}, Lcom/adjust/sdk/ap;->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
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
const/4 p0, 0x0
return-object p0
.end method
.method private static forName(Ljava/lang/String;)Ljava/lang/Class;
.locals 0
:try_start_0
invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object p0
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
const/4 p0, 0x0
return-object p0
.end method
.method public static g(Landroid/content/Context;)Ljava/lang/String;
.locals 3
const/4 v0, 0x0
:try_start_0
invoke-static {p0}, Lcom/adjust/sdk/ap;->k(Landroid/content/Context;)Ljava/lang/Object;
move-result-object p0
const-string v1, "getId"
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
2019-02-17 02:24:41 +00:00
new-array v2, v2, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p0, v1, v0, v2}, Lcom/adjust/sdk/ap;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[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
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
check-cast p0, Ljava/lang/String;
:try_end_0
.catch Ljava/lang/Throwable; {: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 getSupportedAbis()[Ljava/lang/String;
.locals 3
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
const-string v1, "android.os.Build"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v2, "SUPPORTED_ABIS"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v1, v2, v0}, Lcom/adjust/sdk/ap;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, [Ljava/lang/String;
check-cast v1, [Ljava/lang/String;
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
move-object v0, v1
:catch_0
return-object v0
.end method
.method public static h(Landroid/content/Context;)Ljava/lang/Boolean;
.locals 4
const/4 v0, 0x0
:try_start_0
invoke-static {p0}, Lcom/adjust/sdk/ap;->k(Landroid/content/Context;)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
const-string v1, "isLimitAdTrackingEnabled"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v2, 0x0
new-array v3, v2, [Ljava/lang/Object;
invoke-static {p0, v1, v0, v3}, Lcom/adjust/sdk/ap;->a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[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
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
check-cast p0, Ljava/lang/Boolean;
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
return-object v0
2019-02-04 20:08:30 +00:00
:cond_0
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Ljava/lang/Boolean;->booleanValue()Z
move-result p0
if-nez p0, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v2, 0x1
:cond_1
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p0
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
return-object v0
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public static i(Landroid/content/Context;)Ljava/lang/String;
.locals 6
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:try_start_0
const-string v0, "com.adjust.sdk.plugin.MacAddressUtil"
const-string v1, "getMacAddress"
const/4 v2, 0x1
new-array v3, v2, [Ljava/lang/Class;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-class v4, Landroid/content/Context;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v5, 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object v4, v3, v5
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v2, v2, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object p0, v2, v5
invoke-static {v0, v1, v3, v2}, Lcom/adjust/sdk/ap;->a(Ljava/lang/String;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
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
const/4 p0, 0x0
return-object p0
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method public static j(Landroid/content/Context;)Ljava/lang/String;
.locals 6
:try_start_0
const-string v0, "com.adjust.sdk.plugin.AndroidIdUtil"
const-string v1, "getAndroidId"
const/4 v2, 0x1
new-array v3, v2, [Ljava/lang/Class;
const-class v4, Landroid/content/Context;
const/4 v5, 0x0
aput-object v4, v3, v5
new-array v2, v2, [Ljava/lang/Object;
aput-object p0, v2, v5
invoke-static {v0, v1, v3, v2}, Lcom/adjust/sdk/ap;->a(Ljava/lang/String;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
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
const/4 p0, 0x0
return-object p0
.end method
.method private static k(Landroid/content/Context;)Ljava/lang/Object;
.locals 6
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
const-string v0, "com.google.android.gms.ads.identifier.AdvertisingIdClient"
const-string v1, "getAdvertisingIdInfo"
const/4 v2, 0x1
new-array v3, v2, [Ljava/lang/Class;
const-class v4, Landroid/content/Context;
const/4 v5, 0x0
aput-object v4, v3, v5
new-array v2, v2, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object p0, v2, v5
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {v0, v1, v3, v2}, Lcom/adjust/sdk/ap;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[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
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