1408 lines
40 KiB
Smali
1408 lines
40 KiB
Smali
.class public final Lcom/moji/preferences/ProcessPrefer;
|
|
.super Lcom/moji/tool/preferences/core/BaseProcessSafePreference;
|
|
.source "ProcessPrefer.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/moji/preferences/ProcessPrefer$PrivateKey;,
|
|
Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 26
|
|
invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-direct {p0, v0, v1}, Lcom/moji/tool/preferences/core/BaseProcessSafePreference;-><init>(Landroid/content/Context;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 30
|
|
invoke-direct {p0, p1, v0}, Lcom/moji/tool/preferences/core/BaseProcessSafePreference;-><init>(Landroid/content/Context;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public A()Z
|
|
.locals 2
|
|
|
|
.line 449
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->VIP_FRAME_STATS:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public B()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 457
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->VIP_FRAME_URL:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public C()Z
|
|
.locals 2
|
|
|
|
.line 465
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->GET_PUSH_LOCK:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public D()J
|
|
.locals 3
|
|
|
|
.line 481
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->SERVER_TIMESTAMP:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-virtual {p0, v0, v1, v2}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public E()I
|
|
.locals 2
|
|
|
|
.line 489
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->LAST_INSERTED_AREA_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/4 v1, -0x1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public F()Z
|
|
.locals 2
|
|
|
|
.line 493
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->SKINSHOP_OFFLINE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public G()Lcom/moji/common/area/AreaInfo;
|
|
.locals 4
|
|
|
|
.line 501
|
|
new-instance v0, Lcom/moji/common/area/AreaInfo;
|
|
|
|
invoke-direct {v0}, Lcom/moji/common/area/AreaInfo;-><init>()V
|
|
|
|
.line 502
|
|
sget-object v1, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_ID_INTERNAL_ID:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {p0, v1, v2}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Lcom/moji/common/area/AreaInfo;->id:I
|
|
|
|
.line 503
|
|
sget-object v1, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_CITY_ID:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
const/4 v3, -0x1
|
|
|
|
invoke-virtual {p0, v1, v3}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Lcom/moji/common/area/AreaInfo;->cityId:I
|
|
|
|
.line 504
|
|
sget-object v1, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_NAME:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
const-string v3, ""
|
|
|
|
invoke-virtual {p0, v1, v3}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Lcom/moji/common/area/AreaInfo;->cityName:Ljava/lang/String;
|
|
|
|
.line 505
|
|
sget-object v1, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_IS_LOCATION:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
invoke-virtual {p0, v1, v2}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v1
|
|
|
|
iput-boolean v1, v0, Lcom/moji/common/area/AreaInfo;->isLocation:Z
|
|
|
|
.line 506
|
|
sget-object v1, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_IS_FOOTSTEP:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
invoke-virtual {p0, v1, v2}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v1
|
|
|
|
iput-boolean v1, v0, Lcom/moji/common/area/AreaInfo;->isFootStep:Z
|
|
|
|
.line 507
|
|
sget-object v1, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_STREET:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
const-string v3, ""
|
|
|
|
invoke-virtual {p0, v1, v3}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Lcom/moji/common/area/AreaInfo;->streetName:Ljava/lang/String;
|
|
|
|
.line 508
|
|
sget-object v1, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_TIME:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
const-string v3, ""
|
|
|
|
invoke-virtual {p0, v1, v3}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Lcom/moji/common/area/AreaInfo;->timestamp:Ljava/lang/String;
|
|
|
|
.line 509
|
|
sget-object v1, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_INDEX:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
invoke-virtual {p0, v1, v2}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Lcom/moji/common/area/AreaInfo;->city_index:I
|
|
|
|
.line 510
|
|
iget v1, v0, Lcom/moji/common/area/AreaInfo;->cityId:I
|
|
|
|
if-gtz v1, :cond_0
|
|
|
|
iget-boolean v1, v0, Lcom/moji/common/area/AreaInfo;->isLocation:Z
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public H()V
|
|
.locals 3
|
|
|
|
.line 534
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_ID:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
const/4 v1, -0x1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I
|
|
|
|
move-result v0
|
|
|
|
if-eq v1, v0, :cond_2
|
|
|
|
.line 536
|
|
new-instance v1, Lcom/moji/common/area/AreaInfo;
|
|
|
|
invoke-direct {v1}, Lcom/moji/common/area/AreaInfo;-><init>()V
|
|
|
|
const/16 v2, -0x63
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x0
|
|
|
|
.line 537
|
|
:goto_0
|
|
iput-boolean v2, v1, Lcom/moji/common/area/AreaInfo;->isLocation:Z
|
|
|
|
.line 538
|
|
iget-boolean v2, v1, Lcom/moji/common/area/AreaInfo;->isLocation:Z
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
.line 539
|
|
iput v0, v1, Lcom/moji/common/area/AreaInfo;->cityId:I
|
|
|
|
.line 541
|
|
:cond_1
|
|
invoke-virtual {p0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/common/area/AreaInfo;)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public a()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 35
|
|
sget-object v0, Lcom/moji/preferences/PreferenceNameEnum;->DEFAULT_PROCESS_SAFE: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(F)V
|
|
.locals 1
|
|
|
|
.line 421
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UPDATE_INTERVAL:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(I)V
|
|
.locals 1
|
|
|
|
.line 133
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->USER_HAS_SCROLL:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(J)V
|
|
.locals 1
|
|
|
|
.line 121
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->DATE_OF_USAGE_GRANTED:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1, p2}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/moji/common/area/AreaInfo;)V
|
|
.locals 2
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 520
|
|
:cond_0
|
|
iget v0, p1, Lcom/moji/common/area/AreaInfo;->cityId:I
|
|
|
|
if-gtz v0, :cond_1
|
|
|
|
iget-boolean v0, p1, Lcom/moji/common/area/AreaInfo;->isLocation:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 523
|
|
:cond_1
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_ID_INTERNAL_ID:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
iget v1, p1, Lcom/moji/common/area/AreaInfo;->id:I
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;I)V
|
|
|
|
.line 524
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_CITY_ID:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
iget v1, p1, Lcom/moji/common/area/AreaInfo;->cityId:I
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;I)V
|
|
|
|
.line 525
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_NAME:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
iget-object v1, p1, Lcom/moji/common/area/AreaInfo;->cityName:Ljava/lang/String;
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
.line 526
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_IS_LOCATION:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
iget-boolean v1, p1, Lcom/moji/common/area/AreaInfo;->isLocation:Z
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Z)V
|
|
|
|
.line 527
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_IS_FOOTSTEP:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
iget-boolean v1, p1, Lcom/moji/common/area/AreaInfo;->isFootStep:Z
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Z)V
|
|
|
|
.line 528
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_STREET:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
iget-object v1, p1, Lcom/moji/common/area/AreaInfo;->streetName:Ljava/lang/String;
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
.line 529
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_TIME:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
iget-object v1, p1, Lcom/moji/common/area/AreaInfo;->timestamp:Ljava/lang/String;
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
.line 530
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$PrivateKey;->CURRENT_AREA_INDEX:Lcom/moji/preferences/ProcessPrefer$PrivateKey;
|
|
|
|
iget p1, p1, Lcom/moji/common/area/AreaInfo;->city_index:I
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 145
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->CLIENT_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Z)V
|
|
.locals 1
|
|
|
|
.line 167
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->IS_VIP:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public b(I)V
|
|
.locals 1
|
|
|
|
.line 429
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->WEATHER_UPDATE_FAIL_TIME:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(J)V
|
|
.locals 1
|
|
|
|
.line 374
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->UAID_REG_TIME:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1, p2}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "null"
|
|
|
|
.line 153
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string p1, ""
|
|
|
|
.line 156
|
|
:cond_0
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->SESSION_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Z)V
|
|
.locals 1
|
|
|
|
.line 269
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UNIT:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c()I
|
|
.locals 2
|
|
|
|
.line 129
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->USER_HAS_SCROLL:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public c(I)V
|
|
.locals 1
|
|
|
|
.line 485
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->LAST_INSERTED_AREA_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(J)V
|
|
.locals 1
|
|
|
|
.line 437
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->REG_TIME:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1, p2}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "null"
|
|
|
|
.line 160
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string p1, ""
|
|
|
|
.line 163
|
|
:cond_0
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->SNS_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(Z)V
|
|
.locals 1
|
|
|
|
.line 390
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->SHORT_DATA_UPDATE_STATUS:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d(J)V
|
|
.locals 1
|
|
|
|
.line 477
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->SERVER_TIMESTAMP:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1, p2}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "null"
|
|
|
|
.line 175
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string p1, ""
|
|
|
|
.line 178
|
|
:cond_0
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->ACCESS_TOKEN:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d(Z)V
|
|
.locals 1
|
|
|
|
.line 445
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->GET_PUSH_LOCK:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()Z
|
|
.locals 2
|
|
|
|
.line 137
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->V5_CITY_OPERATED:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public e()V
|
|
.locals 2
|
|
|
|
.line 141
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->V5_CITY_OPERATED:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public e(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 249
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_SETTING_CURRENT_LANGUAGE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public e(Z)V
|
|
.locals 1
|
|
|
|
.line 453
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->VIP_FRAME_STATS:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public f()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 149
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->CLIENT_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public f(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 253
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_SETTING_VOICE_LANGUAGE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public g(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 257
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UNIT_TEMPERATURE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public g()Z
|
|
.locals 2
|
|
|
|
.line 171
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->IS_VIP:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public h()Ljava/lang/String;
|
|
.locals 2
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 188
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->SESSION_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 189
|
|
invoke-static {v0}, Lcom/moji/tool/Utils;->a(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const-string v0, ""
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public h(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 261
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UNIT_PRESSURE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public i()Ljava/lang/String;
|
|
.locals 2
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 202
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->ACCESS_TOKEN:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 203
|
|
invoke-static {v0}, Lcom/moji/tool/Utils;->a(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const-string v0, ""
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public i(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 265
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UNIT_SPEED:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public j()Ljava/lang/String;
|
|
.locals 2
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 216
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->SNS_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 217
|
|
invoke-static {v0}, Lcom/moji/tool/Utils;->a(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const-string v0, ""
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public j(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 279
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_SETTING_CURRENT_LANGUAGE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public k(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 283
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_SETTING_VOICE_LANGUAGE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public k()Z
|
|
.locals 4
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 230
|
|
invoke-virtual {p0}, Lcom/moji/preferences/ProcessPrefer;->h()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 231
|
|
invoke-static {v0}, Lcom/moji/tool/Utils;->a(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
return v2
|
|
|
|
:cond_0
|
|
const-string v1, ""
|
|
|
|
.line 234
|
|
invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
return v2
|
|
|
|
:cond_1
|
|
const-string v1, "ProcessPrefer"
|
|
|
|
.line 237
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v3, "isLogin sessionId "
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v1, v0}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public l(Ljava/lang/String;)Lcom/moji/preferences/units/UNIT_TEMP;
|
|
.locals 1
|
|
|
|
.line 311
|
|
invoke-virtual {p0}, Lcom/moji/preferences/ProcessPrefer;->q()Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 312
|
|
invoke-static {}, Lcom/moji/preferences/units/UNIT_TEMP;->getUnitTempByCurrentLanguage()Lcom/moji/preferences/units/UNIT_TEMP;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 314
|
|
:cond_0
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UNIT_TEMPERATURE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/moji/preferences/units/UNIT_TEMP;->valueOf(Ljava/lang/String;)Lcom/moji/preferences/units/UNIT_TEMP;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public l()V
|
|
.locals 2
|
|
|
|
.line 242
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->SNS_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;)V
|
|
|
|
.line 243
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->SESSION_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;)V
|
|
|
|
.line 244
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->ACCESS_TOKEN:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;)V
|
|
|
|
const-string v0, "ProcessPrefer"
|
|
|
|
const-string v1, "clear session and snsid success in Process Prefer"
|
|
|
|
.line 245
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public m(Ljava/lang/String;)Lcom/moji/preferences/units/UNIT_PRESSURE;
|
|
.locals 1
|
|
|
|
.line 325
|
|
invoke-virtual {p0}, Lcom/moji/preferences/ProcessPrefer;->q()Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 326
|
|
invoke-static {}, Lcom/moji/preferences/units/UNIT_PRESSURE;->getUnitPressureByCurrentLanguage()Lcom/moji/preferences/units/UNIT_PRESSURE;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 328
|
|
:cond_0
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UNIT_PRESSURE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/moji/preferences/units/UNIT_PRESSURE;->valueOf(Ljava/lang/String;)Lcom/moji/preferences/units/UNIT_PRESSURE;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public m()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "DEFAULT_VOICE"
|
|
|
|
.line 287
|
|
invoke-virtual {p0, v0}, Lcom/moji/preferences/ProcessPrefer;->k(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "DEFAULT_VOICE"
|
|
|
|
.line 288
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 289
|
|
invoke-virtual {p0}, Lcom/moji/preferences/ProcessPrefer;->n()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public n(Ljava/lang/String;)Lcom/moji/preferences/units/UNIT_SPEED;
|
|
.locals 1
|
|
|
|
.line 339
|
|
invoke-virtual {p0}, Lcom/moji/preferences/ProcessPrefer;->q()Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 340
|
|
invoke-static {}, Lcom/moji/preferences/units/UNIT_SPEED;->getUnitSpeedByCurrentLanguage()Lcom/moji/preferences/units/UNIT_SPEED;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 342
|
|
:cond_0
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UNIT_SPEED:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/moji/preferences/units/UNIT_SPEED;->valueOf(Ljava/lang/String;)Lcom/moji/preferences/units/UNIT_SPEED;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public n()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "DEFAULT"
|
|
|
|
.line 296
|
|
invoke-virtual {p0, v0}, Lcom/moji/preferences/ProcessPrefer;->j(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "DEFAULT"
|
|
|
|
.line 297
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 298
|
|
invoke-static {}, Lcom/moji/preferences/units/SettingCenter;->a()Lcom/moji/preferences/units/SettingCenter;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/moji/preferences/units/SettingCenter;->d()Lcom/moji/preferences/units/ELanguage;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/moji/preferences/units/ELanguage;->name()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public o()Lcom/moji/preferences/units/UNIT_TEMP;
|
|
.locals 2
|
|
|
|
.line 318
|
|
invoke-virtual {p0}, Lcom/moji/preferences/ProcessPrefer;->q()Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 319
|
|
invoke-static {}, Lcom/moji/preferences/units/UNIT_TEMP;->getUnitTempByCurrentLanguage()Lcom/moji/preferences/units/UNIT_TEMP;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
.line 321
|
|
:cond_0
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UNIT_TEMPERATURE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-string v1, "CENTIGRADE"
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/moji/preferences/units/UNIT_TEMP;->valueOf(Ljava/lang/String;)Lcom/moji/preferences/units/UNIT_TEMP;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public o(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 358
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->USER_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public p()Lcom/moji/preferences/units/UNIT_SPEED;
|
|
.locals 2
|
|
|
|
.line 346
|
|
invoke-virtual {p0}, Lcom/moji/preferences/ProcessPrefer;->q()Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 347
|
|
invoke-static {}, Lcom/moji/preferences/units/UNIT_SPEED;->getUnitSpeedByCurrentLanguage()Lcom/moji/preferences/units/UNIT_SPEED;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
.line 349
|
|
:cond_0
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UNIT_SPEED:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-string v1, "BEAUFORT_SCALE"
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/moji/preferences/units/UNIT_SPEED;->valueOf(Ljava/lang/String;)Lcom/moji/preferences/units/UNIT_SPEED;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public p(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 366
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->UAID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public q()Ljava/lang/Boolean;
|
|
.locals 2
|
|
|
|
.line 354
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UNIT:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public q(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 382
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->MOBILE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public r()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 362
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->USER_ID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-string v1, "0"
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public r(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 398
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_START_UPDATE_TIME:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public s()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 370
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->UAID:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-string v1, "0"
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public s(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 408
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_END_UPDATE_TIME:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public t()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 386
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->MOBILE:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public t(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 461
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->VIP_FRAME_URL:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/ProcessPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public u()Z
|
|
.locals 2
|
|
|
|
.line 394
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->SHORT_DATA_UPDATE_STATUS:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public v()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "06:00"
|
|
|
|
.line 404
|
|
sget-object v1, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_START_UPDATE_TIME:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v1, v0}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public w()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 412
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_END_UPDATE_TIME:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-string v1, "22:00"
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public x()F
|
|
.locals 2
|
|
|
|
.line 425
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->KEY_UPDATE_INTERVAL:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/high16 v1, 0x3f800000 # 1.0f
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;F)F
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public y()I
|
|
.locals 2
|
|
|
|
.line 433
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->WEATHER_UPDATE_FAIL_TIME:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public z()J
|
|
.locals 3
|
|
|
|
.line 441
|
|
sget-object v0, Lcom/moji/preferences/ProcessPrefer$KeyConstant;->REG_TIME:Lcom/moji/preferences/ProcessPrefer$KeyConstant;
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
invoke-virtual {p0, v0, v1, v2}, Lcom/moji/preferences/ProcessPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|