ClientMetadata.smali

.class public Lcom/tradplus/ads/common/ClientMetadata;
.super Ljava/lang/Object;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/tradplus/ads/common/ClientMetadata$MoPubNetworkType;
    }
.end annotation


# static fields
.field public static final NETWORK_TYPE_1xRTT:I = 0x7

.field public static final NETWORK_TYPE_CDMA:I = 0x4

.field public static final NETWORK_TYPE_EDGE:I = 0x2

.field public static final NETWORK_TYPE_EHRPD:I = 0xe

.field public static final NETWORK_TYPE_EVDO_0:I = 0x5

.field public static final NETWORK_TYPE_EVDO_A:I = 0x6

.field public static final NETWORK_TYPE_EVDO_B:I = 0xc

.field public static final NETWORK_TYPE_GPRS:I = 0x1

.field public static final NETWORK_TYPE_HSDPA:I = 0x8

.field public static final NETWORK_TYPE_HSPA:I = 0xa

.field public static final NETWORK_TYPE_HSPAP:I = 0xf

.field public static final NETWORK_TYPE_HSUPA:I = 0x9

.field public static final NETWORK_TYPE_IDEN:I = 0xb

.field public static final NETWORK_TYPE_LTE:I = 0xd

.field public static final NETWORK_TYPE_NR:I = 0x14

.field public static final NETWORK_TYPE_UMTS:I = 0x3

.field public static final NETWORK_TYPE_UNKNOWN:I

.field private static O:Ljava/text/DecimalFormat;

.field public static mAdvertisingId:Ljava/lang/String;

.field public static mAdvertisingLimited:Z

.field private static n:Ljava/lang/String;

.field private static o:Z

.field private static volatile w:Lcom/tradplus/ads/common/ClientMetadata;


# instance fields
.field private final A:Ljava/lang/String;

.field private final B:Ljava/lang/String;

.field private final C:Ljava/lang/String;

.field private final D:Ljava/lang/String;

.field private E:Ljava/lang/String;

.field private final F:Landroid/content/Context;

.field private final G:Landroid/net/ConnectivityManager;

.field private final H:Ljava/lang/String;

.field private I:I

.field private final J:Ljava/lang/String;

.field private final K:Ljava/lang/String;

.field private final L:Ljava/lang/String;

.field private M:Ljava/lang/String;

.field private N:Ljava/lang/String;

.field private a:Ljava/lang/String;

.field private b:Ljava/lang/String;

.field private final c:Ljava/lang/String;

.field private d:Ljava/lang/String;

.field private e:Ljava/lang/String;

.field private f:Ljava/lang/String;

.field private g:Z

.field private h:Z

.field private i:Ljava/lang/String;

.field private j:Ljava/lang/String;

.field private k:I

.field private l:I

.field private m:Ljava/lang/String;

.field private p:Ljava/lang/String;

.field private q:Ljava/lang/String;

.field private r:Ljava/lang/String;

.field private s:Ljava/lang/String;

.field private t:Ljava/lang/String;

.field private u:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Lcom/tradplus/ads/pushcenter/event/utils/CPIds;",
            ">;"
        }
    .end annotation
.end field

.field private v:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Lcom/tradplus/ads/pushcenter/event/utils/SegmentIds;",
            ">;"
        }
    .end annotation
.end field

.field private final x:Ljava/lang/String;

.field private final y:Ljava/lang/String;

