h.smali
.class final Lrx/internal/operators/h;
.super Lrx/o;
.source "OnSubscribeFilter.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lrx/o",
"<TT;>;"
}
.end annotation
# instance fields
.field private actual:Lrx/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/o",
"<-TT;>;"
}
.end annotation
.end field
.field private caB:Lrx/b/f;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/b/f",
"<-TT;",
"Ljava/lang/Boolean;",
">;"
}
.end annotation
.end field
.field private done:Z
# direct methods
.method public constructor <init>(Lrx/o;Lrx/b/f;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/o",
"<-TT;>;",
"Lrx/b/f",
"<-TT;",
"Ljava/lang/Boolean;",
">;)V"
}
.end annotation
.prologue
.line 56
invoke-direct {p0}, Lrx/o;-><init>()V
.line 57
iput-object p1, p0, Lrx/internal/operators/h;->actual:Lrx/o;
.line 58
iput-object p2, p0, Lrx/internal/operators/h;->caB:Lrx/b/f;
.line 59
const-wide/16 v0, 0x0
invoke-virtual {p0, v0, v1}, Lrx/internal/operators/h;->request(J)V
.line 60
return-void
.end method
# virtual methods
.method public final SG()V
.registers 2
.prologue
.line 96
iget-boolean v0, p0, Lrx/internal/operators/h;->done:Z
if-eqz v0, :cond_5
.line 100
:goto_4
return-void
.line 99
:cond_5
iget-object v0, p0, Lrx/internal/operators/h;->actual:Lrx/o;
invoke-virtual {v0}, Lrx/o;->SG()V
goto :goto_4
.end method
.method public final a(Lrx/i;)V
.registers 3
.prologue
.line 103
invoke-super {p0, p1}, Lrx/o;->a(Lrx/i;)V
.line 104
iget-object v0, p0, Lrx/internal/operators/h;->actual:Lrx/o;
invoke-virtual {v0, p1}, Lrx/o;->a(Lrx/i;)V
.line 105
return-void
.end method
.method public final onError(Ljava/lang/Throwable;)V
.registers 3
.prologue
.line 84
iget-boolean v0, p0, Lrx/internal/operators/h;->done:Z
if-eqz v0, :cond_8
.line 85
invoke-static {p1}, Lrx/d/c;->onError(Ljava/lang/Throwable;)V
.line 91
:goto_7
return-void
.line 88
:cond_8
const/4 v0, 0x1
iput-boolean v0, p0, Lrx/internal/operators/h;->done:Z
.line 90
iget-object v0, p0, Lrx/internal/operators/h;->actual:Lrx/o;
invoke-virtual {v0, p1}, Lrx/o;->onError(Ljava/lang/Throwable;)V
goto :goto_7
.end method
.method public final onNext(Ljava/lang/Object;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.prologue
.line 67
:try_start_0
iget-object v0, p0, Lrx/internal/operators/h;->caB:Lrx/b/f;
invoke-interface {v0, p1}, Lrx/b/f;->call(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Boolean;
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
:try_end_b
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_b} :catch_14
move-result v0
.line 75
if-eqz v0, :cond_23
.line 76
iget-object v0, p0, Lrx/internal/operators/h;->actual:Lrx/o;
invoke-virtual {v0, p1}, Lrx/o;->onNext(Ljava/lang/Object;)V
.line 80
:goto_13
return-void
.line 68
:catch_14
move-exception v0
.line 69
invoke-static {v0}, Lrx/exceptions/d;->throwIfFatal(Ljava/lang/Throwable;)V
.line 70
invoke-virtual {p0}, Lrx/internal/operators/h;->unsubscribe()V
.line 71
invoke-static {v0, p1}, Lrx/exceptions/OnErrorThrowable;->addValueAsLastCause(Ljava/lang/Throwable;Ljava/lang/Object;)Ljava/lang/Throwable;
move-result-object v0
invoke-virtual {p0, v0}, Lrx/internal/operators/h;->onError(Ljava/lang/Throwable;)V
goto :goto_13
.line 78
:cond_23
const-wide/16 v0, 0x1
invoke-virtual {p0, v0, v1}, Lrx/internal/operators/h;->request(J)V
goto :goto_13
.end method