BoostCubeCloudConfig$CloudBoostKey.smali
.class public Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$CloudBoostKey;
.super Ljava/lang/Object;
.source "BoostCubeCloudConfig.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "CloudBoostKey"
.end annotation
# direct methods
.method public constructor <init>()V
.registers 1
.prologue
.line 880
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getCloudOnScreenNotificationIntervalKey()I
.registers 3
.prologue
.line 883
const-string v0, "boost_cfg"
const-string v1, "boost_noti_interval"
const/4 v2, 0x0
invoke-static {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$Common;->getIntValue(Ljava/lang/String;Ljava/lang/String;I)I
move-result v0
return v0
.end method
.method public static isLowMemoryShowToast()Z
.registers 3
.prologue
.line 921
const-string v0, "process_settings"
const-string v1, "low_mem_toast_show_rate"
const/4 v2, 0x0
invoke-static {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$CloudBoostKey;->isMatchRate(Ljava/lang/String;Ljava/lang/String;I)Z
move-result v0
return v0
.end method
.method private static isMatchRate(Ljava/lang/String;Ljava/lang/String;I)Z
.registers 5
.prologue
const/16 v0, 0x64
.line 928
invoke-static {p0, p1, p2}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$Common;->getIntValue(Ljava/lang/String;Ljava/lang/String;I)I
move-result v1
.line 929
if-gez v1, :cond_12
.line 934
:goto_8
invoke-static {p2}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$CloudSecurityUtils;->matchRate(I)I
move-result v0
const/16 v1, 0x14
if-ne v0, v1, :cond_16
const/4 v0, 0x1
:goto_11
return v0
.line 931
:cond_12
if-le v1, v0, :cond_18
move p2, v0
.line 932
goto :goto_8
.line 934
:cond_16
const/4 v0, 0x0
goto :goto_11
:cond_18
move p2, v1
goto :goto_8
.end method
.method public static isOnScreenTemperatureNotificationValid(I)Z
.registers 4
.prologue
const/4 v0, 0x0
.line 939
.line 940
packed-switch p0, :pswitch_data_26
.line 962
:cond_4
:goto_4
return v0
.line 942
:pswitch_5
const-string v1, "boost_cfg"
const-string v2, "boost_noti_recent"
invoke-static {v1, v2}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$CloudSecurityUtils;->isRangeValid(Ljava/lang/String;Ljava/lang/String;)I
move-result v1
.line 959
:goto_d
const/16 v2, 0x14
if-ne v1, v2, :cond_4
.line 960
const/4 v0, 0x1
goto :goto_4
.line 947
:pswitch_13
const-string v1, "boost_cfg"
const-string v2, "boost_noti_cpu"
invoke-static {v1, v2}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$CloudSecurityUtils;->isRangeValid(Ljava/lang/String;Ljava/lang/String;)I
move-result v1
goto :goto_d
.line 952
:pswitch_1c
const-string v1, "boost_cfg"
const-string v2, "boost_noti_process"
invoke-static {v1, v2}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$CloudSecurityUtils;->isRangeValid(Ljava/lang/String;Ljava/lang/String;)I
move-result v1
goto :goto_d
.line 940
nop
:pswitch_data_26
.packed-switch 0x1
:pswitch_5
:pswitch_13
:pswitch_1c
.end packed-switch
.end method
.method public static isShowAbnormalToastByCloudCtrl()Z
.registers 3
.prologue
.line 914
const-string v0, "process_settings"
const-string v1, "abnormal_toast_show_rate"
const/16 v2, 0x64
invoke-static {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$CloudBoostKey;->isMatchRate(Ljava/lang/String;Ljava/lang/String;I)Z
move-result v0
return v0
.end method
.method public static isShowHighUsageTextInNotification()Z
.registers 4
.prologue
const/16 v3, 0x14
.line 906
const-string v0, "process_settings"
const-string v1, "check_mcc_high_mem_usage"
invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$CloudSecurityUtils;->isMccValid(Ljava/lang/String;Ljava/lang/String;)I
move-result v0
.line 907
const-string v1, "process_settings"
const-string v2, "check_rate_high_mem_usage"
invoke-static {v1, v2}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$CloudSecurityUtils;->isRangeValid(Ljava/lang/String;Ljava/lang/String;)I
move-result v1
.line 908
if-ne v3, v0, :cond_18
if-ne v3, v1, :cond_18
const/4 v0, 0x1
.line 910
:goto_17
return v0
.line 908
:cond_18
const/4 v0, 0x0
goto :goto_17
.end method
.method public static isShowNewUserActiveNotification()Z
.registers 3
.prologue
.line 901
const-string v0, "boost_cfg"
const-string v1, "boost_new_active_notification"
const/4 v2, 0x1
invoke-static {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$CloudSecurityUtils;->getCloudSwitchValid(Ljava/lang/String;Ljava/lang/String;Z)Z
move-result v0
return v0
.end method