.class public abstract Lcom/moji/mjad/background/network/AdBgRequestCallback;
.super Lcom/moji/mjad/base/network/AdRequestCallback;
.source "AdBgRequestCallback.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/mjad/base/network/AdRequestCallback<",
        "Ljava/util/ArrayList<",
        "Lcom/moji/mjad/background/data/AdBg;",
        ">;>;"
    }
.end annotation


# instance fields
.field private final a:Ljava/lang/Long;


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 28
    invoke-direct {p0}, Lcom/moji/mjad/base/network/AdRequestCallback;-><init>()V

    const-wide/32 v0, 0x15180

    .line 30
    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjad/background/network/AdBgRequestCallback;->a:Ljava/lang/Long;

    return-void
.end method


# virtual methods
.method public a(Lcom/moji/launchserver/AdCommonInterface$NetTypeDownload;)Lcom/moji/mjad/enumdata/MojiAdNetType;
    .locals 1

    .line 162
    sget-object v0, Lcom/moji/mjad/background/network/AdBgRequestCallback$1;->a:[I

    invoke-virtual {p1}, Lcom/moji/launchserver/AdCommonInterface$NetTypeDownload;->ordinal()I

    move-result p1

    aget p1, v0, p1

    packed-switch p1, :pswitch_data_0

    .line 168
    sget-object p1, Lcom/moji/mjad/enumdata/MojiAdNetType;->ONLY_WIFI:Lcom/moji/mjad/enumdata/MojiAdNetType;

    return-object p1

    .line 166
    :pswitch_0
    sget-object p1, Lcom/moji/mjad/enumdata/MojiAdNetType;->ALL_NETTYPE:Lcom/moji/mjad/enumdata/MojiAdNetType;

    return-object p1

    .line 164
    :pswitch_1
    sget-object p1, Lcom/moji/mjad/enumdata/MojiAdNetType;->ONLY_WIFI:Lcom/moji/mjad/enumdata/MojiAdNetType;

    return-object p1

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public a(Lcom/moji/launchserver/AdCommonInterface$AdResponse;)V
    .locals 10

    .line 33
    new-instance v0, Ljava/util/ArrayList;

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

    if-eqz p1, :cond_b

    .line 34
    invoke-virtual {p1}, Lcom/moji/launchserver/AdCommonInterface$AdResponse;->hasAdBackGroundDetail()Z

    move-result v1

    if-eqz v1, :cond_b

    .line 35
    invoke-virtual {p1}, Lcom/moji/launchserver/AdCommonInterface$AdResponse;->getAdBackGroundDetail()Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDetail;

    move-result-object p1

    .line 37
    invoke-virtual {p1}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDetail;->hasIsAvatarShow()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 38
    invoke-virtual {p1}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDetail;->getIsAvatarShow()Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v1, 0x1

    goto :goto_0

    :cond_0
    const/4 v1, 0x2

    goto :goto_0

    :cond_1
    const/4 v1, 0x0

    .line 42
    :goto_0
    invoke-virtual {p1}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDetail;->getAdDynamicBackgroundDescriptionCount()I

    move-result v2

    if-lez v2, :cond_a

    sget-object v2, Lcom/moji/launchserver/AdCommonInterface$AdPositionStat;->AD_SELF_PRIORITY:Lcom/moji/launchserver/AdCommonInterface$AdPositionStat;

    .line 43
    invoke-virtual {p1}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDetail;->getPosStat()Lcom/moji/launchserver/AdCommonInterface$AdPositionStat;

    move-result-object v3

    if-ne v2, v3, :cond_a

    .line 46
    invoke-virtual {p1}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDetail;->getAdDynamicBackgroundDescriptionList()Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_b

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/moji/launchserver/AdCommonInterface$AdDynamicBackGroundDescription;

    if-nez v3, :cond_2

    goto :goto_1

    .line 50
    :cond_2
    invoke-virtual {v3}, Lcom/moji/launchserver/AdCommonInterface$AdDynamicBackGroundDescription;->getAdBackgroundDescription()Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;

    move-result-object v4

    .line 51
    new-instance v5, Lcom/moji/mjad/background/data/AdBg;

    invoke-direct {v5}, Lcom/moji/mjad/background/data/AdBg;-><init>()V

    .line 52
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getAdId()J

    move-result-wide v6

    iput-wide v6, v5, Lcom/moji/mjad/background/data/AdBg;->id:J

    .line 53
    iget-object v6, p0, Lcom/moji/mjad/background/network/AdBgRequestCallback;->e:Ljava/lang/String;

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->sessionId:Ljava/lang/String;

    .line 54
    invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;

    move-result-object v6

    iget-object v7, p0, Lcom/moji/mjad/background/network/AdBgRequestCallback;->e:Ljava/lang/String;

    iget-wide v8, v5, Lcom/moji/mjad/background/data/AdBg;->id:J

    invoke-virtual {v6, v7, v8, v9}, Lcom/moji/mjad/statistics/AdStatistics;->a(Ljava/lang/String;J)V

    .line 55
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getImageInfo()Lcom/moji/launchserver/AdCommonInterface$ImageInfo;

    move-result-object v6

    invoke-virtual {p0, v6}, Lcom/moji/mjad/background/network/AdBgRequestCallback;->a(Lcom/moji/launchserver/AdCommonInterface$ImageInfo;)Lcom/moji/mjad/base/data/AdImageInfo;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->imageInfo:Lcom/moji/mjad/base/data/AdImageInfo;

    .line 56
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getBlurImageInfo()Lcom/moji/launchserver/AdCommonInterface$ImageInfo;

    move-result-object v6

    invoke-virtual {p0, v6}, Lcom/moji/mjad/background/network/AdBgRequestCallback;->a(Lcom/moji/launchserver/AdCommonInterface$ImageInfo;)Lcom/moji/mjad/base/data/AdImageInfo;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->blurImageInfo:Lcom/moji/mjad/base/data/AdImageInfo;

    .line 57
    sget-object v6, Lcom/moji/mjad/enumdata/MojiAdPosition;->POS_WEATHER_BACKGROUND:Lcom/moji/mjad/enumdata/MojiAdPosition;

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->position:Lcom/moji/mjad/enumdata/MojiAdPosition;

    .line 58
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getShowStaticsUrl()Ljava/lang/String;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->showStaticsUrl:Ljava/lang/String;

    .line 59
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getAdStatShowParams()Ljava/lang/String;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->adShowParams:Ljava/lang/String;

    .line 60
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getNetType()Lcom/moji/launchserver/AdCommonInterface$NetTypeDownload;

    move-result-object v6

    invoke-virtual {p0, v6}, Lcom/moji/mjad/background/network/AdBgRequestCallback;->a(Lcom/moji/launchserver/AdCommonInterface$NetTypeDownload;)Lcom/moji/mjad/enumdata/MojiAdNetType;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->mojiAdNetType:Lcom/moji/mjad/enumdata/MojiAdNetType;

    .line 61
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getShowType()Lcom/moji/launchserver/AdCommonInterface$AdShowType;

    move-result-object v6

    invoke-virtual {v6}, Lcom/moji/launchserver/AdCommonInterface$AdShowType;->getNumber()I

    move-result v6

    invoke-static {v6}, Lcom/moji/mjad/enumdata/MojiAdShowType;->getTypeById(I)Lcom/moji/mjad/enumdata/MojiAdShowType;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->mojiAdShowType:Lcom/moji/mjad/enumdata/MojiAdShowType;

    .line 62
    invoke-virtual {v3}, Lcom/moji/launchserver/AdCommonInterface$AdDynamicBackGroundDescription;->getImgZipUrl()Ljava/lang/String;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicZipUrl:Ljava/lang/String;

    .line 63
    invoke-virtual {v3}, Lcom/moji/launchserver/AdCommonInterface$AdDynamicBackGroundDescription;->getEndTime()J

    move-result-wide v6

    iput-wide v6, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicEndTime:J

    .line 64
    invoke-virtual {v3}, Lcom/moji/launchserver/AdCommonInterface$AdDynamicBackGroundDescription;->getType()I

    move-result v6

    iput v6, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicType:I

    .line 65
    invoke-virtual {v3}, Lcom/moji/launchserver/AdCommonInterface$AdDynamicBackGroundDescription;->getDynamicImgZipUrl()Ljava/lang/String;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicWeatherZipUrl:Ljava/lang/String;

    .line 66
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getAddCoordinate()I

    move-result v6

    iput v6, v5, Lcom/moji/mjad/background/data/AdBg;->addCoordinate:I

    .line 67
    iget-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicZipUrl:Ljava/lang/String;

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

    move-result v6

    const/16 v7, 0x20

    if-nez v6, :cond_3

    .line 69
    iget-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicZipUrl:Ljava/lang/String;

    iget-object v8, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicZipUrl:Ljava/lang/String;

    invoke-virtual {v8}, Ljava/lang/String;->length()I

    move-result v8

    add-int/lit8 v8, v8, -0x24

    iget-object v9, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicZipUrl:Ljava/lang/String;

    .line 70
    invoke-virtual {v9}, Ljava/lang/String;->length()I

    move-result v9

    add-int/lit8 v9, v9, -0x4

    .line 69
    invoke-virtual {v6, v8, v9}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v6

    .line 71
    invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v8

    if-nez v8, :cond_3

    invoke-virtual {v6}, Ljava/lang/String;->length()I

    move-result v8

    if-ne v8, v7, :cond_3

    .line 72
    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->mFileMD5Value:Ljava/lang/String;

    .line 76
    :cond_3
    iget-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicWeatherZipUrl:Ljava/lang/String;

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

    move-result v6

    if-nez v6, :cond_4

    .line 77
    iget-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicWeatherZipUrl:Ljava/lang/String;

    iget-object v8, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicWeatherZipUrl:Ljava/lang/String;

    .line 78
    invoke-virtual {v8}, Ljava/lang/String;->length()I

    move-result v8

    add-int/lit8 v8, v8, -0x24

    iget-object v9, v5, Lcom/moji/mjad/background/data/AdBg;->dynamicWeatherZipUrl:Ljava/lang/String;

    .line 79
    invoke-virtual {v9}, Ljava/lang/String;->length()I

    move-result v9

    add-int/lit8 v9, v9, -0x4

    .line 78
    invoke-virtual {v6, v8, v9}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v6

    .line 80
    invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v8

    if-nez v8, :cond_4

    invoke-virtual {v6}, Ljava/lang/String;->length()I

    move-result v8

    if-ne v8, v7, :cond_4

    .line 81
    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->mWeatherMD5:Ljava/lang/String;

    .line 84
    :cond_4
    invoke-virtual {p1}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDetail;->getPosStat()Lcom/moji/launchserver/AdCommonInterface$AdPositionStat;

    move-result-object v6

    invoke-virtual {p0, v6}, Lcom/moji/mjad/background/network/AdBgRequestCallback;->a(Lcom/moji/launchserver/AdCommonInterface$AdPositionStat;)Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->adPositionStat:Lcom/moji/mjad/enumdata/MojiAdPositionStat;

    .line 86
    :try_start_0
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getClickX()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result v6

    iput v6, v5, Lcom/moji/mjad/background/data/AdBg;->coordinateX:F

    .line 87
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getClickY()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result v6

    iput v6, v5, Lcom/moji/mjad/background/data/AdBg;->coordinateY:F
    :try_end_0
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    move-exception v6

    const-string v7, "AdBgRequestCallback"

    .line 89
    invoke-static {v7, v6}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 91
    :goto_2
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getIsClickable()Z

    move-result v6

    iput-boolean v6, v5, Lcom/moji/mjad/background/data/AdBg;->isClickable:Z

    .line 92
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getTagCopy()Ljava/lang/String;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->tagContent:Ljava/lang/String;

    .line 93
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getClickMonitorUrl()Ljava/lang/String;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->clickStaticsUrl:Ljava/lang/String;

    .line 94
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getAdStatClickParams()Ljava/lang/String;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->adClickParams:Ljava/lang/String;

    .line 95
    iput v1, v5, Lcom/moji/mjad/background/data/AdBg;->avatarStatus:I

    .line 96
    invoke-virtual {v3}, Lcom/moji/launchserver/AdCommonInterface$AdDynamicBackGroundDescription;->getPropertyType()I

    move-result v3

    iput v3, v5, Lcom/moji/mjad/background/data/AdBg;->property_type:I

    .line 97
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->hasSkipType()Z

    move-result v3

    if-eqz v3, :cond_5

    .line 98
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getSkipType()Lcom/moji/launchserver/AdCommonInterface$SkipType;

    move-result-object v3

    invoke-virtual {p0, v3}, Lcom/moji/mjad/background/network/AdBgRequestCallback;->a(Lcom/moji/launchserver/AdCommonInterface$SkipType;)Lcom/moji/mjad/enumdata/MojiAdSkipType;

    move-result-object v3

    iput-object v3, v5, Lcom/moji/mjad/background/data/AdBg;->skipType:Lcom/moji/mjad/enumdata/MojiAdSkipType;

    .line 100
    :cond_5
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->hasClickUrl()Z

    move-result v3

    if-eqz v3, :cond_9

    .line 101
    invoke-virtual {v4}, Lcom/moji/launchserver/AdCommonInterface$AdBackgroundDescription;->getClickUrl()Ljava/lang/String;

    move-result-object v3

    .line 102
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_9

    .line 104
    :try_start_1
    new-instance v4, Lorg/json/JSONObject;

    invoke-direct {v4, v3}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string v6, "open_type"

    .line 105
    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_6

    const-string v6, "open_type"

    .line 106
    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v6

    invoke-virtual {p0, v6}, Lcom/moji/mjad/background/network/AdBgRequestCallback;->c(I)Lcom/moji/mjad/enumdata/MojiAdOpenType;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->openType:Lcom/moji/mjad/enumdata/MojiAdOpenType;

    :cond_6
    const-string v6, "sdk_type"

    .line 108
    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_7

    const-string v6, "sdk_type"

    .line 109
    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v6

    invoke-virtual {p0, v6}, Lcom/moji/mjad/background/network/AdBgRequestCallback;->b(I)Lcom/moji/mjad/enumdata/MojiAdSdkType;

    move-result-object v6

    iput-object v6, v5, Lcom/moji/mjad/background/data/AdBg;->sdkType:Lcom/moji/mjad/enumdata/MojiAdSdkType;

    :cond_7
    const-string v6, "url"

    .line 111
    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_8

    const-string v6, "url"

    .line 112
    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v5, Lcom/moji/mjad/background/data/AdBg;->clickUrl:Ljava/lang/String;

    goto :goto_3

    .line 114
    :cond_8
    iput-object v3, v5, Lcom/moji/mjad/background/data/AdBg;->clickUrl:Ljava/lang/String;
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_3

    :catch_1
    move-exception v4

    const-string v6, "AdBgRequestCallback"

    .line 117
    invoke-static {v6, v4}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 118
    iput-object v3, v5, Lcom/moji/mjad/background/data/AdBg;->clickUrl:Ljava/lang/String;

    .line 122
    :cond_9
    :goto_3
    invoke-virtual {v0, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_1

    .line 125
    :cond_a
    new-instance p1, Lcom/moji/mjad/background/data/AdBg;

    invoke-direct {p1}, Lcom/moji/mjad/background/data/AdBg;-><init>()V

    .line 126
    iput v1, p1, Lcom/moji/mjad/background/data/AdBg;->avatarStatus:I

    .line 127
    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 131
    :cond_b
    invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;

    move-result-object p1

    iget-object v1, p0, Lcom/moji/mjad/background/network/AdBgRequestCallback;->e:Ljava/lang/String;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {p1, v1, v2, v3}, Lcom/moji/mjad/statistics/AdStatistics;->b(Ljava/lang/String;J)V

    .line 132
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-nez p1, :cond_c

    .line 133
    invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;

    move-result-object p1

    iget-object v1, p0, Lcom/moji/mjad/background/network/AdBgRequestCallback;->e:Ljava/lang/String;

    invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;

    move-result-object v2

    iget-object v2, v2, Lcom/moji/mjad/statistics/AdStatistics;->u:Ljava/lang/String;

    invoke-virtual {p1, v1, v2}, Lcom/moji/mjad/statistics/AdStatistics;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 134
    invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;

    move-result-object p1

    iget-object v1, p0, Lcom/moji/mjad/background/network/AdBgRequestCallback;->e:Ljava/lang/String;

    invoke-virtual {p1, v1}, Lcom/moji/mjad/statistics/AdStatistics;->b(Ljava/lang/String;)V

    .line 137
    :cond_c
    new-instance p1, Lcom/moji/mjad/preferences/MojiAdPreference;

    invoke-direct {p1}, Lcom/moji/mjad/preferences/MojiAdPreference;-><init>()V

    .line 138
    invoke-virtual {p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->r()J

    move-result-wide v1

    .line 139
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    const-wide/16 v5, 0x3e8

    div-long/2addr v3, v5

    sub-long/2addr v3, v1

    iget-object v1, p0, Lcom/moji/mjad/background/network/AdBgRequestCallback;->a:Ljava/lang/Long;

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v1

    cmp-long v7, v3, v1

    if-lez v7, :cond_d

    const-string v1, "zdxtag"

    const-string v2, "  \u6e05\u7406\u52a8\u6001\u80cc\u666f\u8d44\u6e90   "

    .line 140
    invoke-static {v1, v2}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 141
    invoke-static {}, Lcom/moji/mjad/util/AdFileUtil;->a()V

    .line 142
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    div-long/2addr v1, v5

    invoke-virtual {p1, v1, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->e(J)V

    :cond_d
    const-string p1, "zdxbgdb"

    const-string v1, "  -----   "

    .line 144
    invoke-static {p1, v1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 145
    invoke-virtual {p0, v0}, Lcom/moji/mjad/background/network/AdBgRequestCallback;->a(Ljava/lang/Object;)V

    return-void
.end method

.method public a(Lcom/moji/mjad/enumdata/ERROR_CODE;)V
    .locals 3

    const-string v0, "zdxtest9"

    .line 151
    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, " \u8bf7\u6c42\u9519\u8bef ERROR_CODE  -> "

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

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

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

    move-result-object v1

    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 152
    invoke-virtual {p0, p1}, Lcom/moji/mjad/background/network/AdBgRequestCallback;->b(Lcom/moji/mjad/enumdata/ERROR_CODE;)V

    return-void
.end method
