1435 lines
39 KiB
Smali
1435 lines
39 KiB
Smali
.class final Lcom/adjust/sdk/am;
|
|
.super Ljava/lang/Object;
|
|
.source "PackageBuilder.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/adjust/sdk/am$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static ai:Lcom/adjust/sdk/x;
|
|
|
|
|
|
# instance fields
|
|
.field private an:Lcom/adjust/sdk/t;
|
|
|
|
.field private ao:Lcom/adjust/sdk/f;
|
|
|
|
.field ap:Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
.field as:Lcom/adjust/sdk/au;
|
|
|
|
.field cW:Lcom/adjust/sdk/am$a;
|
|
|
|
.field private cX:J
|
|
|
|
.field cY:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field cZ:Ljava/lang/String;
|
|
|
|
.field clickTimeInMilliseconds:J
|
|
|
|
.field da:Ljava/lang/String;
|
|
|
|
.field db:Ljava/lang/String;
|
|
|
|
.field dc:Ljava/lang/String;
|
|
|
|
.field dd:J
|
|
|
|
.field installBeginTimeInSeconds:J
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
invoke-static {}, Lcom/adjust/sdk/j;->Q()Lcom/adjust/sdk/x;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/adjust/sdk/am;->ai:Lcom/adjust/sdk/x;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/adjust/sdk/f;Lcom/adjust/sdk/t;Lcom/adjust/sdk/d;Lcom/adjust/sdk/au;J)V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
iput-wide v0, p0, Lcom/adjust/sdk/am;->clickTimeInMilliseconds:J
|
|
|
|
iput-wide v0, p0, Lcom/adjust/sdk/am;->dd:J
|
|
|
|
iput-wide v0, p0, Lcom/adjust/sdk/am;->installBeginTimeInSeconds:J
|
|
|
|
iput-object p1, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iput-object p2, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
new-instance p1, Lcom/adjust/sdk/am$a;
|
|
|
|
invoke-direct {p1, p0, p3}, Lcom/adjust/sdk/am$a;-><init>(Lcom/adjust/sdk/am;Lcom/adjust/sdk/d;)V
|
|
|
|
iput-object p1, p0, Lcom/adjust/sdk/am;->cW:Lcom/adjust/sdk/am$a;
|
|
|
|
iput-object p4, p0, Lcom/adjust/sdk/am;->as:Lcom/adjust/sdk/au;
|
|
|
|
iput-wide p5, p0, Lcom/adjust/sdk/am;->cX:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Ljava/util/Map;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0, p1}, Lcom/adjust/sdk/am;->b(Ljava/util/Map;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->ck:Ljava/lang/String;
|
|
|
|
const-string v1, "fb_id"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->packageName:Ljava/lang/String;
|
|
|
|
const-string v1, "package_name"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cl:Ljava/lang/String;
|
|
|
|
const-string v1, "app_version"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cm:Ljava/lang/String;
|
|
|
|
const-string v1, "device_type"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cn:Ljava/lang/String;
|
|
|
|
const-string v1, "device_name"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->co:Ljava/lang/String;
|
|
|
|
const-string v1, "device_manufacturer"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cp:Ljava/lang/String;
|
|
|
|
const-string v1, "os_name"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cq:Ljava/lang/String;
|
|
|
|
const-string v1, "os_version"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cr:Ljava/lang/String;
|
|
|
|
const-string v1, "api_level"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->language:Ljava/lang/String;
|
|
|
|
const-string v1, "language"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->country:Ljava/lang/String;
|
|
|
|
const-string v1, "country"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cs:Ljava/lang/String;
|
|
|
|
const-string v1, "screen_size"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->ct:Ljava/lang/String;
|
|
|
|
const-string v1, "screen_format"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cu:Ljava/lang/String;
|
|
|
|
const-string v1, "screen_density"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cv:Ljava/lang/String;
|
|
|
|
const-string v1, "display_width"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cw:Ljava/lang/String;
|
|
|
|
const-string v1, "display_height"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cx:Ljava/lang/String;
|
|
|
|
const-string v1, "hardware_name"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cy:Ljava/lang/String;
|
|
|
|
const-string v1, "cpu_type"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cz:Ljava/lang/String;
|
|
|
|
const-string v1, "os_build"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cA:Ljava/lang/String;
|
|
|
|
const-string v1, "vm_isa"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/az;->o(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "mcc"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/az;->p(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "mnc"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/az;->m(Landroid/content/Context;)I
|
|
|
|
move-result v0
|
|
|
|
int-to-long v0, v0
|
|
|
|
const-string v2, "connectivity_type"
|
|
|
|
invoke-static {p1, v2, v0, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/az;->n(Landroid/content/Context;)I
|
|
|
|
move-result v0
|
|
|
|
int-to-long v0, v0
|
|
|
|
const-string v2, "network_type"
|
|
|
|
invoke-static {p1, v2, v0, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
invoke-direct {p0, p1}, Lcom/adjust/sdk/am;->h(Ljava/util/Map;)V
|
|
|
|
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-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}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private 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}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Double;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Double;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object p2, v1, v2
|
|
|
|
const-string p2, "%.5f"
|
|
|
|
invoke-static {v0, p2, v1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p0, p1, p2}, Lcom/adjust/sdk/am;->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/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 private static a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Date;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Date;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
sget-object v0, Lcom/adjust/sdk/az;->dB:Ljava/text/SimpleDateFormat;
|
|
|
|
invoke-virtual {v0, p2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p0, p1, p2}, Lcom/adjust/sdk/am;->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/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}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static b(Lcom/adjust/sdk/g;)Ljava/lang/String;
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/g;->bw:Ljava/lang/Double;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
iget-object p0, p0, Lcom/adjust/sdk/g;->bv:Ljava/lang/String;
|
|
|
|
aput-object p0, v1, v2
|
|
|
|
const-string p0, "\'%s\'"
|
|
|
|
invoke-static {v0, 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
|
|
|
|
:cond_0
|
|
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
const/4 v3, 0x3
|
|
|
|
new-array v3, v3, [Ljava/lang/Object;
|
|
|
|
iget-object v4, p0, Lcom/adjust/sdk/g;->bw:Ljava/lang/Double;
|
|
|
|
aput-object v4, v3, v2
|
|
|
|
iget-object v2, p0, Lcom/adjust/sdk/g;->currency:Ljava/lang/String;
|
|
|
|
aput-object v2, v3, v1
|
|
|
|
const/4 v1, 0x2
|
|
|
|
iget-object p0, p0, Lcom/adjust/sdk/g;->bv:Ljava/lang/String;
|
|
|
|
aput-object p0, v3, v1
|
|
|
|
const-string p0, "(%.5f %s, \'%s\')"
|
|
|
|
invoke-static {v0, 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
|
|
.end method
|
|
|
|
.method private b(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, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v1, v1, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/adjust/sdk/t;->a(Landroid/content/Context;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cf:Ljava/lang/Boolean;
|
|
|
|
const-string v1, "tracking_enabled"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->ce:Ljava/lang/String;
|
|
|
|
const-string v1, "gps_adid"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->ce:Ljava/lang/String;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->ch:Ljava/lang/String;
|
|
|
|
const-string v1, "mac_sha1"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->ci:Ljava/lang/String;
|
|
|
|
const-string v1, "mac_md5"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cj:Ljava/lang/String;
|
|
|
|
const-string v1, "android_id"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private 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;
|
|
|
|
invoke-direct {v0, p2, p3}, Ljava/util/Date;-><init>(J)V
|
|
|
|
invoke-static {p0, p1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Date;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private c(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-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/f;->aY:Ljava/lang/String;
|
|
|
|
const-string v1, "app_token"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/f;->aZ:Ljava/lang/String;
|
|
|
|
const-string v1, "environment"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/f;->bf:Ljava/lang/Boolean;
|
|
|
|
const-string v1, "device_known"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-boolean v0, v0, Lcom/adjust/sdk/f;->bc: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}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->cW:Lcom/adjust/sdk/am$a;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/am$a;->pushToken:Ljava/lang/String;
|
|
|
|
const-string v1, "push_token"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/az;->a(Landroid/content/ContentResolver;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "fire_adid"
|
|
|
|
invoke-static {p1, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/az;->b(Landroid/content/ContentResolver;)Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "fire_tracking_enabled"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/f;->bs:Ljava/lang/String;
|
|
|
|
const-string v1, "secret_id"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/f;->bt:Ljava/lang/String;
|
|
|
|
const-string v1, "app_secret"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-boolean v0, v0, Lcom/adjust/sdk/f;->bu:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
|
|
|
|
const-string v1, "phone"
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/telephony/TelephonyManager;
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/az;->a(Landroid/telephony/TelephonyManager;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "device_ids"
|
|
|
|
invoke-static {p1, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/az;->b(Landroid/telephony/TelephonyManager;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "imeis"
|
|
|
|
invoke-static {p1, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/az;->c(Landroid/telephony/TelephonyManager;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "meids"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private 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-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
|
|
|
|
invoke-static {p0, p1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Date;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private d(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-object v0, p0, Lcom/adjust/sdk/am;->cW:Lcom/adjust/sdk/am$a;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/am$a;->uuid:Ljava/lang/String;
|
|
|
|
const-string v1, "android_uuid"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->cW:Lcom/adjust/sdk/am$a;
|
|
|
|
iget v0, v0, Lcom/adjust/sdk/am$a;->sessionCount:I
|
|
|
|
int-to-long v0, v0
|
|
|
|
const-string v2, "session_count"
|
|
|
|
invoke-static {p1, v2, v0, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->cW:Lcom/adjust/sdk/am$a;
|
|
|
|
iget v0, v0, Lcom/adjust/sdk/am$a;->subsessionCount:I
|
|
|
|
int-to-long v0, v0
|
|
|
|
const-string v2, "subsession_count"
|
|
|
|
invoke-static {p1, v2, v0, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->cW:Lcom/adjust/sdk/am$a;
|
|
|
|
iget-wide v0, v0, Lcom/adjust/sdk/am$a;->sessionLength:J
|
|
|
|
const-string v2, "session_length"
|
|
|
|
invoke-static {p1, v2, v0, v1}, Lcom/adjust/sdk/am;->d(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->cW:Lcom/adjust/sdk/am$a;
|
|
|
|
iget-wide v0, v0, Lcom/adjust/sdk/am$a;->timeSpent:J
|
|
|
|
const-string v2, "time_spent"
|
|
|
|
invoke-static {p1, v2, v0, v1}, Lcom/adjust/sdk/am;->d(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private 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
|
|
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}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private e(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}, Lcom/adjust/sdk/am;->ak()Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/am;->cW:Lcom/adjust/sdk/am$a;
|
|
|
|
iget-wide v1, v1, Lcom/adjust/sdk/am$a;->lastInterval:J
|
|
|
|
const-string v3, "last_interval"
|
|
|
|
invoke-static {v0, v3, v1, v2}, Lcom/adjust/sdk/am;->d(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/am;->ao:Lcom/adjust/sdk/f;
|
|
|
|
iget-object v1, v1, Lcom/adjust/sdk/f;->bd:Ljava/lang/String;
|
|
|
|
const-string v2, "default_tracker"
|
|
|
|
invoke-static {v0, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v1, v1, Lcom/adjust/sdk/t;->cB:Ljava/lang/String;
|
|
|
|
const-string v2, "installed_at"
|
|
|
|
invoke-static {v0, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v1, v1, Lcom/adjust/sdk/t;->cC:Ljava/lang/String;
|
|
|
|
const-string v2, "updated_at"
|
|
|
|
invoke-static {v0, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/adjust/sdk/am;->as:Lcom/adjust/sdk/au;
|
|
|
|
iget-object p1, p1, Lcom/adjust/sdk/au;->callbackParameters:Ljava/util/Map;
|
|
|
|
const-string v1, "callback_params"
|
|
|
|
invoke-static {v0, v1, p1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
|
|
|
|
iget-object p1, p0, Lcom/adjust/sdk/am;->as:Lcom/adjust/sdk/au;
|
|
|
|
iget-object p1, p1, Lcom/adjust/sdk/au;->partnerParameters:Ljava/util/Map;
|
|
|
|
const-string v1, "partner_params"
|
|
|
|
invoke-static {v0, v1, p1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private e(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, Lcom/adjust/sdk/am;->cX:J
|
|
|
|
const-string v2, "created_at"
|
|
|
|
invoke-static {p1, v2, v0, v1}, Lcom/adjust/sdk/am;->b(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
sget-object v0, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
|
|
|
|
const-string v1, "attribution_deeplink"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
|
|
|
|
sget-object v0, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
|
|
|
|
const-string v1, "needs_response_details"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Boolean;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private f(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, Lcom/adjust/sdk/am;->ap:Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, v0, Lcom/adjust/sdk/AdjustAttribution;->trackerName:Ljava/lang/String;
|
|
|
|
const-string v1, "tracker"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ap:Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/AdjustAttribution;->campaign:Ljava/lang/String;
|
|
|
|
const-string v1, "campaign"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ap:Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/AdjustAttribution;->adgroup:Ljava/lang/String;
|
|
|
|
const-string v1, "adgroup"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->ap:Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/AdjustAttribution;->creative:Ljava/lang/String;
|
|
|
|
const-string v1, "creative"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static g(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 {p0, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "mac_md5"
|
|
|
|
invoke-interface {p0, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "android_id"
|
|
|
|
invoke-interface {p0, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "gps_adid"
|
|
|
|
invoke-interface {p0, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
sget-object p0, Lcom/adjust/sdk/am;->ai:Lcom/adjust/sdk/x;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
const-string v1, "Missing device id\'s. Please check if Proguard is correctly set with Adjust SDK"
|
|
|
|
invoke-interface {p0, v1, v0}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private h(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-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cD:Ljava/util/Map;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object v0, v0, Lcom/adjust/sdk/t;->cD:Ljava/util/Map;
|
|
|
|
invoke-interface {v0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-interface {v0}, 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
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/String;
|
|
|
|
invoke-static {p1, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method final a(Lcom/adjust/sdk/b;)Lcom/adjust/sdk/c;
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/adjust/sdk/c;
|
|
|
|
invoke-direct {v0, p1}, Lcom/adjust/sdk/c;-><init>(Lcom/adjust/sdk/b;)V
|
|
|
|
iget-object p1, p0, Lcom/adjust/sdk/am;->an:Lcom/adjust/sdk/t;
|
|
|
|
iget-object p1, p1, Lcom/adjust/sdk/t;->clientSdk:Ljava/lang/String;
|
|
|
|
iput-object p1, v0, Lcom/adjust/sdk/c;->clientSdk:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method final ak()Ljava/util/Map;
|
|
.locals 1
|
|
.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
|
|
|
|
invoke-direct {p0, v0}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;)V
|
|
|
|
invoke-direct {p0, v0}, Lcom/adjust/sdk/am;->c(Ljava/util/Map;)V
|
|
|
|
invoke-direct {p0, v0}, Lcom/adjust/sdk/am;->d(Ljava/util/Map;)V
|
|
|
|
invoke-direct {p0, v0}, Lcom/adjust/sdk/am;->e(Ljava/util/Map;)V
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/am;->g(Ljava/util/Map;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method final al()Ljava/util/Map;
|
|
.locals 1
|
|
.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
|
|
|
|
invoke-direct {p0, v0}, Lcom/adjust/sdk/am;->b(Ljava/util/Map;)V
|
|
|
|
invoke-direct {p0, v0}, Lcom/adjust/sdk/am;->c(Ljava/util/Map;)V
|
|
|
|
invoke-direct {p0, v0}, Lcom/adjust/sdk/am;->e(Ljava/util/Map;)V
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/am;->g(Ljava/util/Map;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final d(Z)Lcom/adjust/sdk/c;
|
|
.locals 2
|
|
|
|
invoke-direct {p0, p1}, Lcom/adjust/sdk/am;->e(Z)Ljava/util/Map;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/adjust/sdk/b;->aN:Lcom/adjust/sdk/b;
|
|
|
|
invoke-virtual {p0, v0}, Lcom/adjust/sdk/am;->a(Lcom/adjust/sdk/b;)Lcom/adjust/sdk/c;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "/session"
|
|
|
|
iput-object v1, v0, Lcom/adjust/sdk/c;->path:Ljava/lang/String;
|
|
|
|
const-string v1, ""
|
|
|
|
iput-object v1, v0, Lcom/adjust/sdk/c;->suffix:Ljava/lang/String;
|
|
|
|
iput-object p1, v0, Lcom/adjust/sdk/c;->parameters:Ljava/util/Map;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final g(Ljava/lang/String;)Lcom/adjust/sdk/c;
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-direct {p0, v0}, Lcom/adjust/sdk/am;->e(Z)Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "source"
|
|
|
|
invoke-static {v0, v1, p1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-wide v1, p0, Lcom/adjust/sdk/am;->clickTimeInMilliseconds:J
|
|
|
|
const-string p1, "click_time"
|
|
|
|
invoke-static {v0, p1, v1, v2}, Lcom/adjust/sdk/am;->b(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/am;->cZ:Ljava/lang/String;
|
|
|
|
const-string v2, "reftag"
|
|
|
|
invoke-static {v0, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/am;->cY:Ljava/util/Map;
|
|
|
|
const-string v2, "params"
|
|
|
|
invoke-static {v0, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/am;->da:Ljava/lang/String;
|
|
|
|
const-string v2, "referrer"
|
|
|
|
invoke-static {v0, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/am;->db:Ljava/lang/String;
|
|
|
|
const-string v2, "raw_referrer"
|
|
|
|
invoke-static {v0, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/am;->dc:Ljava/lang/String;
|
|
|
|
const-string v2, "deeplink"
|
|
|
|
invoke-static {v0, v2, v1}, Lcom/adjust/sdk/am;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-wide v1, p0, Lcom/adjust/sdk/am;->dd:J
|
|
|
|
invoke-static {v0, p1, v1, v2}, Lcom/adjust/sdk/am;->c(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
iget-wide v1, p0, Lcom/adjust/sdk/am;->installBeginTimeInSeconds:J
|
|
|
|
const-string p1, "install_begin_time"
|
|
|
|
invoke-static {v0, p1, v1, v2}, Lcom/adjust/sdk/am;->c(Ljava/util/Map;Ljava/lang/String;J)V
|
|
|
|
invoke-direct {p0, v0}, Lcom/adjust/sdk/am;->f(Ljava/util/Map;)V
|
|
|
|
sget-object p1, Lcom/adjust/sdk/b;->aP:Lcom/adjust/sdk/b;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/adjust/sdk/am;->a(Lcom/adjust/sdk/b;)Lcom/adjust/sdk/c;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "/sdk_click"
|
|
|
|
iput-object v1, p1, Lcom/adjust/sdk/c;->path:Ljava/lang/String;
|
|
|
|
const-string v1, ""
|
|
|
|
iput-object v1, p1, Lcom/adjust/sdk/c;->suffix:Ljava/lang/String;
|
|
|
|
iget-wide v1, p0, Lcom/adjust/sdk/am;->clickTimeInMilliseconds:J
|
|
|
|
iput-wide v1, p1, Lcom/adjust/sdk/c;->clickTimeInMilliseconds:J
|
|
|
|
iget-wide v1, p0, Lcom/adjust/sdk/am;->dd:J
|
|
|
|
iput-wide v1, p1, Lcom/adjust/sdk/c;->clickTimeInSeconds:J
|
|
|
|
iget-wide v1, p0, Lcom/adjust/sdk/am;->installBeginTimeInSeconds:J
|
|
|
|
iput-wide v1, p1, Lcom/adjust/sdk/c;->installBeginTimeInSeconds:J
|
|
|
|
iput-object v0, p1, Lcom/adjust/sdk/c;->parameters:Ljava/util/Map;
|
|
|
|
return-object p1
|
|
.end method
|