GameBoxPluginDelegate.smali
.class public Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;
.super Ljava/lang/Object;
.source "GameBoxPluginDelegate.java"
# static fields
.field private static final PLUGIN_ID_INTERNAL:I = 0xa
.field private static mEnterAndScanGamesObserver:Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;
.field private static sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
.field private static sSimpleModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 24
new-instance v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
invoke-direct {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;-><init>()V
sput-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sSimpleModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
return-void
.end method
.method public constructor <init>()V
.registers 1
.prologue
.line 22
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method static synthetic access$002(Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;
.registers 1
.prologue
.line 22
sput-object p0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->mEnterAndScanGamesObserver:Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;
return-object p0
.end method
.method static synthetic access$100(I)V
.registers 1
.prologue
.line 22
invoke-static {p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->enterAndScanGames(I)V
return-void
.end method
.method public static addFreshInstalledGameIntoCache(Ljava/lang/String;I)V
.registers 3
.prologue
.line 319
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->addFreshInstalledGameIntoCache(Ljava/lang/String;I)V
.line 320
return-void
.end method
.method public static addGameBoostJsIfNeeded(Landroid/app/Activity;Landroid/webkit/WebView;Ljava/lang/String;)Z
.registers 4
.prologue
.line 384
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1, p2}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->addGameBoostJsIfNeeded(Landroid/app/Activity;Landroid/webkit/WebView;Ljava/lang/String;)Z
move-result v0
return v0
.end method
.method public static addToAppDataCache(Ljava/lang/String;Ljava/lang/String;Z)V
.registers 4
.prologue
.line 270
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->isPluginAvailable()Z
move-result v0
if-eqz v0, :cond_c
.line 271
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
invoke-virtual {v0, p0, p1, p2}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->addToAppDataCache(Ljava/lang/String;Ljava/lang/String;Z)V
.line 281
:goto_b
return-void
.line 275
:cond_c
new-instance v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$7;
invoke-direct {v0, p0, p1, p2}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$7;-><init>(Ljava/lang/String;Ljava/lang/String;Z)V
invoke-static {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->onPluginInitFinish(Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)V
goto :goto_b
.end method
.method public static attemptToShowSafeNotification(Ljava/lang/String;ZLcom/cm/plugincluster/spec/FunctionCallback;Lcom/cm/plugincluster/spec/FunctionCallback;)Z
.registers 5
.prologue
.line 251
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1, p2, p3}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->attemptToShowSafeNotification(Ljava/lang/String;ZLcom/cm/plugincluster/spec/FunctionCallback;Lcom/cm/plugincluster/spec/FunctionCallback;)Z
move-result v0
return v0
.end method
.method public static createGameBoxIcon([Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;IZ)Landroid/graphics/Bitmap;
.registers 5
.prologue
.line 400
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1, p2, p3}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->createGameBoxIcon([Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;IZ)Landroid/graphics/Bitmap;
move-result-object v0
return-object v0
.end method
.method public static createGameBoxShortcut()Z
.registers 1
.prologue
.line 55
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->createGameBoxShortcut()Z
move-result v0
return v0
.end method
.method public static createGameBoxShortcutAsync(I)V
.registers 2
.prologue
.line 75
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->createGameBoxShortcutAsync(I)V
.line 76
return-void
.end method
.method public static delayPlugGameDataService()V
.registers 1
.prologue
.line 416
new-instance v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$10;
invoke-direct {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$10;-><init>()V
invoke-static {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->onPluginInitFinish(Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)V
.line 422
return-void
.end method
.method public static deleteUninstallGame(Ljava/lang/String;)V
.registers 2
.prologue
.line 296
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->isPluginAvailable()Z
move-result v0
if-eqz v0, :cond_c
.line 297
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
invoke-virtual {v0, p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->deleteUninstallGame(Ljava/lang/String;)V
.line 307
:goto_b
return-void
.line 301
:cond_c
new-instance v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$8;
invoke-direct {v0, p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$8;-><init>(Ljava/lang/String;)V
invoke-static {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->onPluginInitFinish(Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)V
goto :goto_b
.end method
.method public static doPreGameBoxRecommendDataLoaderAtScreenOff()V
.registers 1
.prologue
.line 392
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->doPreGameBoxRecommendDataLoaderAtScreenOff()V
.line 393
return-void
.end method
.method public static doPreLoadGameCenterPicksData()V
.registers 1
.prologue
.line 119
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->isPluginAvailable()Z
move-result v0
if-eqz v0, :cond_c
.line 120
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->doPreLoadGameCenterPicksData()V
.line 135
:goto_b
return-void
.line 124
:cond_c
new-instance v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$2;
invoke-direct {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$2;-><init>()V
invoke-static {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->onPluginInitFinish(Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)V
goto :goto_b
.end method
.method public static enterAndScanGames()V
.registers 1
.prologue
.line 85
const/16 v0, 0x7530
invoke-static {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->enterAndScanGames(I)V
.line 86
return-void
.end method
.method private static enterAndScanGames(I)V
.registers 2
.prologue
.line 89
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->isPluginAvailable()Z
move-result v0
if-eqz v0, :cond_c
.line 90
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
invoke-virtual {v0, p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->enterAndScanGames(I)V
.line 104
:cond_b
:goto_b
return-void
.line 94
:cond_c
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->mEnterAndScanGamesObserver:Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;
if-nez v0, :cond_b
.line 96
new-instance v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$1;
invoke-direct {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$1;-><init>()V
sput-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->mEnterAndScanGamesObserver:Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;
.line 103
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->mEnterAndScanGamesObserver:Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;
invoke-static {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->onPluginInitFinish(Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)V
goto :goto_b
.end method
.method public static fetchGameBoxAgentInstance()Lcom/cm/plugincluster/gamebox/GameBoxAgent;
.registers 1
.prologue
.line 175
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->isPluginAvailable()Z
move-result v0
if-eqz v0, :cond_d
.line 176
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->fetchGameBoxAgentInstance()Lcom/cm/plugincluster/gamebox/GameBoxAgent;
move-result-object v0
.line 179
:goto_c
return-object v0
:cond_d
new-instance v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$4;
invoke-direct {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$4;-><init>()V
goto :goto_c
.end method
.method public static fetchGameBoxWatcher()Lcom/cm/plugincluster/gamebox/GameBoxWatcher;
.registers 1
.prologue
.line 197
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->isPluginAvailable()Z
move-result v0
if-eqz v0, :cond_d
.line 198
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->fetchGameBoxWatcher()Lcom/cm/plugincluster/gamebox/GameBoxWatcher;
move-result-object v0
.line 201
:goto_c
return-object v0
:cond_d
new-instance v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$5;
invoke-direct {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$5;-><init>()V
goto :goto_c
.end method
.method public static fixErrorGameBoostShortCut()V
.registers 1
.prologue
.line 59
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->fixErrorGameBoostShortCut()V
.line 60
return-void
.end method
.method public static fixGameBoxShortcut()Z
.registers 2
.prologue
const/4 v0, 0x1
.line 453
invoke-static {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->hasCreateGameBoxShortcut(Z)Z
move-result v1
if-nez v1, :cond_d
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->createGameBoxShortcut()Z
move-result v1
if-eqz v1, :cond_e
:cond_d
:goto_d
return v0
:cond_e
const/4 v0, 0x0
goto :goto_d
.end method
.method public static gameBoxPromtOnAddExclusion()V
.registers 1
.prologue
.line 396
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->gameBoxPromtOnAddExclusion()V
.line 397
return-void
.end method
.method public static getAllGamesList()Ljava/util/List;
.registers 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List",
"<+",
"Lcom/cm/plugincluster/gamebox/IGameModel;",
">;"
}
.end annotation
.prologue
.line 288
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getAllGamesList()Ljava/util/List;
move-result-object v0
return-object v0
.end method
.method public static getAllGamesList(Z)Ljava/util/List;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(Z)",
"Ljava/util/List",
"<+",
"Lcom/cm/plugincluster/gamebox/IGameModel;",
">;"
}
.end annotation
.prologue
.line 284
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getAllGamesList(Z)Ljava/util/List;
move-result-object v0
return-object v0
.end method
.method public static getBoostPercent()I
.registers 1
.prologue
.line 445
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getBoostPercent()I
move-result v0
return v0
.end method
.method public static getGameBoxOneTabRecommendText()Ljava/lang/CharSequence;
.registers 1
.prologue
.line 388
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getGameBoxOneTabRecommendText()Ljava/lang/CharSequence;
move-result-object v0
return-object v0
.end method
.method public static getGameBoxRecommendDialogManager()Lcom/cm/plugincluster/gamebox/GameBoxRecommendDialogManager;
.registers 1
.prologue
.line 331
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getGameBoxRecommendDialogManager()Lcom/cm/plugincluster/gamebox/GameBoxRecommendDialogManager;
move-result-object v0
return-object v0
.end method
.method public static getGameDataServiceInstance()Landroid/os/IInterface;
.registers 1
.prologue
.line 425
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getGameDataServiceInstance()Landroid/os/IInterface;
move-result-object v0
return-object v0
.end method
.method public static getGameDataServiceProxyInstance(Landroid/os/IBinder;)Landroid/os/IInterface;
.registers 2
.prologue
.line 429
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getGameDataServiceProxyInstance(Landroid/os/IBinder;)Landroid/os/IInterface;
move-result-object v0
return-object v0
.end method
.method public static getGameModel(Ljava/lang/String;)Lcom/cm/plugincluster/gamebox/IGameModel;
.registers 2
.prologue
.line 292
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getGameModel(Ljava/lang/String;)Lcom/cm/plugincluster/gamebox/IGameModel;
move-result-object v0
return-object v0
.end method
.method public static getGameRecommendJudger()Lcom/cm/plugincluster/gamebox/GameRecommendJudger;
.registers 1
.prologue
.line 152
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getGameRecommendJudger()Lcom/cm/plugincluster/gamebox/GameRecommendJudger;
move-result-object v0
return-object v0
.end method
.method private static getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
.registers 3
.prologue
.line 27
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
if-eqz v0, :cond_7
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
.line 33
:goto_6
return-object v0
.line 29
:cond_7
const-class v1, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;
monitor-enter v1
.line 30
:try_start_a
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
if-eqz v0, :cond_15
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
monitor-exit v1
goto :goto_6
.line 34
:catchall_12
move-exception v0
monitor-exit v1
:try_end_14
.catchall {:try_start_a .. :try_end_14} :catchall_12
throw v0
.line 32
:cond_15
const v0, 0x190001
const/4 v2, 0x0
:try_start_19
new-array v2, v2, [Ljava/lang/Object;
invoke-static {v0, v2}, Lcom/cm/plugincluster/spec/CommanderManager;->invokeCommandExpNull(I[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
sput-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
.line 33
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
if-nez v0, :cond_2b
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sSimpleModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
:goto_29
monitor-exit v1
goto :goto_6
:cond_2b
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
:try_end_2d
.catchall {:try_start_19 .. :try_end_2d} :catchall_12
goto :goto_29
.end method
.method public static getMostOftenUseGameIconBitmap()Landroid/graphics/Bitmap;
.registers 1
.prologue
.line 441
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getMostOftenUseGameIconBitmap()Landroid/graphics/Bitmap;
move-result-object v0
return-object v0
.end method
.method public static getRescanObject()Ljava/lang/Runnable;
.registers 1
.prologue
.line 347
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getRescanObject()Ljava/lang/Runnable;
move-result-object v0
return-object v0
.end method
.method public static getWriteableDatebase()Landroid/database/sqlite/SQLiteDatabase;
.registers 1
.prologue
.line 327
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->getWriteableDatebase()Landroid/database/sqlite/SQLiteDatabase;
move-result-object v0
return-object v0
.end method
.method public static goToGameManagerActivity(Landroid/content/Context;I)Z
.registers 3
.prologue
.line 138
const/4 v0, 0x0
invoke-static {p0, p1, v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->goToGameManagerActivity(Landroid/content/Context;IZ)Z
move-result v0
return v0
.end method
.method public static goToGameManagerActivity(Landroid/content/Context;IZ)Z
.registers 4
.prologue
.line 145
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1, p2}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->goToGameManagerActivity(Landroid/content/Context;IZ)Z
move-result v0
return v0
.end method
.method public static handleGameBoostClickAtToolsListPage(Landroid/content/Context;I)V
.registers 3
.prologue
.line 79
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->handleGameBoostClickAtToolsListPage(Landroid/content/Context;I)V
.line 80
return-void
.end method
.method public static handleRedReportAtToolsListPage(II)V
.registers 3
.prologue
.line 67
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->handleRedReportAtToolsListPage(II)V
.line 68
return-void
.end method
.method public static hasCreateGameBoxShortcut(Z)Z
.registers 2
.prologue
.line 51
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->hasCreateGameBoxShortcut(Z)Z
move-result v0
return v0
.end method
.method public static informAppLaunchMonitor()V
.registers 1
.prologue
.line 256
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->isPluginAvailable()Z
move-result v0
if-eqz v0, :cond_c
.line 257
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->informAppLaunchMonitor()V
.line 267
:goto_b
return-void
.line 261
:cond_c
new-instance v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$6;
invoke-direct {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$6;-><init>()V
invoke-static {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->onPluginInitFinish(Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)V
goto :goto_b
.end method
.method public static isPluginAvailable()Z
.registers 2
.prologue
const/4 v0, 0x1
.line 38
sget-object v1, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
if-nez v1, :cond_c
.line 39
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
.line 40
sget-object v1, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
if-eqz v1, :cond_d
.line 42
:cond_c
:goto_c
return v0
.line 40
:cond_d
const/4 v0, 0x0
goto :goto_c
.end method
.method public static launchUpdateGameBoxDataTask(Ljava/util/Map;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map",
"<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.prologue
.line 366
const-string v0, "gamebox_CMWizard"
.line 367
const-string v0, "gamebox_CMWizard"
invoke-interface {p0, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
.line 369
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->isPluginAvailable()Z
move-result v1
if-eqz v1, :cond_17
.line 370
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v1
invoke-virtual {v1, v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->launchUpdateGameBoxDataTask(Ljava/lang/String;)V
.line 377
:cond_17
return-void
.end method
.method public static notifyStartedByGameBox(Ljava/lang/String;I)V
.registers 3
.prologue
.line 193
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->notifyStartedByGameBox(Ljava/lang/String;I)V
.line 194
return-void
.end method
.method public static onCloudCfgDataChanged()V
.registers 1
.prologue
.line 156
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->isPluginAvailable()Z
move-result v0
if-eqz v0, :cond_c
.line 157
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->onCloudCfgDataChanged()V
.line 172
:goto_b
return-void
.line 161
:cond_c
new-instance v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$3;
invoke-direct {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$3;-><init>()V
invoke-static {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->onPluginInitFinish(Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)V
goto :goto_b
.end method
.method public static onCustomToastButtonRightClick(Ljava/lang/String;Z)V
.registers 3
.prologue
.line 339
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->onCustomToastButtonRightClick(Ljava/lang/String;Z)V
.line 340
return-void
.end method
.method public static onGameBoostHeadViewClick(Landroid/app/Activity;Ljava/util/List;)V
.registers 3
.prologue
.line 310
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->onGameBoostHeadViewClick(Landroid/app/Activity;Ljava/util/List;)V
.line 311
return-void
.end method
.method public static onPluginInitFinish(Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)V
.registers 3
.prologue
.line 47
invoke-static {}, Lcom/cm/plugincluster/pluginmgr/PluginManagerHostProxy;->getInstance()Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager;
move-result-object v0
const/16 v1, 0xa
invoke-interface {v0, v1, p0}, Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager;->runOnPluginInitComplete(ILcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)V
.line 48
return-void
.end method
.method public static openGameBoostAsync(I)V
.registers 2
.prologue
.line 71
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->openGameBoostAsync(I)V
.line 72
return-void
.end method
.method public static reportCmGamesItemRed(ZZ)V
.registers 3
.prologue
.line 412
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->reportCmGamesItemRed(ZZ)V
.line 413
return-void
.end method
.method public static reportGameRecommend(II)V
.registers 3
.prologue
.line 456
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->reportGameRecommend(II)V
.line 457
return-void
.end method
.method public static reportUserGameBehaviors(ILjava/lang/String;)V
.registers 3
.prologue
.line 323
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->reportUserGameBehaviors(ILjava/lang/String;)V
.line 324
return-void
.end method
.method public static shouldEnableGameBoxGuide(Z)Z
.registers 2
.prologue
.line 63
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->shouldEnableGameBoxGuide(Z)Z
move-result v0
return v0
.end method
.method public static shouldRecommendGameBoxInCmHeadCard()Z
.registers 1
.prologue
.line 404
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->shouldRecommendGameBoxInCmHeadCard()Z
move-result v0
return v0
.end method
.method public static startGameBox(Landroid/content/Context;IILandroid/os/Bundle;)V
.registers 5
.prologue
.line 449
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1, p2, p3}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->startGameBox(Landroid/content/Context;IILandroid/os/Bundle;)V
.line 450
return-void
.end method
.method public static startProperGameBox(Landroid/content/Context;I)V
.registers 3
.prologue
.line 408
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0, p1}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->startProperGameBox(Landroid/content/Context;I)V
.line 409
return-void
.end method
.method public static stopScanGames()V
.registers 1
.prologue
.line 107
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->isPluginAvailable()Z
move-result v0
if-eqz v0, :cond_c
.line 108
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->stopScanGames()V
.line 116
:cond_b
:goto_b
return-void
.line 112
:cond_c
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->mEnterAndScanGamesObserver:Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;
if-eqz v0, :cond_b
.line 113
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->mEnterAndScanGamesObserver:Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;
invoke-static {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->onPluginInitFinish(Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)V
.line 114
const/4 v0, 0x0
sput-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->mEnterAndScanGamesObserver:Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;
goto :goto_b
.end method
.method public static takeCmdReceiver()Lcom/cm/plugincluster/common/IBaseReceiver;
.registers 1
.prologue
.line 433
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->takeCmdReceiver()Lcom/cm/plugincluster/common/IBaseReceiver;
move-result-object v0
return-object v0
.end method
.method public static takeInstallMonitorReceiver()Lcom/cm/plugincluster/common/IBaseReceiver;
.registers 1
.prologue
.line 437
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->takeInstallMonitorReceiver()Lcom/cm/plugincluster/common/IBaseReceiver;
move-result-object v0
return-object v0
.end method
.method public static updateGameCacheWhenAppsChanged(Ljava/lang/String;IZZZ)V
.registers 11
.prologue
.line 315
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
move-object v1, p0
move v2, p1
move v3, p2
move v4, p3
move v5, p4
invoke-virtual/range {v0 .. v5}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->updateGameCacheWhenAppsChanged(Ljava/lang/String;IZZZ)V
.line 316
return-void
.end method
.method public static whenBatteryCharging()V
.registers 1
.prologue
.line 351
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->isPluginAvailable()Z
move-result v0
if-eqz v0, :cond_c
.line 352
sget-object v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->sModule:Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
invoke-virtual {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->whenBatteryCharging()V
.line 362
:goto_b
return-void
.line 356
:cond_c
new-instance v0, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$9;
invoke-direct {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate$9;-><init>()V
invoke-static {v0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->onPluginInitFinish(Lcom/cm/plugincluster/pluginmgr/interfaces/IPluginManager$IPluginInitObserver;)V
goto :goto_b
.end method
.method public static whenCouldCfg2GameBoxOrPicks(Landroid/content/Context;)V
.registers 2
.prologue
.line 335
invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->getModule()Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/cm/plugincluster/gamebox/GameBoxPluginModule;->whenCouldCfg2GameBoxOrPicks(Landroid/content/Context;)V
.line 336
return-void
.end method