NewSandboxReportService$2.smali

.class Lcom/sandboxol/report/NewSandboxReportService$2;
.super Ljava/lang/Object;
.source "NewSandboxReportService.java"

# interfaces
.implements Lio/reactivex/w;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/report/NewSandboxReportService;->_startReport(Landroid/content/Context;)V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lio/reactivex/w<",
        "Ljava/lang/Long;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/sandboxol/report/NewSandboxReportService;


# direct methods
.method constructor <init>(Lcom/sandboxol/report/NewSandboxReportService;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

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

    return-void
.end method


# virtual methods
.method public synthetic a()V
    .registers 3

    .line 1
    iget-object v0, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

    const/4 v1, 0x1

    # setter for: Lcom/sandboxol/report/NewSandboxReportService;->isReportFinish:Z
    invoke-static {v0, v1}, Lcom/sandboxol/report/NewSandboxReportService;->access$302(Lcom/sandboxol/report/NewSandboxReportService;Z)Z

    return-void
.end method

.method public onComplete()V
    .registers 2

    .line 1
    iget-object v0, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

    # invokes: Lcom/sandboxol/report/NewSandboxReportService;->resetReport()V
    invoke-static {v0}, Lcom/sandboxol/report/NewSandboxReportService;->access$500(Lcom/sandboxol/report/NewSandboxReportService;)V

    return-void
.end method

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

    .line 1
    iget-object v0, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

    # invokes: Lcom/sandboxol/report/NewSandboxReportService;->resetReport()V
    invoke-static {v0}, Lcom/sandboxol/report/NewSandboxReportService;->access$500(Lcom/sandboxol/report/NewSandboxReportService;)V

    .line 2
    invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V

    return-void
.end method

.method public onNext(Ljava/lang/Long;)V
    .registers 3

    .line 2
    iget-object p1, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

    invoke-virtual {p1}, Lcom/sandboxol/report/NewSandboxReportService;->getReportInternal()I

    move-result p1

    if-gtz p1, :cond_e

    .line 3
    iget-object p1, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

    # invokes: Lcom/sandboxol/report/NewSandboxReportService;->stopReport()V
    invoke-static {p1}, Lcom/sandboxol/report/NewSandboxReportService;->access$200(Lcom/sandboxol/report/NewSandboxReportService;)V

    return-void

    .line 4
    :cond_e
    iget-object p1, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

    # getter for: Lcom/sandboxol/report/NewSandboxReportService;->isReportFinish:Z
    invoke-static {p1}, Lcom/sandboxol/report/NewSandboxReportService;->access$300(Lcom/sandboxol/report/NewSandboxReportService;)Z

    move-result p1

    if-eqz p1, :cond_26

    .line 5
    iget-object p1, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

    const/4 v0, 0x0

    # setter for: Lcom/sandboxol/report/NewSandboxReportService;->isReportFinish:Z
    invoke-static {p1, v0}, Lcom/sandboxol/report/NewSandboxReportService;->access$302(Lcom/sandboxol/report/NewSandboxReportService;Z)Z

    .line 6
    iget-object p1, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

    new-instance v0, Lcom/sandboxol/report/a;

    invoke-direct {v0, p0}, Lcom/sandboxol/report/a;-><init>(Lcom/sandboxol/report/NewSandboxReportService$2;)V

    # invokes: Lcom/sandboxol/report/NewSandboxReportService;->handleReportEvent(Lrx/functions/Action0;)V
    invoke-static {p1, v0}, Lcom/sandboxol/report/NewSandboxReportService;->access$400(Lcom/sandboxol/report/NewSandboxReportService;Lrx/functions/Action0;)V

    :cond_26
    return-void
.end method

.method public bridge synthetic onNext(Ljava/lang/Object;)V
    .registers 2

    .line 1
    check-cast p1, Ljava/lang/Long;

    invoke-virtual {p0, p1}, Lcom/sandboxol/report/NewSandboxReportService$2;->onNext(Ljava/lang/Long;)V

    return-void
.end method

.method public onSubscribe(Lio/reactivex/disposables/b;)V
    .registers 3

    .line 1
    iget-object v0, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

    # getter for: Lcom/sandboxol/report/NewSandboxReportService;->mDisposable:Lio/reactivex/disposables/b;
    invoke-static {v0}, Lcom/sandboxol/report/NewSandboxReportService;->access$100(Lcom/sandboxol/report/NewSandboxReportService;)Lio/reactivex/disposables/b;

    move-result-object v0

    if-eqz v0, :cond_11

    .line 2
    iget-object v0, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

    # getter for: Lcom/sandboxol/report/NewSandboxReportService;->mDisposable:Lio/reactivex/disposables/b;
    invoke-static {v0}, Lcom/sandboxol/report/NewSandboxReportService;->access$100(Lcom/sandboxol/report/NewSandboxReportService;)Lio/reactivex/disposables/b;

    move-result-object v0

    invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V

    .line 3
    :cond_11
    iget-object v0, p0, Lcom/sandboxol/report/NewSandboxReportService$2;->this$0:Lcom/sandboxol/report/NewSandboxReportService;

    # setter for: Lcom/sandboxol/report/NewSandboxReportService;->mDisposable:Lio/reactivex/disposables/b;
    invoke-static {v0, p1}, Lcom/sandboxol/report/NewSandboxReportService;->access$102(Lcom/sandboxol/report/NewSandboxReportService;Lio/reactivex/disposables/b;)Lio/reactivex/disposables/b;

    return-void
.end method