.class public Lcom/moji/mjad/preferences/MojiAdPreference;
.super Lcom/moji/tool/preferences/core/BasePreferences;
.source "MojiAdPreference.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;
    }
.end annotation


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

    .line 27
    invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/moji/tool/preferences/core/BasePreferences;-><init>(Landroid/content/Context;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 23
    invoke-direct {p0, p1}, Lcom/moji/tool/preferences/core/BasePreferences;-><init>(Landroid/content/Context;)V

    return-void
.end method

.method private b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/moji/tool/preferences/core/IPreferKey;",
            "Ljava/util/List<",
            "Ljava/lang/Long;",
            ">;)V"
        }
    .end annotation

    if-eqz p2, :cond_2

    .line 95
    invoke-interface {p2}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_2

    .line 96
    new-instance v0, Ljava/lang/StringBuilder;

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

    .line 97
    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :cond_0
    :goto_0
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

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

    move-result-object v1

    check-cast v1, Ljava/lang/Long;

    if-eqz v1, :cond_0

    .line 99
    invoke-virtual {v1}, Ljava/lang/Long;->toString()Ljava/lang/String;

    move-result-object v1

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

    const-string v1, ","

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

    goto :goto_0

    .line 103
    :cond_1
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p0, p1, p2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Object;)V

    goto :goto_1

    :cond_2
    const-string p2, ""

    .line 105
    invoke-virtual {p0, p1, p2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Object;)V

    :goto_1
    return-void
.end method

