c$a.smali

.class Lcom/cleanmaster/h/c$a;
.super Lcom/cm/plugincluster/gamebox/GameBoxHostModule;
.source "GameBoxHostFactory.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/cleanmaster/h/c;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "a"
.end annotation


# instance fields
.field private a:Lcom/cm/plugincluster/monitor/interfaces/IMonitor;


# direct methods
.method private constructor <init>()V
    .registers 1

    .prologue
    .line 69
    invoke-direct {p0}, Lcom/cm/plugincluster/gamebox/GameBoxHostModule;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/cleanmaster/h/d;)V
    .registers 2

    .prologue
    .line 69
    invoke-direct {p0}, Lcom/cleanmaster/h/c$a;-><init>()V

    return-void
.end method


# virtual methods
.method public active(Lcom/cm/plugincluster/gamebox/GameFrequencyModel;)V
    .registers 2

    .prologue
    .line 82
    invoke-static {p1}, Lcom/cleanmaster/ui/game/leftstone/d;->a(Lcom/cm/plugincluster/gamebox/GameFrequencyModel;)V

    .line 83
    return-void
.end method

.method public cancelNotification(I)V
    .registers 3

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

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/cleanmaster/notification/af;->b(I)V

    .line 331
    return-void
.end method

.method public checkAllAppTypeAsync()V
    .registers 2

    .prologue
    .line 165
    invoke-static {}, Lcom/cleanmaster/util/AppInfoCacheMgr;->getInstance()Lcom/cleanmaster/util/AppInfoCacheMgr;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cleanmaster/util/AppInfoCacheMgr;->checkAllAppTypeAsync()V

    .line 166
    return-void
.end method

.method public getCloudMsg(II)Ljava/util/List;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(II)",
            "Ljava/util/List",
            "<",
            "Lcom/cm/plugincluster/cleanmaster/cloudmsg/CloudMsgInfo;",
            ">;"
        }
    .end annotation

    .prologue
    .line 312
    invoke-static {}, Lcom/cleanmaster/cloudconfig/a/a;->a()Lcom/cleanmaster/cloudconfig/a/a;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/cleanmaster/cloudconfig/a/a;->getCloudMsg(II)Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method public getGameDataServiceInstance()Landroid/os/IInterface;
    .registers 2

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

    return-object v0
.end method

.method public getGameMemorySizeFast(Ljava/lang/String;)I
    .registers 3

    .prologue
    .line 355
    invoke-static {p1}, Lcom/cleanmaster/util/GameUtil;->getGameMemorySizeFast(Ljava/lang/String;)I

    move-result v0

    return v0
.end method

