CommonServiceProcess$1.smali

.class Lcom/sandboxol/center/download/service/CommonServiceProcess$1;
.super Ljava/lang/Object;
.source "CommonServiceProcess.java"

# interfaces
.implements Lcom/sandboxol/file/d/e;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/center/download/service/CommonServiceProcess;->process(IILjava/lang/String;Lcom/sandboxol/center/download/service/IDownloadListener;Lcom/sandboxol/center/download/service/IVerifyListener;Lcom/sandboxol/center/download/service/IUnzipListener;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/sandboxol/center/download/service/CommonServiceProcess;

.field final synthetic val$builderJson:Ljava/lang/String;

.field final synthetic val$commonProgressInfo:Lcom/sandboxol/center/download/entity/CommonProgressInfo;

.field final synthetic val$commonResVersion:J

.field final synthetic val$downloadListener:Lcom/sandboxol/center/download/service/IDownloadListener;

.field final synthetic val$isNewEngine:I

.field final synthetic val$isUgc:I

.field final synthetic val$mergeBuilder:Lcom/sandboxol/center/download/entity/MergeBuilder;

.field final synthetic val$unzipListener:Lcom/sandboxol/center/download/service/IUnzipListener;

.field final synthetic val$verifyListener:Lcom/sandboxol/center/download/service/IVerifyListener;


# direct methods
.method constructor <init>(Lcom/sandboxol/center/download/service/CommonServiceProcess;IIJLcom/sandboxol/center/download/entity/MergeBuilder;Lcom/sandboxol/center/download/entity/CommonProgressInfo;Lcom/sandboxol/center/download/service/IUnzipListener;Ljava/lang/String;Lcom/sandboxol/center/download/service/IDownloadListener;Lcom/sandboxol/center/download/service/IVerifyListener;)V
    .registers 12

    .line 1
    iput-object p1, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->this$0:Lcom/sandboxol/center/download/service/CommonServiceProcess;

    iput p2, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$isNewEngine:I

    iput p3, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$isUgc:I

    iput-wide p4, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$commonResVersion:J

    iput-object p6, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$mergeBuilder:Lcom/sandboxol/center/download/entity/MergeBuilder;

    iput-object p7, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$commonProgressInfo:Lcom/sandboxol/center/download/entity/CommonProgressInfo;

    iput-object p8, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$unzipListener:Lcom/sandboxol/center/download/service/IUnzipListener;

    iput-object p9, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$builderJson:Ljava/lang/String;

    iput-object p10, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$downloadListener:Lcom/sandboxol/center/download/service/IDownloadListener;

    iput-object p11, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$verifyListener:Lcom/sandboxol/center/download/service/IVerifyListener;

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

    return-void
.end method


# virtual methods
.method public error(Ljava/lang/Throwable;)V
    .registers 14

    .line 1
    iget-object v0, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->this$0:Lcom/sandboxol/center/download/service/CommonServiceProcess;

    iget-object v3, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$commonProgressInfo:Lcom/sandboxol/center/download/entity/CommonProgressInfo;

    iget-object v4, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$builderJson:Ljava/lang/String;

    iget-object v5, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$downloadListener:Lcom/sandboxol/center/download/service/IDownloadListener;

    iget-object v6, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$verifyListener:Lcom/sandboxol/center/download/service/IVerifyListener;

    iget-object v7, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$unzipListener:Lcom/sandboxol/center/download/service/IUnzipListener;

    iget-object v8, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$mergeBuilder:Lcom/sandboxol/center/download/entity/MergeBuilder;

    iget v9, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$isNewEngine:I

    iget v10, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$isUgc:I

    const/4 v1, 0x4

    const/4 v11, 0x1

    move-object v2, p1

    invoke-virtual/range {v0 .. v11}, Lcom/sandboxol/center/download/service/BaseServiceProcess;->unzipOnError(ILjava/lang/Throwable;Lcom/sandboxol/center/download/entity/ProgressInfo;Ljava/lang/String;Lcom/sandboxol/center/download/service/IDownloadListener;Lcom/sandboxol/center/download/service/IVerifyListener;Lcom/sandboxol/center/download/service/IUnzipListener;Lcom/sandboxol/center/download/entity/MergeBuilder;IIZ)V

    return-void
.end method

.method public progress(Lcom/sandboxol/file/entity/Progress;)V
    .registers 6

    .line 1
    iget-object v0, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->this$0:Lcom/sandboxol/center/download/service/CommonServiceProcess;

    iget-object v1, v0, Lcom/sandboxol/center/download/service/BaseServiceProcess;->context:Landroid/content/Context;

    iget-object v2, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$commonProgressInfo:Lcom/sandboxol/center/download/entity/CommonProgressInfo;

    iget-object v3, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$unzipListener:Lcom/sandboxol/center/download/service/IUnzipListener;

    invoke-virtual {v0, v1, p1, v2, v3}, Lcom/sandboxol/center/download/service/BaseServiceProcess;->unzipOnProgress(Landroid/content/Context;Lcom/sandboxol/file/entity/Progress;Lcom/sandboxol/center/download/entity/ProgressInfo;Lcom/sandboxol/center/download/service/IUnzipListener;)V

    return-void
.end method

.method public success()V
    .registers 12

    .line 1
    iget-object v0, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->this$0:Lcom/sandboxol/center/download/service/CommonServiceProcess;

    iget-object v0, v0, Lcom/sandboxol/center/download/service/BaseServiceProcess;->context:Landroid/content/Context;

    iget v1, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$isNewEngine:I

    iget v2, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$isUgc:I

    iget-wide v3, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$commonResVersion:J

    invoke-static {v0, v1, v2, v3, v4}, Lcom/sandboxol/center/router/moduleInfo/game/EngineEnv;->storeCommonResVersion(Landroid/content/Context;IIJ)V

    .line 2
    iget-object v5, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->this$0:Lcom/sandboxol/center/download/service/CommonServiceProcess;

    iget-object v7, v5, Lcom/sandboxol/center/download/service/BaseServiceProcess;->context:Landroid/content/Context;

    iget-object v8, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$mergeBuilder:Lcom/sandboxol/center/download/entity/MergeBuilder;

    iget-object v9, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$commonProgressInfo:Lcom/sandboxol/center/download/entity/CommonProgressInfo;

    iget-object v10, p0, Lcom/sandboxol/center/download/service/CommonServiceProcess$1;->val$unzipListener:Lcom/sandboxol/center/download/service/IUnzipListener;

    const/4 v6, 0x4

    invoke-virtual/range {v5 .. v10}, Lcom/sandboxol/center/download/service/BaseServiceProcess;->unzipOnSuccess(ILandroid/content/Context;Lcom/sandboxol/center/download/entity/MergeBuilder;Lcom/sandboxol/center/download/entity/ProgressInfo;Lcom/sandboxol/center/download/service/IUnzipListener;)V

    return-void
.end method