.method private d(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/util/List;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/moji/tool/preferences/core/IPreferKey;",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List<",
            "Ljava/lang/Long;",
            ">;"
        }
    .end annotation

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

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

    .line 82
    invoke-virtual {p0, p1, p2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

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

    move-result p2

    if-nez p2, :cond_1

    const-string p2, ","

    .line 84
    invoke-virtual {p1, p2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p1

    .line 85
    array-length p2, p1

    const/4 v1, 0x0

    :goto_0
    if-ge v1, p2, :cond_1

    aget-object v2, p1, v1

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

    move-result v3

    if-nez v3, :cond_0

    .line 87
    invoke-static {v2}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return-object v0
.end method


# virtual methods
.method public a(Ljava/lang/String;)J
    .locals 2

    .line 333
    new-instance v0, Ljava/lang/StringBuilder;

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

    sget-object v1, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->MOJI_AD_CLOSE_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {v1}, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->name()Ljava/lang/String;

    move-result-object v1

    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

    const-string v0, ""

    invoke-virtual {p0, p1, v0}, Lcom/moji/mjad/preferences/MojiAdPreference;->e(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

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

    move-result v0

    if-nez v0, :cond_0

    .line 335
    invoke-static {p1}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide v0

    return-wide v0

    :cond_0
    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public a()Ljava/lang/String;
    .locals 1

    .line 32
    sget-object v0, Lcom/moji/preferences/PreferenceNameEnum;->MOJI_AD:Lcom/moji/preferences/PreferenceNameEnum;

    invoke-virtual {v0}, Lcom/moji/preferences/PreferenceNameEnum;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public a(I)V
    .locals 1

    .line 115
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SETTINT_USER_OPERATE_BG:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;I)V

    return-void
.end method

.method public a(J)V
    .locals 1

    .line 154
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->LAST_SUIT_CLOTH_SUCCESS_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V

    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/Long;",
            ">;)V"
        }
    .end annotation

    .line 128
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_SHOWED_IDS:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-direct {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/util/List;)V

    return-void
.end method

.method public a(Ljava/util/Map;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/Long;",
            ">;)V"
        }
    .end annotation

    if-nez p1, :cond_0

    return-void

    .line 232
    :cond_0
    new-instance v0, Lcom/google/gson/Gson;

    invoke-direct {v0}, Lcom/google/gson/Gson;-><init>()V

    .line 233
    sget-object v1, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->BG_DYNAMIC_AD_LOCAL_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {v0, p1}, Lcom/google/gson/Gson;->toJson(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p0, v1, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V

    return-void
.end method

.method public a(Z)V
    .locals 1

    .line 314
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->IS_FIRST_START:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p1

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Boolean;)V

    return-void
.end method

.method public b()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public b(Ljava/lang/String;)J
    .locals 2

    .line 353
    new-instance v0, Ljava/lang/StringBuilder;

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

    sget-object v1, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->AVATAR_CARD_AD_SHOW_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {v1}, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->name()Ljava/lang/String;

    move-result-object v1

    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

    const-string v0, ""

    invoke-virtual {p0, p1, v0}, Lcom/moji/mjad/preferences/MojiAdPreference;->e(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

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

    move-result v0

    if-nez v0, :cond_0

    .line 355
    invoke-static {p1}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide v0

    return-wide v0

    :cond_0
    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public b(I)V
    .locals 1

    .line 188
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_SHOW_COUNT:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;I)V

    return-void
.end method

.method public b(J)V
    .locals 1

    .line 201
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_REQUEST_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V

    return-void
.end method

.method public b(Ljava/lang/String;J)V
    .locals 3

    .line 328
    iget-object v0, p0, Lcom/moji/mjad/preferences/MojiAdPreference;->c:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

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

    sget-object v2, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->MOJI_AD_CLOSE_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {v2}, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->name()Ljava/lang/String;

    move-result-object v2

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

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

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

    move-result-object p1

    invoke-static {p2, p3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object p2

    invoke-interface {v0, p1, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 329
    iget-object p1, p0, Lcom/moji/mjad/preferences/MojiAdPreference;->c:Landroid/content/SharedPreferences$Editor;

    invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V

    return-void
.end method

.method public b(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/Long;",
            ">;)V"
        }
    .end annotation

    .line 141
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_TODAY_SHOW_IDS:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-direct {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/util/List;)V

    return-void
.end method

.method public b(Ljava/util/Map;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/Long;",
            ">;)V"
        }
    .end annotation

    .line 304
    new-instance v0, Lcom/google/gson/Gson;

    invoke-direct {v0}, Lcom/google/gson/Gson;-><init>()V

    .line 305
    sget-object v1, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SUIT_CLOTHES_ID_WITH_CITY:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {v0, p1}, Lcom/google/gson/Gson;->toJson(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p0, v1, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V

    return-void
.end method

.method public b(Z)V
    .locals 1

    .line 440
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_NEED_STAT_COUNT:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p1

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Boolean;)V

    return-void
.end method

.method public c()I
    .locals 2

    .line 119
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SETTINT_USER_OPERATE_BG:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const/4 v1, 0x2

    invoke-virtual {p0, v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I

    move-result v0

    return v0
.end method

.method public c(Ljava/lang/String;)J
    .locals 2

    .line 373
    new-instance v0, Ljava/lang/StringBuilder;

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

    sget-object v1, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->AVATAR_CARD_AD_FIRST_SHOW_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {v1}, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->name()Ljava/lang/String;

    move-result-object v1

    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

    const-string v0, ""

    invoke-virtual {p0, p1, v0}, Lcom/moji/mjad/preferences/MojiAdPreference;->e(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

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

    move-result v0

    if-nez v0, :cond_0

    .line 375
    invoke-static {p1}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide v0

    return-wide v0

    :cond_0
    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public c(I)V
    .locals 1

    .line 242
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->COMBINED_AVATAR_COUNT:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;I)V

    return-void
.end method

.method public c(J)V
    .locals 1

    .line 395
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->CLEAR_VIDEO_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V

    return-void
.end method

.method public c(Ljava/lang/String;J)V
    .locals 3

    .line 348
    iget-object v0, p0, Lcom/moji/mjad/preferences/MojiAdPreference;->c:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

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

    sget-object v2, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->AVATAR_CARD_AD_SHOW_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {v2}, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->name()Ljava/lang/String;

    move-result-object v2

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

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

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

    move-result-object p1

    invoke-static {p2, p3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object p2

    invoke-interface {v0, p1, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 349
    iget-object p1, p0, Lcom/moji/mjad/preferences/MojiAdPreference;->c:Landroid/content/SharedPreferences$Editor;

    invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V

    return-void
.end method

.method public c(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/Long;",
            ">;)V"
        }
    .end annotation

    .line 274
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SUIT_CLOTHES_IDS:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-direct {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/util/List;)V

    return-void
.end method

.method public d()Ljava/util/List;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ljava/lang/Long;",
            ">;"
        }
    .end annotation

    .line 132
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_SHOWED_IDS:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-string v1, ""

    invoke-direct {p0, v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->d(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method public d(I)V
    .locals 1

    .line 258
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SHOW_AD_INDEX:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;I)V

    return-void
.end method

.method public d(J)V
    .locals 1

    .line 407
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->CLEAR_DYNAMIC_MONA_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V

    return-void
.end method

.method public d(Ljava/lang/String;)V
    .locals 1

    .line 387
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->WEATHER_BG_AD_BLUR_URL:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V

    return-void
.end method

.method public d(Ljava/lang/String;J)V
    .locals 3

    .line 368
    iget-object v0, p0, Lcom/moji/mjad/preferences/MojiAdPreference;->c:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

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

    sget-object v2, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->AVATAR_CARD_AD_FIRST_SHOW_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {v2}, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->name()Ljava/lang/String;

    move-result-object v2

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

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

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

    move-result-object p1

    invoke-static {p2, p3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object p2

    invoke-interface {v0, p1, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 369
    iget-object p1, p0, Lcom/moji/mjad/preferences/MojiAdPreference;->c:Landroid/content/SharedPreferences$Editor;

    invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V

    return-void
.end method

.method public e()Ljava/util/List;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ljava/lang/Long;",
            ">;"
        }
    .end annotation

    .line 145
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_TODAY_SHOW_IDS:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-string v1, ""

    invoke-direct {p0, v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->d(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method public e(J)V
    .locals 1

    .line 411
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->CLEAR_BG_AD_LOCAL_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V

    return-void
.end method

.method public f()J
    .locals 3

    .line 170
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->VIP_LAST_TOUCH_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-wide/16 v1, 0x0

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public f(J)V
    .locals 1

    .line 419
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_CLEAR_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V

    return-void
.end method

.method public g()J
    .locals 3

    .line 179
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->LAST_SUIT_CLOTH_SUCCESS_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-wide/16 v1, 0x0

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public g(J)V
    .locals 1

    .line 453
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_LAST_SHOW_ID:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    invoke-virtual {p0, v0, p1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V

    return-void
.end method

.method public h()I
    .locals 2

    .line 192
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_SHOW_COUNT:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I

    move-result v0

    return v0
.end method

.method public i()J
    .locals 3

    .line 205
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_REQUEST_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-wide/16 v1, 0x0

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public j()V
    .locals 1

    .line 209
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_DOWANLOAD_IDS:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    invoke-virtual {p0, v0}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;)V

    return-void
.end method

.method public k()I
    .locals 2

    .line 251
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->COMBINED_AVATAR_COUNT:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I

    move-result v0

    return v0
.end method

.method public l()I
    .locals 2

    .line 265
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SHOW_AD_INDEX:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I

    move-result v0

    return v0
.end method

.method public m()Ljava/util/List;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ljava/lang/Long;",
            ">;"
        }
    .end annotation

    .line 283
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SUIT_CLOTHES_IDS:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-string v1, ""

    invoke-direct {p0, v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->d(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method public n()Ljava/util/Map;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/Long;",
            ">;"
        }
    .end annotation

    .line 292
    new-instance v0, Lcom/google/gson/Gson;

    invoke-direct {v0}, Lcom/google/gson/Gson;-><init>()V

    .line 293
    sget-object v1, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SUIT_CLOTHES_ID_WITH_CITY:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    sget-object v2, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SUIT_CLOTHES_ID_WITH_CITY:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-string v3, ""

    invoke-virtual {p0, v2, v3}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v1, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/moji/mjad/preferences/MojiAdPreference$2;

    invoke-direct {v2, p0}, Lcom/moji/mjad/preferences/MojiAdPreference$2;-><init>(Lcom/moji/mjad/preferences/MojiAdPreference;)V

    .line 295
    invoke-virtual {v2}, Lcom/moji/mjad/preferences/MojiAdPreference$2;->getType()Ljava/lang/reflect/Type;

    move-result-object v2

    .line 293
    invoke-virtual {v0, v1, v2}, Lcom/google/gson/Gson;->fromJson(Ljava/lang/String;Ljava/lang/reflect/Type;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map;

    return-object v0
.end method

.method public o()Z
    .locals 2

    .line 318
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->IS_FIRST_START:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const/4 v1, 0x1

    invoke-virtual {p0, v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z

    move-result v0

    return v0
.end method

.method public p()J
    .locals 3

    .line 399
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->CLEAR_VIDEO_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-wide/16 v1, 0x0

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public q()J
    .locals 3

    .line 403
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->CLEAR_DYNAMIC_MONA_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-wide/16 v1, 0x0

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public r()J
    .locals 3

    .line 415
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->CLEAR_BG_AD_LOCAL_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-wide/16 v1, 0x0

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public s()J
    .locals 3

    .line 423
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_CLEAR_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-wide/16 v1, 0x0

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public t()V
    .locals 5

    .line 427
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->APP_FIRST_RUN_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

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

    move-result-wide v1

    const-wide/16 v3, 0x3e8

    div-long/2addr v1, v3

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V

    return-void
.end method

.method public u()J
    .locals 3

    .line 431
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->APP_FIRST_RUN_TIME:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-wide/16 v1, 0x0

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public v()Z
    .locals 2

    .line 444
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_NEED_STAT_COUNT:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const/4 v1, 0x1

    invoke-virtual {p0, v0, v1}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z

    move-result v0

    return v0
.end method

.method public w()J
    .locals 3

    .line 457
    sget-object v0, Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;->SPLASH_AD_LAST_SHOW_ID:Lcom/moji/mjad/preferences/MojiAdPreference$KeyConstant;

    const-wide/16 v1, 0x0

    invoke-virtual {p0, v0, v1, v2}, Lcom/moji/mjad/preferences/MojiAdPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J

    move-result-wide v0

    return-wide v0
.end method
