a.smali

.class public Lcom/cleanmaster/base/a;
.super Ljava/lang/Object;
.source "Commons.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/cleanmaster/base/a$a;
    }
.end annotation


# static fields
.field static a:Ljava/util/Random;

.field private static b:Ljava/lang/Boolean;

.field private static volatile c:Ljava/io/File;

.field private static d:[Ljava/lang/String;

.field private static e:Lcom/cleanmaster/bitloader/base/Objects;

.field private static f:Ljava/util/concurrent/atomic/AtomicBoolean;

.field private static g:Z

.field private static h:Ljava/lang/Runnable;

.field private static i:I


# direct methods
.method static constructor <clinit>()V
    .registers 5

    .prologue
    const/4 v4, 0x0

    const/4 v3, 0x0

    .line 306
    sput-object v4, Lcom/cleanmaster/base/a;->b:Ljava/lang/Boolean;

    .line 996
    sput-object v4, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    .line 1145
    const/16 v0, 0x14

    new-array v0, v0, [Ljava/lang/String;

    const-string v1, "asus/WW_a501cg"

    aput-object v1, v0, v3

    const/4 v1, 0x1

    const-string v2, "Coolpad/Coolpad7620L"

    aput-object v2, v0, v1

    const/4 v1, 0x2

    const-string v2, "motorola/condor"

    aput-object v2, v0, v1

    const/4 v1, 0x3

    const-string v2, "OPPO/1105"

    aput-object v2, v0, v1

    const/4 v1, 0x4

    const-string v2, "OPPO/1107"

    aput-object v2, v0, v1

    const/4 v1, 0x5

    const-string v2, "OPPO/3007"

    aput-object v2, v0, v1

    const/4 v1, 0x6

    const-string v2, "OPPO/A31"

    aput-object v2, v0, v1

    const/4 v1, 0x7

    const-string v2, "OPPO/R2017"

    aput-object v2, v0, v1

    const/16 v1, 0x8

    const-string v2, "OPPO/R6007"

    aput-object v2, v0, v1

    const/16 v1, 0x9

    const-string v2, "OPPO/R7007"

    aput-object v2, v0, v1

    const/16 v1, 0xa

    const-string v2, "OPPO/R831S"

    aput-object v2, v0, v1

    const/16 v1, 0xb

    const-string v2, "samsung/fortuna3g"

    aput-object v2, v0, v1

    const/16 v1, 0xc

    const-string v2, "samsung/fortunave3gxx"

    aput-object v2, v0, v1

    const/16 v1, 0xd

    const-string v2, "samsung/goyawifixx"

    aput-object v2, v0, v1

    const/16 v1, 0xe

    const-string v2, "samsung/kanas3gxx"

    aput-object v2, v0, v1

    const/16 v1, 0xf

    const-string v2, "samsung/ms013g"

    aput-object v2, v0, v1

    const/16 v1, 0x10

    const-string v2, "samsung/serrano"

    aput-object v2, v0, v1

    const/16 v1, 0x11

    const-string v2, "samsung/t03gxx/t03g:4.4.2"

    aput-object v2, v0, v1

    const/16 v1, 0x12

    const-string v2, "Sony/D6503/D6503:5"

    aput-object v2, v0, v1

    const/16 v1, 0x13

    const-string/jumbo v2, "yulong/Coolpad8720L"

    aput-object v2, v0, v1

    sput-object v0, Lcom/cleanmaster/base/a;->d:[Ljava/lang/String;

    .line 1270
    new-instance v0, Lcom/cleanmaster/bitloader/base/Objects;

    invoke-direct {v0}, Lcom/cleanmaster/bitloader/base/Objects;-><init>()V

    sput-object v0, Lcom/cleanmaster/base/a;->e:Lcom/cleanmaster/bitloader/base/Objects;

    .line 1271
    new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-direct {v0, v3}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V

    sput-object v0, Lcom/cleanmaster/base/a;->f:Ljava/util/concurrent/atomic/AtomicBoolean;

    .line 1272
    sput-boolean v3, Lcom/cleanmaster/base/a;->g:Z

    .line 1814
    sput-object v4, Lcom/cleanmaster/base/a;->h:Ljava/lang/Runnable;

    .line 2022
    sput-object v4, Lcom/cleanmaster/base/a;->a:Ljava/util/Random;

    .line 2057
    sput v3, Lcom/cleanmaster/base/a;->i:I

    return-void
.end method

.method private static A()Z
    .registers 8

    .prologue
    const/4 v0, 0x1

    const/4 v2, 0x0

    .line 1275
    sget-object v3, Lcom/cleanmaster/base/a;->e:Lcom/cleanmaster/bitloader/base/Objects;

    monitor-enter v3

    .line 1276
    :try_start_5
    sget-object v1, Lcom/cleanmaster/base/a;->f:Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 v4, 0x1

    const/4 v5, 0x1

    invoke-virtual {v1, v4, v5}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z

    move-result v1

    if-eqz v1, :cond_13

    .line 1277
    sget-boolean v0, Lcom/cleanmaster/base/a;->g:Z

    monitor-exit v3
    :try_end_12
    .catchall {:try_start_5 .. :try_end_12} :catchall_51

    .line 1302
    :goto_12
    return v0

    .line 1282
    :cond_13
    :try_start_13
    new-instance v4, Ljava/util/Properties;

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

    .line 1283
    new-instance v1, Ljava/io/FileInputStream;

    new-instance v5, Ljava/io/File;

    invoke-static {}, Landroid/os/Environment;->getRootDirectory()Ljava/io/File;

    move-result-object v6

    const-string v7, "build.prop"

    invoke-direct {v5, v6, v7}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V

    invoke-direct {v1, v5}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
    :try_end_28
    .catch Ljava/io/FileNotFoundException; {:try_start_13 .. :try_end_28} :catch_5b
    .catch Ljava/io/IOException; {:try_start_13 .. :try_end_28} :catch_6b
    .catchall {:try_start_13 .. :try_end_28} :catchall_7b

    .line 1284
    :try_start_28
    invoke-virtual {v4, v1}, Ljava/util/Properties;->load(Ljava/io/InputStream;)V

    .line 1285
    const-string v2, "ro.miui.ui.version.code"

    const/4 v5, 0x0

    invoke-virtual {v4, v2, v5}, Ljava/util/Properties;->getProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_46

    const-string v2, "ro.miui.ui.version.name"

    const/4 v5, 0x0

    .line 1286
    invoke-virtual {v4, v2, v5}, Ljava/util/Properties;->getProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_46

    const-string v2, "ro.miui.internal.storage"

    const/4 v5, 0x0

    .line 1287
    invoke-virtual {v4, v2, v5}, Ljava/util/Properties;->getProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_54

    :cond_46
    :goto_46
    sput-boolean v0, Lcom/cleanmaster/base/a;->g:Z
    :try_end_48
    .catch Ljava/io/FileNotFoundException; {:try_start_28 .. :try_end_48} :catch_8c
    .catch Ljava/io/IOException; {:try_start_28 .. :try_end_48} :catch_8a
    .catchall {:try_start_28 .. :try_end_48} :catchall_88

    .line 1293
    if-eqz v1, :cond_4d

    .line 1295
    :try_start_4a
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V
    :try_end_4d
    .catch Ljava/io/IOException; {:try_start_4a .. :try_end_4d} :catch_56
    .catchall {:try_start_4a .. :try_end_4d} :catchall_51

    .line 1302
    :cond_4d
    :goto_4d
    :try_start_4d
    sget-boolean v0, Lcom/cleanmaster/base/a;->g:Z

    monitor-exit v3

    goto :goto_12

    .line 1303
    :catchall_51
    move-exception v0

    monitor-exit v3
    :try_end_53
    .catchall {:try_start_4d .. :try_end_53} :catchall_51

    throw v0

    .line 1287
    :cond_54
    const/4 v0, 0x0

    goto :goto_46

    .line 1296
    :catch_56
    move-exception v0

    .line 1298
    :try_start_57
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V
    :try_end_5a
    .catchall {:try_start_57 .. :try_end_5a} :catchall_51

    goto :goto_4d

    .line 1288
    :catch_5b
    move-exception v0

    move-object v1, v2

    .line 1289
    :goto_5d
    :try_start_5d
    invoke-virtual {v0}, Ljava/io/FileNotFoundException;->printStackTrace()V
    :try_end_60
    .catchall {:try_start_5d .. :try_end_60} :catchall_88

    .line 1293
    if-eqz v1, :cond_4d

    .line 1295
    :try_start_62
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V
    :try_end_65
    .catch Ljava/io/IOException; {:try_start_62 .. :try_end_65} :catch_66
    .catchall {:try_start_62 .. :try_end_65} :catchall_51

    goto :goto_4d

    .line 1296
    :catch_66
    move-exception v0

    .line 1298
    :try_start_67
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V
    :try_end_6a
    .catchall {:try_start_67 .. :try_end_6a} :catchall_51

    goto :goto_4d

    .line 1290
    :catch_6b
    move-exception v0

    move-object v1, v2

    .line 1291
    :goto_6d
    :try_start_6d
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V
    :try_end_70
    .catchall {:try_start_6d .. :try_end_70} :catchall_88

    .line 1293
    if-eqz v1, :cond_4d

    .line 1295
    :try_start_72
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V
    :try_end_75
    .catch Ljava/io/IOException; {:try_start_72 .. :try_end_75} :catch_76
    .catchall {:try_start_72 .. :try_end_75} :catchall_51

    goto :goto_4d

    .line 1296
    :catch_76
    move-exception v0

    .line 1298
    :try_start_77
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V
    :try_end_7a
    .catchall {:try_start_77 .. :try_end_7a} :catchall_51

    goto :goto_4d

    .line 1293
    :catchall_7b
    move-exception v0

    move-object v1, v2

    :goto_7d
    if-eqz v1, :cond_82

    .line 1295
    :try_start_7f
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V
    :try_end_82
    .catch Ljava/io/IOException; {:try_start_7f .. :try_end_82} :catch_83
    .catchall {:try_start_7f .. :try_end_82} :catchall_51

    .line 1299
    :cond_82
    :goto_82
    :try_start_82
    throw v0

    .line 1296
    :catch_83
    move-exception v1

    .line 1298
    invoke-virtual {v1}, Ljava/io/IOException;->printStackTrace()V
    :try_end_87
    .catchall {:try_start_82 .. :try_end_87} :catchall_51

    goto :goto_82

    .line 1293
    :catchall_88
    move-exception v0

    goto :goto_7d

    .line 1290
    :catch_8a
    move-exception v0

    goto :goto_6d

    .line 1288
    :catch_8c
    move-exception v0

    goto :goto_5d
.end method

.method public static a(II)I
    .registers 6

    .prologue
    .line 2045
    sget-object v0, Lcom/cleanmaster/base/a;->a:Ljava/util/Random;

    if-nez v0, :cond_f

    .line 2046
    new-instance v0, Ljava/util/Random;

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

    move-result-wide v2

    invoke-direct {v0, v2, v3}, Ljava/util/Random;-><init>(J)V

    sput-object v0, Lcom/cleanmaster/base/a;->a:Ljava/util/Random;

    .line 2048
    :cond_f
    sget-object v0, Lcom/cleanmaster/base/a;->a:Ljava/util/Random;

    sub-int v1, p1, p0

    invoke-virtual {v0, v1}, Ljava/util/Random;->nextInt(I)I

    move-result v0

    add-int/2addr v0, p0

    return v0
.end method

.method public static a(Landroid/content/Context;)I
    .registers 7

    .prologue
    .line 146
    new-instance v1, Lcom/cleanmaster/hpsharelib/data/filter/And;

    new-instance v0, Lcom/cleanmaster/service/LocalService$g;

    invoke-direct {v0}, Lcom/cleanmaster/service/LocalService$g;-><init>()V

    new-instance v2, Lcom/cleanmaster/service/LocalService$c;

    invoke-direct {v2, p0}, Lcom/cleanmaster/service/LocalService$c;-><init>(Landroid/content/Context;)V

    invoke-direct {v1, v0, v2}, Lcom/cleanmaster/hpsharelib/data/filter/And;-><init>(Lcom/cleanmaster/data/filter/IFilter;Lcom/cleanmaster/data/filter/IFilter;)V

    .line 148
    new-instance v0, Lcom/cleanmaster/hpcommonlib/utils/PackageManagerWrapper;

    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v2

    invoke-direct {v0, v2}, Lcom/cleanmaster/hpcommonlib/utils/PackageManagerWrapper;-><init>(Landroid/content/pm/PackageManager;)V

    const/4 v2, 0x0

    const/16 v3, 0x68

    invoke-virtual {v0, v2, v3}, Lcom/cleanmaster/hpcommonlib/utils/PackageManagerWrapper;->getInstalledApplications(II)Ljava/util/List;

    move-result-object v0

    .line 150
    new-instance v2, Lcom/cleanmaster/bitloader/base/ArraySet;

    invoke-direct {v2}, Lcom/cleanmaster/bitloader/base/ArraySet;-><init>()V

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

    move-result-object v3

    :cond_28
    :goto_28
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_5b

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

    move-result-object v0

    check-cast v0, Landroid/content/pm/ApplicationInfo;

    .line 153
    iget-object v4, v0, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_28

    .line 157
    invoke-interface {v1, v0}, Lcom/cleanmaster/data/filter/IFilter;->onFilter(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_28

    iget v4, v0, Landroid/content/pm/ApplicationInfo;->flags:I

    const/high16 v5, 0x40000

    and-int/2addr v4, v5

    if-nez v4, :cond_28

    .line 158
    iget-object v4, v0, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-virtual {v2, v4}, Lcom/cleanmaster/bitloader/base/ArraySet;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_28

    .line 159
    iget-object v0, v0, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-virtual {v2, v0}, Lcom/cleanmaster/bitloader/base/ArraySet;->add(Ljava/lang/Object;)Z

    goto :goto_28

    .line 163
    :cond_5b
    invoke-virtual {v2}, Lcom/cleanmaster/bitloader/base/ArraySet;->size()I

    move-result v0

    return v0
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;Landroid/graphics/drawable/Drawable;)Landroid/text/SpannableString;
    .registers 9

    .prologue
    const/16 v5, 0x21

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

    move-result v0

    if-nez v0, :cond_10

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

    move-result v0

    if-nez v0, :cond_10

    if-nez p2, :cond_12

    .line 1583
    :cond_10
    const/4 v0, 0x0

    .line 1603
    :goto_11
    return-object v0

    .line 1585
    :cond_12
    new-instance v2, Landroid/text/SpannableString;

    invoke-direct {v2, p0}, Landroid/text/SpannableString;-><init>(Ljava/lang/CharSequence;)V

    .line 1586
    invoke-virtual {p0, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    .line 1587
    const/4 v1, -0x1

    if-eq v0, v1, :cond_3d

    .line 1588
    new-instance v1, Landroid/text/style/ImageSpan;

    const/4 v3, 0x1

    invoke-direct {v1, p2, v3}, Landroid/text/style/ImageSpan;-><init>(Landroid/graphics/drawable/Drawable;I)V

    .line 1589
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v3

    .line 1590
    add-int v4, v0, v3

    invoke-virtual {v2, v1, v0, v4, v5}, Landroid/text/SpannableString;->setSpan(Ljava/lang/Object;III)V

    .line 1593
    if-nez v0, :cond_3f

    .line 1594
    add-int v1, v0, v3

    .line 1595
    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v0

    .line 1600
    :goto_35
    new-instance v3, Lcom/cleanmaster/hpsharelib/base/widget/CenterableAffectingSpan;

    invoke-direct {v3, p2}, Lcom/cleanmaster/hpsharelib/base/widget/CenterableAffectingSpan;-><init>(Landroid/graphics/drawable/Drawable;)V

    .line 1601
    invoke-virtual {v2, v3, v1, v0, v5}, Landroid/text/SpannableString;->setSpan(Ljava/lang/Object;III)V

    :cond_3d
    move-object v0, v2

    .line 1603
    goto :goto_11

    .line 1597
    :cond_3f
    const/4 v1, 0x0

    .line 1598
    goto :goto_35
.end method

.method public static a(Ljava/lang/String;)Ljava/lang/String;
    .registers 9

    .prologue
    const/4 v0, 0x0

    .line 2100
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

    .line 2101
    if-nez v1, :cond_8

    .line 2130
    :goto_7
    return-object v0

    .line 2105
    :cond_8
    invoke-virtual {v1}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;

    move-result-object v1

    .line 2112
    :try_start_c
    invoke-virtual {v1, p0}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;
    :try_end_f
    .catch Ljava/io/IOException; {:try_start_c .. :try_end_f} :catch_30
    .catchall {:try_start_c .. :try_end_f} :catchall_5d

    move-result-object v3

    .line 2113
    if-eqz v3, :cond_83

    .line 2114
    :try_start_12
    new-instance v2, Ljava/io/InputStreamReader;

    invoke-direct {v2, v3}, Ljava/io/InputStreamReader;-><init>(Ljava/io/InputStream;)V
    :try_end_17
    .catch Ljava/io/IOException; {:try_start_12 .. :try_end_17} :catch_7a
    .catchall {:try_start_12 .. :try_end_17} :catchall_6d

    .line 2115
    :try_start_17
    new-instance v1, Ljava/io/BufferedReader;

    invoke-direct {v1, v2}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;)V
    :try_end_1c
    .catch Ljava/io/IOException; {:try_start_17 .. :try_end_1c} :catch_7e
    .catchall {:try_start_17 .. :try_end_1c} :catchall_73

    .line 2116
    :try_start_1c
    invoke-virtual {v1}, Ljava/io/BufferedReader;->readLine()Ljava/lang/String;

    move-result-object v0

    .line 2117
    if-eqz v0, :cond_26

    .line 2118
    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;
    :try_end_25
    .catch Ljava/io/IOException; {:try_start_1c .. :try_end_25} :catch_81
    .catchall {:try_start_1c .. :try_end_25} :catchall_78

    move-result-object v0

    .line 2125
    :cond_26
    :goto_26
    invoke-static {v1}, Lcom/cleanmaster/hpsharelib/utils/io/IOUtils;->closeSilently(Ljava/io/Closeable;)V

    .line 2126
    invoke-static {v2}, Lcom/cleanmaster/hpsharelib/utils/io/IOUtils;->closeSilently(Ljava/io/Closeable;)V

    .line 2127
    invoke-static {v3}, Lcom/cleanmaster/hpsharelib/utils/io/IOUtils;->closeSilently(Ljava/io/Closeable;)V

    goto :goto_7

    .line 2121
    :catch_30
    move-exception v1

    move-object v1, v0

    move-object v2, v0

    move-object v3, v0

    .line 2122
    :goto_34
    :try_start_34
    sget-object v4, Ljava/lang/System;->err:Ljava/io/PrintStream;

    new-instance v5, Ljava/lang/StringBuilder;

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

    const-string v6, "Commons.readAssetsFileLineString :"

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

    move-result-object v5

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

    move-result-object v5

    const-string/jumbo v6, "\u9519\u8bef"

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

    move-result-object v5

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

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V
    :try_end_53
    .catchall {:try_start_34 .. :try_end_53} :catchall_78

    .line 2125
    invoke-static {v1}, Lcom/cleanmaster/hpsharelib/utils/io/IOUtils;->closeSilently(Ljava/io/Closeable;)V

    .line 2126
    invoke-static {v2}, Lcom/cleanmaster/hpsharelib/utils/io/IOUtils;->closeSilently(Ljava/io/Closeable;)V

    .line 2127
    invoke-static {v3}, Lcom/cleanmaster/hpsharelib/utils/io/IOUtils;->closeSilently(Ljava/io/Closeable;)V

    goto :goto_7

    .line 2125
    :catchall_5d
    move-exception v1

    move-object v2, v0

    move-object v3, v0

    move-object v7, v1

    move-object v1, v0

    move-object v0, v7

    :goto_63
    invoke-static {v1}, Lcom/cleanmaster/hpsharelib/utils/io/IOUtils;->closeSilently(Ljava/io/Closeable;)V

    .line 2126
    invoke-static {v2}, Lcom/cleanmaster/hpsharelib/utils/io/IOUtils;->closeSilently(Ljava/io/Closeable;)V

    .line 2127
    invoke-static {v3}, Lcom/cleanmaster/hpsharelib/utils/io/IOUtils;->closeSilently(Ljava/io/Closeable;)V

    throw v0

    .line 2125
    :catchall_6d
    move-exception v1

    move-object v2, v0

    move-object v7, v0

    move-object v0, v1

    move-object v1, v7

    goto :goto_63

    :catchall_73
    move-exception v1

    move-object v7, v1

    move-object v1, v0

    move-object v0, v7

    goto :goto_63

    :catchall_78
    move-exception v0

    goto :goto_63

    .line 2121
    :catch_7a
    move-exception v1

    move-object v1, v0

    move-object v2, v0

    goto :goto_34

    :catch_7e
    move-exception v1

    move-object v1, v0

    goto :goto_34

    :catch_81
    move-exception v4

    goto :goto_34

    :cond_83
    move-object v1, v0

    move-object v2, v0

    goto :goto_26
.end method

.method public static a(Landroid/content/Context;I)V
    .registers 4

    .prologue
    .line 2254
    if-nez p0, :cond_3

    .line 2267
    :cond_2
    :goto_2
    return-void

    .line 2258
    :cond_3
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/cleanmaster/service/PermanentService;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 2259
    const-string v1, "cheOnAppUsageChangeExck_type"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 2261
    :try_start_f
    invoke-virtual {p0, v0}, Landroid/content/Context;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    move-result-object v0

    if-nez v0, :cond_2

    .line 2262
    const-string v0, "Servive"

    const-string v1, "start service fail"

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_1c
    .catch Ljava/lang/Exception; {:try_start_f .. :try_end_1c} :catch_1d

    goto :goto_2

    .line 2264
    :catch_1d
    move-exception v0

    .line 2265
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_2
.end method

.method public static a(Landroid/content/Context;Lcom/cm/plugincluster/common/IUpdateUIHelper;)V
    .registers 4

    .prologue
    .line 1093
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->isInMainThread()Z

    move-result v0

    if-eqz v0, :cond_b

    .line 1094
    const/4 v0, 0x1

    invoke-static {p0, p1, v0}, Lcom/cleanmaster/base/a;->a(Landroid/content/Context;Lcom/cm/plugincluster/common/IUpdateUIHelper;Z)V

    .line 1104
    :goto_a
    return-void

    .line 1098
    :cond_b
    invoke-static {}, Lcom/keniu/security/l;->e()Lcom/keniu/security/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/keniu/security/l;->l()Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/cleanmaster/base/e;

    invoke-direct {v1, p0, p1}, Lcom/cleanmaster/base/e;-><init>(Landroid/content/Context;Lcom/cm/plugincluster/common/IUpdateUIHelper;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_a
.end method

.method public static a(Landroid/content/Context;Lcom/cm/plugincluster/common/IUpdateUIHelper;Z)V
    .registers 4

    .prologue
    .line 1631
    const/4 v0, 0x0

    invoke-static {p0, p1, p2, v0}, Lcom/cleanmaster/base/a;->a(Landroid/content/Context;Lcom/cm/plugincluster/common/IUpdateUIHelper;ZI)V

    .line 1632
    return-void
.end method

.method public static a(Landroid/content/Context;Lcom/cm/plugincluster/common/IUpdateUIHelper;ZI)V
    .registers 5

    .prologue
    .line 1666
    invoke-static {}, Lcom/cleanmaster/base/a;->t()I

    move-result v0

    sparse-switch v0, :sswitch_data_1c

    .line 1693
    const/4 v0, 0x1

    invoke-static {v0, p0, p1, p3}, Lcom/cleanmaster/base/a;->a(ZLandroid/content/Context;Lcom/cm/plugincluster/common/IUpdateUIHelper;I)V

    .line 1694
    :goto_b
    return-void

    .line 1671
    :sswitch_c
    invoke-static {p0, p2}, Lcom/cleanmaster/base/a;->a(Landroid/content/Context;Z)V

    goto :goto_b

    .line 1676
    :sswitch_10
    invoke-static {p0}, Lcom/cleanmaster/base/a;->f(Landroid/content/Context;)V

    goto :goto_b

    .line 1681
    :sswitch_14
    invoke-static {p0}, Lcom/cleanmaster/base/a;->g(Landroid/content/Context;)V

    goto :goto_b

    .line 1686
    :sswitch_18
    invoke-static {p0}, Lcom/cleanmaster/base/a;->h(Landroid/content/Context;)V

    goto :goto_b

    .line 1666
    :sswitch_data_1c
    .sparse-switch
        0x186a9 -> :sswitch_c
        0x30d41 -> :sswitch_c
        0x30d43 -> :sswitch_10
        0x30d44 -> :sswitch_14
        0x30d45 -> :sswitch_18
        0x30d4d -> :sswitch_c
    .end sparse-switch
.end method

.method public static a(Landroid/content/Context;Lcom/keniu/security/update/w;)V
    .registers 4

    .prologue
    .line 1078
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->isInMainThread()Z

    move-result v0

    if-eqz v0, :cond_b

    .line 1079
    const/4 v0, 0x1

    invoke-static {p0, p1, v0}, Lcom/cleanmaster/base/a;->a(Landroid/content/Context;Lcom/keniu/security/update/w;Z)V

    .line 1089
    :goto_a
    return-void

    .line 1083
    :cond_b
    invoke-static {}, Lcom/keniu/security/l;->e()Lcom/keniu/security/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/keniu/security/l;->l()Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/cleanmaster/base/d;

    invoke-direct {v1, p0, p1}, Lcom/cleanmaster/base/d;-><init>(Landroid/content/Context;Lcom/keniu/security/update/w;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_a
.end method

.method public static a(Landroid/content/Context;Lcom/keniu/security/update/w;Z)V
    .registers 4

    .prologue
    .line 1627
    const/4 v0, 0x0

    invoke-static {p0, p1, p2, v0}, Lcom/cleanmaster/base/a;->a(Landroid/content/Context;Lcom/keniu/security/update/w;ZI)V

    .line 1628
    return-void
.end method

.method public static a(Landroid/content/Context;Lcom/keniu/security/update/w;ZI)V
    .registers 5

    .prologue
    .line 1635
    invoke-static {}, Lcom/cleanmaster/base/a;->t()I

    move-result v0

    sparse-switch v0, :sswitch_data_1c

    .line 1662
    const/4 v0, 0x1

    invoke-static {v0, p0, p1, p3}, Lcom/cleanmaster/base/a;->a(ZLandroid/content/Context;Lcom/keniu/security/update/w;I)V

    .line 1663
    :goto_b
    return-void

    .line 1640
    :sswitch_c
    invoke-static {p0, p2}, Lcom/cleanmaster/base/a;->a(Landroid/content/Context;Z)V

    goto :goto_b

    .line 1645
    :sswitch_10
    invoke-static {p0}, Lcom/cleanmaster/base/a;->f(Landroid/content/Context;)V

    goto :goto_b

    .line 1650
    :sswitch_14
    invoke-static {p0}, Lcom/cleanmaster/base/a;->g(Landroid/content/Context;)V

    goto :goto_b

    .line 1655
    :sswitch_18
    invoke-static {p0}, Lcom/cleanmaster/base/a;->h(Landroid/content/Context;)V

    goto :goto_b

    .line 1635
    :sswitch_data_1c
    .sparse-switch
        0x186a9 -> :sswitch_c
        0x30d41 -> :sswitch_c
        0x30d43 -> :sswitch_10
        0x30d44 -> :sswitch_14
        0x30d45 -> :sswitch_18
        0x30d4d -> :sswitch_c
    .end sparse-switch
.end method

.method public static a(Landroid/content/Context;Z)V
    .registers 8

    .prologue
    const/high16 v5, 0x10000000

    .line 1769
    invoke-static {}, Lcom/keniu/security/f;->a()Ljava/lang/String;

    move-result-object v0

    .line 1770
    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 1771
    invoke-virtual {v1, v5}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 1772
    const-string v2, "com.android.vending"

    const-string v3, "com.google.android.finsky.activities.MainActivity"

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1774
    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, "market://details?id="

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

    move-result-object v2

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

    move-result-object v2

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

    move-result-object v2

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 1777
    invoke-static {p0, v1}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->startActivity(Landroid/content/Context;Landroid/content/Intent;)Z

    move-result v1

    if-eqz v1, :cond_43

    .line 1778
    invoke-static {p0}, Lcom/cleanmaster/base/a;->k(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_42

    if-eqz p1, :cond_42

    .line 1780
    invoke-static {p0}, Lcom/cleanmaster/base/a;->e(Landroid/content/Context;)V

    .line 1796
    :cond_42
    :goto_42
    return-void

    .line 1785
    :cond_43
    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, "https://play.google.com/store/apps/details?id="

    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/String;)Ljava/lang/StringBuilder;

    move-result-object v0

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

    move-result-object v0

    .line 1786
    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    invoke-direct {v1, v2, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    .line 1788
    invoke-virtual {v1, v5}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 1790
    invoke-static {p0, v1}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->startActivity(Landroid/content/Context;Landroid/content/Intent;)Z

    .line 1792
    invoke-static {p0}, Lcom/cleanmaster/base/a;->k(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_42

    if-eqz p1, :cond_42

    .line 1794
    invoke-static {p0}, Lcom/cleanmaster/base/a;->e(Landroid/content/Context;)V

    goto :goto_42
.end method

.method public static a(Ljava/io/File;)V
    .registers 9

    .prologue
    const/4 v2, 0x0

    .line 458
    if-eqz p0, :cond_9

    invoke-virtual {p0}, Ljava/io/File;->exists()Z

    move-result v0

    if-nez v0, :cond_a

    .line 504
    :cond_9
    :goto_9
    return-void

    .line 462
    :cond_a
    invoke-virtual {p0}, Ljava/io/File;->isFile()Z

    move-result v0

    if-eqz v0, :cond_14

    .line 463
    invoke-virtual {p0}, Ljava/io/File;->delete()Z

    goto :goto_9

    .line 465
    :cond_14
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/util/path/PathOperFunc;->listDir(Ljava/lang/String;)Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;

    move-result-object v3

    .line 467
    if-eqz v3, :cond_9

    .line 469
    :try_start_1e
    invoke-interface {v3}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->getFileNameList()Lcom/cm/plugincluster/junkengine/util/path/IKStringList;
    :try_end_21
    .catchall {:try_start_1e .. :try_end_21} :catchall_bd

    move-result-object v1

    .line 470
    if-eqz v1, :cond_64

    .line 471
    :try_start_24
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :goto_28
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_60

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 472
    new-instance v5, Ljava/io/File;

    new-instance v6, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

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

    move-result-object v6

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

    move-result-object v0

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

    move-result-object v0

    invoke-direct {v5, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 473
    invoke-virtual {v5}, Ljava/io/File;->delete()Z
    :try_end_55
    .catchall {:try_start_24 .. :try_end_55} :catchall_56

    goto :goto_28

    .line 495
    :catchall_56
    move-exception v0

    :goto_57
    if-eqz v1, :cond_5c

    .line 496
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 500
    :cond_5c
    invoke-interface {v3}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->release()V

    throw v0

    .line 475
    :cond_60
    :try_start_60
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    move-object v1, v2

    .line 479
    :cond_64
    invoke-interface {v3}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->getFolderNameList()Lcom/cm/plugincluster/junkengine/util/path/IKStringList;

    move-result-object v1

    .line 481
    if-eqz v1, :cond_a0

    .line 482
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :goto_6e
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_9c

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 483
    new-instance v5, Ljava/io/File;

    new-instance v6, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

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

    move-result-object v6

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

    move-result-object v0

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

    move-result-object v0

    invoke-direct {v5, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 484
    invoke-static {v5}, Lcom/cleanmaster/base/a;->a(Ljava/io/File;)V

    goto :goto_6e

    .line 486
    :cond_9c
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    move-object v1, v2

    .line 490
    :cond_a0
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/util/path/PathOperFunc;->listDir(Ljava/lang/String;)Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;

    move-result-object v1

    .line 491
    if-eqz v1, :cond_b0

    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->size()I

    move-result v0

    if-nez v0, :cond_b3

    .line 492
    :cond_b0
    invoke-virtual {p0}, Ljava/io/File;->delete()Z
    :try_end_b3
    .catchall {:try_start_60 .. :try_end_b3} :catchall_56

    .line 495
    :cond_b3
    if-eqz v1, :cond_b8

    .line 496
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 500
    :cond_b8
    invoke-interface {v3}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->release()V

    goto/16 :goto_9

    .line 495
    :catchall_bd
    move-exception v0

    move-object v1, v2

    goto :goto_57
.end method

.method public static a(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;)V
    .registers 3

    .prologue
    .line 371
    const/4 v0, 0x0

    invoke-static {p0, p1, v0}, Lcom/cleanmaster/base/a;->a(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;I)V

    .line 372
    return-void
.end method

.method public static a(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;I)V
    .registers 5

    .prologue
    .line 381
    if-eqz p1, :cond_a

    invoke-interface {p1}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->getEnableFlags()I

    move-result v0

    and-int/lit8 v0, v0, 0x40

    if-nez v0, :cond_15

    .line 382
    :cond_a
    if-eqz p0, :cond_15

    .line 383
    const-string v0, "DFi"

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/utils/OpLog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 386
    :cond_15
    const/4 v0, 0x1

    invoke-static {p0, p1, v0, p2}, Lcom/cleanmaster/base/a;->a(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZI)V

    .line 387
    return-void
.end method

.method private static a(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;II)V
    .registers 14

    .prologue
    const/4 v2, 0x0

    const/4 v0, 0x0

    .line 412
    add-int/lit8 v4, p2, -0x1

    if-gtz p2, :cond_7

    .line 455
    :cond_6
    :goto_6
    return-void

    .line 416
    :cond_7
    sput-object p0, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    .line 417
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/cleanmaster/util/path/PathOperFunc;->listDir(Ljava/lang/String;)Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;

    move-result-object v5

    .line 419
    if-eqz v5, :cond_6

    .line 421
    :try_start_13
    invoke-interface {v5}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->getFileNameList()Lcom/cm/plugincluster/junkengine/util/path/IKStringList;
    :try_end_16
    .catchall {:try_start_13 .. :try_end_16} :catchall_c0

    move-result-object v1

    .line 422
    if-eqz v1, :cond_7e

    .line 424
    :try_start_19
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->size()I

    move-result v3

    if-lez v3, :cond_c3

    .line 425
    if-lez p3, :cond_c3

    const v3, 0xffff

    if-eq p3, v3, :cond_c3

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

    move-result-wide v6

    invoke-virtual {p0}, Ljava/io/File;->lastModified()J

    move-result-wide v8

    sub-long/2addr v6, v8

    mul-int/lit8 v3, p3, 0x18

    mul-int/lit8 v3, v3, 0x3c

    mul-int/lit8 v3, v3, 0x3c

    mul-int/lit16 v3, v3, 0x3e8

    int-to-long v8, v3

    cmp-long v3, v6, v8

    if-gez v3, :cond_c3

    move v3, p3

    .line 431
    :goto_3d
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->iterator()Ljava/util/Iterator;

    move-result-object v6

    :goto_41
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_7a

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 432
    new-instance v7, Ljava/io/File;

    new-instance v8, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v9

    invoke-static {v9}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

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

    move-result-object v8

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

    move-result-object v0

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

    move-result-object v0

    invoke-direct {v7, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 433
    const/4 v0, 0x0

    invoke-static {v7, p1, v0, v3}, Lcom/cleanmaster/base/a;->b(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZI)Z
    :try_end_6f
    .catchall {:try_start_19 .. :try_end_6f} :catchall_70

    goto :goto_41

    .line 447
    :catchall_70
    move-exception v0

    :goto_71
    if-eqz v1, :cond_76

    .line 448
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 452
    :cond_76
    invoke-interface {v5}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->release()V

    throw v0

    .line 435
    :cond_7a
    :try_start_7a
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    move-object v1, v2

    .line 439
    :cond_7e
    invoke-interface {v5}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->getFolderNameList()Lcom/cm/plugincluster/junkengine/util/path/IKStringList;

    move-result-object v1

    .line 440
    if-eqz v1, :cond_b6

    .line 441
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_88
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_b6

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 442
    new-instance v3, Ljava/io/File;

    new-instance v6, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

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

    move-result-object v6

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

    move-result-object v0

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

    move-result-object v0

    invoke-direct {v3, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 443
    invoke-static {v3, p1, v4, p3}, Lcom/cleanmaster/base/a;->a(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;II)V
    :try_end_b5
    .catchall {:try_start_7a .. :try_end_b5} :catchall_70

    goto :goto_88

    .line 447
    :cond_b6
    if-eqz v1, :cond_bb

    .line 448
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 452
    :cond_bb
    invoke-interface {v5}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->release()V

    goto/16 :goto_6

    .line 447
    :catchall_c0
    move-exception v0

    move-object v1, v2

    goto :goto_71

    :cond_c3
    move v3, v0

    goto/16 :goto_3d
.end method

.method private static a(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZI)V
    .registers 7

    .prologue
    const/4 v2, 0x0

    const/4 v1, 0x0

    .line 390
    if-nez p0, :cond_5

    .line 407
    :goto_4
    return-void

    .line 394
    :cond_5
    invoke-virtual {p0}, Ljava/io/File;->isFile()Z

    move-result v0

    if-eqz v0, :cond_f

    .line 395
    invoke-static {p0, p1, v2, v2}, Lcom/cleanmaster/base/a;->b(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZI)Z

    goto :goto_4

    .line 399
    :cond_f
    const/16 v0, 0x80

    :try_start_11
    invoke-static {p0, p1, v0, p3}, Lcom/cleanmaster/base/a;->a(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;II)V
    :try_end_14
    .catch Ljava/lang/StackOverflowError; {:try_start_11 .. :try_end_14} :catch_17
    .catchall {:try_start_11 .. :try_end_14} :catchall_1b

    .line 404
    sput-object v1, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    goto :goto_4

    .line 400
    :catch_17
    move-exception v0

    .line 404
    sput-object v1, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    goto :goto_4

    :catchall_1b
    move-exception v0

    sput-object v1, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    throw v0
.end method

.method private static a(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZZZI)V
    .registers 13

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    const/4 v6, 0x0

    .line 748
    if-nez p0, :cond_6

    .line 790
    :cond_5
    :goto_5
    return-void

    .line 752
    :cond_6
    if-nez p4, :cond_c

    if-eqz p3, :cond_c

    if-nez p2, :cond_14

    :cond_c
    if-nez p1, :cond_14

    .line 753
    invoke-static {p0, v6, v2, v1}, Lcom/cleanmaster/base/a;->b(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZI)Z

    move-result v0

    if-nez v0, :cond_5

    .line 758
    :cond_14
    invoke-virtual {p0}, Ljava/io/File;->isFile()Z

    move-result v0

    if-eqz v0, :cond_20

    .line 759
    if-eqz p4, :cond_5

    .line 760
    invoke-static {p0, p1, v2, v1}, Lcom/cleanmaster/base/a;->b(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZI)Z

    goto :goto_5

    .line 764
    :cond_20
    const/4 v1, 0x0

    const/16 v4, 0x80

    move-object v0, p0

    move-object v2, p1

    move v3, p4

    move v5, p5

    :try_start_27
    invoke-static/range {v0 .. v5}, Lcom/cleanmaster/base/a;->a(Ljava/io/File;ZLcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZII)V
    :try_end_2a
    .catch Ljava/lang/StackOverflowError; {:try_start_27 .. :try_end_2a} :catch_59
    .catchall {:try_start_27 .. :try_end_2a} :catchall_5d

    .line 769
    sput-object v6, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    .line 772
    :goto_2c
    if-eqz p3, :cond_30

    if-nez p2, :cond_4f

    .line 773
    :cond_30
    invoke-virtual {p0}, Ljava/io/File;->delete()Z

    .line 774
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x13

    if-lt v0, v1, :cond_4f

    .line 775
    invoke-virtual {p0}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_4f

    .line 777
    :try_start_3f
    new-instance v0, Lcom/cleanmaster/util/MediaFile;

    .line 778
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v1

    invoke-direct {v0, v1, p0}, Lcom/cleanmaster/util/MediaFile;-><init>(Landroid/content/ContentResolver;Ljava/io/File;)V

    invoke-virtual {v0}, Lcom/cleanmaster/util/MediaFile;->delete()Z
    :try_end_4f
    .catch Ljava/io/IOException; {:try_start_3f .. :try_end_4f} :catch_61

    .line 786
    :cond_4f
    :goto_4f
    if-eqz p1, :cond_5

    .line 787
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v0}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->afterFolderDel(Ljava/lang/String;)V

    goto :goto_5

    .line 765
    :catch_59
    move-exception v0

    .line 769
    sput-object v6, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    goto :goto_2c

    :catchall_5d
    move-exception v0

    sput-object v6, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    throw v0

    .line 779
    :catch_61
    move-exception v0

    .line 780
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_4f
.end method

.method private static a(Ljava/io/File;ZLcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZII)V
    .registers 18

    .prologue
    .line 794
    add-int/lit8 v6, p4, -0x1

    if-gtz p4, :cond_5

    .line 860
    :cond_4
    :goto_4
    return-void

    .line 798
    :cond_5
    sput-object p0, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    .line 799
    if-eqz p2, :cond_19

    .line 800
    invoke-interface {p2}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->getEnableFlags()I

    move-result v2

    and-int/lit8 v2, v2, 0x1

    const/4 v3, 0x1

    if-ne v2, v3, :cond_19

    .line 801
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-interface {p2, v2}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->notifyFolderDel(Ljava/lang/String;)V

    .line 805
    :cond_19
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/cleanmaster/util/path/PathOperFunc;->listDir(Ljava/lang/String;)Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;

    move-result-object v9

    .line 806
    const/4 v3, 0x0

    .line 807
    if-eqz v9, :cond_df

    .line 809
    if-eqz p3, :cond_95

    .line 810
    :try_start_26
    invoke-interface {v9}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->getFileNameList()Lcom/cm/plugincluster/junkengine/util/path/IKStringList;

    move-result-object v3

    .line 811
    if-eqz v3, :cond_95

    .line 812
    const/4 v2, 0x0

    .line 813
    invoke-interface {v3}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->size()I

    move-result v4

    if-lez v4, :cond_108

    .line 814
    if-lez p5, :cond_108

    const v4, 0xffff

    move/from16 v0, p5

    if-eq v0, v4, :cond_108

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

    move-result-wide v4

    invoke-virtual {p0}, Ljava/io/File;->lastModified()J

    move-result-wide v10

    sub-long/2addr v4, v10

    mul-int/lit8 v7, p5, 0x18

    mul-int/lit8 v7, v7, 0x3c

    mul-int/lit8 v7, v7, 0x3c

    mul-int/lit16 v7, v7, 0x3e8

    int-to-long v10, v7

    cmp-long v4, v4, v10

    if-gez v4, :cond_108

    move/from16 v4, p5

    .line 820
    :goto_54
    invoke-interface {v3}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :goto_58
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_91

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

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 821
    new-instance v7, Ljava/io/File;

    new-instance v8, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v10

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

    move-result-object v8

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

    move-result-object v2

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

    move-result-object v2

    invoke-direct {v7, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 822
    const/4 v2, 0x1

    invoke-static {v7, p2, v2, v4}, Lcom/cleanmaster/base/a;->b(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZI)Z
    :try_end_86
    .catchall {:try_start_26 .. :try_end_86} :catchall_87

    goto :goto_58

    .line 838
    :catchall_87
    move-exception v2

    :goto_88
    if-eqz v3, :cond_8d

    .line 839
    invoke-interface {v3}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 843
    :cond_8d
    invoke-interface {v9}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->release()V

    throw v2

    .line 824
    :cond_91
    :try_start_91
    invoke-interface {v3}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 825
    const/4 v3, 0x0

    .line 829
    :cond_95
    invoke-interface {v9}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->getFolderNameList()Lcom/cm/plugincluster/junkengine/util/path/IKStringList;
    :try_end_98
    .catchall {:try_start_91 .. :try_end_98} :catchall_87

    move-result-object v8

    .line 831
    if-eqz v8, :cond_d7

    .line 832
    :try_start_9b
    invoke-interface {v8}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->iterator()Ljava/util/Iterator;

    move-result-object v10

    :goto_9f
    invoke-interface {v10}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_d7

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

    move-result-object v2

    move-object v0, v2

    check-cast v0, Ljava/lang/String;

    move-object v3, v0

    .line 833
    new-instance v2, Ljava/io/File;

    new-instance v4, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

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

    move-result-object v4

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

    move-result-object v3

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

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 834
    const/4 v3, 0x1

    move-object v4, p2

    move v5, p3

    move/from16 v7, p5

    invoke-static/range {v2 .. v7}, Lcom/cleanmaster/base/a;->a(Ljava/io/File;ZLcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZII)V
    :try_end_d3
    .catchall {:try_start_9b .. :try_end_d3} :catchall_d4

    goto :goto_9f

    .line 838
    :catchall_d4
    move-exception v2

    move-object v3, v8

    goto :goto_88

    :cond_d7
    if-eqz v8, :cond_dc

    .line 839
    invoke-interface {v8}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 843
    :cond_dc
    invoke-interface {v9}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->release()V

    .line 847
    :cond_df
    if-eqz p1, :cond_4

    .line 848
    invoke-virtual {p0}, Ljava/io/File;->delete()Z

    .line 849
    sget v2, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x13

    if-lt v2, v3, :cond_4

    .line 850
    invoke-virtual {p0}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_4

    .line 852
    :try_start_f0
    new-instance v2, Lcom/cleanmaster/util/MediaFile;

    .line 853
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v3

    invoke-virtual {v3}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v3

    invoke-direct {v2, v3, p0}, Lcom/cleanmaster/util/MediaFile;-><init>(Landroid/content/ContentResolver;Ljava/io/File;)V

    invoke-virtual {v2}, Lcom/cleanmaster/util/MediaFile;->delete()Z
    :try_end_100
    .catch Ljava/io/IOException; {:try_start_f0 .. :try_end_100} :catch_102

    goto/16 :goto_4

    .line 854
    :catch_102
    move-exception v2

    .line 855
    invoke-virtual {v2}, Ljava/io/IOException;->printStackTrace()V

    goto/16 :goto_4

    :cond_108
    move v4, v2

    goto/16 :goto_54
.end method

.method private static a(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;Lcom/cm/plugincluster/junkengine/util/INameFilter;)V
    .registers 14
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/cleanmaster/base/a$a;",
            ">;",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/cleanmaster/base/a$a;",
            ">;",
            "Ljava/lang/String;",
            "Lcom/cm/plugincluster/junkengine/util/INameFilter;",
            ")V"
        }
    .end annotation

    .prologue
    .line 701
    const-wide/16 v4, 0x1388

    .line 702
    const-wide/16 v6, 0x0

    .line 703
    new-instance v8, Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 v0, 0x1

    invoke-direct {v8, v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V

    .line 705
    const/4 v0, 0x0

    move v9, v0

    :goto_c
    const/16 v0, 0x1f4

    if-ge v9, v0, :cond_1e

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    .line 706
    :try_start_14
    invoke-static/range {v0 .. v8}, Lcom/cleanmaster/base/a;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;Lcom/cm/plugincluster/junkengine/util/INameFilter;JJLjava/util/concurrent/atomic/AtomicBoolean;)V

    .line 707
    add-long/2addr v6, v4

    .line 708
    invoke-virtual {v8}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
    :try_end_1b
    .catch Ljava/lang/OutOfMemoryError; {:try_start_14 .. :try_end_1b} :catch_23

    move-result v0

    if-nez v0, :cond_1f

    .line 717
    :cond_1e
    return-void

    .line 705
    :cond_1f
    add-int/lit8 v0, v9, 0x1

    move v9, v0

    goto :goto_c

    .line 712
    :catch_23
    move-exception v0

    .line 713
    new-instance v1, Ljava/lang/OutOfMemoryError;

    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, "directListFilesInDirandSubDirByMediaStore path:"

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

    move-result-object v2

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

    move-result-object v2

    const-string v3, " nLimitOffset:"

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

    move-result-object v2

    invoke-virtual {v2, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

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

    move-result-object v2

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

    .line 714
    invoke-virtual {v1, v0}, Ljava/lang/OutOfMemoryError;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;

    .line 715
    throw v1
.end method

.method public static a(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;Lcom/cm/plugincluster/junkengine/util/INameFilter;I)V
    .registers 14
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/cleanmaster/base/a$a;",
            ">;",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/cleanmaster/base/a$a;",
            ">;",
            "Ljava/lang/String;",
            "Lcom/cm/plugincluster/junkengine/util/INameFilter;",
            "I)V"
        }
    .end annotation

    .prologue
    const/4 v2, 0x0

    .line 588
    add-int/lit8 v3, p4, -0x1

    if-gtz p4, :cond_6

    .line 625
    :cond_5
    :goto_5
    return-void

    .line 592
    :cond_6
    invoke-static {p2, p3}, Lcom/cleanmaster/util/path/PathOperFunc;->listDir(Ljava/lang/String;Lcom/cm/plugincluster/junkengine/util/INameFilter;)Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;

    move-result-object v4

    .line 593
    if-eqz v4, :cond_5

    .line 596
    :try_start_c
    invoke-interface {v4}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->getFileNameList()Lcom/cm/plugincluster/junkengine/util/path/IKStringList;
    :try_end_f
    .catchall {:try_start_c .. :try_end_f} :catchall_95

    move-result-object v1

    .line 597
    if-eqz v1, :cond_50

    .line 598
    if-eqz p0, :cond_4c

    .line 599
    :try_start_14
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :goto_18
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_4c

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 600
    new-instance v6, Lcom/cleanmaster/base/a$a;

    new-instance v7, Ljava/lang/StringBuilder;

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

    invoke-static {p2}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

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

    move-result-object v7

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

    move-result-object v0

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

    move-result-object v0

    invoke-direct {v6, v0}, Lcom/cleanmaster/base/a$a;-><init>(Ljava/lang/String;)V

    invoke-virtual {p0, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    :try_end_41
    .catchall {:try_start_14 .. :try_end_41} :catchall_42

    goto :goto_18

    .line 618
    :catchall_42
    move-exception v0

    :goto_43
    if-eqz v1, :cond_48

    .line 619
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 622
    :cond_48
    invoke-interface {v4}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->release()V

    throw v0

    .line 603
    :cond_4c
    :try_start_4c
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    move-object v1, v2

    .line 607
    :cond_50
    invoke-interface {v4}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->getFolderNameList()Lcom/cm/plugincluster/junkengine/util/path/IKStringList;

    move-result-object v1

    .line 608
    if-eqz v1, :cond_8b

    .line 609
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_5a
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_8b

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 610
    new-instance v5, Ljava/lang/StringBuilder;

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

    invoke-static {p2}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

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

    move-result-object v5

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

    move-result-object v0

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

    move-result-object v0

    .line 611
    if-eqz p1, :cond_85

    .line 612
    new-instance v5, Lcom/cleanmaster/base/a$a;

    invoke-direct {v5, v0}, Lcom/cleanmaster/base/a$a;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 614
    :cond_85
    add-int/lit8 v5, v3, -0x1

    invoke-static {p0, p1, v0, p3, v5}, Lcom/cleanmaster/base/a;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;Lcom/cm/plugincluster/junkengine/util/INameFilter;I)V
    :try_end_8a
    .catchall {:try_start_4c .. :try_end_8a} :catchall_42

    goto :goto_5a

    .line 618
    :cond_8b
    if-eqz v1, :cond_90

    .line 619
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 622
    :cond_90
    invoke-interface {v4}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->release()V

    goto/16 :goto_5

    .line 618
    :catchall_95
    move-exception v0

    move-object v1, v2

    goto :goto_43
.end method

.method private static a(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;Lcom/cm/plugincluster/junkengine/util/INameFilter;JJLjava/util/concurrent/atomic/AtomicBoolean;)V
    .registers 27
    .annotation build Landroid/annotation/TargetApi;
        value = 0xb
    .end annotation

    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/cleanmaster/base/a$a;",
            ">;",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/cleanmaster/base/a$a;",
            ">;",
            "Ljava/lang/String;",
            "Lcom/cm/plugincluster/junkengine/util/INameFilter;",
            "JJ",
            "Ljava/util/concurrent/atomic/AtomicBoolean;",
            ")V"
        }
    .end annotation

    .prologue
    .line 632
    const-string v5, "_data > ? AND _data < ? and title!=\'.nomedia\'"

    .line 634
    if-eqz p0, :cond_f4

    if-eqz p1, :cond_f4

    .line 641
    :goto_6
    const/4 v2, 0x0

    move-object/from16 v0, p8

    invoke-virtual {v0, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    .line 642
    const/4 v8, 0x0

    .line 643
    const/4 v2, 0x5

    new-array v4, v2, [Ljava/lang/String;

    const/4 v2, 0x0

    const-string v3, "_data"

    aput-object v3, v4, v2

    const/4 v2, 0x1

    const-string v3, "format"

    aput-object v3, v4, v2

    const/4 v2, 0x2

    const-string v3, "date_modified"

    aput-object v3, v4, v2

    const/4 v2, 0x3

    const-string v3, "_size"

    aput-object v3, v4, v2

    const/4 v2, 0x4

    const-string v3, "mime_type"

    aput-object v3, v4, v2

    .line 651
    :try_start_29
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v2

    const-string v3, "external"

    .line 652
    invoke-static {v3}, Landroid/provider/MediaStore$Files;->getContentUri(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v3

    const/4 v6, 0x2

    new-array v6, v6, [Ljava/lang/String;

    const/4 v7, 0x0

    .line 653
    invoke-static/range {p2 .. p2}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    aput-object v9, v6, v7

    const/4 v7, 0x1

    invoke-static/range {p2 .. p2}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->replaceEndSlashBy0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    aput-object v9, v6, v7

    new-instance v7, Ljava/lang/StringBuilder;

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

    const-string v9, "_id limit "

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

    move-result-object v7

    move-wide/from16 v0, p4

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

    move-result-object v7

    const-string v9, " offset "

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

    move-result-object v7

    move-wide/from16 v0, p6

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

    move-result-object v7

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

    move-result-object v7

    .line 652
    invoke-virtual/range {v2 .. v7}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
    :try_end_6c
    .catch Ljava/lang/Exception; {:try_start_29 .. :try_end_6c} :catch_165
    .catchall {:try_start_29 .. :try_end_6c} :catchall_150

    move-result-object v16

    .line 654
    if-eqz v16, :cond_e8

    :try_start_6f
    invoke-interface/range {v16 .. v16}, Landroid/database/Cursor;->moveToFirst()Z

    move-result v2

    if-eqz v2, :cond_e8

    .line 655
    invoke-interface/range {v16 .. v16}, Landroid/database/Cursor;->getCount()I

    move-result v2

    int-to-long v2, v2

    cmp-long v2, v2, p4

    if-nez v2, :cond_84

    .line 656
    const/4 v2, 0x1

    move-object/from16 v0, p8

    invoke-virtual {v0, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    .line 659
    :cond_84
    const/4 v2, 0x0

    move-object/from16 v0, v16

    invoke-interface {v0, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    .line 660
    const/4 v2, 0x1

    move-object/from16 v0, v16

    invoke-interface {v0, v2}, Landroid/database/Cursor;->getLong(I)J

    move-result-wide v8

    .line 661
    const/4 v2, 0x2

    move-object/from16 v0, v16

    invoke-interface {v0, v2}, Landroid/database/Cursor;->getLong(I)J

    move-result-wide v4

    .line 662
    const/4 v2, 0x3

    move-object/from16 v0, v16

    invoke-interface {v0, v2}, Landroid/database/Cursor;->getLong(I)J

    move-result-wide v6

    .line 663
    const/4 v2, 0x4

    move-object/from16 v0, v16

    invoke-interface {v0, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v10

    .line 664
    const-wide/16 v12, 0x3001

    cmp-long v2, v8, v12

    if-nez v2, :cond_120

    const/4 v2, 0x1

    move v8, v2

    .line 666
    :goto_af
    if-eqz p0, :cond_b3

    if-eqz v8, :cond_b7

    :cond_b3
    if-eqz p1, :cond_e2

    if-eqz v8, :cond_e2

    .line 667
    :cond_b7
    const/4 v2, 0x1

    .line 668
    if-eqz p3, :cond_d4

    .line 669
    const/16 v9, 0x2f

    invoke-virtual {v3, v9}, Ljava/lang/String;->lastIndexOf(I)I

    move-result v9

    .line 670
    const/4 v11, -0x1

    if-eq v9, v11, :cond_d4

    .line 671
    const/4 v2, 0x0

    invoke-virtual {v3, v2, v9}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    add-int/lit8 v9, v9, 0x1

    invoke-virtual {v3, v9}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v9

    move-object/from16 v0, p3

    invoke-interface {v0, v2, v9, v8}, Lcom/cm/plugincluster/junkengine/util/INameFilter;->accept(Ljava/lang/String;Ljava/lang/String;Z)Z

    move-result v2

    .line 674
    :cond_d4
    if-eqz v2, :cond_e2

    .line 675
    if-eqz v8, :cond_123

    .line 676
    new-instance v2, Lcom/cleanmaster/base/a$a;

    invoke-direct {v2, v3}, Lcom/cleanmaster/base/a$a;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p1

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

    .line 686
    :cond_e2
    :goto_e2
    invoke-interface/range {v16 .. v16}, Landroid/database/Cursor;->moveToNext()Z
    :try_end_e5
    .catch Ljava/lang/Exception; {:try_start_6f .. :try_end_e5} :catch_13e
    .catchall {:try_start_6f .. :try_end_e5} :catchall_15f

    move-result v2

    if-nez v2, :cond_84

    .line 691
    :cond_e8
    if-eqz v16, :cond_f3

    invoke-interface/range {v16 .. v16}, Landroid/database/Cursor;->isClosed()Z

    move-result v2

    if-nez v2, :cond_f3

    .line 692
    invoke-interface/range {v16 .. v16}, Landroid/database/Cursor;->close()V

    .line 696
    :cond_f3
    :goto_f3
    return-void

    .line 636
    :cond_f4
    if-eqz p0, :cond_10b

    .line 637
    new-instance v2, Ljava/lang/StringBuilder;

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

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

    move-result-object v2

    const-string v3, " AND format != 12289"

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

    move-result-object v2

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

    move-result-object v5

    goto/16 :goto_6

    .line 639
    :cond_10b
    new-instance v2, Ljava/lang/StringBuilder;

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

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

    move-result-object v2

    const-string v3, " AND format = 12289"

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

    move-result-object v2

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

    move-result-object v5

    goto/16 :goto_6

    .line 664
    :cond_120
    const/4 v2, 0x0

    move v8, v2

    goto :goto_af

    .line 678
    :cond_123
    if-eqz p3, :cond_12a

    move-object/from16 v2, p3

    .line 679
    :try_start_127
    invoke-interface/range {v2 .. v7}, Lcom/cm/plugincluster/junkengine/util/INameFilter;->onFile(Ljava/lang/String;JJ)V

    .line 681
    :cond_12a
    new-instance v8, Lcom/cleanmaster/base/a$a;

    .line 682
    invoke-static {v10}, Lcom/cleanmaster/base/a$a;->a(Ljava/lang/String;)I

    move-result v14

    sget-byte v15, Lcom/cleanmaster/base/a$a;->f:B

    move-object v9, v3

    move-wide v10, v6

    move-wide v12, v4

    invoke-direct/range {v8 .. v15}, Lcom/cleanmaster/base/a$a;-><init>(Ljava/lang/String;JJIB)V

    .line 681
    move-object/from16 v0, p0

    invoke-virtual {v0, v8}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    :try_end_13d
    .catch Ljava/lang/Exception; {:try_start_127 .. :try_end_13d} :catch_13e
    .catchall {:try_start_127 .. :try_end_13d} :catchall_15f

    goto :goto_e2

    .line 688
    :catch_13e
    move-exception v2

    move-object/from16 v3, v16

    .line 689
    :goto_141
    :try_start_141
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_144
    .catchall {:try_start_141 .. :try_end_144} :catchall_161

    .line 691
    if-eqz v3, :cond_f3

    invoke-interface {v3}, Landroid/database/Cursor;->isClosed()Z

    move-result v2

    if-nez v2, :cond_f3

    .line 692
    invoke-interface {v3}, Landroid/database/Cursor;->close()V

    goto :goto_f3

    .line 691
    :catchall_150
    move-exception v2

    move-object/from16 v16, v8

    :goto_153
    if-eqz v16, :cond_15e

    invoke-interface/range {v16 .. v16}, Landroid/database/Cursor;->isClosed()Z

    move-result v3

    if-nez v3, :cond_15e

    .line 692
    invoke-interface/range {v16 .. v16}, Landroid/database/Cursor;->close()V

    .line 693
    :cond_15e
    throw v2

    .line 691
    :catchall_15f
    move-exception v2

    goto :goto_153

    :catchall_161
    move-exception v2

    move-object/from16 v16, v3

    goto :goto_153

    .line 688
    :catch_165
    move-exception v2

    move-object v3, v8

    goto :goto_141
.end method

.method public static a(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/List;Ljava/util/HashMap;ZI)V
    .registers 13
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/cleanmaster/base/a$a;",
            ">;",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/cleanmaster/base/a$a;",
            ">;",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/Object;",
            "Ljava/lang/Integer;",
            ">;ZI)V"
        }
    .end annotation

    .prologue
    .line 140
    const/4 v6, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move v4, p4

    move v5, p5

    invoke-static/range {v0 .. v6}, Lcom/cleanmaster/base/a;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/List;Ljava/util/HashMap;ZIZ)V

    .line 141
    return-void
.end method

.method public static a(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/List;Ljava/util/HashMap;ZIZ)V
    .registers 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/cleanmaster/base/a$a;",
            ">;",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/cleanmaster/base/a$a;",
            ">;",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/Object;",
            "Ljava/lang/Integer;",
            ">;ZIZ)V"
        }
    .end annotation

    .prologue
    .line 511
    if-nez p0, :cond_4

    if-eqz p1, :cond_a

    :cond_4
    if-eqz p3, :cond_a

    if-eqz p2, :cond_a

    if-nez p5, :cond_b

    .line 584
    :cond_a
    return-void

    .line 515
    :cond_b
    new-instance v1, Lcom/cleanmaster/base/c;

    invoke-direct {v1, p3, p4}, Lcom/cleanmaster/base/c;-><init>(Ljava/util/HashMap;Z)V

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

    move-result-object v2

    :goto_14
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_a

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 577
    new-instance v3, Ljava/io/File;

    invoke-direct {v3, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    sput-object v3, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    .line 578
    if-eqz p6, :cond_33

    sget v3, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v4, 0xb

    if-lt v3, v4, :cond_33

    .line 579
    invoke-static {p0, p1, v0, v1}, Lcom/cleanmaster/base/a;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;Lcom/cm/plugincluster/junkengine/util/INameFilter;)V

    goto :goto_14

    .line 581
    :cond_33
    invoke-static {p0, p1, v0, v1, p5}, Lcom/cleanmaster/base/a;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;Lcom/cm/plugincluster/junkengine/util/INameFilter;I)V

    goto :goto_14
.end method

.method public static a(ZLandroid/content/Context;Lcom/cm/plugincluster/common/IUpdateUIHelper;I)V
    .registers 8

    .prologue
    .line 1732
    invoke-static {p1}, Lcom/cleanmaster/hpsharelib/base/util/net/NetworkUtil;->IsNetworkAvailable(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_41

    .line 1733
    new-instance v0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;

    invoke-direct {v0, p1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 1734
    const v1, 0x7f0a1914

    invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Ljava/lang/Object;

    .line 1735
    const v1, 0x7f0a191a

    invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Ljava/lang/Object;

    .line 1737
    const v1, 0x7f0a1915

    .line 1738
    invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/cleanmaster/base/g;

    invoke-direct {v2, p1}, Lcom/cleanmaster/base/g;-><init>(Landroid/content/Context;)V

    .line 1737
    invoke-virtual {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Ljava/lang/Object;

    .line 1745
    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->enableShowWithSuitableHeight(Z)Ljava/lang/Object;

    .line 1746
    const v1, 0x7f0a1912

    invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Ljava/lang/Object;

    .line 1748
    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->show()Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog;

    .line 1760
    :goto_40
    return-void

    .line 1753
    :cond_41
    if-nez p2, :cond_48

    .line 1754
    new-instance p2, Lcom/keniu/security/update/w;

    invoke-direct {p2, p1, p3}, Lcom/keniu/security/update/w;-><init>(Landroid/content/Context;I)V

    .line 1755
    :cond_48
    invoke-interface {p2, p0}, Lcom/cm/plugincluster/common/IUpdateUIHelper;->startCommonCheck(Z)V

    .line 1758
    invoke-static {p1}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;

    move-result-object v0

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

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->setUpdateDate(J)V

    goto :goto_40
.end method

.method public static a(ZLandroid/content/Context;Lcom/keniu/security/update/w;I)V
    .registers 8

    .prologue
    .line 1699
    invoke-static {p1}, Lcom/cleanmaster/hpsharelib/base/util/net/NetworkUtil;->IsNetworkAvailable(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_41

    .line 1700
    new-instance v0, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;

    invoke-direct {v0, p1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 1701
    const v1, 0x7f0a1914

    invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Ljava/lang/Object;

    .line 1702
    const v1, 0x7f0a191a

    invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Ljava/lang/Object;

    .line 1704
    const v1, 0x7f0a1915

    .line 1705
    invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/cleanmaster/base/f;

    invoke-direct {v2, p1}, Lcom/cleanmaster/base/f;-><init>(Landroid/content/Context;)V

    .line 1704
    invoke-virtual {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Ljava/lang/Object;

    .line 1712
    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->enableShowWithSuitableHeight(Z)Ljava/lang/Object;

    .line 1713
    const v1, 0x7f0a1912

    invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Ljava/lang/Object;

    .line 1715
    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog$Builder;->show()Lcom/cleanmaster/hpsharelib/ui/dlg/alert/MyAlertDialog;

    .line 1727
    :goto_40
    return-void

    .line 1720
    :cond_41
    if-nez p2, :cond_48

    .line 1721
    new-instance p2, Lcom/keniu/security/update/w;

    invoke-direct {p2, p1, p3}, Lcom/keniu/security/update/w;-><init>(Landroid/content/Context;I)V

    .line 1722
    :cond_48
    invoke-virtual {p2, p0}, Lcom/keniu/security/update/w;->startCommonCheck(Z)V

    .line 1725
    invoke-static {p1}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;

    move-result-object v0

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

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->setUpdateDate(J)V

    goto :goto_40
.end method

.method public static a()Z
    .registers 8
    .annotation build Landroid/annotation/TargetApi;
        value = 0xc
    .end annotation

    .prologue
    const/4 v2, 0x0

    .line 309
    sget-object v0, Lcom/cleanmaster/base/a;->b:Ljava/lang/Boolean;

    if-eqz v0, :cond_c

    .line 310
    sget-object v0, Lcom/cleanmaster/base/a;->b:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    .line 360
    :goto_b
    return v0

    .line 312
    :cond_c
    const/4 v1, 0x1

    .line 315
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x13

    if-ge v0, v3, :cond_1c

    move v0, v1

    .line 359
    :goto_14
    new-instance v1, Ljava/lang/Boolean;

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

    sput-object v1, Lcom/cleanmaster/base/a;->b:Ljava/lang/Boolean;

    goto :goto_b

    .line 318
    :cond_1c
    const-string v0, "android.permission.WRITE_EXTERNAL_STORAGE"

    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/base/util/system/SystemUtils;->simpleCheckSelfPermission(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_26

    move v0, v2

    .line 320
    goto :goto_14

    .line 323
    :cond_26
    new-instance v0, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;

    invoke-direct {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;-><init>()V

    .line 324
    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;->getMountedVolumePaths()Ljava/util/ArrayList;

    move-result-object v0

    .line 325
    if-eqz v0, :cond_37

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v3

    if-eqz v3, :cond_55

    .line 326
    :cond_37
    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object v0

    const-string v3, "mounted"

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_45

    move v0, v1

    .line 328
    goto :goto_14

    .line 330
    :cond_45
    new-instance v0, Ljava/util/ArrayList;

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

    .line 331
    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v3

    invoke-virtual {v3}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 334
    :cond_55
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v3

    const/4 v4, 0x2

    if-ge v3, v4, :cond_5e

    move v0, v1

    .line 335
    goto :goto_14

    .line 339
    :cond_5e
    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_62
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_d7

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 340
    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v4

    invoke-virtual {v4}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_62

    .line 341
    new-instance v4, Ljava/io/File;

    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v5, ".CleanMaster"

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

    move-result-object v3

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

    move-result-wide v6

    invoke-virtual {v3, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v5, ".tmp"

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

    move-result-object v3

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

    move-result-object v3

    invoke-direct {v4, v0, v3}, Ljava/io/File;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 344
    :try_start_9e
    invoke-virtual {v4}, Ljava/io/File;->createNewFile()Z
    :try_end_a1
    .catch Ljava/io/IOException; {:try_start_9e .. :try_end_a1} :catch_aa

    move-result v3

    .line 348
    :goto_a2
    if-eqz v3, :cond_b0

    .line 349
    invoke-virtual {v4}, Ljava/io/File;->delete()Z

    move v0, v1

    goto/16 :goto_14

    .line 345
    :catch_aa
    move-exception v3

    .line 346
    invoke-virtual {v3}, Ljava/io/IOException;->printStackTrace()V

    move v3, v2

    goto :goto_a2

    .line 352
    :cond_b0
    const-string v1, "Del2SD"

    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, "SDK:"

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

    move-result-object v3

    sget v4, Landroid/os/Build$VERSION;->SDK_INT:I

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " SecondSdCard not write! SecondSdCardPath:"

    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/String;)Ljava/lang/StringBuilder;

    move-result-object v0

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

    move-result-object v0

    invoke-static {v1, v0}, Lcom/cleanmaster/hpsharelib/utils/OpLog;->x(Ljava/lang/String;Ljava/lang/String;)V

    move v0, v2

    .line 354
    goto/16 :goto_14

    :cond_d7
    move v0, v1

    goto/16 :goto_14
.end method

.method public static a(Landroid/app/Activity;Landroid/content/Intent;I)Z
    .registers 5

    .prologue
    const/4 v1, 0x0

    .line 1109
    const/4 v0, 0x1

    .line 1111
    :try_start_2
    invoke-virtual {p0, p1, p2}, Landroid/app/Activity;->startActivityForResult(Landroid/content/Intent;I)V
    :try_end_5
    .catch Landroid/content/ActivityNotFoundException; {:try_start_2 .. :try_end_5} :catch_6
    .catch Ljava/lang/SecurityException; {:try_start_2 .. :try_end_5} :catch_9
    .catch Ljava/lang/NullPointerException; {:try_start_2 .. :try_end_5} :catch_c

    .line 1119
    :goto_5
    return v0

    .line 1112
    :catch_6
    move-exception v0

    move v0, v1

    .line 1118
    goto :goto_5

    .line 1114
    :catch_9
    move-exception v0

    move v0, v1

    .line 1118
    goto :goto_5

    .line 1116
    :catch_c
    move-exception v0

    move v0, v1

    .line 1117
    goto :goto_5
.end method

.method public static a(Landroid/content/Context;Landroid/content/Intent;)Z
    .registers 6

    .prologue
    const/4 v0, 0x1

    .line 1123
    const/4 v1, 0x0

    .line 1125
    :try_start_2
    invoke-virtual {p0, p1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_5} :catch_6

    .line 1137
    :goto_5
    return v0

    .line 1127
    :catch_6
    move-exception v2

    .line 1128
    instance-of v3, v2, Landroid/util/AndroidRuntimeException;

    if-eqz v3, :cond_23

    .line 1129
    invoke-virtual {v2}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v2

    const-string v3, "FLAG_ACTIVITY_NEW_TASK"

    invoke-virtual {v2, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_23

    .line 1130
    const/high16 v2, 0x10000000

    invoke-virtual {p1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 1132
    :try_start_1c
    invoke-virtual {p0, p1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
    :try_end_1f
    .catch Ljava/lang/Exception; {:try_start_1c .. :try_end_1f} :catch_20

    goto :goto_5

    .line 1134
    :catch_20
    move-exception v0

    move v0, v1

    goto :goto_5

    :cond_23
    move v0, v1

    goto :goto_5
.end method

.method public static a(Landroid/content/Context;Landroid/graphics/Bitmap;Ljava/lang/CharSequence;Ljava/lang/CharSequence;IILandroid/content/Intent;)Z
    .registers 11
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .prologue
    const/4 v3, 0x1

    .line 1915
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x10

    if-ge v0, v1, :cond_9

    .line 1916
    const/4 v0, 0x0

    .line 1932
    :goto_8
    return v0

    .line 1919
    :cond_9
    new-instance v0, Landroid/widget/RemoteViews;

    invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v1

    const v2, 0x7f040083

    invoke-direct {v0, v1, v2}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    .line 1920
    const v1, 0x7f10030e

    invoke-virtual {v0, v1, p1}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    .line 1922
    new-instance v1, Lcom/cm/plugincluster/common/notification/define/NotificationModel;

    invoke-direct {v1}, Lcom/cm/plugincluster/common/notification/define/NotificationModel;-><init>()V

    .line 1923
    iput v3, v1, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconType:I

    .line 1924
    iput-object p6, v1, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    .line 1925
    iput-object p2, v1, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mTitle:Ljava/lang/CharSequence;

    .line 1926
    iput-object p2, v1, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mTickerTitle:Ljava/lang/CharSequence;

    .line 1928
    new-instance v2, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;

    invoke-direct {v2}, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;-><init>()V

    .line 1929
    iput v3, v2, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mIntentType:I

    .line 1930
    iput p5, v2, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    .line 1932
    invoke-static {}, Lcom/cleanmaster/notification/af;->a()Lcom/cleanmaster/notification/af;

    move-result-object v3

    invoke-virtual {v3, v2, v1, v0}, Lcom/cleanmaster/notification/af;->b(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Landroid/widget/RemoteViews;)Z

    move-result v0

    goto :goto_8
.end method

.method public static a(Ljava/io/File;Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;)Z
    .registers 4

    .prologue
    .line 931
    .line 933
    if-eqz p0, :cond_4

    if-nez p1, :cond_6

    .line 934
    :cond_4
    const/4 v0, 0x0

    .line 943
    :goto_5
    return v0

    .line 937
    :cond_6
    invoke-virtual {p0}, Ljava/io/File;->isFile()Z

    move-result v0

    if-eqz v0, :cond_11

    .line 938
    invoke-static {p0, p1, p2}, Lcom/cleanmaster/base/a;->b(Ljava/io/File;Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;)Z

    move-result v0

    goto :goto_5

    .line 941
    :cond_11
    invoke-static {p0, p1, p2}, Lcom/cleanmaster/base/a;->c(Ljava/io/File;Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;)Z

    move-result v0

    goto :goto_5
.end method

.method public static a(Ljava/util/List;Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;)Z
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;",
            "Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;",
            ")Z"
        }
    .end annotation

    .prologue
    .line 173
    const/4 v0, 0x0

    const/4 v1, 0x0

    invoke-static {p0, p1, v0, v1}, Lcom/cleanmaster/base/a;->a(Ljava/util/List;Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;Lcom/cm/plugincluster/junkengine/junk/engine/IEngineConfig;Z)Z

    move-result v0

    return v0
.end method

.method public static a(Ljava/util/List;Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;Lcom/cm/plugincluster/junkengine/junk/engine/IEngineConfig;Z)Z
    .registers 20
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;",
            "Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;",
            "Lcom/cm/plugincluster/junkengine/junk/engine/IEngineConfig;",
            "Z)Z"
        }
    .end annotation

    .prologue
    .line 184
    if-eqz p1, :cond_a

    invoke-interface/range {p1 .. p1}, Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;->getEnableFlags()I

    move-result v2

    and-int/lit8 v2, v2, 0x1

    if-nez v2, :cond_20

    .line 185
    :cond_a
    if-eqz p0, :cond_20

    invoke-interface/range {p0 .. p0}, Ljava/util/List;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_20

    .line 186
    const-string v3, "NDFo"

    const/4 v2, 0x0

    move-object/from16 v0, p0

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

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-static {v3, v2}, Lcom/cleanmaster/hpsharelib/utils/OpLog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 189
    :cond_20
    const/4 v2, 0x6

    new-array v2, v2, [I

    .line 190
    const/4 v3, 0x0

    invoke-static {v2, v3}, Ljava/util/Arrays;->fill([II)V

    .line 191
    const/4 v4, 0x0

    .line 192
    const/4 v3, 0x0

    .line 193
    const/4 v6, 0x0

    .line 194
    const/4 v7, 0x0

    .line 195
    const/4 v8, 0x0

    .line 196
    const/4 v9, 0x0

    .line 197
    if-eqz p1, :cond_47

    .line 198
    invoke-interface/range {p1 .. p1}, Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;->getDelFlags()I

    move-result v4

    .line 199
    invoke-interface/range {p1 .. p1}, Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;->getDelFileTimeLimit()I

    move-result v3

    .line 200
    invoke-interface/range {p1 .. p1}, Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;->getFileWhiteList()Ljava/util/List;

    move-result-object v6

    .line 201
    invoke-interface/range {p1 .. p1}, Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;->getFolderWhiteList()Ljava/util/List;

    move-result-object v7

    .line 202
    invoke-interface/range {p1 .. p1}, Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;->getFeedbackFileList()Ljava/util/List;

    move-result-object v8

    .line 203
    invoke-interface/range {p1 .. p1}, Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;->getFeedbackFolderList()Ljava/util/List;

    move-result-object v9

    .line 205
    :cond_47
    new-instance v5, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;

    invoke-direct {v5}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;-><init>()V

    invoke-virtual {v5}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;->getMountedVolumePaths()Ljava/util/ArrayList;

    move-result-object v14

    .line 207
    const v5, 0xffff

    if-ne v3, v5, :cond_95

    .line 208
    const/4 v5, 0x0

    .line 210
    :goto_56
    new-instance v10, Lcom/cleanmaster/base/b;

    move-object/from16 v0, p1

    move/from16 v1, p3

    invoke-direct {v10, v0, v1}, Lcom/cleanmaster/base/b;-><init>(Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;Z)V

    .line 290
    invoke-static {}, Lcom/cleanmaster/base/a;->a()Z

    move-result v11

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v3

    invoke-virtual {v3}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v12

    move-object/from16 v3, p0

    move-object/from16 v13, p2

    move/from16 v15, p3

    .line 210
    invoke-static/range {v2 .. v15}, Lcom/cleanmaster/util/path/PathOperFunc;->deleteFileOrFolderWithConfig([ILjava/util/List;IILjava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Lcom/cleanmaster/util/IPathCallback;ZLjava/lang/String;Lcom/cm/plugincluster/junkengine/junk/engine/IEngineConfig;Ljava/util/List;Z)Z

    move-result v8

    .line 292
    if-eqz p1, :cond_94

    invoke-interface/range {p1 .. p1}, Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;->getEnableFlags()I

    move-result v3

    and-int/lit8 v3, v3, 0x2

    const/4 v4, 0x2

    if-ne v3, v4, :cond_94

    .line 293
    const/4 v3, 0x1

    aget v3, v2, v3

    const/4 v4, 0x2

    aget v4, v2, v4

    const/4 v5, 0x3

    aget v5, v2, v5

    const/4 v6, 0x4

    aget v6, v2, v6

    const/4 v7, 0x5

    aget v7, v2, v7

    move-object/from16 v2, p1

    invoke-interface/range {v2 .. v7}, Lcom/cm/plugincluster/softmgr/interfaces/junk/IDelCallback;->afterDel(IIIII)V

    .line 296
    :cond_94
    return v8

    :cond_95
    move v5, v3

    goto :goto_56
.end method

.method public static a(Z)Z
    .registers 11

    .prologue
    const/4 v2, 0x0

    const/4 v1, 0x1

    .line 1522
    invoke-static {}, Lcom/keniu/security/af;->c()Z

    move-result v0

    if-nez v0, :cond_9

    .line 1555
    :cond_8
    :goto_8
    return v1

    .line 1528
    :cond_9
    :try_start_9
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/utils/CommonUtils;->getAndroidId(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    .line 1529
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    add-int/lit8 v3, v3, -0x3

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v4

    add-int/lit8 v4, v4, -0x2

    invoke-virtual {v0, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    const/16 v3, 0x10

    invoke-static {v0, v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I
    :try_end_26
    .catch Ljava/lang/Exception; {:try_start_9 .. :try_end_26} :catch_79

    move-result v0

    .line 1530
    const/4 v3, 0x4

    if-ne v0, v3, :cond_7d

    move v0, v1

    .line 1536
    :goto_2b
    const-string v3, "low_performance_policy_enable"

    const-string v4, "selection_low_performance_policy"

    invoke-static {v3, v0, v4}, Lcom/cleanmaster/recommendapps/c;->a(Ljava/lang/String;ZLjava/lang/String;)Z

    move-result v0

    .line 1538
    if-eqz v0, :cond_8

    .line 1542
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/utils/CommonUtils;->getMCC(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    .line 1543
    if-eqz p0, :cond_49

    if-eqz v0, :cond_49

    const-string v3, "404,405"

    invoke-virtual {v3, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_8

    .line 1547
    :cond_49
    invoke-static {}, Lcom/cleanmaster/hpsharelib/boost/process/util/ProcessInfoHelper;->getTotalMemoryByte()J

    move-result-wide v4

    const-wide/16 v6, 0x400

    div-long/2addr v4, v6

    .line 1548
    const-wide/32 v6, 0x100000

    cmp-long v0, v4, v6

    if-gtz v0, :cond_8

    .line 1549
    invoke-static {}, Lcom/keniu/security/af;->d()J

    move-result-wide v4

    .line 1550
    const-string v0, "low_performance_new_user"

    const/16 v3, 0x48

    const-string v6, "selection_low_performance_policy"

    invoke-static {v0, v3, v6}, Lcom/cleanmaster/recommendapps/c;->a(Ljava/lang/String;ILjava/lang/String;)I

    move-result v0

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

    move-result-wide v6

    sub-long v4, v6, v4

    mul-int/lit8 v0, v0, 0x3c

    mul-int/lit8 v0, v0, 0x3c

    int-to-long v6, v0

    const-wide/16 v8, 0x3e8

    mul-long/2addr v6, v8

    cmp-long v0, v4, v6

    if-gez v0, :cond_8

    move v1, v2

    .line 1552
    goto :goto_8

    .line 1533
    :catch_79
    move-exception v0

    .line 1534
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :cond_7d
    move v0, v2

    goto :goto_2b
.end method

.method public static b(Landroid/content/Context;Landroid/content/Intent;)I
    .registers 6

    .prologue
    const/4 v0, 0x0

    .line 1370
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v2

    .line 1371
    const-string v1, "android.intent.category.DEFAULT"

    invoke-virtual {p1, v1}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;

    .line 1372
    const/4 v1, 0x0

    .line 1374
    const/4 v3, 0x0

    :try_start_c
    invoke-virtual {v2, p1, v3}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
    :try_end_f
    .catch Ljava/lang/Exception; {:try_start_c .. :try_end_f} :catch_13

    move-result-object v1

    .line 1380
    :goto_10
    if-nez v1, :cond_18

    .line 1383
    :goto_12
    return v0

    .line 1375
    :catch_13
    move-exception v2

    .line 1376
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_10

    .line 1383
    :cond_18
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v0

    goto :goto_12
.end method

.method public static b(Ljava/lang/String;)Ljava/lang/String;
    .registers 5

    .prologue
    .line 2305
    invoke-static {}, Lcom/cleanmaster/pluginscommonlib/n;->b()Landroid/content/Context;

    move-result-object v0

    .line 2306
    if-nez v0, :cond_8

    .line 2307
    const/4 v0, 0x0

    .line 2320
    :goto_7
    return-object v0

    .line 2309
    :cond_8
    new-instance v1, Ljava/lang/StringBuilder;

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

    .line 2311
    :try_start_d
    invoke-virtual {v0}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;

    move-result-object v0

    .line 2312
    new-instance v2, Ljava/io/BufferedReader;

    new-instance v3, Ljava/io/InputStreamReader;

    invoke-virtual {v0, p0}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v0

    invoke-direct {v3, v0}, Ljava/io/InputStreamReader;-><init>(Ljava/io/InputStream;)V

    invoke-direct {v2, v3}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;)V

    .line 2314
    :goto_1f
    invoke-virtual {v2}, Ljava/io/BufferedReader;->readLine()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2d

    .line 2315
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    :try_end_28
    .catch Ljava/lang/Exception; {:try_start_d .. :try_end_28} :catch_29

    goto :goto_1f

    .line 2317
    :catch_29
    move-exception v0

    .line 2318
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    .line 2320
    :cond_2d
    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_7
.end method

.method public static b(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;)V
    .registers 3

    .prologue
    .line 729
    const/4 v0, 0x0

    invoke-static {p0, p1, v0}, Lcom/cleanmaster/base/a;->b(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;I)V

    .line 730
    return-void
.end method

.method public static b(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;I)V
    .registers 9

    .prologue
    const/4 v2, 0x1

    .line 739
    if-eqz p1, :cond_b

    invoke-interface {p1}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->getEnableFlags()I

    move-result v0

    and-int/lit8 v0, v0, 0x40

    if-nez v0, :cond_16

    .line 740
    :cond_b
    if-eqz p0, :cond_16

    .line 741
    const-string v0, "DFo"

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/utils/OpLog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 744
    :cond_16
    const/4 v3, 0x0

    move-object v0, p0

    move-object v1, p1

    move v4, v2

    move v5, p2

    invoke-static/range {v0 .. v5}, Lcom/cleanmaster/base/a;->a(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZZZI)V

    .line 745
    return-void
.end method

.method public static b()Z
    .registers 4

    .prologue
    .line 916
    invoke-static {}, Lcom/cleanmaster/base/a;->l()Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;

    move-result-object v0

    .line 917
    if-eqz v0, :cond_10

    iget-wide v0, v0, Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;->allSize:J

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-eqz v0, :cond_10

    const/4 v0, 0x1

    :goto_f
    return v0

    :cond_10
    const/4 v0, 0x0

    goto :goto_f
.end method

.method public static b(Landroid/content/Context;)Z
    .registers 2

    .prologue
    .line 1068
    invoke-static {p0}, 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;->getGoWidgetId()Ljava/lang/String;

    move-result-object v0

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

    move-result v0

    if-nez v0, :cond_10

    .line 1070
    const/4 v0, 0x1

    .line 1072
    :goto_f
    return v0

    :cond_10
    const/4 v0, 0x0

    goto :goto_f
.end method

.method public static b(Ljava/io/File;)Z
    .registers 4

    .prologue
    const/4 v2, 0x0

    .line 1057
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    const/16 v1, 0x80

    invoke-static {v0, v1, v2, v2, v2}, Lcom/cleanmaster/util/path/PathOperFunc;->isEmptyFolder(Ljava/lang/String;ILcom/cleanmaster/util/IProgressCtrl;Ljava/util/List;Ljava/util/List;)Z

    move-result v0

    .line 1058
    return v0
.end method

.method private static b(Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;ZI)Z
    .registers 12

    .prologue
    const v4, 0xffff

    const/4 v1, 0x1

    const/4 v2, 0x0

    .line 864
    if-eqz p1, :cond_ae

    .line 865
    invoke-interface {p1}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->getEnableFlags()I

    move-result v0

    and-int/lit8 v0, v0, 0x8

    const/16 v3, 0x8

    if-ne v0, v3, :cond_1c

    .line 866
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v0}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->beforeFileDel(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1c

    .line 911
    :cond_1b
    :goto_1b
    return v2

    .line 870
    :cond_1c
    if-lez p3, :cond_36

    if-eq p3, v4, :cond_36

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

    move-result-wide v4

    invoke-virtual {p0}, Ljava/io/File;->lastModified()J

    move-result-wide v6

    sub-long/2addr v4, v6

    mul-int/lit8 v0, p3, 0x18

    mul-int/lit8 v0, v0, 0x3c

    mul-int/lit8 v0, v0, 0x3c

    mul-int/lit16 v0, v0, 0x3e8

    int-to-long v6, v0

    cmp-long v0, v4, v6

    if-ltz v0, :cond_1b

    .line 875
    :cond_36
    invoke-interface {p1}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->getEnableFlags()I

    move-result v0

    and-int/lit8 v0, v0, 0x2

    const/4 v3, 0x2

    if-ne v0, v3, :cond_46

    .line 876
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v0}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->notifyFileDel(Ljava/lang/String;)V

    .line 878
    :cond_46
    invoke-interface {p1}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->getEnableFlags()I

    move-result v0

    and-int/lit8 v0, v0, 0x4

    const/4 v3, 0x4

    if-ne v0, v3, :cond_56

    .line 879
    invoke-virtual {p0}, Ljava/io/File;->length()J

    move-result-wide v4

    invoke-interface {p1, v4, v5}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->notifyDeletedFileSize(J)V

    .line 889
    :cond_56
    invoke-virtual {p0}, Ljava/io/File;->delete()Z

    move-result v0

    if-nez v0, :cond_ca

    move v3, v1

    .line 890
    :goto_5d
    if-eqz v3, :cond_d2

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v4, 0x13

    if-lt v0, v4, :cond_d2

    .line 892
    :try_start_65
    new-instance v0, Lcom/cleanmaster/util/MediaFile;

    .line 893
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v4

    invoke-direct {v0, v4, p0}, Lcom/cleanmaster/util/MediaFile;-><init>(Landroid/content/ContentResolver;Ljava/io/File;)V

    invoke-virtual {v0}, Lcom/cleanmaster/util/MediaFile;->delete()Z
    :try_end_75
    .catch Ljava/io/IOException; {:try_start_65 .. :try_end_75} :catch_ce

    move-result v0

    if-nez v0, :cond_cc

    move v0, v1

    .line 899
    :goto_79
    if-eqz v0, :cond_96

    if-eqz p2, :cond_96

    .line 900
    invoke-static {}, Lcom/cm/root/k;->a()Lcom/cm/root/k;

    move-result-object v3

    invoke-virtual {v3}, Lcom/cm/root/k;->checkRoot()Z

    move-result v3

    if-eqz v3, :cond_96

    .line 901
    invoke-static {}, Lcom/cm/root/k;->a()Lcom/cm/root/k;

    move-result-object v0

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/cm/root/k;->deleteFile(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_d4

    move v0, v1

    .line 905
    :cond_96
    :goto_96
    if-eqz p1, :cond_a9

    .line 906
    invoke-interface {p1}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->getEnableFlags()I

    move-result v3

    and-int/lit8 v3, v3, 0x20

    const/16 v4, 0x20

    if-ne v3, v4, :cond_a9

    .line 907
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v3

    invoke-interface {p1, v3}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->afterFileDel(Ljava/lang/String;)V

    .line 911
    :cond_a9
    if-nez v0, :cond_d6

    :goto_ab
    move v2, v1

    goto/16 :goto_1b

    .line 882
    :cond_ae
    if-lez p3, :cond_56

    if-eq p3, v4, :cond_56

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

    move-result-wide v4

    invoke-virtual {p0}, Ljava/io/File;->lastModified()J

    move-result-wide v6

    sub-long/2addr v4, v6

    mul-int/lit8 v0, p3, 0x18

    mul-int/lit8 v0, v0, 0x3c

    mul-int/lit8 v0, v0, 0x3c

    mul-int/lit16 v0, v0, 0x3e8

    int-to-long v6, v0

    cmp-long v0, v4, v6

    if-gez v0, :cond_56

    goto/16 :goto_1b

    :cond_ca
    move v3, v2

    .line 889
    goto :goto_5d

    :cond_cc
    move v0, v2

    .line 893
    goto :goto_79

    .line 894
    :catch_ce
    move-exception v0

    .line 895
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    :cond_d2
    move v0, v3

    goto :goto_79

    :cond_d4
    move v0, v2

    .line 901
    goto :goto_96

    :cond_d6
    move v1, v2

    .line 911
    goto :goto_ab
.end method

.method private static b(Ljava/io/File;Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;)Z
    .registers 7

    .prologue
    const/4 v0, 0x0

    .line 956
    .line 958
    if-eqz p0, :cond_5

    if-nez p1, :cond_6

    .line 993
    :cond_5
    :goto_5
    return v0

    .line 962
    :cond_6
    if-eqz p2, :cond_10

    invoke-interface {p2}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->getEnableFlags()I

    move-result v1

    and-int/lit8 v1, v1, 0x40

    if-nez v1, :cond_36

    .line 963
    :cond_10
    if-eqz p0, :cond_36

    .line 964
    const-string v1, "MFi"

    new-instance v2, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v3

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

    move-result-object v2

    const-string v3, " to "

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

    move-result-object v2

    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v3

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

    move-result-object v2

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

    move-result-object v2

    invoke-static {v1, v2}, Lcom/cleanmaster/hpsharelib/utils/OpLog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 968
    :cond_36
    if-eqz p2, :cond_5c

    .line 969
    invoke-interface {p2}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->getEnableFlags()I

    move-result v1

    and-int/lit8 v1, v1, 0x8

    const/16 v2, 0x8

    if-ne v1, v2, :cond_4c

    .line 970
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p2, v1}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->beforeFileDel(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 974
    :cond_4c
    invoke-interface {p2}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->getEnableFlags()I

    move-result v0

    and-int/lit8 v0, v0, 0x2

    const/4 v1, 0x2

    if-ne v0, v1, :cond_5c

    .line 975
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p2, v0}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->notifyFileDel(Ljava/lang/String;)V

    .line 980
    :cond_5c
    invoke-virtual {p0, p1}, Ljava/io/File;->renameTo(Ljava/io/File;)Z

    move-result v0

    .line 982
    if-nez v0, :cond_7d

    .line 983
    invoke-static {}, Lcom/cm/root/k;->a()Lcom/cm/root/k;

    move-result-object v1

    invoke-virtual {v1}, Lcom/cm/root/k;->checkRoot()Z

    move-result v1

    if-eqz v1, :cond_7d

    .line 984
    invoke-static {}, Lcom/cm/root/k;->a()Lcom/cm/root/k;

    move-result-object v0

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x1

    invoke-virtual {v0, v1, v2, v3}, Lcom/cm/root/k;->moveFileOrFolder(Ljava/lang/String;Ljava/lang/String;Z)Z

    move-result v0

    .line 989
    :cond_7d
    if-eqz p2, :cond_5

    .line 990
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p2, v1}, Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;->afterFileDel(Ljava/lang/String;)V

    goto/16 :goto_5
.end method

.method public static c(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/String;
    .registers 9

    .prologue
    const/4 v2, 0x0

    .line 1388
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    .line 1389
    const-string v1, "android.intent.category.DEFAULT"

    invoke-virtual {p1, v1}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;

    .line 1390
    new-instance v1, Ljava/util/ArrayList;

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

    .line 1391
    new-instance v4, Ljava/util/ArrayList;

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

    .line 1392
    invoke-virtual {v0, v1, v4, v2}, Landroid/content/pm/PackageManager;->getPreferredActivities(Ljava/util/List;Ljava/util/List;Ljava/lang/String;)I

    .line 1393
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v5

    .line 1394
    const/4 v0, 0x0

    move v3, v0

    :goto_1d
    if-ge v3, v5, :cond_60

    .line 1395
    invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/IntentFilter;

    invoke-virtual {p1}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0, v6}, Landroid/content/IntentFilter;->hasAction(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5c

    .line 1396
    invoke-virtual {p1}, Landroid/content/Intent;->getCategories()Ljava/util/Set;

    move-result-object v0

    .line 1397
    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v6

    .line 1398
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_5c

    .line 1399
    invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/IntentFilter;

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

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->hasCategory(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_51

    move-object v0, v2

    .line 1406
    :goto_50
    return-object v0

    .line 1402
    :cond_51
    invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/ComponentName;

    invoke-virtual {v0}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;

    move-result-object v0

    goto :goto_50

    .line 1394
    :cond_5c
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_1d

    :cond_60
    move-object v0, v2

    .line 1406
    goto :goto_50
.end method

.method public static c(Landroid/content/Context;)V
    .registers 4

    .prologue
    .line 1487
    if-nez p0, :cond_3

    .line 1498
    :goto_2
    return-void

    .line 1491
    :cond_3
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/cleanmaster/ui/app/provider/download/DownloadService;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 1492
    const-string v1, "key_check_download_thread"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 1494
    :try_start_10
    invoke-virtual {p0, v0}, Landroid/content/Context;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;
    :try_end_13
    .catch Ljava/lang/Exception; {:try_start_10 .. :try_end_13} :catch_14

    goto :goto_2

    .line 1495
    :catch_14
    move-exception v0

    .line 1496
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_2
.end method

.method public static c()Z
    .registers 1
    .annotation build Landroid/annotation/TargetApi;
        value = 0xb
    .end annotation

    .prologue
    .line 1142
    invoke-static {}, Lcom/cleanmaster/base/a;->d()Z

    move-result v0

    if-eqz v0, :cond_c

    invoke-static {}, Lcom/cleanmaster/base/a;->e()Z

    move-result v0

    if-nez v0, :cond_18

    :cond_c
    const-string v0, "ro.build.fingerprint"

    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/report/BaseTracer;->SP1(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/base/a;->c(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1a

    :cond_18
    const/4 v0, 0x1

    :goto_19
    return v0

    :cond_1a
    const/4 v0, 0x0

    goto :goto_19
.end method

.method private static c(Ljava/io/File;Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;)Z
    .registers 14

    .prologue
    const/4 v2, 0x0

    .line 1009
    sput-object p0, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    .line 1010
    const/4 v0, 0x0

    .line 1011
    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/cleanmaster/util/path/PathOperFunc;->listDir(Ljava/lang/String;)Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;

    move-result-object v4

    .line 1013
    if-eqz v4, :cond_d4

    .line 1014
    const/4 v0, 0x1

    .line 1016
    :try_start_f
    invoke-interface {v4}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->getFileNameList()Lcom/cm/plugincluster/junkengine/util/path/IKStringList;
    :try_end_12
    .catch Ljava/lang/StackOverflowError; {:try_start_f .. :try_end_12} :catch_d5
    .catchall {:try_start_f .. :try_end_12} :catchall_e2

    move-result-object v1

    .line 1017
    if-eqz v1, :cond_ff

    .line 1018
    :try_start_15
    invoke-virtual {p1}, Ljava/io/File;->mkdirs()Z

    move-result v3

    and-int/2addr v0, v3

    .line 1019
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->iterator()Ljava/util/Iterator;
    :try_end_1d
    .catch Ljava/lang/StackOverflowError; {:try_start_15 .. :try_end_1d} :catch_f6
    .catchall {:try_start_15 .. :try_end_1d} :catchall_ef

    move-result-object v5

    move v3, v0

    :goto_1f
    :try_start_1f
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_6d

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 1020
    new-instance v6, Ljava/io/File;

    new-instance v7, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v8

    invoke-static {v8}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

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

    move-result-object v7

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

    move-result-object v7

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

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 1021
    new-instance v7, Ljava/io/File;

    new-instance v8, Ljava/lang/StringBuilder;

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

    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v9

    invoke-static {v9}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

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

    move-result-object v8

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

    move-result-object v0

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

    move-result-object v0

    invoke-direct {v7, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 1022
    invoke-static {v6, v7, p2}, Lcom/cleanmaster/base/a;->b(Ljava/io/File;Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;)Z

    move-result v0

    and-int/2addr v3, v0

    .line 1023
    goto :goto_1f

    .line 1024
    :cond_6d
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V
    :try_end_70
    .catch Ljava/lang/StackOverflowError; {:try_start_1f .. :try_end_70} :catch_f8
    .catchall {:try_start_1f .. :try_end_70} :catchall_ef

    move-object v0, v2

    .line 1028
    :goto_71
    :try_start_71
    invoke-interface {v4}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->getFolderNameList()Lcom/cm/plugincluster/junkengine/util/path/IKStringList;
    :try_end_74
    .catch Ljava/lang/StackOverflowError; {:try_start_71 .. :try_end_74} :catch_fb
    .catchall {:try_start_71 .. :try_end_74} :catchall_f1

    move-result-object v1

    .line 1029
    if-eqz v1, :cond_c9

    .line 1030
    :try_start_77
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :goto_7b
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_c9

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 1031
    new-instance v6, Ljava/io/File;

    new-instance v7, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v8

    invoke-static {v8}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

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

    move-result-object v7

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

    move-result-object v7

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

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 1032
    new-instance v7, Ljava/io/File;

    new-instance v8, Ljava/lang/StringBuilder;

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

    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v9

    invoke-static {v9}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->addSlash(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

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

    move-result-object v8

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

    move-result-object v0

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

    move-result-object v0

    invoke-direct {v7, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 1033
    invoke-static {v6, v7, p2}, Lcom/cleanmaster/base/a;->c(Ljava/io/File;Ljava/io/File;Lcom/cleanmaster/junkengine/junk/util/IdeleteFileNotify;)Z
    :try_end_c6
    .catch Ljava/lang/StackOverflowError; {:try_start_77 .. :try_end_c6} :catch_f8
    .catchall {:try_start_77 .. :try_end_c6} :catchall_ef

    move-result v0

    and-int/2addr v3, v0

    .line 1034
    goto :goto_7b

    :cond_c9
    move v0, v3

    .line 1038
    if-eqz v1, :cond_cf

    .line 1039
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 1042
    :cond_cf
    invoke-interface {v4}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->release()V

    .line 1043
    sput-object v2, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    .line 1046
    :cond_d4
    :goto_d4
    return v0

    .line 1036
    :catch_d5
    move-exception v1

    move-object v1, v2

    .line 1038
    :goto_d7
    if-eqz v1, :cond_dc

    .line 1039
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 1042
    :cond_dc
    invoke-interface {v4}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->release()V

    .line 1043
    sput-object v2, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    goto :goto_d4

    .line 1038
    :catchall_e2
    move-exception v0

    move-object v1, v2

    :goto_e4
    if-eqz v1, :cond_e9

    .line 1039
    invoke-interface {v1}, Lcom/cm/plugincluster/junkengine/util/path/IKStringList;->release()V

    .line 1042
    :cond_e9
    invoke-interface {v4}, Lcom/cm/plugincluster/junkengine/util/path/IFilesAndFoldersStringList;->release()V

    .line 1043
    sput-object v2, Lcom/cleanmaster/base/a;->c:Ljava/io/File;

    throw v0

    .line 1038
    :catchall_ef
    move-exception v0

    goto :goto_e4

    :catchall_f1
    move-exception v1

    move-object v10, v1

    move-object v1, v0

    move-object v0, v10

    goto :goto_e4

    .line 1036
    :catch_f6
    move-exception v3

    goto :goto_d7

    :catch_f8
    move-exception v0

    move v0, v3

    goto :goto_d7

    :catch_fb
    move-exception v1

    move-object v1, v0

    move v0, v3

    goto :goto_d7

    :cond_ff
    move v3, v0

    move-object v0, v1

    goto/16 :goto_71
.end method

.method private static c(Ljava/lang/String;)Z
    .registers 6

    .prologue
    const/4 v0, 0x0

    .line 1174
    if-eqz p0, :cond_9

    invoke-virtual {p0}, Ljava/lang/String;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_a

    .line 1182
    :cond_9
    :goto_9
    return v0

    .line 1177
    :cond_a
    sget-object v2, Lcom/cleanmaster/base/a;->d:[Ljava/lang/String;

    array-length v3, v2

    move v1, v0

    :goto_e
    if-ge v1, v3, :cond_9

    aget-object v4, v2, v1

    .line 1178
    invoke-virtual {p0, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1a

    .line 1179
    const/4 v0, 0x1

    goto :goto_9

    .line 1177
    :cond_1a
    add-int/lit8 v1, v1, 0x1

    goto :goto_e
.end method

.method public static d(Landroid/content/Context;)V
    .registers 2

    .prologue
    .line 1765
    const/4 v0, 0x1

    invoke-static {p0, v0}, Lcom/cleanmaster/base/a;->a(Landroid/content/Context;Z)V

    .line 1766
    return-void
.end method

.method public static d()Z
    .registers 4

    .prologue
    const/4 v1, 0x1

    const/4 v0, 0x0

    .line 1190
    sget-object v2, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;

    const-string v3, "Xiaomi"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_d

    .line 1222
    :cond_c
    :goto_c
    return v0

    .line 1194
    :cond_d
    sget-object v2, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;

    const-string v3, "huawei"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_24

    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/DeviceUtils;->GetPhoneModel()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "u8110"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_c

    .line 1199
    :cond_24
    invoke-static {}, Lcom/cleanmaster/base/a;->A()Z

    move-result v2

    if-nez v2, :cond_c

    .line 1205
    sget-boolean v2, Lcom/cleanmaster/hpsharelib/base/util/io/EmulateSdCardUtils;->s_bSdcardDataSame:Z

    if-eqz v2, :cond_3e

    .line 1208
    invoke-static {}, Lcom/cleanmaster/base/a;->y()Z

    move-result v2

    if-eqz v2, :cond_36

    move v0, v1

    .line 1209
    goto :goto_c

    .line 1213
    :cond_36
    invoke-static {}, Lcom/cleanmaster/base/a;->z()Z

    move-result v2

    if-eqz v2, :cond_c

    move v0, v1

    .line 1214
    goto :goto_c

    :cond_3e
    move v0, v1

    .line 1222
    goto :goto_c
.end method

.method public static d(Landroid/content/Context;Landroid/content/Intent;)Z
    .registers 4

    .prologue
    const/4 v0, 0x0

    .line 1411
    if-nez p1, :cond_4

    .line 1418
    :cond_3
    :goto_3
    return v0

    .line 1414
    :cond_4
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v1

    .line 1415
    invoke-virtual {v1, p1, v0}, Landroid/content/pm/PackageManager;->resolveActivity(Landroid/content/Intent;I)Landroid/content/pm/ResolveInfo;

    move-result-object v1

    if-eqz v1, :cond_3

    .line 1418
    const/4 v0, 0x1

    goto :goto_3
.end method

.method public static e(Landroid/content/Context;Landroid/content/Intent;)Landroid/content/Intent;
    .registers 6

    .prologue
    const/4 v0, 0x0

    .line 1502
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v2

    .line 1503
    const-string v1, "android.intent.category.DEFAULT"

    invoke-virtual {p1, v1}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;

    .line 1504
    const/4 v1, 0x0

    invoke-virtual {v2, p1, v1}, Landroid/content/pm/PackageManager;->resolveActivity(Landroid/content/Intent;I)Landroid/content/pm/ResolveInfo;

    move-result-object v1

    .line 1506
    if-eqz v1, :cond_20

    iget-object v3, v1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    if-eqz v3, :cond_20

    .line 1507
    iget-object v1, v1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    iget-object v1, v1, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;

    .line 1508
    :goto_19
    if-eqz v1, :cond_1f

    .line 1509
    invoke-virtual {v2, v1}, Landroid/content/pm/PackageManager;->getLaunchIntentForPackage(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object v0

    .line 1511
    :cond_1f
    return-object v0

    :cond_20
    move-object v1, v0

    goto :goto_19
.end method

.method public static e(Landroid/content/Context;)V
    .registers 5

    .prologue
    .line 1816
    sget-object v0, Lcom/cleanmaster/base/a;->h:Ljava/lang/Runnable;

    if-nez v0, :cond_b

    .line 1818
    new-instance v0, Lcom/cleanmaster/base/h;

    invoke-direct {v0}, Lcom/cleanmaster/base/h;-><init>()V

    sput-object v0, Lcom/cleanmaster/base/a;->h:Ljava/lang/Runnable;

    .line 1840
    :cond_b
    invoke-static {}, Lcom/keniu/security/l;->e()Lcom/keniu/security/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/keniu/security/l;->l()Landroid/os/Handler;

    move-result-object v0

    sget-object v1, Lcom/cleanmaster/base/a;->h:Ljava/lang/Runnable;

    const-wide/16 v2, 0x3e8

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 1841
    return-void
.end method

.method public static e()Z
    .registers 3

    .prologue
    const/4 v0, 0x0

    .line 1310
    const-string v1, "android.permission.WRITE_EXTERNAL_STORAGE"

    invoke-static {v1}, Lcom/cleanmaster/hpsharelib/base/util/system/SystemUtils;->simpleCheckSelfPermission(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_a

    .line 1319
    :cond_9
    :goto_9
    return v0

    .line 1313
    :cond_a
    sget-boolean v1, Lcom/cleanmaster/hpsharelib/base/util/io/EmulateSdCardUtils;->s_bSdcardDataSame:Z

    if-eqz v1, :cond_16

    invoke-static {}, Lcom/cleanmaster/base/a;->f()Z

    move-result v1

    if-eqz v1, :cond_16

    .line 1314
    const/4 v0, 0x1

    goto :goto_9

    .line 1316
    :cond_16
    sget-boolean v1, Lcom/cleanmaster/hpsharelib/base/util/io/EmulateSdCardUtils;->s_bSdcardDataSame:Z

    if-nez v1, :cond_9

    const-string v1, "mounted"

    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_9

    .line 1317
    invoke-static {}, Lcom/cleanmaster/base/a;->f()Z

    move-result v0

    goto :goto_9
.end method

.method public static f(Landroid/content/Context;)V
    .registers 4
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "InlinedApi"
        }
    .end annotation

    .prologue
    .line 1846
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 1847
    const-string v1, "samsungapps://ProductDetail/com.cleanmaster.mguard"

    .line 1848
    invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    .line 1847
    invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 1849
    const v1, 0x14000020

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 1852
    invoke-static {p0, v0}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->startActivity(Landroid/content/Context;Landroid/content/Intent;)Z

    move-result v0

    if-eqz v0, :cond_1d

    .line 1860
    :goto_1c
    return-void

    .line 1856
    :cond_1d
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    const-string v2, "http://apps.samsung.com/topApps/topAppsDetail.as?productId=000000575600"

    .line 1858
    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    .line 1859
    invoke-static {p0, v0}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->startActivity(Landroid/content/Context;Landroid/content/Intent;)Z

    goto :goto_1c
.end method

.method public static f(Landroid/content/Context;Landroid/content/Intent;)V
    .registers 4

    .prologue
    .line 1575
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v0

    .line 1574
    invoke-static {v0, p1}, Lcom/cleanmaster/base/a;->e(Landroid/content/Context;Landroid/content/Intent;)Landroid/content/Intent;

    move-result-object v0

    .line 1576
    if-eqz v0, :cond_11

    .line 1577
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1, v0}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->startActivity(Landroid/content/Context;Landroid/content/Intent;)Z

    .line 1579
    :cond_11
    return-void
.end method

.method public static f()Z
    .registers 4

    .prologue
    .line 1323
    invoke-static {}, Lcom/cleanmaster/base/a;->g()Ljava/io/File;

    move-result-object v0

    .line 1324
    if-eqz v0, :cond_17

    .line 1325
    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfoUtils;->getStorageInfo(Ljava/io/File;)Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;

    move-result-object v0

    .line 1326
    if-eqz v0, :cond_17

    iget-wide v0, v0, Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;->allSize:J

    const-wide/32 v2, 0x6400000

    cmp-long v0, v0, v2

    if-lez v0, :cond_17

    .line 1327
    const/4 v0, 0x1

    .line 1330
    :goto_16
    return v0

    :cond_17
    const/4 v0, 0x0

    goto :goto_16
.end method

.method public static g()Ljava/io/File;
    .registers 2

    .prologue
    .line 1334
    invoke-static {}, Lcom/cleanmaster/base/a;->h()Ljava/lang/String;

    move-result-object v1

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

    move-result v0

    if-nez v0, :cond_16

    .line 1336
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 1337
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_16

    .line 1341
    :goto_15
    return-object v0

    :cond_16
    const/4 v0, 0x0

    goto :goto_15
.end method

.method public static g(Landroid/content/Context;)V
    .registers 4

    .prologue
    .line 1864
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 1865
    const/high16 v1, 0x10000000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 1866
    const-string v1, "com.skt.skaf.A000Z00040"

    const-string v2, "com.skt.skaf.A000Z00040.A000Z00040"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1868
    const-string v1, "COLLAB_ACTION"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 1869
    const-string v1, "com.skt.skaf.COL.URI"

    const-string v2, "PRODUCT_VIEW/0000361598/0"

    .line 1870
    invoke-virtual {v2}, Ljava/lang/String;->getBytes()[B

    move-result-object v2

    .line 1869
    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[B)Landroid/content/Intent;

    .line 1872
    const-string v1, "com.skt.skaf.COL.REQUESTER"

    const-string v2, "A000Z00040"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1874
    invoke-static {p0, v0}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->startActivity(Landroid/content/Context;Landroid/content/Intent;)Z

    move-result v0

    if-eqz v0, :cond_2f

    .line 1881
    :goto_2e
    return-void

    .line 1878
    :cond_2f
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    const-string v2, "http://tsto.re/0000361598"

    .line 1879
    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    .line 1880
    invoke-static {p0, v0}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->startActivity(Landroid/content/Context;Landroid/content/Intent;)Z

    goto :goto_2e
.end method

.method public static h()Ljava/lang/String;
    .registers 2

    .prologue
    .line 1350
    sget-object v0, Landroid/os/Build;->MODEL:Ljava/lang/String;

    const-string v1, "ZTE V955"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_14

    sget-object v0, Landroid/os/Build;->MODEL:Ljava/lang/String;

    const-string v1, "MI-ONE Plus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1d

    .line 1352
    :cond_14
    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v0

    invoke-virtual {v0}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v0

    .line 1357
    :goto_1c
    return-object v0

    .line 1356
    :cond_1d
    new-instance v0, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;

    invoke-direct {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;-><init>()V

    .line 1357
    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;->getExternalPath(Z)Ljava/lang/String;

    move-result-object v0

    goto :goto_1c
.end method

.method public static h(Landroid/content/Context;)V
    .registers 4

    .prologue
    .line 1886
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 1887
    const-string v1, "amzn://apps/android?p=com.cleanmaster.mguard"

    invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 1888
    const/high16 v1, 0x14000000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 1890
    invoke-static {p0, v0}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->startActivity(Landroid/content/Context;Landroid/content/Intent;)Z

    move-result v0

    if-eqz v0, :cond_1c

    .line 1898
    :goto_1b
    return-void

    .line 1894
    :cond_1c
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    const-string v2, "http://www.amazon.com/gp/mas/dl/android?p=com.cleanmaster.mguard"

    .line 1896
    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    .line 1897
    invoke-static {p0, v0}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->startActivity(Landroid/content/Context;Landroid/content/Intent;)Z

    goto :goto_1b
.end method

.method public static i()Z
    .registers 1

    .prologue
    .line 1362
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/io/CmBoxUtils;->getInstance()Lcom/cleanmaster/hpsharelib/base/util/io/CmBoxUtils;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/CmBoxUtils;->isActive()Z

    move-result v0

    if-eqz v0, :cond_12

    invoke-static {}, Lcom/cleanmaster/base/a;->f()Z

    move-result v0

    if-eqz v0, :cond_12

    const/4 v0, 0x1

    :goto_11
    return v0

    :cond_12
    const/4 v0, 0x0

    goto :goto_11
.end method

.method public static i(Landroid/content/Context;)Z
    .registers 3

    .prologue
    .line 2218
    if-eqz p0, :cond_18

    .line 2219
    new-instance v0, Landroid/content/ComponentName;

    const-class v1, Lcom/cleanmaster/appwidget/MainAppWidgetWhiteProvider;

    invoke-direct {v0, p0, v1}, Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 2220
    invoke-static {p0}, Landroid/appwidget/AppWidgetManager;->getInstance(Landroid/content/Context;)Landroid/appwidget/AppWidgetManager;

    move-result-object v1

    .line 2221
    invoke-virtual {v1, v0}, Landroid/appwidget/AppWidgetManager;->getAppWidgetIds(Landroid/content/ComponentName;)[I

    move-result-object v0

    .line 2222
    if-eqz v0, :cond_18

    array-length v0, v0

    if-lez v0, :cond_18

    .line 2223
    const/4 v0, 0x1

    .line 2226
    :goto_17
    return v0

    :cond_18
    const/4 v0, 0x0

    goto :goto_17
.end method

.method public static j()Z
    .registers 1

    .prologue
    .line 1366
    invoke-static {}, Lcom/cleanmaster/base/a;->c()Z

    move-result v0

    if-nez v0, :cond_c

    invoke-static {}, Lcom/cleanmaster/base/a;->i()Z

    move-result v0

    if-eqz v0, :cond_e

    :cond_c
    const/4 v0, 0x1

    :goto_d
    return v0

    :cond_e
    const/4 v0, 0x0

    goto :goto_d
.end method

.method public static j(Landroid/content/Context;)Z
    .registers 3

    .prologue
    .line 2277
    if-eqz p0, :cond_18

    .line 2278
    new-instance v0, Landroid/content/ComponentName;

    const-class v1, Lcom/cleanmaster/appwidget/MainAppWidgetBlackProvider;

    invoke-direct {v0, p0, v1}, Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 2279
    invoke-static {p0}, Landroid/appwidget/AppWidgetManager;->getInstance(Landroid/content/Context;)Landroid/appwidget/AppWidgetManager;

    move-result-object v1

    .line 2280
    invoke-virtual {v1, v0}, Landroid/appwidget/AppWidgetManager;->getAppWidgetIds(Landroid/content/ComponentName;)[I

    move-result-object v0

    .line 2281
    if-eqz v0, :cond_18

    array-length v0, v0

    if-lez v0, :cond_18

    .line 2282
    const/4 v0, 0x1

    .line 2285
    :goto_17
    return v0

    :cond_18
    const/4 v0, 0x0

    goto :goto_17
.end method

.method public static k()Z
    .registers 1

    .prologue
    .line 1425
    invoke-static {}, Lcom/cleanmaster/base/a;->t()I

    move-result v0

    sparse-switch v0, :sswitch_data_c

    .line 1434
    const/4 v0, 0x0

    :goto_8
    return v0

    .line 1432
    :sswitch_9
    const/4 v0, 0x1

    goto :goto_8

    .line 1425
    nop

    :sswitch_data_c
    .sparse-switch
        0x186a8 -> :sswitch_9
        0x186b0 -> :sswitch_9
        0x77ce2a8a -> :sswitch_9
        0x77ce3614 -> :sswitch_9
    .end sparse-switch
.end method

.method private static k(Landroid/content/Context;)Z
    .registers 6

    .prologue
    const/4 v0, 0x1

    const/4 v1, 0x0

    .line 1804
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v2

    .line 1806
    :try_start_6
    const-string v3, "com.android.vending"

    const/4 v4, 0x1

    invoke-virtual {v2, v3, v4}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v2

    .line 1807
    iget-object v2, v2, Landroid/content/pm/PackageInfo;->versionName:Ljava/lang/String;

    const-string v3, "4.9.13"

    invoke-virtual {v2, v3}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I
    :try_end_14
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_6 .. :try_end_14} :catch_1a

    move-result v2

    if-ltz v2, :cond_18

    .line 1810
    :goto_17
    return v0

    :cond_18
    move v0, v1

    .line 1807
    goto :goto_17

    .line 1808
    :catch_1a
    move-exception v0

    .line 1809
    invoke-virtual {v0}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V

    move v0, v1

    .line 1810
    goto :goto_17
.end method

.method public static l()Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;
    .registers 1

    .prologue
    .line 1444
    new-instance v0, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;

    invoke-direct {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;-><init>()V

    .line 1445
    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;->getMountedSdCardVolumePaths()Ljava/util/ArrayList;

    move-result-object v0

    .line 1446
    if-nez v0, :cond_d

    .line 1447
    const/4 v0, 0x0

    .line 1450
    :goto_c
    return-object v0

    :cond_d
    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfoUtils;->getStorageInfo(Ljava/util/ArrayList;)Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;

    move-result-object v0

    goto :goto_c
.end method

.method public static m()Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;
    .registers 1

    .prologue
    .line 1459
    new-instance v0, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;

    invoke-direct {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;-><init>()V

    .line 1460
    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;->getMountedPhoneVolumePaths()Ljava/util/ArrayList;

    move-result-object v0

    .line 1461
    if-nez v0, :cond_d

    .line 1462
    const/4 v0, 0x0

    .line 1465
    :goto_c
    return-object v0

    :cond_d
    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfoUtils;->getStorageInfo(Ljava/util/ArrayList;)Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;

    move-result-object v0

    goto :goto_c
.end method

.method public static n()Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;
    .registers 1

    .prologue
    .line 1474
    new-instance v0, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;

    invoke-direct {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;-><init>()V

    .line 1475
    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;->getMountedVolumePaths()Ljava/util/ArrayList;

    move-result-object v0

    .line 1476
    if-nez v0, :cond_d

    .line 1477
    const/4 v0, 0x0

    .line 1480
    :goto_c
    return-object v0

    :cond_d
    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfoUtils;->getStorageInfo(Ljava/util/ArrayList;)Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;

    move-result-object v0

    goto :goto_c
.end method

.method public static o()V
    .registers 1

    .prologue
    .line 1559
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/RuntimeCheck;->checkUiProcess()V

    .line 1560
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/RuntimeCheck;->checkNoUIThread()V

    .line 1561
    invoke-static {}, Lcom/cm/root/k;->a()Lcom/cm/root/k;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cm/root/k;->isMobileRoot()Z

    move-result v0

    if-eqz v0, :cond_25

    .line 1562
    invoke-static {}, Lcom/cm/root/k;->a()Lcom/cm/root/k;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cm/root/k;->checkRoot()Z

    move-result v0

    if-nez v0, :cond_25

    .line 1564
    :try_start_1a
    invoke-static {}, Lcom/cleanmaster/hpsharelib/synipc/SyncIpcCtrl;->getIns()Lcom/cleanmaster/hpsharelib/synipc/SyncIpcCtrl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/synipc/SyncIpcCtrl;->getIPCClient()Lcom/cleanmaster/hpsharelib/synipc/ISyncIpcService;

    move-result-object v0

    invoke-interface {v0}, Lcom/cleanmaster/hpsharelib/synipc/ISyncIpcService;->enterRoot()V
    :try_end_25
    .catch Landroid/os/RemoteException; {:try_start_1a .. :try_end_25} :catch_26

    .line 1569
    :cond_25
    :goto_25
    return-void

    .line 1565
    :catch_26
    move-exception v0

    goto :goto_25
.end method

.method public static p()Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;
    .registers 3

    .prologue
    .line 1942
    new-instance v0, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;

    invoke-direct {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;-><init>()V

    .line 1943
    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageList;->getMountedSdCardVolumePaths()Ljava/util/ArrayList;

    move-result-object v0

    .line 1944
    if-nez v0, :cond_10

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

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

    .line 1948
    :cond_10
    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object v1

    const-string v2, "mounted"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2d

    .line 1949
    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_32

    .line 1950
    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v1

    invoke-virtual {v1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 1969
    :cond_2d
    :goto_2d
    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfoUtils;->getStorageInfo(Ljava/util/ArrayList;)Lcom/cleanmaster/hpsharelib/base/util/io/StorageInfo;

    move-result-object v0

    return-object v0

    .line 1952
    :cond_32
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/io/EmulateSdCardUtils;->isExtStorageEmulated()Z

    move-result v1

    if-eqz v1, :cond_51

    .line 1953
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    const/4 v2, 0x1

    if-le v1, v2, :cond_2d

    .line 1955
    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v1

    invoke-virtual {v1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v1

    .line 1956
    if-ltz v1, :cond_2d

    .line 1957
    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    goto :goto_2d

    .line 1961
    :cond_51
    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v1

    invoke-virtual {v1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    .line 1962
    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_2d

    .line 1963
    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_2d
.end method

.method public static q()V
    .registers 2

    .prologue
    .line 1976
    :try_start_0
    invoke-static {}, Lcom/keniu/security/l;->e()Lcom/keniu/security/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/keniu/security/l;->n()V

    .line 1979
    const-wide/16 v0, 0x5dc

    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V

    .line 1981
    invoke-static {}, Landroid/os/Process;->myPid()I

    move-result v0

    invoke-static {v0}, Landroid/os/Process;->killProcess(I)V

    .line 1982
    const/16 v0, 0xa

    invoke-static {v0}, Ljava/lang/System;->exit(I)V
    :try_end_18
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_18} :catch_19

    .line 1986
    :goto_18
    return-void

    .line 1983
    :catch_19
    move-exception v0

    .line 1984
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_18
.end method

.method public static r()I
    .registers 4

    .prologue
    .line 2031
    sget-object v0, Lcom/cleanmaster/base/a;->a:Ljava/util/Random;

    if-nez v0, :cond_f

    .line 2032
    new-instance v0, Ljava/util/Random;

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

    move-result-wide v2

    invoke-direct {v0, v2, v3}, Ljava/util/Random;-><init>(J)V

    sput-object v0, Lcom/cleanmaster/base/a;->a:Ljava/util/Random;

    .line 2034
    :cond_f
    sget-object v0, Lcom/cleanmaster/base/a;->a:Ljava/util/Random;

    invoke-virtual {v0}, Ljava/util/Random;->nextInt()I

    move-result v0

    return v0
.end method

.method public static s()Ljava/lang/String;
    .registers 1

    .prologue
    .line 2053
    invoke-static {}, Lcom/cleanmaster/base/a;->t()I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    .line 2054
    invoke-virtual {v0}, Ljava/lang/Integer;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public static declared-synchronized t()I
    .registers 5

    .prologue
    .line 2065
    const-class v1, Lcom/cleanmaster/base/a;

    monitor-enter v1

    :try_start_3
    sget v0, Lcom/cleanmaster/base/a;->i:I
    :try_end_5
    .catchall {:try_start_3 .. :try_end_5} :catchall_3b

    .line 2066
    if-eqz v0, :cond_18

    const v2, 0x30d41

    if-eq v2, v0, :cond_18

    const v2, 0x30d4d

    if-eq v2, v0, :cond_18

    const v2, 0x186a9

    if-eq v2, v0, :cond_18

    .line 2096
    :cond_16
    :goto_16
    monitor-exit v1

    return v0

    .line 2073
    :cond_18
    :try_start_18
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;

    move-result-object v2

    .line 2074
    if-eqz v2, :cond_3e

    .line 2075
    invoke-virtual {v2}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getAppChannelId()I

    move-result v0

    .line 2076
    if-eqz v0, :cond_3e

    const v3, 0x186a0

    if-eq v3, v0, :cond_3e

    const v3, 0x30d40

    if-eq v3, v0, :cond_3e

    const/4 v3, 0x1

    if-lt v0, v3, :cond_38

    const/4 v3, 0x5

    if-le v0, v3, :cond_3e

    .line 2080
    :cond_38
    sput v0, Lcom/cleanmaster/base/a;->i:I
    :try_end_3a
    .catchall {:try_start_18 .. :try_end_3a} :catchall_3b

    goto :goto_16

    .line 2065
    :catchall_3b
    move-exception v0

    monitor-exit v1

    throw v0

    .line 2085
    :cond_3e
    :try_start_3e
    const-string v3, "cn"

    invoke-static {v3}, Lcom/cleanmaster/base/a;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

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

    move-result v4

    if-nez v4, :cond_16

    .line 2090
    invoke-static {v3}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    sput v0, Lcom/cleanmaster/base/a;->i:I

    .line 2091
    sget v0, Lcom/cleanmaster/base/a;->i:I

    .line 2092
    if-eqz v2, :cond_16

    .line 2093
    invoke-virtual {v2, v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->setAppChannelId(I)V
    :try_end_5b
    .catchall {:try_start_3e .. :try_end_5b} :catchall_3b

    goto :goto_16
.end method

.method public static u()Ljava/lang/String;
    .registers 4

    .prologue
    .line 2135
    invoke-static {}, Lcom/keniu/security/l;->e()Lcom/keniu/security/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/keniu/security/l;->k()Ljava/util/Locale;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Locale;->getLanguage()Ljava/lang/String;

    move-result-object v0

    .line 2136
    invoke-static {}, Lcom/keniu/security/l;->e()Lcom/keniu/security/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/keniu/security/l;->k()Ljava/util/Locale;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Locale;->getCountry()Ljava/lang/String;

    move-result-object v1

    .line 2137
    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, ""

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

    move-result-object v2

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

    move-result-object v1

    const-string v2, "_"

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

    move-result-object v1

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

    move-result-object v0

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

    move-result-object v0

    .line 2138
    return-object v0
.end method

.method public static v()I
    .registers 5

    .prologue
    const/4 v0, 0x0

    .line 2143
    const/4 v1, -0x1

    .line 2144
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v2

    .line 2146
    :try_start_6
    invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v2

    const-string v3, "install_non_market_apps"

    const/4 v4, 0x0

    invoke-static {v2, v3, v4}, Landroid/provider/Settings$Secure;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
    :try_end_10
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_10} :catch_15

    move-result v1

    if-lez v1, :cond_14

    .line 2148
    const/4 v0, 0x1

    .line 2157
    :cond_14
    :goto_14
    return v0

    .line 2154
    :catch_15
    move-exception v0

    move v0, v1

    goto :goto_14
.end method

.method public static w()I
    .registers 4

    .prologue
    const/4 v0, 0x0

    .line 2231
    invoke-static {}, Lcom/cleanmaster/hpsharelib/security/update/UpdateManager;->getInstance()Lcom/cleanmaster/hpsharelib/security/update/UpdateManager;

    move-result-object v1

    invoke-virtual {v1}, Lcom/cleanmaster/hpsharelib/security/update/UpdateManager;->getDataVersion()Ljava/lang/String;

    move-result-object v1

    .line 2232
    if-nez v1, :cond_c

    .line 2249
    :cond_b
    :goto_b
    return v0

    .line 2236
    :cond_c
    const-string v2, "\\."

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

    move-result-object v1

    .line 2237
    if-eqz v1, :cond_b

    const/4 v2, 0x4

    array-length v3, v1

    if-ne v2, v3, :cond_b

    .line 2241
    aget-object v0, v1, v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    rem-int/lit8 v0, v0, 0x64

    .line 2242
    mul-int/lit8 v0, v0, 0x64

    .line 2243
    const/4 v2, 0x1

    aget-object v2, v1, v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    rem-int/lit8 v2, v2, 0x64

    add-int/2addr v0, v2

    .line 2244
    mul-int/lit8 v0, v0, 0x64

    .line 2245
    const/4 v2, 0x2

    aget-object v2, v1, v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    rem-int/lit8 v2, v2, 0x64

    add-int/2addr v0, v2

    .line 2246
    mul-int/lit16 v0, v0, 0x2710

    .line 2247
    const/4 v2, 0x3

    aget-object v1, v1, v2

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    rem-int/lit16 v1, v1, 0x2710

    add-int/2addr v0, v1

    .line 2249
    goto :goto_b
.end method

.method public static declared-synchronized x()I
    .registers 3

    .prologue
    .line 2290
    const-class v1, Lcom/cleanmaster/base/a;

    monitor-enter v1

    :try_start_3
    const-string v0, "cn"

    invoke-static {v0}, Lcom/cleanmaster/base/a;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

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

    move-result v2

    if-eqz v2, :cond_13

    .line 2292
    sget v0, Lcom/cleanmaster/base/a;->i:I
    :try_end_11
    .catchall {:try_start_3 .. :try_end_11} :catchall_1c

    .line 2296
    :goto_11
    monitor-exit v1

    return v0

    .line 2295
    :cond_13
    :try_start_13
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
    :try_end_1a
    .catchall {:try_start_13 .. :try_end_1a} :catchall_1c

    move-result v0

    goto :goto_11

    .line 2290
    :catchall_1c
    move-exception v0

    monitor-exit v1

    throw v0
.end method

.method private static y()Z
    .registers 3

    .prologue
    const/4 v0, 0x0

    .line 1229
    sget-object v1, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;

    const-string v2, "samsung"

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

    move-result v1

    if-nez v1, :cond_c

    .line 1244
    :cond_b
    :goto_b
    return v0

    .line 1231
    :cond_c
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/DeviceUtils;->GetPhoneModel()Ljava/lang/String;

    move-result-object v1

    .line 1232
    if-eqz v1, :cond_b

    .line 1234
    const-string v2, "GT-I95"

    invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_2a

    const-string v2, "SM-N9"

    .line 1235
    invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_2a

    const-string v2, "SM-G9"

    .line 1236
    invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_b

    .line 1238
    :cond_2a
    const-string v2, "SM-G9350"

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

    move-result v1

    if-nez v1, :cond_b

    .line 1241
    const/4 v0, 0x1

    goto :goto_b
.end method

.method private static z()Z
    .registers 3

    .prologue
    const/4 v0, 0x0

    .line 1249
    sget-object v1, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;

    const-string v2, "huawei"

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

    move-result v1

    if-nez v1, :cond_c

    .line 1257
    :cond_b
    :goto_b
    return v0

    .line 1251
    :cond_c
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/DeviceUtils;->GetPhoneModel()Ljava/lang/String;

    move-result-object v1

    .line 1252
    if-eqz v1, :cond_b

    .line 1254
    const-string v2, "H60-L01"

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

    move-result v1

    if-eqz v1, :cond_b

    .line 1255
    const/4 v0, 0x1

    goto :goto_b
.end method