.method public getOwnDataFilePathFromCloudData()Ljava/lang/String;
    .registers 4

    .prologue
    .line 318
    invoke-static {}, Lcom/cleanmaster/cleancloud/core/KCleanCloudFactroy;->getCleanCloudGlue()Lcom/cm/plugincluster/junkengine/cleancloud/KCleanCloudGlue;

    move-result-object v0

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

    move-result-object v1

    .line 320
    invoke-static {}, Lcom/cleanmaster/cleancloud/core/appmemory/AppMemQueryTaskDef;->getHFDBName()Ljava/lang/String;

    move-result-object v2

    .line 317
    invoke-static {v0, v1, v2}, Lcom/cleanmaster/cleancloud/core/base/CleanCloudDataPathUtil;->getOwnDataFile(Lcom/cm/plugincluster/junkengine/cleancloud/KCleanCloudGlue;Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getSynchronizeMemory(Ljava/lang/String;)J
    .registers 6

    .prologue
    .line 108
    new-instance v0, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx;

    invoke-direct {v0}, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx;-><init>()V

    .line 109
    new-instance v1, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;

    sget v2, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;->a:I

    const/4 v3, 0x0

    invoke-direct {v1, p1, v2, v3}, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;-><init>(Ljava/lang/String;IZ)V

    .line 110
    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx;->a(Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$IStateListener;)Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$b;

    move-result-object v0

    .line 111
    if-nez v0, :cond_19

    .line 112
    invoke-static {p1}, Lcom/cleanmaster/util/GameUtil;->getGameMemEstimatedSize(Ljava/lang/String;)J

    move-result-wide v0

    .line 114
    :goto_18
    return-wide v0

    :cond_19
    iget-wide v0, v0, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$b;->b:J

    goto :goto_18
.end method

.method public getUrlParamMore()Ljava/lang/String;
    .registers 2

    .prologue
    .line 87
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/UrlParamBuilder;->getUrlParamMore()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public isGameByAppTypeChecker(Ljava/lang/String;Z)Z
    .registers 4

    .prologue
    .line 160
    invoke-static {p1, p2}, Lcom/cleanmaster/util/AppTypeChecker;->getGameType(Ljava/lang/String;Z)I

    move-result v0

    if-eqz v0, :cond_8

    const/4 v0, 0x1

    :goto_7
    return v0

    :cond_8
    const/4 v0, 0x0

    goto :goto_7
.end method

.method public isNotificationShowing(I)Z
    .registers 3

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

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/cleanmaster/notification/af;->d(I)Z

    move-result v0

    return v0
.end method

.method public launchFeedBackActivity(Landroid/app/Activity;)V
    .registers 3

    .prologue
    .line 262
    const/4 v0, 0x3

    invoke-static {p1, v0}, Lcom/cleanmaster/feedback/FeedBackActivity;->a(Landroid/content/Context;I)Landroid/content/Intent;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/cleanmaster/hpsharelib/base/util/system/ComponentUtils;->startActivity(Landroid/content/Context;Landroid/content/Intent;)Z

    .line 263
    return-void
.end method

.method public loadGDTAd(Lcom/cm/plugincluster/spec/FunctionCallback;Lcom/cm/plugincluster/spec/FunctionCallback;)Lcom/cm/plugincluster/adv/IGDTLoader;
    .registers 6

    .prologue
    .line 336
    new-instance v0, Lcom/cleanmaster/recommendapps/GDTLoader;

    const-string v1, "3010103238226583"

    new-instance v2, Lcom/cleanmaster/h/j;

    invoke-direct {v2, p0, p1, p2}, Lcom/cleanmaster/h/j;-><init>(Lcom/cleanmaster/h/c$a;Lcom/cm/plugincluster/spec/FunctionCallback;Lcom/cm/plugincluster/spec/FunctionCallback;)V

    invoke-direct {v0, v1, v2}, Lcom/cleanmaster/recommendapps/GDTLoader;-><init>(Ljava/lang/String;Lcom/cleanmaster/recommendapps/GDTLoader$GDTNativeListner;)V

    return-object v0
.end method

.method public loadGameDataByScanAll(Ljava/util/List;ILcom/cm/plugincluster/spec/FunctionCallback;Lcom/cm/plugincluster/spec/FunctionCallback;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;I",
            "Lcom/cm/plugincluster/spec/FunctionCallback;",
            "Lcom/cm/plugincluster/spec/FunctionCallback;",
            ")V"
        }
    .end annotation

    .prologue
    .line 233
    new-instance v0, Lcom/cleanmaster/h/h;

    invoke-direct {v0, p0, p3, p4}, Lcom/cleanmaster/h/h;-><init>(Lcom/cleanmaster/h/c$a;Lcom/cm/plugincluster/spec/FunctionCallback;Lcom/cm/plugincluster/spec/FunctionCallback;)V

    invoke-static {p1, p2, v0}, Lcom/cleanmaster/util/GameUtil;->getGameMemorySizeAsync(Ljava/util/List;ILcom/cleanmaster/util/GameUtil$GetGameMemorySizeCallback;)V

    .line 251
    return-void
.end method

.method public openOrDownloadAd(Ljava/lang/String;Lcom/cm/plugincluster/ordinary/Ad;Ljava/lang/String;Z)V
    .registers 6

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

    move-result-object v0

    invoke-static {v0, p1, p2, p3, p4}, Lcom/cleanmaster/ui/app/utils/a;->a(Landroid/content/Context;Ljava/lang/String;Lcom/cm/plugincluster/ordinary/Ad;Ljava/lang/String;Z)V

    .line 138
    return-void
.end method

.method public openShortcutPerssionGuide(Landroid/app/Activity;)V
    .registers 5

    .prologue
    .line 255
    invoke-static {}, Lcom/cleanmaster/hpsharelib/boost/util/ShortcutPermissionUtil;->getInstance()Lcom/cleanmaster/hpsharelib/boost/util/ShortcutPermissionUtil;

    move-result-object v0

    const/4 v1, 0x2

    sget-object v2, Lcom/cleanmaster/hpsharelib/boost/util/ShortcutPermissionUtil$EPGREASON;->EPG_REASON_GAMEBOX_FIX:Lcom/cleanmaster/hpsharelib/boost/util/ShortcutPermissionUtil$EPGREASON;

    invoke-virtual {v0, p1, v1, v2}, Lcom/cleanmaster/hpsharelib/boost/util/ShortcutPermissionUtil;->openShortcutPerssionGuide(Landroid/app/Activity;ILcom/cleanmaster/hpsharelib/boost/util/ShortcutPermissionUtil$EPGREASON;)V

    .line 258
    return-void
.end method

.method public optimizeMemory(Lcom/cm/plugincluster/spec/FunctionCallback;)V
    .registers 7

    .prologue
    .line 119
    new-instance v0, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx;

    invoke-direct {v0}, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx;-><init>()V

    .line 120
    new-instance v1, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;

    const/4 v2, 0x0

    sget v3, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;->b:I

    const/4 v4, 0x0

    invoke-direct {v1, v2, v3, v4}, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;-><init>(Ljava/lang/String;IZ)V

    .line 121
    new-instance v2, Lcom/cleanmaster/h/f;

    invoke-direct {v2, p0, p1}, Lcom/cleanmaster/h/f;-><init>(Lcom/cleanmaster/h/c$a;Lcom/cm/plugincluster/spec/FunctionCallback;)V

    invoke-virtual {v0, v1, v2}, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx;->a(Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$IStateListener;)Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$b;

    .line 133
    return-void
.end method

.method public optimizeMemoryImmediately()V
    .registers 6

    .prologue
    .line 92
    new-instance v0, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx;

    invoke-direct {v0}, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx;-><init>()V

    .line 93
    new-instance v1, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;

    const/4 v2, 0x0

    sget v3, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;->c:I

    const/4 v4, 0x1

    invoke-direct {v1, v2, v3, v4}, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;-><init>(Ljava/lang/String;IZ)V

    .line 94
    new-instance v2, Lcom/cleanmaster/h/e;

    invoke-direct {v2, p0}, Lcom/cleanmaster/h/e;-><init>(Lcom/cleanmaster/h/c$a;)V

    invoke-virtual {v0, v1, v2}, Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx;->a(Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$a;Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$IStateListener;)Lcom/cleanmaster/ui/game/leftstone/GameMemoryEx$b;

    .line 104
    return-void
.end method

.method public prepareAppIcon(Ljava/lang/String;)Landroid/net/Uri;
    .registers 3

    .prologue
    .line 72
    invoke-static {p1}, Lcom/keniu/security/update/push/h;->a(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    return-object v0
.end method

.method public registerAppsChangedMonitor(Lcom/cm/plugincluster/spec/FunctionCallback;)V
    .registers 5

    .prologue
    const v2, 0x4fffffff    # 8.5899341E9f

    .line 269
    invoke-virtual {p0}, Lcom/cleanmaster/h/c$a;->unregisterAppsChangedMonitor()V

    .line 271
    new-instance v0, Lcom/cleanmaster/h/i;

    invoke-direct {v0, p0, p1}, Lcom/cleanmaster/h/i;-><init>(Lcom/cleanmaster/h/c$a;Lcom/cm/plugincluster/spec/FunctionCallback;)V

    iput-object v0, p0, Lcom/cleanmaster/h/c$a;->a:Lcom/cm/plugincluster/monitor/interfaces/IMonitor;

    .line 294
    const/4 v0, 0x4

    iget-object v1, p0, Lcom/cleanmaster/h/c$a;->a:Lcom/cm/plugincluster/monitor/interfaces/IMonitor;

    invoke-static {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/utils/MonitorManagerUtil;->addMonitor(ILcom/cm/plugincluster/monitor/interfaces/IMonitor;I)Z

    .line 297
    const/4 v0, 0x5

    iget-object v1, p0, Lcom/cleanmaster/h/c$a;->a:Lcom/cm/plugincluster/monitor/interfaces/IMonitor;

    invoke-static {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/utils/MonitorManagerUtil;->addMonitor(ILcom/cm/plugincluster/monitor/interfaces/IMonitor;I)Z

    .line 300
    return-void
.end method

.method public reportGiftBox(Z)V
    .registers 2

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

    .line 367
    return-void
.end method

.method public saveAdsIntoGameTypeCache(Ljava/util/List;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/cm/plugincluster/ordinary/Ad;",
            ">;)V"
        }
    .end annotation

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

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/dao/DaoFactory;->getGameTypeCacheImp(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/dao/GameTypeCacheImp;

    move-result-object v1

    .line 144
    if-nez v1, :cond_b

    .line 156
    :cond_a
    return-void

    .line 147
    :cond_b
    invoke-virtual {v1, p1}, Lcom/cleanmaster/hpsharelib/dao/GameTypeCacheImp;->insert(Ljava/util/List;)V

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

    move-result-object v2

    :cond_12
    :goto_12
    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, Lcom/cm/plugincluster/ordinary/Ad;

    .line 150
    if-eqz v0, :cond_12

    .line 152
    invoke-virtual {v0}, Lcom/cm/plugincluster/ordinary/Ad;->getSugApps()Ljava/util/ArrayList;

    move-result-object v0

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

    move-result v3

    if-nez v3, :cond_12

    .line 154
    invoke-virtual {v1, v0}, Lcom/cleanmaster/hpsharelib/dao/GameTypeCacheImp;->insert(Ljava/util/List;)V

    goto :goto_12
.end method

.method public showNewUserLongTimeNotOpenBoostNotification(Ljava/util/List;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 77
    invoke-static {p1}, Lcom/cleanmaster/ui/game/leftstone/b;->a(Ljava/util/List;)V

    .line 78
    return-void
.end method

.method public takeISyncIpcServiceExplorer()Lcom/cm/plugincluster/gamebox/ISyncIpcServiceExplorer;
    .registers 2

    .prologue
    .line 170
    new-instance v0, Lcom/cleanmaster/h/g;

    invoke-direct {v0, p0}, Lcom/cleanmaster/h/g;-><init>(Lcom/cleanmaster/h/c$a;)V

    return-object v0
.end method

.method public unregisterAppsChangedMonitor()V
    .registers 3

    .prologue
    .line 304
    iget-object v0, p0, Lcom/cleanmaster/h/c$a;->a:Lcom/cm/plugincluster/monitor/interfaces/IMonitor;

    if-nez v0, :cond_5

    .line 308
    :goto_4
    return-void

    .line 305
    :cond_5
    const/4 v0, 0x4

    iget-object v1, p0, Lcom/cleanmaster/h/c$a;->a:Lcom/cm/plugincluster/monitor/interfaces/IMonitor;

    invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/utils/MonitorManagerUtil;->removeMonitor(ILcom/cm/plugincluster/monitor/interfaces/IMonitor;)Z

    .line 306
    const/4 v0, 0x5

    iget-object v1, p0, Lcom/cleanmaster/h/c$a;->a:Lcom/cm/plugincluster/monitor/interfaces/IMonitor;

    invoke-static {v0, v1}, Lcom/cleanmaster/hpsharelib/utils/MonitorManagerUtil;->removeMonitor(ILcom/cm/plugincluster/monitor/interfaces/IMonitor;)Z

    .line 307
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/cleanmaster/h/c$a;->a:Lcom/cm/plugincluster/monitor/interfaces/IMonitor;

    goto :goto_4
.end method