227 lines
4.7 KiB
Smali
227 lines
4.7 KiB
Smali
.class final Lrx/internal/a/h$a;
|
|
.super Lrx/Subscriber;
|
|
.source "OnSubscribeCombineLatest.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lrx/internal/a/h;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = "a"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lrx/Subscriber<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final bAl:Lrx/internal/a/h$b;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/internal/a/h$b<",
|
|
"TT;TR;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field done:Z
|
|
|
|
.field final index:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lrx/internal/a/h$b;I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lrx/internal/a/h$b<",
|
|
"TT;TR;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
|
|
|
|
iput-object p1, p0, Lrx/internal/a/h$a;->bAl:Lrx/internal/a/h$b;
|
|
|
|
iput p2, p0, Lrx/internal/a/h$a;->index:I
|
|
|
|
iget p1, p1, Lrx/internal/a/h$b;->bufferSize:I
|
|
|
|
int-to-long p1, p1
|
|
|
|
invoke-virtual {p0, p1, p2}, Lrx/internal/a/h$a;->request(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final DP()V
|
|
.locals 2
|
|
|
|
const-wide/16 v0, 0x1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lrx/internal/a/h$a;->request(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onCompleted()V
|
|
.locals 3
|
|
|
|
iget-boolean v0, p0, Lrx/internal/a/h$a;->done:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lrx/internal/a/h$a;->done:Z
|
|
|
|
iget-object v0, p0, Lrx/internal/a/h$a;->bAl:Lrx/internal/a/h$b;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iget v2, p0, Lrx/internal/a/h$a;->index:I
|
|
|
|
invoke-virtual {v0, v1, v2}, Lrx/internal/a/h$b;->i(Ljava/lang/Object;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onError(Ljava/lang/Throwable;)V
|
|
.locals 6
|
|
|
|
iget-boolean v0, p0, Lrx/internal/a/h$a;->done:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {p1}, Lrx/c/c;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lrx/internal/a/h$a;->bAl:Lrx/internal/a/h$b;
|
|
|
|
iget-object v0, v0, Lrx/internal/a/h$b;->error:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
:cond_1
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/Throwable;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
instance-of v3, v1, Lrx/a/a;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
move-object v3, v1
|
|
|
|
check-cast v3, Lrx/a/a;
|
|
|
|
new-instance v5, Ljava/util/ArrayList;
|
|
|
|
iget-object v3, v3, Lrx/a/a;->exceptions:Ljava/util/List;
|
|
|
|
invoke-direct {v5, v3}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
invoke-interface {v5, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
new-instance v3, Lrx/a/a;
|
|
|
|
invoke-direct {v3, v5, v4}, Lrx/a/a;-><init>(Ljava/util/Collection;B)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
new-instance v3, Lrx/a/a;
|
|
|
|
const/4 v5, 0x2
|
|
|
|
new-array v5, v5, [Ljava/lang/Throwable;
|
|
|
|
aput-object v1, v5, v4
|
|
|
|
aput-object p1, v5, v2
|
|
|
|
invoke-static {v5}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-direct {v3, v5, v4}, Lrx/a/a;-><init>(Ljava/util/Collection;B)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
move-object v3, p1
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, v1, v3}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iput-boolean v2, p0, Lrx/internal/a/h$a;->done:Z
|
|
|
|
iget-object p1, p0, Lrx/internal/a/h$a;->bAl:Lrx/internal/a/h$b;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iget v1, p0, Lrx/internal/a/h$a;->index:I
|
|
|
|
invoke-virtual {p1, v0, v1}, Lrx/internal/a/h$b;->i(Ljava/lang/Object;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onNext(Ljava/lang/Object;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget-boolean v0, p0, Lrx/internal/a/h$a;->done:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lrx/internal/a/h$a;->bAl:Lrx/internal/a/h$b;
|
|
|
|
invoke-static {p1}, Lrx/internal/a/g;->by(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
iget v1, p0, Lrx/internal/a/h$a;->index:I
|
|
|
|
invoke-virtual {v0, p1, v1}, Lrx/internal/a/h$b;->i(Ljava/lang/Object;I)V
|
|
|
|
return-void
|
|
.end method
|