2019-02-04 20:08:30 +00:00
|
|
|
.class final Lrx/internal/a/w$b;
|
|
|
|
.super Lrx/Subscriber;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "OnSubscribeTimeoutTimedWithFallback.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lrx/internal/a/w;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x18
|
|
|
|
name = "b"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lrx/internal/a/w$b$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Lrx/Subscriber<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field final actual:Lrx/Subscriber;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lrx/Subscriber<",
|
|
|
|
"-TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
.field final bDY:Lrx/Observable;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"+TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
.field final bDZ:Lrx/Scheduler$Worker;
|
2019-03-08 06:19:26 +00:00
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
.field final bDc:Lrx/internal/b/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
.field final bEa:Ljava/util/concurrent/atomic/AtomicLong;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
.field final bEb:Lrx/internal/d/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
.field final bEc:Lrx/internal/d/a;
|
2019-02-22 00:19:04 +00:00
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
.field bEd:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
.field final timeout:J
|
|
|
|
|
|
|
|
.field final unit:Ljava/util/concurrent/TimeUnit;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lrx/Subscriber;JLjava/util/concurrent/TimeUnit;Lrx/Scheduler$Worker;Lrx/Observable;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lrx/Subscriber<",
|
|
|
|
"-TT;>;J",
|
|
|
|
"Ljava/util/concurrent/TimeUnit;",
|
|
|
|
"Lrx/Scheduler$Worker;",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"+TT;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
|
|
|
|
|
|
|
|
iput-object p1, p0, Lrx/internal/a/w$b;->actual:Lrx/Subscriber;
|
|
|
|
|
|
|
|
iput-wide p2, p0, Lrx/internal/a/w$b;->timeout:J
|
|
|
|
|
|
|
|
iput-object p4, p0, Lrx/internal/a/w$b;->unit:Ljava/util/concurrent/TimeUnit;
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iput-object p5, p0, Lrx/internal/a/w$b;->bDZ:Lrx/Scheduler$Worker;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iput-object p6, p0, Lrx/internal/a/w$b;->bDY:Lrx/Observable;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance p1, Lrx/internal/b/a;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lrx/internal/b/a;-><init>()V
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iput-object p1, p0, Lrx/internal/a/w$b;->bDc:Lrx/internal/b/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance p1, Ljava/util/concurrent/atomic/AtomicLong;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iput-object p1, p0, Lrx/internal/a/w$b;->bEa:Ljava/util/concurrent/atomic/AtomicLong;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance p1, Lrx/internal/d/a;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lrx/internal/d/a;-><init>()V
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iput-object p1, p0, Lrx/internal/a/w$b;->bEb:Lrx/internal/d/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance p1, Lrx/internal/d/a;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Lrx/internal/d/a;-><init>(Lrx/Subscription;)V
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iput-object p1, p0, Lrx/internal/a/w$b;->bEc:Lrx/internal/d/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p5}, Lrx/internal/a/w$b;->add(Lrx/Subscription;)V
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object p1, p0, Lrx/internal/a/w$b;->bEb:Lrx/internal/d/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lrx/internal/a/w$b;->add(Lrx/Subscription;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-02-27 21:13:14 +00:00
|
|
|
.method final aF(J)V
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 4
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->bEb:Lrx/internal/d/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object v1, p0, Lrx/internal/a/w$b;->bDZ:Lrx/Scheduler$Worker;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v2, Lrx/internal/a/w$b$a;
|
|
|
|
|
|
|
|
invoke-direct {v2, p0, p1, p2}, Lrx/internal/a/w$b$a;-><init>(Lrx/internal/a/w$b;J)V
|
|
|
|
|
|
|
|
iget-wide p1, p0, Lrx/internal/a/w$b;->timeout:J
|
|
|
|
|
|
|
|
iget-object v3, p0, Lrx/internal/a/w$b;->unit:Ljava/util/concurrent/TimeUnit;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2, p1, p2, v3}, Lrx/Scheduler$Worker;->a(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lrx/internal/d/a;->b(Lrx/Subscription;)Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onCompleted()V
|
|
|
|
.locals 5
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->bEa:Ljava/util/concurrent/atomic/AtomicLong;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-wide v1, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicLong;->getAndSet(J)J
|
|
|
|
|
|
|
|
move-result-wide v3
|
|
|
|
|
|
|
|
cmp-long v0, v3, v1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->bEb:Lrx/internal/d/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/internal/d/a;->unsubscribe()V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->actual:Lrx/Subscriber;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/Subscriber;->onCompleted()V
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->bDZ:Lrx/Scheduler$Worker;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/Scheduler$Worker;->unsubscribe()V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onError(Ljava/lang/Throwable;)V
|
|
|
|
.locals 5
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->bEa:Ljava/util/concurrent/atomic/AtomicLong;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-wide v1, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicLong;->getAndSet(J)J
|
|
|
|
|
|
|
|
move-result-wide v3
|
|
|
|
|
|
|
|
cmp-long v0, v3, v1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->bEb:Lrx/internal/d/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/internal/d/a;->unsubscribe()V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->actual:Lrx/Subscriber;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->onError(Ljava/lang/Throwable;)V
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object p1, p0, Lrx/internal/a/w$b;->bDZ:Lrx/Scheduler$Worker;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lrx/Scheduler$Worker;->unsubscribe()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-static {p1}, Lrx/c/c;->onError(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onNext(Ljava/lang/Object;)V
|
|
|
|
.locals 7
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(TT;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->bEa:Ljava/util/concurrent/atomic/AtomicLong;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
const-wide v2, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object v2, p0, Lrx/internal/a/w$b;->bEa:Ljava/util/concurrent/atomic/AtomicLong;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-wide/16 v3, 0x1
|
|
|
|
|
|
|
|
add-long v5, v0, v3
|
|
|
|
|
|
|
|
invoke-virtual {v2, v0, v1, v5, v6}, Ljava/util/concurrent/atomic/AtomicLong;->compareAndSet(JJ)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->bEb:Lrx/internal/d/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/internal/d/a;->get()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lrx/Subscription;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
|
|
|
|
|
|
|
|
:cond_1
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-wide v0, p0, Lrx/internal/a/w$b;->bEd:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-long/2addr v0, v3
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iput-wide v0, p0, Lrx/internal/a/w$b;->bEd:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->actual:Lrx/Subscriber;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->onNext(Ljava/lang/Object;)V
|
|
|
|
|
2019-02-27 21:13:14 +00:00
|
|
|
invoke-virtual {p0, v5, v6}, Lrx/internal/a/w$b;->aF(J)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
return-void
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
:cond_2
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final setProducer(Lrx/Producer;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-03-14 20:04:00 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/w$b;->bDc:Lrx/internal/b/a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lrx/internal/b/a;->setProducer(Lrx/Producer;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|