1255 lines
29 KiB
Smali
1255 lines
29 KiB
Smali
.class public Lcom/adjust/sdk/d;
|
|
.super Ljava/lang/Object;
|
|
.source "ActivityState.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/io/Serializable;
|
|
.implements Ljava/lang/Cloneable;
|
|
|
|
|
|
# static fields
|
|
.field private static final serialPersistentFields:[Ljava/io/ObjectStreamField;
|
|
|
|
.field private static final serialVersionUID:J = 0x7d728a246d4bab64L
|
|
|
|
|
|
# instance fields
|
|
.field protected adid:Ljava/lang/String;
|
|
|
|
.field protected askingAttribution:Z
|
|
|
|
.field private transient bQ:Lcom/adjust/sdk/x;
|
|
|
|
.field protected clickTime:J
|
|
|
|
.field protected enabled:Z
|
|
|
|
.field protected eventCount:I
|
|
|
|
.field protected installBegin:J
|
|
|
|
.field protected installReferrer:Ljava/lang/String;
|
|
|
|
.field protected lastActivity:J
|
|
|
|
.field protected lastInterval:J
|
|
|
|
.field protected orderIds:Ljava/util/LinkedList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/LinkedList<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field protected pushToken:Ljava/lang/String;
|
|
|
|
.field protected sessionCount:I
|
|
|
|
.field protected sessionLength:J
|
|
|
|
.field protected subsessionCount:I
|
|
|
|
.field protected timeSpent:J
|
|
|
|
.field protected updatePackages:Z
|
|
|
|
.field protected uuid:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
const/16 v0, 0x11
|
|
|
|
new-array v0, v0, [Ljava/io/ObjectStreamField;
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
const-class v2, Ljava/lang/String;
|
|
|
|
const-string v3, "uuid"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "enabled"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "askingAttribution"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "eventCount"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "sessionCount"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "subsessionCount"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/4 v2, 0x5
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "sessionLength"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/4 v2, 0x6
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "timeSpent"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/4 v2, 0x7
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "lastActivity"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/16 v2, 0x8
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "lastInterval"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/16 v2, 0x9
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "updatePackages"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/16 v2, 0xa
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
const-class v2, Ljava/util/LinkedList;
|
|
|
|
const-string v3, "orderIds"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/16 v2, 0xb
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
const-class v2, Ljava/lang/String;
|
|
|
|
const-string v3, "pushToken"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/16 v2, 0xc
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
const-class v2, Ljava/lang/String;
|
|
|
|
const-string v3, "adid"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/16 v2, 0xd
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "clickTime"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/16 v2, 0xe
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
sget-object v2, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
|
|
|
|
const-string v3, "installBegin"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/16 v2, 0xf
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Ljava/io/ObjectStreamField;
|
|
|
|
const-class v2, Ljava/lang/String;
|
|
|
|
const-string v3, "installReferrer"
|
|
|
|
invoke-direct {v1, v3, v2}, Ljava/io/ObjectStreamField;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
|
|
|
|
const/16 v2, 0x10
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sput-object v0, Lcom/adjust/sdk/d;->serialPersistentFields:[Ljava/io/ObjectStreamField;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected constructor <init>()V
|
|
.locals 3
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/adjust/sdk/d;->bQ:Lcom/adjust/sdk/x;
|
|
|
|
invoke-static {}, Lcom/adjust/sdk/az;->aH()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/adjust/sdk/d;->uuid:Ljava/lang/String;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lcom/adjust/sdk/d;->enabled:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lcom/adjust/sdk/d;->askingAttribution:Z
|
|
|
|
iput v0, p0, Lcom/adjust/sdk/d;->eventCount:I
|
|
|
|
iput v0, p0, Lcom/adjust/sdk/d;->sessionCount:I
|
|
|
|
const/4 v1, -0x1
|
|
|
|
iput v1, p0, Lcom/adjust/sdk/d;->subsessionCount:I
|
|
|
|
const-wide/16 v1, -0x1
|
|
|
|
iput-wide v1, p0, Lcom/adjust/sdk/d;->sessionLength:J
|
|
|
|
iput-wide v1, p0, Lcom/adjust/sdk/d;->timeSpent:J
|
|
|
|
iput-wide v1, p0, Lcom/adjust/sdk/d;->lastActivity:J
|
|
|
|
iput-wide v1, p0, Lcom/adjust/sdk/d;->lastInterval:J
|
|
|
|
iput-boolean v0, p0, Lcom/adjust/sdk/d;->updatePackages:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Lcom/adjust/sdk/d;->orderIds:Ljava/util/LinkedList;
|
|
|
|
iput-object v0, p0, Lcom/adjust/sdk/d;->pushToken:Ljava/lang/String;
|
|
|
|
iput-object v0, p0, Lcom/adjust/sdk/d;->adid:Ljava/lang/String;
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
iput-wide v1, p0, Lcom/adjust/sdk/d;->clickTime:J
|
|
|
|
iput-wide v1, p0, Lcom/adjust/sdk/d;->installBegin:J
|
|
|
|
iput-object v0, p0, Lcom/adjust/sdk/d;->installReferrer:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private readObject(Ljava/io/ObjectInputStream;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;,
|
|
Ljava/lang/ClassNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readFields()Ljava/io/ObjectInputStream$GetField;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const-string v1, "eventCount"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;I)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, p0, Lcom/adjust/sdk/d;->eventCount:I
|
|
|
|
const-string v1, "sessionCount"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;I)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, p0, Lcom/adjust/sdk/d;->sessionCount:I
|
|
|
|
const-string v1, "subsessionCount"
|
|
|
|
const/4 v2, -0x1
|
|
|
|
invoke-static {p1, v1, v2}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;I)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, p0, Lcom/adjust/sdk/d;->subsessionCount:I
|
|
|
|
const-string v1, "sessionLength"
|
|
|
|
invoke-static {p1, v1}, Lcom/adjust/sdk/az;->b(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)J
|
|
|
|
move-result-wide v1
|
|
|
|
iput-wide v1, p0, Lcom/adjust/sdk/d;->sessionLength:J
|
|
|
|
const-string v1, "timeSpent"
|
|
|
|
invoke-static {p1, v1}, Lcom/adjust/sdk/az;->b(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)J
|
|
|
|
move-result-wide v1
|
|
|
|
iput-wide v1, p0, Lcom/adjust/sdk/d;->timeSpent:J
|
|
|
|
const-string v1, "lastActivity"
|
|
|
|
invoke-static {p1, v1}, Lcom/adjust/sdk/az;->b(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)J
|
|
|
|
move-result-wide v1
|
|
|
|
iput-wide v1, p0, Lcom/adjust/sdk/d;->lastActivity:J
|
|
|
|
const-string v1, "lastInterval"
|
|
|
|
invoke-static {p1, v1}, Lcom/adjust/sdk/az;->b(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)J
|
|
|
|
move-result-wide v1
|
|
|
|
iput-wide v1, p0, Lcom/adjust/sdk/d;->lastInterval:J
|
|
|
|
const-string v1, "uuid"
|
|
|
|
invoke-static {p1, v1}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, p0, Lcom/adjust/sdk/d;->uuid:Ljava/lang/String;
|
|
|
|
const-string v1, "enabled"
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-static {p1, v1, v2}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Z)Z
|
|
|
|
move-result v1
|
|
|
|
iput-boolean v1, p0, Lcom/adjust/sdk/d;->enabled:Z
|
|
|
|
const-string v1, "askingAttribution"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Z)Z
|
|
|
|
move-result v1
|
|
|
|
iput-boolean v1, p0, Lcom/adjust/sdk/d;->askingAttribution:Z
|
|
|
|
const-string v1, "updatePackages"
|
|
|
|
invoke-static {p1, v1, v0}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Z)Z
|
|
|
|
move-result v0
|
|
|
|
iput-boolean v0, p0, Lcom/adjust/sdk/d;->updatePackages:Z
|
|
|
|
const-string v0, "orderIds"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-static {p1, v0, v1}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/util/LinkedList;
|
|
|
|
iput-object v0, p0, Lcom/adjust/sdk/d;->orderIds:Ljava/util/LinkedList;
|
|
|
|
const-string v0, "pushToken"
|
|
|
|
invoke-static {p1, v0}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/adjust/sdk/d;->pushToken:Ljava/lang/String;
|
|
|
|
const-string v0, "adid"
|
|
|
|
invoke-static {p1, v0}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/adjust/sdk/d;->adid:Ljava/lang/String;
|
|
|
|
const-string v0, "clickTime"
|
|
|
|
invoke-static {p1, v0}, Lcom/adjust/sdk/az;->b(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
iput-wide v0, p0, Lcom/adjust/sdk/d;->clickTime:J
|
|
|
|
const-string v0, "installBegin"
|
|
|
|
invoke-static {p1, v0}, Lcom/adjust/sdk/az;->b(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
iput-wide v0, p0, Lcom/adjust/sdk/d;->installBegin:J
|
|
|
|
const-string v0, "installReferrer"
|
|
|
|
invoke-static {p1, v0}, Lcom/adjust/sdk/az;->a(Ljava/io/ObjectInputStream$GetField;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/adjust/sdk/d;->installReferrer:Ljava/lang/String;
|
|
|
|
iget-object p1, p0, Lcom/adjust/sdk/d;->uuid:Ljava/lang/String;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
invoke-static {}, Lcom/adjust/sdk/az;->aH()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/adjust/sdk/d;->uuid:Ljava/lang/String;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private writeObject(Ljava/io/ObjectOutputStream;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p1}, Ljava/io/ObjectOutputStream;->defaultWriteObject()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected final c(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/d;->orderIds:Ljava/util/LinkedList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance v0, Ljava/util/LinkedList;
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/adjust/sdk/d;->orderIds:Ljava/util/LinkedList;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/adjust/sdk/d;->orderIds:Ljava/util/LinkedList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/LinkedList;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0xa
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/d;->orderIds:Ljava/util/LinkedList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/LinkedList;->removeLast()Ljava/lang/Object;
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/adjust/sdk/d;->orderIds:Ljava/util/LinkedList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/LinkedList;->addFirst(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected final d(Ljava/lang/String;)Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/d;->orderIds:Ljava/util/LinkedList;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
invoke-virtual {v0, p1}, Ljava/util/LinkedList;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method protected final e(J)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput v0, p0, Lcom/adjust/sdk/d;->subsessionCount:I
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
iput-wide v0, p0, Lcom/adjust/sdk/d;->sessionLength:J
|
|
|
|
iput-wide v0, p0, Lcom/adjust/sdk/d;->timeSpent:J
|
|
|
|
iput-wide p1, p0, Lcom/adjust/sdk/d;->lastActivity:J
|
|
|
|
const-wide/16 p1, -0x1
|
|
|
|
iput-wide p1, p0, Lcom/adjust/sdk/d;->lastInterval:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 5
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p1, p0, :cond_0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v3
|
|
|
|
if-eq v2, v3, :cond_2
|
|
|
|
return v1
|
|
|
|
:cond_2
|
|
check-cast p1, Lcom/adjust/sdk/d;
|
|
|
|
iget-object v2, p0, Lcom/adjust/sdk/d;->uuid:Ljava/lang/String;
|
|
|
|
iget-object v3, p1, Lcom/adjust/sdk/d;->uuid:Ljava/lang/String;
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->b(Ljava/lang/String;Ljava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_3
|
|
|
|
return v1
|
|
|
|
:cond_3
|
|
iget-boolean v2, p0, Lcom/adjust/sdk/d;->enabled:Z
|
|
|
|
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v2
|
|
|
|
iget-boolean v3, p1, Lcom/adjust/sdk/d;->enabled:Z
|
|
|
|
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Boolean;Ljava/lang/Boolean;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_4
|
|
|
|
return v1
|
|
|
|
:cond_4
|
|
iget-boolean v2, p0, Lcom/adjust/sdk/d;->askingAttribution:Z
|
|
|
|
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v2
|
|
|
|
iget-boolean v3, p1, Lcom/adjust/sdk/d;->askingAttribution:Z
|
|
|
|
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Boolean;Ljava/lang/Boolean;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_5
|
|
|
|
return v1
|
|
|
|
:cond_5
|
|
iget v2, p0, Lcom/adjust/sdk/d;->eventCount:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
iget v3, p1, Lcom/adjust/sdk/d;->eventCount:I
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Integer;Ljava/lang/Integer;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_6
|
|
|
|
return v1
|
|
|
|
:cond_6
|
|
iget v2, p0, Lcom/adjust/sdk/d;->sessionCount:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
iget v3, p1, Lcom/adjust/sdk/d;->sessionCount:I
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Integer;Ljava/lang/Integer;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_7
|
|
|
|
return v1
|
|
|
|
:cond_7
|
|
iget v2, p0, Lcom/adjust/sdk/d;->subsessionCount:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
iget v3, p1, Lcom/adjust/sdk/d;->subsessionCount:I
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Integer;Ljava/lang/Integer;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_8
|
|
|
|
return v1
|
|
|
|
:cond_8
|
|
iget-wide v2, p0, Lcom/adjust/sdk/d;->sessionLength:J
|
|
|
|
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v2
|
|
|
|
iget-wide v3, p1, Lcom/adjust/sdk/d;->sessionLength:J
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Long;Ljava/lang/Long;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_9
|
|
|
|
return v1
|
|
|
|
:cond_9
|
|
iget-wide v2, p0, Lcom/adjust/sdk/d;->timeSpent:J
|
|
|
|
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v2
|
|
|
|
iget-wide v3, p1, Lcom/adjust/sdk/d;->timeSpent:J
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Long;Ljava/lang/Long;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_a
|
|
|
|
return v1
|
|
|
|
:cond_a
|
|
iget-wide v2, p0, Lcom/adjust/sdk/d;->lastInterval:J
|
|
|
|
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v2
|
|
|
|
iget-wide v3, p1, Lcom/adjust/sdk/d;->lastInterval:J
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Long;Ljava/lang/Long;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_b
|
|
|
|
return v1
|
|
|
|
:cond_b
|
|
iget-boolean v2, p0, Lcom/adjust/sdk/d;->updatePackages:Z
|
|
|
|
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v2
|
|
|
|
iget-boolean v3, p1, Lcom/adjust/sdk/d;->updatePackages:Z
|
|
|
|
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Boolean;Ljava/lang/Boolean;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_c
|
|
|
|
return v1
|
|
|
|
:cond_c
|
|
iget-object v2, p0, Lcom/adjust/sdk/d;->orderIds:Ljava/util/LinkedList;
|
|
|
|
iget-object v3, p1, Lcom/adjust/sdk/d;->orderIds:Ljava/util/LinkedList;
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_d
|
|
|
|
return v1
|
|
|
|
:cond_d
|
|
iget-object v2, p0, Lcom/adjust/sdk/d;->pushToken:Ljava/lang/String;
|
|
|
|
iget-object v3, p1, Lcom/adjust/sdk/d;->pushToken:Ljava/lang/String;
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->b(Ljava/lang/String;Ljava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_e
|
|
|
|
return v1
|
|
|
|
:cond_e
|
|
iget-object v2, p0, Lcom/adjust/sdk/d;->adid:Ljava/lang/String;
|
|
|
|
iget-object v3, p1, Lcom/adjust/sdk/d;->adid:Ljava/lang/String;
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->b(Ljava/lang/String;Ljava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_f
|
|
|
|
return v1
|
|
|
|
:cond_f
|
|
iget-wide v2, p0, Lcom/adjust/sdk/d;->clickTime:J
|
|
|
|
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v2
|
|
|
|
iget-wide v3, p1, Lcom/adjust/sdk/d;->clickTime:J
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Long;Ljava/lang/Long;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_10
|
|
|
|
return v1
|
|
|
|
:cond_10
|
|
iget-wide v2, p0, Lcom/adjust/sdk/d;->installBegin:J
|
|
|
|
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v2
|
|
|
|
iget-wide v3, p1, Lcom/adjust/sdk/d;->installBegin:J
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Lcom/adjust/sdk/az;->a(Ljava/lang/Long;Ljava/lang/Long;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_11
|
|
|
|
return v1
|
|
|
|
:cond_11
|
|
iget-object v2, p0, Lcom/adjust/sdk/d;->installReferrer:Ljava/lang/String;
|
|
|
|
iget-object p1, p1, Lcom/adjust/sdk/d;->installReferrer:Ljava/lang/String;
|
|
|
|
invoke-static {v2, p1}, Lcom/adjust/sdk/az;->b(Ljava/lang/String;Ljava/lang/String;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_12
|
|
|
|
return v1
|
|
|
|
:cond_12
|
|
return v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/adjust/sdk/d;->uuid:Ljava/lang/String;
|
|
|
|
invoke-static {v0}, Lcom/adjust/sdk/az;->m(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit16 v0, v0, 0x275
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-boolean v1, p0, Lcom/adjust/sdk/d;->enabled:Z
|
|
|
|
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Boolean;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-boolean v1, p0, Lcom/adjust/sdk/d;->askingAttribution:Z
|
|
|
|
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Boolean;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget v1, p0, Lcom/adjust/sdk/d;->eventCount:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget v1, p0, Lcom/adjust/sdk/d;->sessionCount:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget v1, p0, Lcom/adjust/sdk/d;->subsessionCount:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-wide v1, p0, Lcom/adjust/sdk/d;->sessionLength:J
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Long;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-wide v1, p0, Lcom/adjust/sdk/d;->timeSpent:J
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Long;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-wide v1, p0, Lcom/adjust/sdk/d;->lastInterval:J
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Long;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-boolean v1, p0, Lcom/adjust/sdk/d;->updatePackages:Z
|
|
|
|
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Boolean;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/d;->orderIds:Ljava/util/LinkedList;
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->o(Ljava/lang/Object;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/d;->pushToken:Ljava/lang/String;
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->m(Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/d;->adid:Ljava/lang/String;
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->m(Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-wide v1, p0, Lcom/adjust/sdk/d;->clickTime:J
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Long;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-wide v1, p0, Lcom/adjust/sdk/d;->installBegin:J
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->a(Ljava/lang/Long;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x25
|
|
|
|
iget-object v1, p0, Lcom/adjust/sdk/d;->installReferrer:Ljava/lang/String;
|
|
|
|
invoke-static {v1}, Lcom/adjust/sdk/az;->m(Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 12
|
|
|
|
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
const/4 v1, 0x7
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
iget v2, p0, Lcom/adjust/sdk/d;->eventCount:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
iget v2, p0, Lcom/adjust/sdk/d;->sessionCount:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v4, 0x1
|
|
|
|
aput-object v2, v1, v4
|
|
|
|
iget v2, p0, Lcom/adjust/sdk/d;->subsessionCount:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v5, 0x2
|
|
|
|
aput-object v2, v1, v5
|
|
|
|
iget-wide v6, p0, Lcom/adjust/sdk/d;->sessionLength:J
|
|
|
|
long-to-double v6, v6
|
|
|
|
const-wide v8, 0x408f400000000000L # 1000.0
|
|
|
|
invoke-static {v6, v7}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
div-double/2addr v6, v8
|
|
|
|
invoke-static {v6, v7}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v6, 0x3
|
|
|
|
aput-object v2, v1, v6
|
|
|
|
iget-wide v10, p0, Lcom/adjust/sdk/d;->timeSpent:J
|
|
|
|
long-to-double v10, v10
|
|
|
|
invoke-static {v10, v11}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
div-double/2addr v10, v8
|
|
|
|
invoke-static {v10, v11}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v7, 0x4
|
|
|
|
aput-object v2, v1, v7
|
|
|
|
iget-wide v7, p0, Lcom/adjust/sdk/d;->lastActivity:J
|
|
|
|
invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2, v7, v8}, Ljava/util/Calendar;->setTimeInMillis(J)V
|
|
|
|
sget-object v2, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
new-array v6, v6, [Ljava/lang/Object;
|
|
|
|
const/16 v7, 0xb
|
|
|
|
invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v7
|
|
|
|
aput-object v7, v6, v3
|
|
|
|
const/16 v3, 0xc
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v6, v4
|
|
|
|
const/16 v3, 0xd
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v6, v5
|
|
|
|
const-string v3, "%02d:%02d:%02d"
|
|
|
|
invoke-static {v2, v3, v6}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x5
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
iget-object v2, p0, Lcom/adjust/sdk/d;->uuid:Ljava/lang/String;
|
|
|
|
const/4 v3, 0x6
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
const-string v2, "ec:%d sc:%d ssc:%d sl:%.1f ts:%.1f la:%s uuid:%s"
|
|
|
|
invoke-static {v0, v2, v1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|