174 lines
3.8 KiB
Smali
174 lines
3.8 KiB
Smali
.class final Lrx/internal/a/i$b;
|
|
.super Lrx/Subscriber;
|
|
.source "OnSubscribeConcatMap.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lrx/internal/a/i;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = "b"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lrx/Subscriber<",
|
|
"TR;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final bDh:Lrx/internal/a/i$c;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/internal/a/i$c<",
|
|
"TT;TR;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field produced:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lrx/internal/a/i$c;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lrx/internal/a/i$c<",
|
|
"TT;TR;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
|
|
|
|
iput-object p1, p0, Lrx/internal/a/i$b;->bDh:Lrx/internal/a/i$c;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onCompleted()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lrx/internal/a/i$b;->bDh:Lrx/internal/a/i$c;
|
|
|
|
iget-wide v1, p0, Lrx/internal/a/i$b;->produced:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Lrx/internal/a/i$c;->aD(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onError(Ljava/lang/Throwable;)V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lrx/internal/a/i$b;->bDh:Lrx/internal/a/i$c;
|
|
|
|
iget-wide v1, p0, Lrx/internal/a/i$b;->produced:J
|
|
|
|
iget-object v3, v0, Lrx/internal/a/i$c;->error:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-static {v3, p1}, Lrx/internal/util/e;->a(Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/Throwable;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
invoke-static {p1}, Lrx/c/c;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget p1, v0, Lrx/internal/a/i$c;->bDe:I
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
iget-object p1, v0, Lrx/internal/a/i$c;->error:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-static {p1}, Lrx/internal/util/e;->b(Ljava/util/concurrent/atomic/AtomicReference;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lrx/internal/util/e;->N(Ljava/lang/Throwable;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
iget-object v1, v0, Lrx/internal/a/i$c;->actual:Lrx/Subscriber;
|
|
|
|
invoke-virtual {v1, p1}, Lrx/Subscriber;->onError(Ljava/lang/Throwable;)V
|
|
|
|
:cond_1
|
|
invoke-virtual {v0}, Lrx/internal/a/i$c;->unsubscribe()V
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
const-wide/16 v3, 0x0
|
|
|
|
cmp-long p1, v1, v3
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
iget-object p1, v0, Lrx/internal/a/i$c;->bDj:Lrx/internal/b/a;
|
|
|
|
invoke-virtual {p1, v1, v2}, Lrx/internal/b/a;->aJ(J)V
|
|
|
|
:cond_3
|
|
const/4 p1, 0x0
|
|
|
|
iput-boolean p1, v0, Lrx/internal/a/i$c;->active:Z
|
|
|
|
invoke-virtual {v0}, Lrx/internal/a/i$c;->drain()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onNext(Ljava/lang/Object;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TR;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget-wide v0, p0, Lrx/internal/a/i$b;->produced:J
|
|
|
|
const-wide/16 v2, 0x1
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
iput-wide v0, p0, Lrx/internal/a/i$b;->produced:J
|
|
|
|
iget-object v0, p0, Lrx/internal/a/i$b;->bDh:Lrx/internal/a/i$c;
|
|
|
|
invoke-virtual {v0, p1}, Lrx/internal/a/i$c;->bF(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setProducer(Lrx/Producer;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lrx/internal/a/i$b;->bDh:Lrx/internal/a/i$c;
|
|
|
|
iget-object v0, v0, Lrx/internal/a/i$c;->bDj:Lrx/internal/b/a;
|
|
|
|
invoke-virtual {v0, p1}, Lrx/internal/b/a;->setProducer(Lrx/Producer;)V
|
|
|
|
return-void
|
|
.end method
|