282 lines
5.6 KiB
Smali
282 lines
5.6 KiB
Smali
.class final Lrx/internal/a/au$b;
|
|
.super Lrx/Subscriber;
|
|
.source "OperatorSwitch.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lrx/internal/a/au;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = "b"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lrx/Subscriber<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final bDX:Lrx/internal/a/au$c;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/internal/a/au$c<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field final id:J
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(JLrx/internal/a/au$c;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(J",
|
|
"Lrx/internal/a/au$c<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
|
|
|
|
iput-wide p1, p0, Lrx/internal/a/au$b;->id:J
|
|
|
|
iput-object p3, p0, Lrx/internal/a/au$b;->bDX:Lrx/internal/a/au$c;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onCompleted()V
|
|
.locals 6
|
|
|
|
iget-object v0, p0, Lrx/internal/a/au$b;->bDX:Lrx/internal/a/au$c;
|
|
|
|
iget-wide v1, p0, Lrx/internal/a/au$b;->id:J
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v3, v0, Lrx/internal/a/au$c;->bBG:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
|
|
|
move-result-wide v3
|
|
|
|
cmp-long v5, v3, v1
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, v0, Lrx/internal/a/au$c;->bDZ:Z
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-object v1, v0, Lrx/internal/a/au$c;->producer:Lrx/Producer;
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-virtual {v0}, Lrx/internal/a/au$c;->drain()V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final onError(Ljava/lang/Throwable;)V
|
|
.locals 6
|
|
|
|
iget-object v0, p0, Lrx/internal/a/au$b;->bDX:Lrx/internal/a/au$c;
|
|
|
|
iget-wide v1, p0, Lrx/internal/a/au$b;->id:J
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v3, v0, Lrx/internal/a/au$c;->bBG:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
|
|
|
move-result-wide v3
|
|
|
|
cmp-long v5, v3, v1
|
|
|
|
if-nez v5, :cond_0
|
|
|
|
invoke-virtual {v0, p1}, Lrx/internal/a/au$c;->J(Ljava/lang/Throwable;)Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
iput-boolean v2, v0, Lrx/internal/a/au$c;->bDZ:Z
|
|
|
|
const/4 v2, 0x0
|
|
|
|
iput-object v2, v0, Lrx/internal/a/au$c;->producer:Lrx/Producer;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
:goto_0
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-virtual {v0}, Lrx/internal/a/au$c;->drain()V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
invoke-static {p1}, Lrx/internal/a/au$c;->K(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final onNext(Ljava/lang/Object;)V
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lrx/internal/a/au$b;->bDX:Lrx/internal/a/au$c;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, v0, Lrx/internal/a/au$c;->bBG:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
|
|
|
move-result-wide v1
|
|
|
|
iget-wide v3, p0, Lrx/internal/a/au$b;->id:J
|
|
|
|
cmp-long v5, v1, v3
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v1, v0, Lrx/internal/a/au$c;->queue:Lrx/internal/util/a/f;
|
|
|
|
invoke-static {p1}, Lrx/internal/a/g;->by(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v1, p0, p1}, Lrx/internal/util/a/f;->p(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-virtual {v0}, Lrx/internal/a/au$c;->drain()V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final setProducer(Lrx/Producer;)V
|
|
.locals 6
|
|
|
|
iget-object v0, p0, Lrx/internal/a/au$b;->bDX:Lrx/internal/a/au$c;
|
|
|
|
iget-wide v1, p0, Lrx/internal/a/au$b;->id:J
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v3, v0, Lrx/internal/a/au$c;->bBG:Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
|
|
|
move-result-wide v3
|
|
|
|
cmp-long v5, v3, v1
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-wide v1, v0, Lrx/internal/a/au$c;->requested:J
|
|
|
|
iput-object p1, v0, Lrx/internal/a/au$c;->producer:Lrx/Producer;
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-interface {p1, v1, v2}, Lrx/Producer;->request(J)V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|