apkfuckery/com.discord/smali/e/c/a/j1.smali
2020-04-27 22:53:11 +02:00

1548 lines
38 KiB
Smali

.class public Le/c/a/j1;
.super Ljava/lang/Object;
.source "PackageBuilder.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Le/c/a/j1$a;
}
.end annotation
# static fields
.field public static o:Le/c/a/u0;
# instance fields
.field public a:Le/c/a/v;
.field public b:Le/c/a/q0;
.field public c:Le/c/a/j1$a;
.field public d:Le/c/a/u1;
.field public e:J
.field public f:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public g:Lcom/adjust/sdk/AdjustAttribution;
.field public h:Ljava/lang/String;
.field public i:Ljava/lang/String;
.field public j:Ljava/lang/String;
.field public k:Ljava/lang/String;
.field public l:J
.field public m:J
.field public n:J
# direct methods
.method public static constructor <clinit>()V
.locals 1
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object v0
sput-object v0, Le/c/a/j1;->o:Le/c/a/u0;
return-void
.end method
.method public constructor <init>(Le/c/a/v;Le/c/a/q0;Le/c/a/t;Le/c/a/u1;J)V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-wide/16 v0, -0x1
iput-wide v0, p0, Le/c/a/j1;->l:J
iput-wide v0, p0, Le/c/a/j1;->m:J
iput-wide v0, p0, Le/c/a/j1;->n:J
iput-object p1, p0, Le/c/a/j1;->a:Le/c/a/v;
iput-object p2, p0, Le/c/a/j1;->b:Le/c/a/q0;
new-instance p1, Le/c/a/j1$a;
invoke-direct {p1, p0, p3}, Le/c/a/j1$a;-><init>(Le/c/a/j1;Le/c/a/t;)V
iput-object p1, p0, Le/c/a/j1;->c:Le/c/a/j1$a;
iput-object p4, p0, Le/c/a/j1;->d:Le/c/a/u1;
iput-wide p5, p0, Le/c/a/j1;->e:J
return-void
.end method
.method public static a(Ljava/util/Map;Ljava/lang/String;J)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
"J)V"
}
.end annotation
const-wide/16 v0, 0x0
cmp-long v2, p2, v0
if-gtz v2, :cond_0
return-void
:cond_0
new-instance v0, Ljava/util/Date;
invoke-direct {v0, p2, p3}, Ljava/util/Date;-><init>(J)V
sget-object p2, Le/c/a/a2;->b:Ljava/text/SimpleDateFormat;
invoke-virtual {p2, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;
move-result-object p2
invoke-static {p0, p1, p2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public static a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
"Ljava/lang/Boolean;",
")V"
}
.end annotation
if-nez p2, :cond_0
return-void
:cond_0
invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
move-result p2
int-to-long v0, p2
invoke-static {p0, p1, v0, v1}, Le/c/a/j1;->d(Ljava/util/Map;Ljava/lang/String;J)V
return-void
.end method
.method public static a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
"Ljava/lang/String;",
")V"
}
.end annotation
invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
invoke-interface {p0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method public static a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
if-nez p2, :cond_0
return-void
:cond_0
invoke-interface {p2}, Ljava/util/Map;->size()I
move-result v0
if-nez v0, :cond_1
return-void
:cond_1
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0, p2}, Lorg/json/JSONObject;-><init>(Ljava/util/Map;)V
invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
move-result-object p2
invoke-static {p0, p1, p2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public static b(Ljava/util/Map;Ljava/lang/String;J)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
"J)V"
}
.end annotation
const-wide/16 v0, 0x0
cmp-long v2, p2, v0
if-gtz v2, :cond_0
return-void
:cond_0
new-instance v0, Ljava/util/Date;
const-wide/16 v1, 0x3e8
mul-long p2, p2, v1
invoke-direct {v0, p2, p3}, Ljava/util/Date;-><init>(J)V
sget-object p2, Le/c/a/a2;->b:Ljava/text/SimpleDateFormat;
invoke-virtual {p2, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;
move-result-object p2
invoke-static {p0, p1, p2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public static c(Ljava/util/Map;Ljava/lang/String;J)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
"J)V"
}
.end annotation
const-wide/16 v0, 0x0
cmp-long v2, p2, v0
if-gez v2, :cond_0
return-void
:cond_0
const-wide/16 v0, 0x1f4
add-long/2addr p2, v0
const-wide/16 v0, 0x3e8
div-long/2addr p2, v0
invoke-static {p0, p1, p2, p3}, Le/c/a/j1;->d(Ljava/util/Map;Ljava/lang/String;J)V
return-void
.end method
.method public static d(Ljava/util/Map;Ljava/lang/String;J)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
"J)V"
}
.end annotation
const-wide/16 v0, 0x0
cmp-long v2, p2, v0
if-gez v2, :cond_0
return-void
:cond_0
invoke-static {p2, p3}, Ljava/lang/Long;->toString(J)Ljava/lang/String;
move-result-object p2
invoke-static {p0, p1, p2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public final a(Le/c/a/r;)Le/c/a/s;
.locals 1
new-instance v0, Le/c/a/s;
invoke-direct {v0, p1}, Le/c/a/s;-><init>(Le/c/a/r;)V
iget-object p1, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object p1, p1, Le/c/a/q0;->h:Ljava/lang/String;
invoke-virtual {v0, p1}, Le/c/a/s;->a(Ljava/lang/String;)V
return-object v0
.end method
.method public a(Ljava/lang/String;)Le/c/a/s;
.locals 3
const/4 v0, 0x0
invoke-virtual {p0, v0}, Le/c/a/j1;->a(Z)Ljava/util/Map;
move-result-object v0
const-string v1, "source"
invoke-static {v0, v1, p1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-wide v1, p0, Le/c/a/j1;->l:J
const-string p1, "click_time"
invoke-static {v0, p1, v1, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;J)V
iget-object v1, p0, Le/c/a/j1;->h:Ljava/lang/String;
const-string v2, "reftag"
invoke-static {v0, v2, v1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v1, p0, Le/c/a/j1;->f:Ljava/util/Map;
const-string v2, "params"
invoke-static {v0, v2, v1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
iget-object v1, p0, Le/c/a/j1;->i:Ljava/lang/String;
const-string v2, "referrer"
invoke-static {v0, v2, v1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v1, p0, Le/c/a/j1;->j:Ljava/lang/String;
const-string v2, "raw_referrer"
invoke-static {v0, v2, v1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v1, p0, Le/c/a/j1;->k:Ljava/lang/String;
const-string v2, "deeplink"
invoke-static {v0, v2, v1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-wide v1, p0, Le/c/a/j1;->m:J
invoke-static {v0, p1, v1, v2}, Le/c/a/j1;->b(Ljava/util/Map;Ljava/lang/String;J)V
iget-wide v1, p0, Le/c/a/j1;->n:J
const-string p1, "install_begin_time"
invoke-static {v0, p1, v1, v2}, Le/c/a/j1;->b(Ljava/util/Map;Ljava/lang/String;J)V
iget-object p1, p0, Le/c/a/j1;->g:Lcom/adjust/sdk/AdjustAttribution;
if-nez p1, :cond_0
goto :goto_0
:cond_0
iget-object p1, p1, Lcom/adjust/sdk/AdjustAttribution;->trackerName:Ljava/lang/String;
const-string v1, "tracker"
invoke-static {v0, v1, p1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object p1, p0, Le/c/a/j1;->g:Lcom/adjust/sdk/AdjustAttribution;
iget-object p1, p1, Lcom/adjust/sdk/AdjustAttribution;->campaign:Ljava/lang/String;
const-string v1, "campaign"
invoke-static {v0, v1, p1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object p1, p0, Le/c/a/j1;->g:Lcom/adjust/sdk/AdjustAttribution;
iget-object p1, p1, Lcom/adjust/sdk/AdjustAttribution;->adgroup:Ljava/lang/String;
const-string v1, "adgroup"
invoke-static {v0, v1, p1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object p1, p0, Le/c/a/j1;->g:Lcom/adjust/sdk/AdjustAttribution;
iget-object p1, p1, Lcom/adjust/sdk/AdjustAttribution;->creative:Ljava/lang/String;
const-string v1, "creative"
invoke-static {v0, v1, p1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
:goto_0
sget-object p1, Le/c/a/r;->g:Le/c/a/r;
invoke-virtual {p0, p1}, Le/c/a/j1;->a(Le/c/a/r;)Le/c/a/s;
move-result-object p1
const-string v1, "/sdk_click"
invoke-virtual {p1, v1}, Le/c/a/s;->b(Ljava/lang/String;)V
const-string v1, ""
invoke-virtual {p1, v1}, Le/c/a/s;->c(Ljava/lang/String;)V
iget-wide v1, p0, Le/c/a/j1;->l:J
invoke-virtual {p1, v1, v2}, Le/c/a/s;->a(J)V
iget-wide v1, p0, Le/c/a/j1;->m:J
invoke-virtual {p1, v1, v2}, Le/c/a/s;->b(J)V
iget-wide v1, p0, Le/c/a/j1;->n:J
invoke-virtual {p1, v1, v2}, Le/c/a/s;->c(J)V
invoke-virtual {p1, v0}, Le/c/a/s;->b(Ljava/util/Map;)V
return-object p1
.end method
.method public final a()Ljava/util/Map;
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
const-string v1, "phone"
invoke-virtual {p0, v0}, Le/c/a/j1;->d(Ljava/util/Map;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->g:Ljava/lang/String;
const-string v3, "fb_id"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->i:Ljava/lang/String;
const-string v3, "package_name"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->j:Ljava/lang/String;
const-string v3, "app_version"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->k:Ljava/lang/String;
const-string v3, "device_type"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->l:Ljava/lang/String;
const-string v3, "device_name"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->m:Ljava/lang/String;
const-string v3, "device_manufacturer"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->n:Ljava/lang/String;
const-string v3, "os_name"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->o:Ljava/lang/String;
const-string v3, "os_version"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->p:Ljava/lang/String;
const-string v3, "api_level"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->q:Ljava/lang/String;
const-string v3, "language"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->r:Ljava/lang/String;
const-string v3, "country"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->s:Ljava/lang/String;
const-string v3, "screen_size"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->t:Ljava/lang/String;
const-string v3, "screen_format"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->u:Ljava/lang/String;
const-string v3, "screen_density"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->v:Ljava/lang/String;
const-string v3, "display_width"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->w:Ljava/lang/String;
const-string v3, "display_height"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->x:Ljava/lang/String;
const-string v3, "hardware_name"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->y:Ljava/lang/String;
const-string v3, "cpu_type"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->z:Ljava/lang/String;
const-string v3, "os_build"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v2, v2, Le/c/a/q0;->A:Ljava/lang/String;
const-string v3, "vm_isa"
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v2, v2, Le/c/a/v;->a:Landroid/content/Context;
const/4 v3, 0x3
const/4 v4, 0x0
const/4 v5, 0x0
:try_start_0
invoke-virtual {v2, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/telephony/TelephonyManager;
invoke-virtual {v2}, Landroid/telephony/TelephonyManager;->getNetworkOperator()Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v6
if-eqz v6, :cond_0
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object v2
const-string v6, "Couldn\'t receive networkOperator string to read MCC"
new-array v7, v5, [Ljava/lang/Object;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
check-cast v2, Le/c/a/b1;
:try_start_1
invoke-virtual {v2, v6, v7}, Le/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_0
invoke-virtual {v2, v5, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v2
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
goto :goto_1
:catch_0
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object v2
new-array v6, v5, [Ljava/lang/Object;
check-cast v2, Le/c/a/b1;
const-string v7, "Couldn\'t return mcc"
invoke-virtual {v2, v7, v6}, Le/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
move-object v2, v4
:goto_1
const-string v6, "mcc"
invoke-static {v0, v6, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v2, v2, Le/c/a/v;->a:Landroid/content/Context;
:try_start_2
invoke-virtual {v2, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/telephony/TelephonyManager;
invoke-virtual {v2}, Landroid/telephony/TelephonyManager;->getNetworkOperator()Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v6
if-eqz v6, :cond_1
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object v2
const-string v3, "Couldn\'t receive networkOperator string to read MNC"
new-array v6, v5, [Ljava/lang/Object;
:try_end_2
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1
check-cast v2, Le/c/a/b1;
:try_start_3
invoke-virtual {v2, v3, v6}, Le/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_2
:cond_1
invoke-virtual {v2, v3}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object v4
:try_end_3
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_1
goto :goto_2
:catch_1
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object v2
new-array v3, v5, [Ljava/lang/Object;
check-cast v2, Le/c/a/b1;
const-string v6, "Couldn\'t return mnc"
invoke-virtual {v2, v6, v3}, Le/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_2
const-string v2, "mnc"
invoke-static {v0, v2, v4}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v2, v2, Le/c/a/v;->a:Landroid/content/Context;
const/4 v3, 0x1
const/4 v4, -0x1
:try_start_4
const-string v6, "connectivity"
invoke-virtual {v2, v6}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/net/ConnectivityManager;
invoke-virtual {v2}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
move-result-object v2
invoke-virtual {v2}, Landroid/net/NetworkInfo;->getType()I
move-result v2
:try_end_4
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_2
goto :goto_3
:catch_2
move-exception v2
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object v6
new-array v7, v3, [Ljava/lang/Object;
invoke-virtual {v2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v2
aput-object v2, v7, v5
check-cast v6, Le/c/a/b1;
const-string v2, "Couldn\'t read connectivity type (%s)"
invoke-virtual {v6, v2, v7}, Le/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V
const/4 v2, -0x1
:goto_3
int-to-long v6, v2
const-string v2, "connectivity_type"
invoke-static {v0, v2, v6, v7}, Le/c/a/j1;->d(Ljava/util/Map;Ljava/lang/String;J)V
iget-object v2, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v2, v2, Le/c/a/v;->a:Landroid/content/Context;
:try_start_5
invoke-virtual {v2, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/telephony/TelephonyManager;
invoke-virtual {v1}, Landroid/telephony/TelephonyManager;->getNetworkType()I
move-result v4
:try_end_5
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_3
goto :goto_4
:catch_3
move-exception v1
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object v2
new-array v3, v3, [Ljava/lang/Object;
invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v1
aput-object v1, v3, v5
check-cast v2, Le/c/a/b1;
const-string v1, "Couldn\'t read network type (%s)"
invoke-virtual {v2, v1, v3}, Le/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_4
int-to-long v1, v4
const-string v3, "network_type"
invoke-static {v0, v3, v1, v2}, Le/c/a/j1;->d(Ljava/util/Map;Ljava/lang/String;J)V
iget-object v1, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v1, v1, Le/c/a/q0;->D:Ljava/util/Map;
if-nez v1, :cond_2
goto :goto_6
:cond_2
invoke-interface {v1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object v1
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_5
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_3
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/util/Map$Entry;
invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/String;
invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
invoke-static {v0, v3, v2}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
goto :goto_5
:cond_3
:goto_6
invoke-virtual {p0, v0}, Le/c/a/j1;->c(Ljava/util/Map;)V
iget-object v1, p0, Le/c/a/j1;->c:Le/c/a/j1$a;
iget-object v1, v1, Le/c/a/j1$a;->c:Ljava/lang/String;
const-string v2, "android_uuid"
invoke-static {v0, v2, v1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v1, p0, Le/c/a/j1;->c:Le/c/a/j1$a;
iget v1, v1, Le/c/a/j1$a;->d:I
int-to-long v1, v1
const-string v3, "session_count"
invoke-static {v0, v3, v1, v2}, Le/c/a/j1;->d(Ljava/util/Map;Ljava/lang/String;J)V
iget-object v1, p0, Le/c/a/j1;->c:Le/c/a/j1$a;
iget v1, v1, Le/c/a/j1$a;->e:I
int-to-long v1, v1
const-string v3, "subsession_count"
invoke-static {v0, v3, v1, v2}, Le/c/a/j1;->d(Ljava/util/Map;Ljava/lang/String;J)V
iget-object v1, p0, Le/c/a/j1;->c:Le/c/a/j1$a;
iget-wide v1, v1, Le/c/a/j1$a;->f:J
const-string v3, "session_length"
invoke-static {v0, v3, v1, v2}, Le/c/a/j1;->c(Ljava/util/Map;Ljava/lang/String;J)V
iget-object v1, p0, Le/c/a/j1;->c:Le/c/a/j1$a;
iget-wide v1, v1, Le/c/a/j1$a;->g:J
const-string v3, "time_spent"
invoke-static {v0, v3, v1, v2}, Le/c/a/j1;->c(Ljava/util/Map;Ljava/lang/String;J)V
invoke-virtual {p0, v0}, Le/c/a/j1;->b(Ljava/util/Map;)V
invoke-virtual {p0, v0}, Le/c/a/j1;->a(Ljava/util/Map;)V
return-object v0
.end method
.method public final a(Z)Ljava/util/Map;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(Z)",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
invoke-virtual {p0}, Le/c/a/j1;->a()Ljava/util/Map;
move-result-object v0
iget-object v1, p0, Le/c/a/j1;->c:Le/c/a/j1$a;
iget-wide v1, v1, Le/c/a/j1$a;->a:J
const-string v3, "last_interval"
invoke-static {v0, v3, v1, v2}, Le/c/a/j1;->c(Ljava/util/Map;Ljava/lang/String;J)V
iget-object v1, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v1, v1, Le/c/a/v;->g:Ljava/lang/String;
const-string v2, "default_tracker"
invoke-static {v0, v2, v1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v1, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v1, v1, Le/c/a/q0;->B:Ljava/lang/String;
const-string v2, "installed_at"
invoke-static {v0, v2, v1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v1, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v1, v1, Le/c/a/q0;->C:Ljava/lang/String;
const-string v2, "updated_at"
invoke-static {v0, v2, v1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
if-nez p1, :cond_0
iget-object p1, p0, Le/c/a/j1;->d:Le/c/a/u1;
iget-object p1, p1, Le/c/a/u1;->a:Ljava/util/Map;
const-string v1, "callback_params"
invoke-static {v0, v1, p1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
iget-object p1, p0, Le/c/a/j1;->d:Le/c/a/u1;
iget-object p1, p1, Le/c/a/u1;->b:Ljava/util/Map;
const-string v1, "partner_params"
invoke-static {v0, v1, p1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
:cond_0
return-object v0
.end method
.method public final a(Ljava/util/Map;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
const-string v0, "mac_sha1"
invoke-interface {p1, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_0
const-string v0, "mac_md5"
invoke-interface {p1, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_0
const-string v0, "android_id"
invoke-interface {p1, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_0
const-string v0, "gps_adid"
invoke-interface {p1, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_0
sget-object p1, Le/c/a/j1;->o:Le/c/a/u0;
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/Object;
check-cast p1, Le/c/a/b1;
const-string v1, "Missing device id\'s. Please check if Proguard is correctly set with Adjust SDK"
invoke-virtual {p1, v1, v0}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_0
return-void
.end method
.method public final b(Ljava/util/Map;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
iget-wide v0, p0, Le/c/a/j1;->e:J
const-string v2, "created_at"
invoke-static {p1, v2, v0, v1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;J)V
const/4 v0, 0x1
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
const-string v1, "attribution_deeplink"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
const-string v1, "needs_response_details"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
return-void
.end method
.method public final c(Ljava/util/Map;)V
.locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
iget-object v0, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v0, v0, Le/c/a/v;->b:Ljava/lang/String;
const-string v1, "app_token"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v0, v0, Le/c/a/v;->c:Ljava/lang/String;
const-string v1, "environment"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v0, v0, Le/c/a/v;->i:Ljava/lang/Boolean;
const-string v1, "device_known"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
iget-object v0, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-boolean v0, v0, Le/c/a/v;->f:Z
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
const-string v1, "event_buffering_enabled"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
iget-object v0, p0, Le/c/a/j1;->c:Le/c/a/j1$a;
iget-object v0, v0, Le/c/a/j1$a;->h:Ljava/lang/String;
const-string v1, "push_token"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v0, v0, Le/c/a/v;->a:Landroid/content/Context;
invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
invoke-static {v0}, Le/c/a/a2;->a(Landroid/content/ContentResolver;)Ljava/lang/String;
move-result-object v1
const-string v2, "fire_adid"
invoke-static {p1, v2, v1}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
const/4 v1, 0x0
const/4 v2, 0x1
:try_start_0
const-string v3, "limit_ad_tracking"
invoke-static {v0, v3}, Landroid/provider/Settings$Secure;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;)I
move-result v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_1
:catch_0
const/4 v0, 0x0
:goto_1
const-string v3, "fire_tracking_enabled"
invoke-static {p1, v3, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
iget-object v0, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v0, v0, Le/c/a/v;->x:Ljava/lang/String;
const-string v3, "secret_id"
invoke-static {p1, v3, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v0, v0, Le/c/a/v;->y:Ljava/lang/String;
const-string v3, "app_secret"
invoke-static {p1, v3, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-boolean v3, v0, Le/c/a/v;->z:Z
if-eqz v3, :cond_7
iget-object v0, v0, Le/c/a/v;->a:Landroid/content/Context;
const-string v3, "phone"
invoke-virtual {v0, v3}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/telephony/TelephonyManager;
new-instance v3, Ljava/util/ArrayList;
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
invoke-static {v0, v1}, Le/c/a/a2;->c(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
move-result-object v4
invoke-static {v3, v4}, Le/c/a/a2;->a(Ljava/util/List;Ljava/lang/String;)Z
const/4 v4, 0x1
:goto_2
const/16 v5, 0xa
if-ge v4, v5, :cond_2
invoke-static {v0, v4}, Le/c/a/a2;->c(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
move-result-object v6
invoke-static {v3, v6}, Le/c/a/a2;->a(Ljava/util/List;Ljava/lang/String;)Z
move-result v6
if-nez v6, :cond_1
goto :goto_3
:cond_1
add-int/lit8 v4, v4, 0x1
goto :goto_2
:cond_2
:goto_3
const v4, 0x7fffffff
invoke-static {v0, v4}, Le/c/a/a2;->c(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
move-result-object v6
invoke-static {v3, v6}, Le/c/a/a2;->a(Ljava/util/List;Ljava/lang/String;)Z
const-string v6, ","
invoke-static {v6, v3}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
move-result-object v3
const-string v7, "device_ids"
invoke-static {p1, v7, v3}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
new-instance v3, Ljava/util/ArrayList;
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
invoke-static {v0, v1}, Le/c/a/a2;->a(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
move-result-object v7
invoke-static {v3, v7}, Le/c/a/a2;->a(Ljava/util/List;Ljava/lang/String;)Z
const/4 v7, 0x1
:goto_4
if-ge v7, v5, :cond_4
invoke-static {v0, v7}, Le/c/a/a2;->a(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
move-result-object v8
invoke-static {v3, v8}, Le/c/a/a2;->a(Ljava/util/List;Ljava/lang/String;)Z
move-result v8
if-nez v8, :cond_3
goto :goto_5
:cond_3
add-int/lit8 v7, v7, 0x1
goto :goto_4
:cond_4
:goto_5
invoke-static {v0, v4}, Le/c/a/a2;->a(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
move-result-object v7
invoke-static {v3, v7}, Le/c/a/a2;->a(Ljava/util/List;Ljava/lang/String;)Z
invoke-static {v6, v3}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
move-result-object v3
const-string v7, "imeis"
invoke-static {p1, v7, v3}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
new-instance v3, Ljava/util/ArrayList;
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
invoke-static {v0, v1}, Le/c/a/a2;->b(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
move-result-object v1
invoke-static {v3, v1}, Le/c/a/a2;->a(Ljava/util/List;Ljava/lang/String;)Z
:goto_6
if-ge v2, v5, :cond_6
invoke-static {v0, v2}, Le/c/a/a2;->b(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
move-result-object v1
invoke-static {v3, v1}, Le/c/a/a2;->a(Ljava/util/List;Ljava/lang/String;)Z
move-result v1
if-nez v1, :cond_5
goto :goto_7
:cond_5
add-int/lit8 v2, v2, 0x1
goto :goto_6
:cond_6
:goto_7
invoke-static {v0, v4}, Le/c/a/a2;->b(Landroid/telephony/TelephonyManager;I)Ljava/lang/String;
move-result-object v0
invoke-static {v3, v0}, Le/c/a/a2;->a(Ljava/util/List;Ljava/lang/String;)Z
invoke-static {v6, v3}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
move-result-object v0
const-string v1, "meids"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
:cond_7
return-void
.end method
.method public final d(Ljava/util/Map;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
iget-object v0, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v1, p0, Le/c/a/j1;->a:Le/c/a/v;
iget-object v1, v1, Le/c/a/v;->a:Landroid/content/Context;
invoke-virtual {v0, v1}, Le/c/a/q0;->a(Landroid/content/Context;)V
iget-object v0, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v0, v0, Le/c/a/q0;->b:Ljava/lang/Boolean;
const-string v1, "tracking_enabled"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
iget-object v0, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v0, v0, Le/c/a/q0;->a:Ljava/lang/String;
const-string v1, "gps_adid"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v1, v0, Le/c/a/q0;->a:Ljava/lang/String;
if-nez v1, :cond_0
iget-object v0, v0, Le/c/a/q0;->d:Ljava/lang/String;
const-string v1, "mac_sha1"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v0, v0, Le/c/a/q0;->e:Ljava/lang/String;
const-string v1, "mac_md5"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Le/c/a/j1;->b:Le/c/a/q0;
iget-object v0, v0, Le/c/a/q0;->f:Ljava/lang/String;
const-string v1, "android_id"
invoke-static {p1, v1, v0}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
:cond_0
return-void
.end method