ResultPageStorage.smali
.class public Lcom/cleanmaster/resultpage/storage/ResultPageStorage;
.super Ljava/lang/Object;
.source "ResultPageStorage.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/cleanmaster/resultpage/storage/ResultPageStorage$CleanItem_DbHelper;
}
.end annotation
# static fields
.field static a:I
.field static b:I
.field private static c:Lcom/cleanmaster/resultpage/storage/ResultPageStorage;
# instance fields
.field private d:Landroid/content/Context;
.field private e:Lcom/cleanmaster/resultpage/storage/ResultPageStorage$CleanItem_DbHelper;
# direct methods
.method static constructor <clinit>()V
.registers 2
.prologue
const/4 v1, -0x1
.line 34
const/4 v0, 0x0
sput-object v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->c:Lcom/cleanmaster/resultpage/storage/ResultPageStorage;
.line 199
sput v1, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->a:I
.line 200
sput v1, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->b:I
return-void
.end method
.method private constructor <init>()V
.registers 2
.prologue
const/4 v0, 0x0
.line 53
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 35
iput-object v0, p0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->d:Landroid/content/Context;
.line 36
iput-object v0, p0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->e:Lcom/cleanmaster/resultpage/storage/ResultPageStorage$CleanItem_DbHelper;
.line 54
invoke-static {}, Lcom/keniu/security/m;->d()Landroid/content/Context;
move-result-object v0
invoke-direct {p0, v0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->a(Landroid/content/Context;)V
.line 55
return-void
.end method
.method private a(Ljava/lang/String;)J
.registers 13
.prologue
const/4 v10, 0x0
.line 383
const-wide/16 v8, 0x0
.line 384
invoke-virtual {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->a()Landroid/database/sqlite/SQLiteDatabase;
move-result-object v0
.line 385
if-nez v0, :cond_b
move-wide v0, v8
.line 402
:cond_a
:goto_a
return-wide v0
.line 391
:cond_b
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
const/4 v7, 0x0
move-object v1, p1
:try_start_12
invoke-virtual/range {v0 .. v7}, Landroid/database/sqlite/SQLiteDatabase;->query(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
:try_end_15
.catch Ljava/lang/Exception; {:try_start_12 .. :try_end_15} :catch_37
.catchall {:try_start_12 .. :try_end_15} :catchall_44
move-result-object v3
.line 392
:try_start_16
invoke-interface {v3}, Landroid/database/Cursor;->moveToFirst()Z
:try_end_19
.catch Ljava/lang/Exception; {:try_start_16 .. :try_end_19} :catch_4e
.catchall {:try_start_16 .. :try_end_19} :catchall_4c
move-wide v0, v8
:goto_1a
:try_start_1a
invoke-interface {v3}, Landroid/database/Cursor;->isAfterLast()Z
move-result v2
if-nez v2, :cond_31
.line 393
const-string v2, "value"
invoke-interface {v3, v2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
move-result v2
invoke-interface {v3, v2}, Landroid/database/Cursor;->getLong(I)J
:try_end_29
.catch Ljava/lang/Exception; {:try_start_1a .. :try_end_29} :catch_52
.catchall {:try_start_1a .. :try_end_29} :catchall_4c
move-result-wide v4
add-long v8, v0, v4
.line 392
:try_start_2c
invoke-interface {v3}, Landroid/database/Cursor;->moveToNext()Z
:try_end_2f
.catch Ljava/lang/Exception; {:try_start_2c .. :try_end_2f} :catch_4e
.catchall {:try_start_2c .. :try_end_2f} :catchall_4c
move-wide v0, v8
goto :goto_1a
.line 398
:cond_31
if-eqz v3, :cond_a
.line 399
invoke-interface {v3}, Landroid/database/Cursor;->close()V
goto :goto_a
.line 395
:catch_37
move-exception v0
move-object v2, v0
move-object v3, v10
move-wide v0, v8
.line 396
:goto_3b
:try_start_3b
invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V
:try_end_3e
.catchall {:try_start_3b .. :try_end_3e} :catchall_4c
.line 398
if-eqz v3, :cond_a
.line 399
invoke-interface {v3}, Landroid/database/Cursor;->close()V
goto :goto_a
.line 398
:catchall_44
move-exception v0
move-object v3, v10
:goto_46
if-eqz v3, :cond_4b
.line 399
invoke-interface {v3}, Landroid/database/Cursor;->close()V
:cond_4b
throw v0
.line 398
:catchall_4c
move-exception v0
goto :goto_46
.line 395
:catch_4e
move-exception v0
move-object v2, v0
move-wide v0, v8
goto :goto_3b
:catch_52
move-exception v2
goto :goto_3b
.end method
.method private a(I)Ljava/util/List;
.registers 12
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Ljava/util/List",
"<",
"Lcom/cm/plugincluster/cleanmaster/junk/bean/CleanItem;",
">;"
}
.end annotation
.prologue
const/4 v9, 0x0
.line 407
invoke-virtual {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->a()Landroid/database/sqlite/SQLiteDatabase;
move-result-object v0
.line 408
new-instance v8, Ljava/util/ArrayList;
const/4 v1, 0x5
invoke-direct {v8, v1}, Ljava/util/ArrayList;-><init>(I)V
.line 409
if-nez v0, :cond_f
move-object v0, v8
.line 431
:goto_e
return-object v0
.line 415
:cond_f
:try_start_f
const-string v1, "tbl_cleanitem_top1"
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
const-string v7, "value DESC"
invoke-virtual/range {v0 .. v7}, Landroid/database/sqlite/SQLiteDatabase;->query(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
:try_end_1b
.catch Ljava/lang/Exception; {:try_start_f .. :try_end_1b} :catch_6e
.catchall {:try_start_f .. :try_end_1b} :catchall_64
move-result-object v1
.line 416
:try_start_1c
invoke-interface {v1}, Landroid/database/Cursor;->moveToFirst()Z
:goto_1f
invoke-interface {v1}, Landroid/database/Cursor;->isAfterLast()Z
move-result v0
if-nez v0, :cond_4f
.line 417
new-instance v0, Lcom/cm/plugincluster/cleanmaster/junk/bean/CleanItem;
invoke-direct {v0}, Lcom/cm/plugincluster/cleanmaster/junk/bean/CleanItem;-><init>()V
invoke-virtual {v0, v1}, Lcom/cm/plugincluster/cleanmaster/junk/bean/CleanItem;->fromCursor(Landroid/database/Cursor;)Lcom/cm/plugincluster/cleanmaster/junk/bean/CleanItem;
move-result-object v0
.line 418
invoke-interface {v8, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
.line 419
const-string v2, "top1"
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
const-string v4, ""
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
.line 420
invoke-interface {v8}, Ljava/util/List;->size()I
:try_end_4c
.catch Ljava/lang/Exception; {:try_start_1c .. :try_end_4c} :catch_5a
.catchall {:try_start_1c .. :try_end_4c} :catchall_6c
move-result v0
if-le v0, p1, :cond_56
.line 427
:cond_4f
if-eqz v1, :cond_54
.line 428
invoke-interface {v1}, Landroid/database/Cursor;->close()V
:cond_54
:goto_54
move-object v0, v8
.line 431
goto :goto_e
.line 416
:cond_56
:try_start_56
invoke-interface {v1}, Landroid/database/Cursor;->moveToNext()Z
:try_end_59
.catch Ljava/lang/Exception; {:try_start_56 .. :try_end_59} :catch_5a
.catchall {:try_start_56 .. :try_end_59} :catchall_6c
goto :goto_1f
.line 424
:catch_5a
move-exception v0
.line 425
:goto_5b
:try_start_5b
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
:try_end_5e
.catchall {:try_start_5b .. :try_end_5e} :catchall_6c
.line 427
if-eqz v1, :cond_54
.line 428
invoke-interface {v1}, Landroid/database/Cursor;->close()V
goto :goto_54
.line 427
:catchall_64
move-exception v0
move-object v1, v9
:goto_66
if-eqz v1, :cond_6b
.line 428
invoke-interface {v1}, Landroid/database/Cursor;->close()V
:cond_6b
throw v0
.line 427
:catchall_6c
move-exception v0
goto :goto_66
.line 424
:catch_6e
move-exception v0
move-object v1, v9
goto :goto_5b
.end method
.method private a(Landroid/content/Context;)V
.registers 3
.prologue
.line 39
iput-object p1, p0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->d:Landroid/content/Context;
.line 40
invoke-static {p1}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage$CleanItem_DbHelper;->a(Landroid/content/Context;)Lcom/cleanmaster/resultpage/storage/ResultPageStorage$CleanItem_DbHelper;
move-result-object v0
iput-object v0, p0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->e:Lcom/cleanmaster/resultpage/storage/ResultPageStorage$CleanItem_DbHelper;
.line 41
return-void
.end method
.method public static b()Lcom/cleanmaster/resultpage/storage/ResultPageStorage;
.registers 2
.prologue
.line 80
sget-object v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->c:Lcom/cleanmaster/resultpage/storage/ResultPageStorage;
if-nez v0, :cond_13
.line 81
const-class v1, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;
monitor-enter v1
.line 82
:try_start_7
sget-object v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->c:Lcom/cleanmaster/resultpage/storage/ResultPageStorage;
if-nez v0, :cond_12
.line 83
new-instance v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;
invoke-direct {v0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;-><init>()V
sput-object v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->c:Lcom/cleanmaster/resultpage/storage/ResultPageStorage;
.line 85
:cond_12
monitor-exit v1
:try_end_13
.catchall {:try_start_7 .. :try_end_13} :catchall_16
.line 87
:cond_13
sget-object v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->c:Lcom/cleanmaster/resultpage/storage/ResultPageStorage;
return-object v0
.line 85
:catchall_16
move-exception v0
:try_start_17
monitor-exit v1
:try_end_18
.catchall {:try_start_17 .. :try_end_18} :catchall_16
throw v0
.end method
.method private b(I)Ljava/util/List;
.registers 12
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Ljava/util/List",
"<",
"Lcom/cm/plugincluster/cleanmaster/junk/bean/CleanItem;",
">;"
}
.end annotation
.prologue
const/4 v9, 0x0
.line 435
invoke-virtual {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->a()Landroid/database/sqlite/SQLiteDatabase;
move-result-object v0
.line 436
new-instance v8, Ljava/util/ArrayList;
const/4 v1, 0x5
invoke-direct {v8, v1}, Ljava/util/ArrayList;-><init>(I)V
.line 437
if-nez v0, :cond_f
move-object v0, v8
.line 462
:goto_e
return-object v0
.line 442
:cond_f
:try_start_f
const-string v1, "tbl_cleanitem_top7"
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
const-string v7, "value DESC"
invoke-virtual/range {v0 .. v7}, Landroid/database/sqlite/SQLiteDatabase;->query(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
:try_end_1b
.catch Ljava/lang/Exception; {:try_start_f .. :try_end_1b} :catch_7b
.catch Ljava/lang/OutOfMemoryError; {:try_start_f .. :try_end_1b} :catch_64
.catchall {:try_start_f .. :try_end_1b} :catchall_6f
move-result-object v1
.line 444
:try_start_1c
invoke-interface {v1}, Landroid/database/Cursor;->moveToFirst()Z
:goto_1f
invoke-interface {v1}, Landroid/database/Cursor;->isAfterLast()Z
move-result v0
if-nez v0, :cond_4f
.line 445
new-instance v0, Lcom/cm/plugincluster/cleanmaster/junk/bean/CleanItem;
invoke-direct {v0}, Lcom/cm/plugincluster/cleanmaster/junk/bean/CleanItem;-><init>()V
invoke-virtual {v0, v1}, Lcom/cm/plugincluster/cleanmaster/junk/bean/CleanItem;->fromCursor(Landroid/database/Cursor;)Lcom/cm/plugincluster/cleanmaster/junk/bean/CleanItem;
move-result-object v0
.line 446
const-string v2, "top7"
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
const-string v4, ""
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
.line 447
invoke-interface {v8, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
.line 448
invoke-interface {v8}, Ljava/util/List;->size()I
:try_end_4c
.catch Ljava/lang/Exception; {:try_start_1c .. :try_end_4c} :catch_5a
.catch Ljava/lang/OutOfMemoryError; {:try_start_1c .. :try_end_4c} :catch_79
.catchall {:try_start_1c .. :try_end_4c} :catchall_77
move-result v0
if-le v0, p1, :cond_56
.line 457
:cond_4f
if-eqz v1, :cond_54
.line 458
invoke-interface {v1}, Landroid/database/Cursor;->close()V
:cond_54
:goto_54
move-object v0, v8
.line 462
goto :goto_e
.line 444
:cond_56
:try_start_56
invoke-interface {v1}, Landroid/database/Cursor;->moveToNext()Z
:try_end_59
.catch Ljava/lang/Exception; {:try_start_56 .. :try_end_59} :catch_5a
.catch Ljava/lang/OutOfMemoryError; {:try_start_56 .. :try_end_59} :catch_79
.catchall {:try_start_56 .. :try_end_59} :catchall_77
goto :goto_1f
.line 452
:catch_5a
move-exception v0
.line 453
:goto_5b
:try_start_5b
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
:try_end_5e
.catchall {:try_start_5b .. :try_end_5e} :catchall_77
.line 457
if-eqz v1, :cond_54
.line 458
invoke-interface {v1}, Landroid/database/Cursor;->close()V
goto :goto_54
.line 454
:catch_64
move-exception v0
move-object v1, v9
.line 455
:goto_66
:try_start_66
invoke-virtual {v0}, Ljava/lang/OutOfMemoryError;->printStackTrace()V
:try_end_69
.catchall {:try_start_66 .. :try_end_69} :catchall_77
.line 457
if-eqz v1, :cond_54
.line 458
invoke-interface {v1}, Landroid/database/Cursor;->close()V
goto :goto_54
.line 457
:catchall_6f
move-exception v0
move-object v1, v9
:goto_71
if-eqz v1, :cond_76
.line 458
invoke-interface {v1}, Landroid/database/Cursor;->close()V
:cond_76
throw v0
.line 457
:catchall_77
move-exception v0
goto :goto_71
.line 454
:catch_79
move-exception v0
goto :goto_66
.line 452
:catch_7b
move-exception v0
move-object v1, v9
goto :goto_5b
.end method
.method private f()J
.registers 3
.prologue
.line 375
const-string v0, "tbl_cleanitem_top1"
invoke-direct {p0, v0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->a(Ljava/lang/String;)J
move-result-wide v0
return-wide v0
.end method
.method private g()J
.registers 3
.prologue
.line 379
const-string v0, "tbl_cleanitem_top7"
invoke-direct {p0, v0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->a(Ljava/lang/String;)J
move-result-wide v0
return-wide v0
.end method
.method private h()I
.registers 4
.prologue
.line 504
sget v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->b:I
if-gez v0, :cond_19
.line 505
iget-object v0, p0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->d:Landroid/content/Context;
const-string v1, "rp"
const/4 v2, 0x0
invoke-virtual {v0, v1, v2}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object v0
const-string v1, ":TOP7"
invoke-virtual {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->d()I
move-result v2
invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
move-result v0
sput v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->b:I
.line 507
:cond_19
sget v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->b:I
return v0
.end method
.method private i()I
.registers 4
.prologue
.line 516
sget v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->a:I
if-gez v0, :cond_19
.line 517
iget-object v0, p0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->d:Landroid/content/Context;
const-string v1, "rp"
const/4 v2, 0x0
invoke-virtual {v0, v1, v2}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object v0
const-string v1, ":TOP1"
invoke-virtual {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->c()I
move-result v2
invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
move-result v0
sput v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->a:I
.line 519
:cond_19
sget v0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->a:I
return v0
.end method
.method private j()Z
.registers 6
.prologue
const/4 v4, 0x7
const/4 v0, 0x1
.line 568
invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;
move-result-object v1
.line 569
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
invoke-virtual {v1, v2, v3}, Ljava/util/Calendar;->setTimeInMillis(J)V
.line 570
invoke-virtual {v1, v4}, Ljava/util/Calendar;->get(I)I
move-result v1
.line 572
if-eq v1, v0, :cond_15
if-ne v1, v4, :cond_16
:cond_15
:goto_15
return v0
:cond_16
const/4 v0, 0x0
goto :goto_15
.end method
# virtual methods
.method public a()Landroid/database/sqlite/SQLiteDatabase;
.registers 3
.prologue
.line 44
const/4 v0, 0x0
.line 46
:try_start_1
iget-object v1, p0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->e:Lcom/cleanmaster/resultpage/storage/ResultPageStorage$CleanItem_DbHelper;
invoke-virtual {v1}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage$CleanItem_DbHelper;->getWritableDatabase()Landroid/database/sqlite/SQLiteDatabase;
:try_end_6
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_6} :catch_8
move-result-object v0
.line 50
:goto_7
return-object v0
.line 47
:catch_8
move-exception v1
.line 48
invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V
goto :goto_7
.end method
.method public c()I
.registers 5
.prologue
.line 468
invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;
move-result-object v0
.line 469
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
invoke-virtual {v0, v2, v3}, Ljava/util/Calendar;->setTimeInMillis(J)V
.line 470
const/4 v1, 0x6
invoke-virtual {v0, v1}, Ljava/util/Calendar;->get(I)I
move-result v0
return v0
.end method
.method public d()I
.registers 6
.prologue
const/4 v4, 0x3
.line 474
invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;
move-result-object v0
.line 475
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
invoke-virtual {v0, v2, v3}, Ljava/util/Calendar;->setTimeInMillis(J)V
.line 476
const/4 v1, 0x7
invoke-virtual {v0, v1}, Ljava/util/Calendar;->get(I)I
move-result v1
.line 477
const/4 v2, 0x1
if-ne v1, v2, :cond_1b
invoke-virtual {v0, v4}, Ljava/util/Calendar;->get(I)I
move-result v0
add-int/lit8 v0, v0, -0x1
:goto_1a
return v0
:cond_1b
invoke-virtual {v0, v4}, Ljava/util/Calendar;->get(I)I
move-result v0
goto :goto_1a
.end method
.method public e()Lcom/cm/plugincluster/resultpage/storage/CleanResultData;
.registers 6
.prologue
const/4 v4, 0x5
.line 579
invoke-virtual {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->c()I
move-result v0
.line 580
invoke-virtual {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->d()I
move-result v1
.line 582
new-instance v2, Lcom/cm/plugincluster/resultpage/storage/CleanResultData;
invoke-direct {v2}, Lcom/cm/plugincluster/resultpage/storage/CleanResultData;-><init>()V
.line 583
invoke-direct {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->j()Z
move-result v3
if-eqz v3, :cond_49
invoke-direct {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->h()I
move-result v3
if-ne v1, v3, :cond_49
.line 584
invoke-direct {p0, v4}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->b(I)Ljava/util/List;
move-result-object v0
iget-object v1, p0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->d:Landroid/content/Context;
invoke-static {v0, v1}, Lcom/cm/plugincluster/resultpage/storage/ResultCleanItem;->transforms(Ljava/util/List;Landroid/content/Context;)Ljava/util/List;
move-result-object v0
iput-object v0, v2, Lcom/cm/plugincluster/resultpage/storage/CleanResultData;->mCleanItem:Ljava/util/List;
.line 586
sget-object v0, Lcom/cm/plugincluster/resultpage/storage/RankType;->TOP7:Lcom/cm/plugincluster/resultpage/storage/RankType;
iput-object v0, v2, Lcom/cm/plugincluster/resultpage/storage/CleanResultData;->mRankType:Lcom/cm/plugincluster/resultpage/storage/RankType;
.line 587
invoke-direct {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->g()J
move-result-wide v0
iput-wide v0, v2, Lcom/cm/plugincluster/resultpage/storage/CleanResultData;->mTotalCleanSize:J
.line 596
:cond_30
:goto_30
invoke-static {}, Lcom/keniu/security/m;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->isJunkEFirst()Z
move-result v0
.line 597
if-eqz v0, :cond_48
invoke-virtual {v2}, Lcom/cm/plugincluster/resultpage/storage/CleanResultData;->isNull()Z
move-result v0
if-nez v0, :cond_48
.line 598
sget-object v0, Lcom/cm/plugincluster/resultpage/storage/RankType;->FIRST:Lcom/cm/plugincluster/resultpage/storage/RankType;
iput-object v0, v2, Lcom/cm/plugincluster/resultpage/storage/CleanResultData;->mRankType:Lcom/cm/plugincluster/resultpage/storage/RankType;
.line 601
:cond_48
return-object v2
.line 589
:cond_49
invoke-direct {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->i()I
move-result v1
if-ne v0, v1, :cond_30
.line 590
invoke-direct {p0, v4}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->a(I)Ljava/util/List;
move-result-object v0
iget-object v1, p0, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->d:Landroid/content/Context;
invoke-static {v0, v1}, Lcom/cm/plugincluster/resultpage/storage/ResultCleanItem;->transforms(Ljava/util/List;Landroid/content/Context;)Ljava/util/List;
move-result-object v0
iput-object v0, v2, Lcom/cm/plugincluster/resultpage/storage/CleanResultData;->mCleanItem:Ljava/util/List;
.line 591
sget-object v0, Lcom/cm/plugincluster/resultpage/storage/RankType;->TOP1:Lcom/cm/plugincluster/resultpage/storage/RankType;
iput-object v0, v2, Lcom/cm/plugincluster/resultpage/storage/CleanResultData;->mRankType:Lcom/cm/plugincluster/resultpage/storage/RankType;
.line 592
invoke-direct {p0}, Lcom/cleanmaster/resultpage/storage/ResultPageStorage;->f()J
move-result-wide v0
iput-wide v0, v2, Lcom/cm/plugincluster/resultpage/storage/CleanResultData;->mTotalCleanSize:J
goto :goto_30
.end method