SandboxReportManager.smali
.class public Lcom/sandboxol/center/router/manager/SandboxReportManager;
.super Ljava/lang/Object;
.source "SandboxReportManager.java"
# static fields
.field private static sandboxReportService:Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;
# direct methods
.method static constructor <clinit>()V
.registers 1
const-string v0, "/sandboxReport/report"
.line 1
invoke-static {v0}, Lcom/sandboxol/center/router/RouteServiceManager;->provide(Ljava/lang/String;)Lcom/alibaba/android/arouter/facade/template/IProvider;
move-result-object v0
check-cast v0, Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;
sput-object v0, Lcom/sandboxol/center/router/manager/SandboxReportManager;->sandboxReportService:Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getReportInternal()I
.registers 1
.line 1
sget-object v0, Lcom/sandboxol/center/router/manager/SandboxReportManager;->sandboxReportService:Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;
if-eqz v0, :cond_9
.line 2
invoke-interface {v0}, Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;->getReportInternal()I
move-result v0
return v0
:cond_9
const/4 v0, -0x1
return v0
.end method
.method public static onCreate(Landroid/content/Context;Ljava/lang/String;)V
.registers 3
.line 1
sget-object v0, Lcom/sandboxol/center/router/manager/SandboxReportManager;->sandboxReportService:Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;
if-eqz v0, :cond_7
.line 2
invoke-interface {v0, p0, p1}, Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;->onCreate(Landroid/content/Context;Ljava/lang/String;)V
:cond_7
return-void
.end method
.method public static onDestroy()V
.registers 1
.line 1
sget-object v0, Lcom/sandboxol/center/router/manager/SandboxReportManager;->sandboxReportService:Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;
if-eqz v0, :cond_7
.line 2
invoke-interface {v0}, Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;->onDestroy()V
:cond_7
return-void
.end method
.method public static onEvent(Ljava/lang/String;)V
.registers 2
.line 1
sget-object v0, Lcom/sandboxol/center/router/manager/SandboxReportManager;->sandboxReportService:Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;
if-eqz v0, :cond_7
.line 2
invoke-interface {v0, p0}, Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;->onEvent(Ljava/lang/String;)V
:cond_7
return-void
.end method
.method public static onEvent(Ljava/lang/String;Ljava/lang/String;)V
.registers 3
.line 3
sget-object v0, Lcom/sandboxol/center/router/manager/SandboxReportManager;->sandboxReportService:Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;
if-eqz v0, :cond_7
.line 4
invoke-interface {v0, p0, p1}, Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;->onEvent(Ljava/lang/String;Ljava/lang/String;)V
:cond_7
return-void
.end method
.method public static onEvent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.registers 4
.line 5
sget-object v0, Lcom/sandboxol/center/router/manager/SandboxReportManager;->sandboxReportService:Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;
if-eqz v0, :cond_7
.line 6
invoke-interface {v0, p0, p1, p2}, Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;->onEvent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:cond_7
return-void
.end method
.method public static onEvent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.registers 5
.line 7
sget-object v0, Lcom/sandboxol/center/router/manager/SandboxReportManager;->sandboxReportService:Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;
if-eqz v0, :cond_7
.line 8
invoke-interface {v0, p0, p1, p2, p3}, Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;->onEvent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
:cond_7
return-void
.end method
.method public static setReportInternal(I)V
.registers 2
.line 1
sget-object v0, Lcom/sandboxol/center/router/manager/SandboxReportManager;->sandboxReportService:Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;
if-eqz v0, :cond_7
.line 2
invoke-interface {v0, p0}, Lcom/sandboxol/center/router/moduleApi/ISandboxReportService;->setReportInternal(I)V
:cond_7
return-void
.end method