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

542 lines
13 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Lcom/adjust/sdk/AdjustAttribution;
.super Ljava/lang/Object;
.source "AdjustAttribution.java"
# interfaces
.implements Ljava/io/Serializable;
# static fields
.field private static final serialPersistentFields:[Ljava/io/ObjectStreamField;
.field private static final serialVersionUID:J = 0x1L
# instance fields
.field public adgroup:Ljava/lang/String;
.field public adid:Ljava/lang/String;
.field public campaign:Ljava/lang/String;
.field public clickLabel:Ljava/lang/String;
.field public creative:Ljava/lang/String;
.field public network:Ljava/lang/String;
.field public trackerName:Ljava/lang/String;
.field public trackerToken:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.locals 4
const/16 v0, 0x8
new-array v0, v0, [Ljava/io/ObjectStreamField;
new-instance v1, Ljava/io/ObjectStreamField;
const-class v2, Ljava/lang/String;
const-string v3, "trackerToken"
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;
const-class v2, Ljava/lang/String;
const-string v3, "trackerName"
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;
const-class v2, Ljava/lang/String;
const-string v3, "network"
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;
const-class v2, Ljava/lang/String;
const-string v3, "campaign"
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;
const-class v2, Ljava/lang/String;
const-string v3, "adgroup"
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;
const-class v2, Ljava/lang/String;
const-string v3, "creative"
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;
const-class v2, Ljava/lang/String;
const-string v3, "clickLabel"
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;
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/4 v2, 0x7
aput-object v1, v0, v2
sput-object v0, Lcom/adjust/sdk/AdjustAttribution;->serialPersistentFields:[Ljava/io/ObjectStreamField;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Lorg/json/JSONObject;Ljava/lang/String;)Lcom/adjust/sdk/AdjustAttribution;
.locals 3
const/4 v0, 0x0
if-nez p0, :cond_0
return-object v0
:cond_0
new-instance v1, Lcom/adjust/sdk/AdjustAttribution;
invoke-direct {v1}, Lcom/adjust/sdk/AdjustAttribution;-><init>()V
const-string v2, "tracker_token"
invoke-virtual {p0, v2, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
iput-object v2, v1, Lcom/adjust/sdk/AdjustAttribution;->trackerToken:Ljava/lang/String;
const-string v2, "tracker_name"
invoke-virtual {p0, v2, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
iput-object v2, v1, Lcom/adjust/sdk/AdjustAttribution;->trackerName:Ljava/lang/String;
const-string v2, "network"
invoke-virtual {p0, v2, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
iput-object v2, v1, Lcom/adjust/sdk/AdjustAttribution;->network:Ljava/lang/String;
const-string v2, "campaign"
invoke-virtual {p0, v2, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
iput-object v2, v1, Lcom/adjust/sdk/AdjustAttribution;->campaign:Ljava/lang/String;
const-string v2, "adgroup"
invoke-virtual {p0, v2, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
iput-object v2, v1, Lcom/adjust/sdk/AdjustAttribution;->adgroup:Ljava/lang/String;
const-string v2, "creative"
invoke-virtual {p0, v2, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
iput-object v2, v1, Lcom/adjust/sdk/AdjustAttribution;->creative:Ljava/lang/String;
const-string v2, "click_label"
invoke-virtual {p0, v2, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
iput-object p0, v1, Lcom/adjust/sdk/AdjustAttribution;->clickLabel:Ljava/lang/String;
iput-object p1, v1, Lcom/adjust/sdk/AdjustAttribution;->adid:Ljava/lang/String;
return-object v1
.end method
.method private readObject(Ljava/io/ObjectInputStream;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;,
Ljava/io/IOException;
}
.end annotation
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->defaultReadObject()V
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 public equals(Ljava/lang/Object;)Z
.locals 4
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/AdjustAttribution;
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->trackerToken:Ljava/lang/String;
iget-object v3, p1, Lcom/adjust/sdk/AdjustAttribution;->trackerToken: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-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->trackerName:Ljava/lang/String;
iget-object v3, p1, Lcom/adjust/sdk/AdjustAttribution;->trackerName: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_4
return v1
:cond_4
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->network:Ljava/lang/String;
iget-object v3, p1, Lcom/adjust/sdk/AdjustAttribution;->network: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_5
return v1
:cond_5
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->campaign:Ljava/lang/String;
iget-object v3, p1, Lcom/adjust/sdk/AdjustAttribution;->campaign: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_6
return v1
:cond_6
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->adgroup:Ljava/lang/String;
iget-object v3, p1, Lcom/adjust/sdk/AdjustAttribution;->adgroup: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_7
return v1
:cond_7
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->creative:Ljava/lang/String;
iget-object v3, p1, Lcom/adjust/sdk/AdjustAttribution;->creative: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_8
return v1
:cond_8
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->clickLabel:Ljava/lang/String;
iget-object v3, p1, Lcom/adjust/sdk/AdjustAttribution;->clickLabel: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_9
return v1
:cond_9
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->adid:Ljava/lang/String;
iget-object p1, p1, Lcom/adjust/sdk/AdjustAttribution;->adid: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_a
return v1
:cond_a
return v0
.end method
.method public hashCode()I
.locals 2
iget-object v0, p0, Lcom/adjust/sdk/AdjustAttribution;->trackerToken: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-object v1, p0, Lcom/adjust/sdk/AdjustAttribution;->trackerName: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/AdjustAttribution;->network: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/AdjustAttribution;->campaign: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/AdjustAttribution;->adgroup: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/AdjustAttribution;->creative: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/AdjustAttribution;->clickLabel: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/AdjustAttribution;->adid: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 4
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
const/16 v1, 0x8
new-array v1, v1, [Ljava/lang/Object;
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->trackerToken:Ljava/lang/String;
const/4 v3, 0x0
aput-object v2, v1, v3
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->trackerName:Ljava/lang/String;
const/4 v3, 0x1
aput-object v2, v1, v3
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->network:Ljava/lang/String;
const/4 v3, 0x2
aput-object v2, v1, v3
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->campaign:Ljava/lang/String;
const/4 v3, 0x3
aput-object v2, v1, v3
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->adgroup:Ljava/lang/String;
const/4 v3, 0x4
aput-object v2, v1, v3
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->creative:Ljava/lang/String;
const/4 v3, 0x5
aput-object v2, v1, v3
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->clickLabel:Ljava/lang/String;
const/4 v3, 0x6
aput-object v2, v1, v3
iget-object v2, p0, Lcom/adjust/sdk/AdjustAttribution;->adid:Ljava/lang/String;
const/4 v3, 0x7
aput-object v2, v1, v3
const-string v2, "tt:%s tn:%s net:%s cam:%s adg:%s cre:%s cl:%s adid:%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