u.smali

.class public Lcom/keniu/security/splash/u;
.super Ljava/lang/Object;
.source "SplashHelper.java"


# direct methods
.method public static a()I
    .registers 3

    .prologue
    const/4 v0, 0x1

    .line 34
    const-string v1, "cm_cn_shadow_splash_3rdAD_switch"

    const-string v2, "3rd_default_plat"

    invoke-static {v0, v1, v2, v0}, Lcom/cleanmaster/hpsharelib/recommendapps/CloudConfigDataGetter;->getIntValue(ILjava/lang/String;Ljava/lang/String;I)I

    move-result v1

    .line 37
    if-eq v1, v0, :cond_f

    const/4 v2, 0x3

    if-eq v1, v2, :cond_f

    .line 40
    :goto_e
    return v0

    :cond_f
    move v0, v1

    goto :goto_e
.end method

.method public static a(I)V
    .registers 2

    .prologue
    .line 62
    invoke-static {}, Lcom/keniu/security/splash/u;->g()Z

    move-result v0

    if-nez v0, :cond_7

    .line 69
    :cond_6
    :goto_6
    return-void

    .line 65
    :cond_7
    const-string v0, "gdt_ad_show_count"

    invoke-static {v0, p0}, Lcom/cleanmaster/hpcommonlib/ServiceConfigManager;->setIntValue(Ljava/lang/String;I)V

    .line 66
    invoke-static {}, Lcom/keniu/security/splash/u;->e()I

    move-result v0

    if-lt p0, v0, :cond_6

    .line 67
    const/4 v0, 0x0

    invoke-static {v0}, Lcom/keniu/security/splash/u;->b(I)V

    goto :goto_6
.end method

.method public static b()I
    .registers 4

    .prologue
    const/4 v1, 0x3

    const/4 v0, 0x1

    .line 44
    invoke-static {}, Lcom/keniu/security/splash/u;->g()Z

    move-result v2

    if-nez v2, :cond_d

    .line 45
    invoke-static {}, Lcom/keniu/security/splash/u;->a()I

    move-result v0

    .line 58
    :cond_c
    :goto_c
    return v0

    .line 47
    :cond_d
    invoke-static {}, Lcom/keniu/security/splash/u;->a()I

    move-result v2

    if-ne v2, v0, :cond_1f

    .line 48
    invoke-static {}, Lcom/keniu/security/splash/u;->d()I

    move-result v2

    invoke-static {}, Lcom/keniu/security/splash/u;->f()I

    move-result v3

    if-lt v2, v3, :cond_c

    move v0, v1

    .line 51
    goto :goto_c

    .line 52
    :cond_1f
    invoke-static {}, Lcom/keniu/security/splash/u;->a()I

    move-result v2

    if-ne v2, v1, :cond_c

    .line 53
    invoke-static {}, Lcom/keniu/security/splash/u;->c()I

    move-result v2

    invoke-static {}, Lcom/keniu/security/splash/u;->e()I

    move-result v3

    if-ge v2, v3, :cond_c

    move v0, v1

    .line 54
    goto :goto_c
.end method

.method public static b(I)V
    .registers 2

    .prologue
    .line 72
    invoke-static {}, Lcom/keniu/security/splash/u;->g()Z

    move-result v0

    if-nez v0, :cond_7

    .line 79
    :cond_6
    :goto_6
    return-void

    .line 75
    :cond_7
    const-string/jumbo v0, "tt_ad_show_count"

    invoke-static {v0, p0}, Lcom/cleanmaster/hpcommonlib/ServiceConfigManager;->setIntValue(Ljava/lang/String;I)V

    .line 76
    invoke-static {}, Lcom/keniu/security/splash/u;->f()I

    move-result v0

    if-lt p0, v0, :cond_6

    .line 77
    const/4 v0, 0x0

    invoke-static {v0}, Lcom/keniu/security/splash/u;->a(I)V

    goto :goto_6
.end method

.method public static c()I
    .registers 2

    .prologue
    .line 82
    const-string v0, "gdt_ad_show_count"

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/cleanmaster/hpcommonlib/ServiceConfigManager;->getIntValue(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method public static d()I
    .registers 2

    .prologue
    .line 86
    const-string/jumbo v0, "tt_ad_show_count"

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/cleanmaster/hpcommonlib/ServiceConfigManager;->getIntValue(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method public static e()I
    .registers 3

    .prologue
    const/4 v0, 0x1

    .line 90
    const-string v1, "cm_cn_shadow_splash_3rdAD_switch"

    const-string v2, "3rd_gdt_ad_show_count"

    invoke-static {v0, v1, v2, v0}, Lcom/cleanmaster/hpsharelib/recommendapps/CloudConfigDataGetter;->getIntValue(ILjava/lang/String;Ljava/lang/String;I)I

    move-result v1

    .line 93
    if-gtz v1, :cond_c

    :goto_b
    return v0

    :cond_c
    move v0, v1

    goto :goto_b
.end method

.method public static f()I
    .registers 4

    .prologue
    const/4 v0, 0x5

    .line 97
    const/4 v1, 0x1

    const-string v2, "cm_cn_shadow_splash_3rdAD_switch"

    const-string v3, "3rd_tt_ad_show_count"

    invoke-static {v1, v2, v3, v0}, Lcom/cleanmaster/hpsharelib/recommendapps/CloudConfigDataGetter;->getIntValue(ILjava/lang/String;Ljava/lang/String;I)I

    move-result v1

    .line 100
    if-gtz v1, :cond_d

    :goto_c
    return v0

    :cond_d
    move v0, v1

    goto :goto_c
.end method

.method public static g()Z
    .registers 3

    .prologue
    const/4 v2, 0x1

    .line 104
    const-string v0, "cm_cn_shadow_splash_3rdAD_switch"

    const-string v1, "3rd_ad_interval_switch"

    invoke-static {v2, v0, v1, v2}, Lcom/cleanmaster/hpsharelib/recommendapps/CloudConfigDataGetter;->getBooleanValue(ILjava/lang/String;Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method