.field private final z:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .registers 2

    new-instance v0, Ljava/text/DecimalFormat;

    const-string v1, "#.##"

    invoke-direct {v0, v1}, Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V

    sput-object v0, Lcom/tradplus/ads/common/ClientMetadata;->O:Ljava/text/DecimalFormat;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .registers 5

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->g:Z

    iput-boolean v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->h:Z

    iput v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->I:I

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    iput-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->u:Ljava/util/Map;

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    iput-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->v:Ljava/util/Map;

    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    iput-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    iget-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    const-string v2, "connectivity"

    invoke-virtual {v1, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/net/ConnectivityManager;

    iput-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->G:Landroid/net/ConnectivityManager;

    sget-object v1, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;

    iput-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->x:Ljava/lang/String;

    sget-object v1, Landroid/os/Build;->MODEL:Ljava/lang/String;

    iput-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->y:Ljava/lang/String;

    sget-object v1, Landroid/os/Build;->PRODUCT:Ljava/lang/String;

    iput-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->z:Ljava/lang/String;

    sget-object v1, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    iput-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->A:Ljava/lang/String;

    const-string v1, "6.2.2.1"

    iput-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->B:Ljava/lang/String;

    iget-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {v1}, Lcom/tradplus/ads/common/ClientMetadata;->b(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->C:Ljava/lang/String;

    iget-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {v1}, Lcom/tradplus/ads/common/ClientMetadata;->getDeviceType(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->H:Ljava/lang/String;

    iget-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-virtual {p0, v1}, Lcom/tradplus/ads/common/ClientMetadata;->getNetworkType(Landroid/content/Context;)V

    iget-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v1

    invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->D:Ljava/lang/String;

    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {p1}, Lcom/tradplus/ads/common/util/DeviceUtils;->getScreenOrientation(Landroid/content/Context;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->J:Ljava/lang/String;

    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {p1}, Lcom/tradplus/ads/common/util/DeviceUtils;->getScreenHeight(Landroid/content/Context;)I

    move-result p1

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->K:Ljava/lang/String;

    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {p1}, Lcom/tradplus/ads/common/util/DeviceUtils;->getScreenWidth(Landroid/content/Context;)I

    move-result p1

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->L:Ljava/lang/String;

    :try_start_7f
    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->D:Ljava/lang/String;

    invoke-virtual {v1, p1, v0}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;

    move-result-object p1
    :try_end_85
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_7f .. :try_end_85} :catch_86

    goto :goto_87

    :catch_86
    const/4 p1, 0x0

    :goto_87
    if-eqz p1, :cond_91

    invoke-virtual {v1, p1}, Landroid/content/pm/PackageManager;->getApplicationLabel(Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->E:Ljava/lang/String;

    :cond_91
    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    invoke-virtual {p1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object p1

    iget-object p1, p1, Landroid/content/res/Configuration;->locale:Ljava/util/Locale;

    invoke-virtual {p1}, Ljava/util/Locale;->getCountry()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->c:Ljava/lang/String;

    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-direct {p0, p1}, Lcom/tradplus/ads/common/ClientMetadata;->a(Landroid/content/Context;)V

    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {p1}, Lcom/tradplus/ads/common/ClientMetadata;->d(Landroid/content/Context;)I

    move-result p1

    iput p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->k:I

    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {p1}, Lcom/tradplus/ads/common/ClientMetadata;->e(Landroid/content/Context;)I

    move-result p1

    iput p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->l:I

    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {p1}, Lcom/tradplus/ads/common/ClientMetadata;->f(Landroid/content/Context;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->m:Ljava/lang/String;

    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    sget-object v0, Lcom/tradplus/ads/mobileads/gdpr/Const;->SPU_NAME:Ljava/lang/String;

    const-string v1, ""

    const-string v2, "uid"

    invoke-static {p1, v0, v2, v1}, Lcom/tradplus/ads/mobileads/gdpr/SPUtil;->getString(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_dd

    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    sget-object v0, Lcom/tradplus/ads/mobileads/gdpr/Const;->SPU_NAME:Ljava/lang/String;

    invoke-static {p1, v0, v2, v1}, Lcom/tradplus/ads/mobileads/gdpr/SPUtil;->getString(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->j:Ljava/lang/String;

    goto :goto_101

    :cond_dd
    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object p1

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "UID-"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->j:Ljava/lang/String;

    iget-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    sget-object v0, Lcom/tradplus/ads/mobileads/gdpr/Const;->SPU_NAME:Ljava/lang/String;

    iget-object v1, p0, Lcom/tradplus/ads/common/ClientMetadata;->j:Ljava/lang/String;

    invoke-static {p1, v0, v2, v1}, Lcom/tradplus/ads/mobileads/gdpr/SPUtil;->putString(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :goto_101
    return-void
.end method

.method static synthetic a(Lcom/tradplus/ads/common/ClientMetadata;I)I
    .registers 2

    iput p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->I:I

    return p1
.end method

.method static synthetic a(Lcom/tradplus/ads/common/ClientMetadata;)Landroid/net/ConnectivityManager;
    .registers 1

    iget-object p0, p0, Lcom/tradplus/ads/common/ClientMetadata;->G:Landroid/net/ConnectivityManager;

    return-object p0
.end method

.method static synthetic a(Ljava/lang/String;)Ljava/lang/String;
    .registers 1

    sput-object p0, Lcom/tradplus/ads/common/ClientMetadata;->n:Ljava/lang/String;

    return-object p0
.end method

.method private a(Landroid/content/Context;)V
    .registers 6

    :try_start_0
    invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object p1

    const/4 v1, 0x0

    invoke-virtual {v0, p1, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object p1

    iget-wide v0, p1, Landroid/content/pm/PackageInfo;->firstInstallTime:J

    const-wide/16 v2, 0x3e8

    div-long/2addr v0, v2

    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string v0, ""

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->M:Ljava/lang/String;
    :try_end_25
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_25} :catch_26

    goto :goto_2a

    :catch_26
    move-exception p1

    invoke-virtual {p1}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V

    :goto_2a
    return-void
.end method

.method static synthetic a(Z)Z
    .registers 1

    sput-boolean p0, Lcom/tradplus/ads/common/ClientMetadata;->o:Z

    return p0
.end method

.method static synthetic b(Lcom/tradplus/ads/common/ClientMetadata;)Landroid/content/Context;
    .registers 1

    iget-object p0, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    return-object p0
.end method

.method private static b(Landroid/content/Context;)Ljava/lang/String;
    .registers 3

    :try_start_0
    invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p0

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object p0

    iget-object p0, p0, Landroid/content/pm/PackageInfo;->versionName:Ljava/lang/String;
    :try_end_f
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_f} :catch_10

    return-object p0

    :catch_10
    const-string p0, "Failed to retrieve PackageInfo#versionName."

    invoke-static {p0}, Lcom/tradplus/ads/common/util/LogUtil;->show(Ljava/lang/String;)V

    const/4 p0, 0x0

    return-object p0
.end method

.method private static c(Landroid/content/Context;)V
    .registers 3

    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/tradplus/ads/common/ClientMetadata$2;

    invoke-direct {v1, p0}, Lcom/tradplus/ads/common/ClientMetadata$2;-><init>(Landroid/content/Context;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method public static clearForTesting()V
    .registers 1
    .annotation build Lcom/tradplus/ads/common/VisibleForTesting;
    .end annotation

    const/4 v0, 0x0

    sput-object v0, Lcom/tradplus/ads/common/ClientMetadata;->w:Lcom/tradplus/ads/common/ClientMetadata;

    return-void
.end method

.method private static d(Landroid/content/Context;)I
    .registers 3

    new-instance v0, Landroid/util/DisplayMetrics;

    invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V

    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p0

    const-string v1, "window"

    invoke-virtual {p0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Landroid/view/WindowManager;

    invoke-interface {p0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object p0

    invoke-virtual {p0, v0}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V

    iget p0, v0, Landroid/util/DisplayMetrics;->widthPixels:I

    return p0
.end method

.method private static e(Landroid/content/Context;)I
    .registers 3

    new-instance v0, Landroid/util/DisplayMetrics;

    invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V

    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p0

    const-string v1, "window"

    invoke-virtual {p0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Landroid/view/WindowManager;

    invoke-interface {p0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object p0

    invoke-virtual {p0, v0}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V

    iget p0, v0, Landroid/util/DisplayMetrics;->heightPixels:I

    return p0
.end method

.method private static f(Landroid/content/Context;)Ljava/lang/String;
    .registers 3

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Locale;->getLanguage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p0

    invoke-virtual {p0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object p0

    iget-object p0, p0, Landroid/content/res/Configuration;->locale:Ljava/util/Locale;

    if-eqz p0, :cond_2a

    invoke-virtual {p0}, Ljava/util/Locale;->getLanguage()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_2a

    invoke-virtual {p0}, Ljava/util/Locale;->getLanguage()Ljava/lang/String;

    move-result-object p0

    invoke-virtual {p0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    :cond_2a
    return-object v0
.end method

.method public static getAdvertisingInfo(Landroid/content/Context;)V
    .registers 3

    sget-object v0, Lcom/tradplus/ads/common/ClientMetadata;->mAdvertisingId:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2a

    invoke-static {p0}, Lcom/tradplus/ads/mobileads/TradPlus;->isEUTraffic(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_14

    invoke-static {p0}, Lcom/tradplus/ads/mobileads/TradPlus;->isCalifornia(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_27

    :cond_14
    invoke-static {p0}, Lcom/tradplus/ads/mobileads/TradPlus;->getGDPRUploadDataLevel(Landroid/content/Context;)I

    move-result v0

    if-eqz v0, :cond_27

    invoke-static {p0}, Lcom/tradplus/ads/mobileads/TradPlus;->getCCPADataCollection(Landroid/content/Context;)I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_22

    goto :goto_27

    :cond_22
    const-string p0, ""

    sput-object p0, Lcom/tradplus/ads/common/ClientMetadata;->mAdvertisingId:Ljava/lang/String;

    goto :goto_2a

    :cond_27
    :goto_27
    invoke-static {p0}, Lcom/tradplus/ads/common/ClientMetadata;->c(Landroid/content/Context;)V

    :cond_2a
    :goto_2a
    return-void
.end method

.method public static getAndroidIdFromContext(Landroid/content/Context;)Ljava/lang/String;
    .registers 2

    invoke-virtual {p0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object p0

    const-string v0, "android_id"

    invoke-static {p0, v0}, Landroid/provider/Settings$Secure;->getString(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    if-nez p0, :cond_e

    const-string p0, ""

    :cond_e
    return-object p0
.end method

.method public static getDeviceType(Landroid/content/Context;)Ljava/lang/String;
    .registers 1

    const-string p0, "1"

    return-object p0
.end method

.method public static getInstance()Lcom/tradplus/ads/common/ClientMetadata;
    .registers 2

    sget-object v0, Lcom/tradplus/ads/common/ClientMetadata;->w:Lcom/tradplus/ads/common/ClientMetadata;

    if-nez v0, :cond_e

    const-class v1, Lcom/tradplus/ads/common/ClientMetadata;

    monitor-enter v1

    :try_start_7
    sget-object v0, Lcom/tradplus/ads/common/ClientMetadata;->w:Lcom/tradplus/ads/common/ClientMetadata;

    monitor-exit v1

    goto :goto_e

    :catchall_b
    move-exception v0

    monitor-exit v1
    :try_end_d
    .catchall {:try_start_7 .. :try_end_d} :catchall_b

    throw v0

    :cond_e
    :goto_e
    return-object v0
.end method

.method public static getInstance(Landroid/content/Context;)Lcom/tradplus/ads/common/ClientMetadata;
    .registers 3

    sget-object v0, Lcom/tradplus/ads/common/ClientMetadata;->w:Lcom/tradplus/ads/common/ClientMetadata;

    if-nez v0, :cond_17

    const-class v1, Lcom/tradplus/ads/common/ClientMetadata;

    monitor-enter v1

    :try_start_7
    sget-object v0, Lcom/tradplus/ads/common/ClientMetadata;->w:Lcom/tradplus/ads/common/ClientMetadata;

    if-nez v0, :cond_12

    new-instance v0, Lcom/tradplus/ads/common/ClientMetadata;

    invoke-direct {v0, p0}, Lcom/tradplus/ads/common/ClientMetadata;-><init>(Landroid/content/Context;)V

    sput-object v0, Lcom/tradplus/ads/common/ClientMetadata;->w:Lcom/tradplus/ads/common/ClientMetadata;

    :cond_12
    monitor-exit v1

    goto :goto_17

    :catchall_14
    move-exception p0

    monitor-exit v1
    :try_end_16
    .catchall {:try_start_7 .. :try_end_16} :catchall_14

    throw p0

    :cond_17
    :goto_17
    return-object v0
.end method

.method public static getOaid(Landroid/content/Context;)V
    .registers 2

    new-instance v0, Lcom/tradplus/ads/mobileads/util/b;

    invoke-direct {v0, p0}, Lcom/tradplus/ads/mobileads/util/b;-><init>(Landroid/content/Context;)V

    new-instance p0, Lcom/tradplus/ads/common/ClientMetadata$1;

    invoke-direct {p0}, Lcom/tradplus/ads/common/ClientMetadata$1;-><init>()V

    invoke-virtual {v0, p0}, Lcom/tradplus/ads/mobileads/util/b;->a(Lcom/tradplus/ads/mobileads/util/a;)V

    return-void
.end method

.method public static setInstance(Lcom/tradplus/ads/common/ClientMetadata;)V
    .registers 2
    .annotation build Lcom/tradplus/ads/common/VisibleForTesting;
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    const-class v0, Lcom/tradplus/ads/common/ClientMetadata;

    monitor-enter v0

    :try_start_3
    sput-object p0, Lcom/tradplus/ads/common/ClientMetadata;->w:Lcom/tradplus/ads/common/ClientMetadata;

    monitor-exit v0

    return-void

    :catchall_7
    move-exception p0

    monitor-exit v0
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_7

    throw p0
.end method


# virtual methods
.method public getActiveNetworkType()Lcom/tradplus/ads/common/ClientMetadata$MoPubNetworkType;
    .registers 3

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    const-string v1, "android.permission.ACCESS_NETWORK_STATE"

    invoke-static {v0, v1}, Lcom/tradplus/ads/common/util/DeviceUtils;->isPermissionGranted(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v0

    const/4 v1, -0x1

    if-eqz v0, :cond_18

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->G:Landroid/net/ConnectivityManager;

    invoke-virtual {v0}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;

    move-result-object v0

    if-eqz v0, :cond_18

    invoke-virtual {v0}, Landroid/net/NetworkInfo;->getType()I

    move-result v0

    move v1, v0

    :cond_18
    invoke-static {v1}, Lcom/tradplus/ads/common/ClientMetadata$MoPubNetworkType;->a(I)Lcom/tradplus/ads/common/ClientMetadata$MoPubNetworkType;

    move-result-object v0

    return-object v0
.end method

.method public getAdSourceId()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->r:Ljava/lang/String;

    return-object v0
.end method

.method public getAdvertisingId()Ljava/lang/String;
    .registers 2

    sget-object v0, Lcom/tradplus/ads/common/ClientMetadata;->mAdvertisingId:Ljava/lang/String;

    if-nez v0, :cond_6

    const-string v0, ""

    :cond_6
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_f

    sget-object v0, Lcom/tradplus/ads/common/ClientMetadata;->mAdvertisingId:Ljava/lang/String;

    goto :goto_13

    :cond_f
    invoke-virtual {p0}, Lcom/tradplus/ads/common/ClientMetadata;->getOaid()Ljava/lang/String;

    move-result-object v0

    :goto_13
    return-object v0
.end method

.method public getAdvertisingLimited()I
    .registers 2

    sget-boolean v0, Lcom/tradplus/ads/common/ClientMetadata;->mAdvertisingLimited:Z

    if-eqz v0, :cond_6

    const/4 v0, 0x1

    return v0

    :cond_6
    const/4 v0, 0x0

    return v0
.end method

.method public getAndroidId()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->j:Ljava/lang/String;

    return-object v0
.end method

.method public getAppName()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->E:Ljava/lang/String;

    return-object v0
.end method

.method public getAppPackageName()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->D:Ljava/lang/String;

    return-object v0
.end method

.method public getAppVersion()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->C:Ljava/lang/String;

    return-object v0
.end method

.method public getApp_instime()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->t:Ljava/lang/String;

    return-object v0
.end method

.method public getApp_ver()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->s:Ljava/lang/String;

    return-object v0
.end method

.method public getDensity()F
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v0, v0, Landroid/util/DisplayMetrics;->density:F

    return v0
.end method

.method public getDeviceCounByType()I
    .registers 3

    invoke-virtual {p0}, Lcom/tradplus/ads/common/ClientMetadata;->getNetworkType()I

    move-result v0

    const/16 v1, -0x65

    if-eq v0, v1, :cond_1c

    const/16 v1, 0x14

    if-eq v0, v1, :cond_1a

    const/4 v1, 0x5

    packed-switch v0, :pswitch_data_1e

    return v1

    :pswitch_11
    const/4 v0, 0x6

    return v0

    :pswitch_13
    return v1

    :pswitch_14
    const/4 v0, 0x4

    return v0

    :pswitch_16
    const/4 v0, 0x0

    return v0

    :pswitch_18
    const/4 v0, -0x1

    return v0

    :cond_1a
    const/4 v0, 0x7

    return v0

    :cond_1c
    const/4 v0, 0x2

    return v0

    :pswitch_data_1e
    .packed-switch -0x1
        :pswitch_18
        :pswitch_16
        :pswitch_14
        :pswitch_14
        :pswitch_13
        :pswitch_14
        :pswitch_13
        :pswitch_13
        :pswitch_14
        :pswitch_13
        :pswitch_13
        :pswitch_13
        :pswitch_14
        :pswitch_13
        :pswitch_11
        :pswitch_13
        :pswitch_13
    .end packed-switch
.end method

.method public getDeviceDimensions()Landroid/graphics/Point;
    .registers 3

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {v0}, Lcom/tradplus/ads/common/Preconditions$NoThrow;->checkNotNull(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_f

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {v0}, Lcom/tradplus/ads/common/util/DeviceUtils;->getDeviceDimensions(Landroid/content/Context;)Landroid/graphics/Point;

    move-result-object v0

    return-object v0

    :cond_f
    new-instance v0, Landroid/graphics/Point;

    const/4 v1, 0x0

    invoke-direct {v0, v1, v1}, Landroid/graphics/Point;-><init>(II)V

    return-object v0
.end method

.method public declared-synchronized getDeviceId()Ljava/lang/String;
    .registers 2

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->f:Ljava/lang/String;
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_5

    monitor-exit p0

    return-object v0

    :catchall_5
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public getDeviceLocale()Ljava/util/Locale;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v0

    iget-object v0, v0, Landroid/content/res/Configuration;->locale:Ljava/util/Locale;

    return-object v0
.end method

.method public getDeviceManufacturer()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->x:Ljava/lang/String;

    return-object v0
.end method

.method public getDeviceModel()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->y:Ljava/lang/String;

    return-object v0
.end method

.method public getDeviceOsVersion()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->A:Ljava/lang/String;

    return-object v0
.end method

.method public getDeviceProduct()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->z:Ljava/lang/String;

    return-object v0
.end method

.method public getDeviceScreenHeightDip()I
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {v0}, Lcom/tradplus/ads/common/util/Dips;->screenHeightAsIntDips(Landroid/content/Context;)I

    move-result v0

    return v0
.end method

.method public getDeviceScreenWidthDip()I
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-static {v0}, Lcom/tradplus/ads/common/util/Dips;->screenWidthAsIntDips(Landroid/content/Context;)I

    move-result v0

    return v0
.end method

.method public getDeviceType()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->H:Ljava/lang/String;

    return-object v0
.end method

.method public getFirstInstallTime()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->M:Ljava/lang/String;

    return-object v0
.end method

.method public getHeightPixels()I
    .registers 2

    iget v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->l:I

    return v0
.end method

.method public getIds(Ljava/lang/String;)Lcom/tradplus/ads/pushcenter/event/utils/CPIds;
    .registers 3

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->u:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/tradplus/ads/pushcenter/event/utils/CPIds;

    return-object p1
.end method

.method public getImei()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->i:Ljava/lang/String;

    return-object v0
.end method

.method public getIp()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->p:Ljava/lang/String;

    return-object v0
.end method

.method public getIso()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->q:Ljava/lang/String;

    return-object v0
.end method

.method public getIsoCountryCode()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->c:Ljava/lang/String;

    return-object v0
.end method

.method public getLanguageCode()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->m:Ljava/lang/String;

    return-object v0
.end method

.method public getNetworkClassByType()I
    .registers 4

    invoke-virtual {p0}, Lcom/tradplus/ads/common/ClientMetadata;->getNetworkType()I

    move-result v0

    const/16 v1, -0x65

    if-eq v0, v1, :cond_1c

    const/4 v1, -0x1

    if-eq v0, v1, :cond_1b

    const/16 v1, 0x14

    const/4 v2, 0x5

    if-eq v0, v1, :cond_1a

    packed-switch v0, :pswitch_data_1e

    return v2

    :pswitch_14
    const/4 v0, 0x4

    return v0

    :pswitch_16
    const/4 v0, 0x3

    return v0

    :pswitch_18
    const/4 v0, 0x2

    return v0

    :cond_1a
    return v2

    :cond_1b
    return v1

    :cond_1c
    const/4 v0, 0x1

    return v0

    :pswitch_data_1e
    .packed-switch 0x1
        :pswitch_18
        :pswitch_18
        :pswitch_16
        :pswitch_18
        :pswitch_16
        :pswitch_16
        :pswitch_18
        :pswitch_16
        :pswitch_16
        :pswitch_16
        :pswitch_18
        :pswitch_16
        :pswitch_14
        :pswitch_16
        :pswitch_16
    .end packed-switch
.end method

.method public getNetworkOperator()Ljava/lang/String;
    .registers 2

    const-string v0, ""

    return-object v0
.end method

.method public getNetworkOperatorForUrl()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->a:Ljava/lang/String;

    return-object v0
.end method

.method public getNetworkOperatorName()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->d:Ljava/lang/String;

    return-object v0
.end method

.method public getNetworkType()I
    .registers 2

    iget v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->I:I

    return v0
.end method

.method public getNetworkType(Landroid/content/Context;)V
    .registers 3

    new-instance p1, Ljava/lang/Thread;

    new-instance v0, Lcom/tradplus/ads/common/ClientMetadata$3;

    invoke-direct {v0, p0}, Lcom/tradplus/ads/common/ClientMetadata$3;-><init>(Lcom/tradplus/ads/common/ClientMetadata;)V

    invoke-direct {p1, v0}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {p1}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method public getOaid()Ljava/lang/String;
    .registers 2

    sget-object v0, Lcom/tradplus/ads/common/ClientMetadata;->n:Ljava/lang/String;

    if-nez v0, :cond_6

    const-string v0, ""

    :cond_6
    return-object v0
.end method

.method public getOrientationInt(Landroid/content/Context;)I
    .registers 2

    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    invoke-virtual {p1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object p1

    iget p1, p1, Landroid/content/res/Configuration;->orientation:I

    return p1
.end method

.method public getOrientationString()Ljava/lang/String;
    .registers 3

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->F:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v0

    iget v0, v0, Landroid/content/res/Configuration;->orientation:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_12

    const-string v0, "p"

    goto :goto_20

    :cond_12
    const/4 v1, 0x2

    if-ne v0, v1, :cond_18

    const-string v0, "l"

    goto :goto_20

    :cond_18
    const/4 v1, 0x3

    if-ne v0, v1, :cond_1e

    const-string v0, "s"

    goto :goto_20

    :cond_1e
    const-string v0, "u"

    :goto_20
    return-object v0
.end method

.method public getScreenH()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->K:Ljava/lang/String;

    return-object v0
.end method

.method public getScreenOrientation()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->J:Ljava/lang/String;

    return-object v0
.end method

.method public getScreenW()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->L:Ljava/lang/String;

    return-object v0
.end method

.method public getSdkVersion()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->B:Ljava/lang/String;

    return-object v0
.end method

.method public getSegmentIds(Ljava/lang/String;)Lcom/tradplus/ads/pushcenter/event/utils/SegmentIds;
    .registers 3

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->v:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/tradplus/ads/pushcenter/event/utils/SegmentIds;

    return-object p1
.end method

.method public getSegmentIdsMap()Ljava/util/Map;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Lcom/tradplus/ads/pushcenter/event/utils/SegmentIds;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->v:Ljava/util/Map;

    return-object v0
.end method

.method public getSimIsoCountryCode()Ljava/lang/String;
    .registers 2

    const-string v0, ""

    return-object v0
.end method

.method public getSimOperator()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->b:Ljava/lang/String;

    return-object v0
.end method

.method public getSimOperatorName()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->e:Ljava/lang/String;

    return-object v0
.end method

.method public getTpGuid()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->N:Ljava/lang/String;

    return-object v0
.end method

.method public getWidthPixels()I
    .registers 2

    iget v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->k:I

    return v0
.end method

.method public declared-synchronized isAdvertisingInfoSet()Z
    .registers 2

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->h:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_5

    monitor-exit p0

    return v0

    :catchall_5
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized isDoNotTrackSet()Z
    .registers 2

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->g:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_5

    monitor-exit p0

    return v0

    :catchall_5
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public putIds(Ljava/lang/String;)V
    .registers 4

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->u:Ljava/util/Map;

    new-instance v1, Lcom/tradplus/ads/pushcenter/event/utils/CPIds;

    invoke-direct {v1}, Lcom/tradplus/ads/pushcenter/event/utils/CPIds;-><init>()V

    invoke-interface {v0, p1, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public putSegmentIds(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .registers 6

    iget-object v0, p0, Lcom/tradplus/ads/common/ClientMetadata;->v:Ljava/util/Map;

    new-instance v1, Lcom/tradplus/ads/pushcenter/event/utils/SegmentIds;

    invoke-direct {v1, p2, p3}, Lcom/tradplus/ads/pushcenter/event/utils/SegmentIds;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v0, p1, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public setAdSourceId(Ljava/lang/String;)V
    .registers 2

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->r:Ljava/lang/String;

    return-void
.end method

.method public declared-synchronized setAdvertisingInfo(Ljava/lang/String;Z)V
    .registers 5

    monitor-enter p0

    :try_start_1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "ifa:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->f:Ljava/lang/String;

    iput-boolean p2, p0, Lcom/tradplus/ads/common/ClientMetadata;->g:Z

    const/4 p1, 0x1

    iput-boolean p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->h:Z
    :try_end_19
    .catchall {:try_start_1 .. :try_end_19} :catchall_1b

    monitor-exit p0

    return-void

    :catchall_1b
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public setApp_instime(Ljava/lang/String;)V
    .registers 2

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->t:Ljava/lang/String;

    return-void
.end method

.method public setApp_ver(Ljava/lang/String;)V
    .registers 2

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->s:Ljava/lang/String;

    return-void
.end method

.method public setIp(Ljava/lang/String;)V
    .registers 2

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->p:Ljava/lang/String;

    return-void
.end method

.method public setIso(Ljava/lang/String;)V
    .registers 2

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->q:Ljava/lang/String;

    return-void
.end method

.method public setSegmentIdsMap(Ljava/util/Map;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Lcom/tradplus/ads/pushcenter/event/utils/SegmentIds;",
            ">;)V"
        }
    .end annotation

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->v:Ljava/util/Map;

    return-void
.end method

.method public setTpGuid(Ljava/lang/String;)V
    .registers 2

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->N:Ljava/lang/String;

    return-void
.end method

.method public setmAndroidId(Ljava/lang/String;)V
    .registers 2

    iput-object p1, p0, Lcom/tradplus/ads/common/ClientMetadata;->j:Ljava/lang/String;

    return-void
.end method