DressServiceProcess$3.smali

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

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/center/download/service/DressServiceProcess;->process(Ljava/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/DressServiceProcess;

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

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

.field final synthetic val$dressProgressInfo:Lcom/sandboxol/center/download/entity/DressProgressInfo;

.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/DressServiceProcess;Lcom/sandboxol/center/download/entity/MergeBuilder;Lcom/sandboxol/center/download/entity/DressProgressInfo;Lcom/sandboxol/center/download/service/IDownloadListener;Ljava/lang/String;Lcom/sandboxol/center/download/service/IVerifyListener;Lcom/sandboxol/center/download/service/IUnzipListener;)V
    .registers 8

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

    iput-object p2, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$mergeBuilder:Lcom/sandboxol/center/download/entity/MergeBuilder;

    iput-object p3, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$dressProgressInfo:Lcom/sandboxol/center/download/entity/DressProgressInfo;

    iput-object p4, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$downloadListener:Lcom/sandboxol/center/download/service/IDownloadListener;

    iput-object p5, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$builderJson:Ljava/lang/String;

    iput-object p6, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$verifyListener:Lcom/sandboxol/center/download/service/IVerifyListener;

    iput-object p7, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$unzipListener:Lcom/sandboxol/center/download/service/IUnzipListener;

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

    return-void
.end method


# virtual methods
.method public onComplete(Lcom/sandboxol/file/entity/Progress;)V
    .registers 9

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

    iget-object v3, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$mergeBuilder:Lcom/sandboxol/center/download/entity/MergeBuilder;

    invoke-virtual {v3}, Lcom/sandboxol/center/download/entity/MergeBuilder;->getDownloadBuilder()Lcom/sandboxol/file/b/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/sandboxol/file/b/a;->e()[Lcom/sandboxol/file/entity/DownloadInfo;

    move-result-object v4

    iget-object v1, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$mergeBuilder:Lcom/sandboxol/center/download/entity/MergeBuilder;

    invoke-virtual {v1}, Lcom/sandboxol/center/download/entity/MergeBuilder;->getVerifyBuilder()Lcom/sandboxol/file/b/c;

    move-result-object v1

    invoke-virtual {v1}, Lcom/sandboxol/file/b/c;->b()[Lcom/sandboxol/file/entity/VerifyInfo;

    move-result-object v5

    iget-object v6, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$downloadListener:Lcom/sandboxol/center/download/service/IDownloadListener;

    const/4 v1, 0x1

    move-object v2, p1

    invoke-virtual/range {v0 .. v6}, Lcom/sandboxol/center/download/service/BaseServiceProcess;->downloadOnComplete(ILcom/sandboxol/file/entity/Progress;Lcom/sandboxol/center/download/entity/MergeBuilder;[Lcom/sandboxol/file/entity/DownloadInfo;[Lcom/sandboxol/file/entity/VerifyInfo;Lcom/sandboxol/center/download/service/IDownloadListener;)V

    return-void
.end method

.method public onError(Ljava/lang/Throwable;)V
    .registers 11

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

    iget-object v3, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$builderJson:Ljava/lang/String;

    iget-object v4, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$downloadListener:Lcom/sandboxol/center/download/service/IDownloadListener;

    iget-object v5, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$verifyListener:Lcom/sandboxol/center/download/service/IVerifyListener;

    iget-object v6, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$unzipListener:Lcom/sandboxol/center/download/service/IUnzipListener;

    iget-object v7, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$dressProgressInfo:Lcom/sandboxol/center/download/entity/DressProgressInfo;

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

    const/4 v1, 0x1

    move-object v2, p1

    invoke-virtual/range {v0 .. v8}, Lcom/sandboxol/center/download/service/BaseServiceProcess;->downloadOnError(ILjava/lang/Throwable;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/ProgressInfo;Lcom/sandboxol/center/download/entity/MergeBuilder;)V

    return-void
.end method

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

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

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

    iget-object v2, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$dressProgressInfo:Lcom/sandboxol/center/download/entity/DressProgressInfo;

    iget-object v3, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$downloadListener:Lcom/sandboxol/center/download/service/IDownloadListener;

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

    return-void
.end method

.method public onSubscribe(Ljava/lang/Throwable;)V
    .registers 4

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

    iget-object v1, p0, Lcom/sandboxol/center/download/service/DressServiceProcess$3;->val$mergeBuilder:Lcom/sandboxol/center/download/entity/MergeBuilder;

    invoke-virtual {v1}, Lcom/sandboxol/center/download/entity/MergeBuilder;->getDownloadBuilder()Lcom/sandboxol/file/b/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/sandboxol/file/b/a;->e()[Lcom/sandboxol/file/entity/DownloadInfo;

    move-result-object v1

    invoke-virtual {v0, v1, p1}, Lcom/sandboxol/center/download/service/BaseServiceProcess;->downloadOnSubscribe([Lcom/sandboxol/file/entity/DownloadInfo;Ljava/lang/Throwable;)V

    return-void
.end method