2019-02-04 20:08:30 +00:00
|
|
|
.class final Lrx/internal/a/t$2;
|
|
|
|
.super Lrx/Subscriber;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "OnSubscribeRefCount.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lrx/internal/a/t;->a(Lrx/Subscriber;Lrx/subscriptions/CompositeSubscription;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x0
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lrx/Subscriber<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-03-26 19:13:28 +00:00
|
|
|
.field final synthetic bDU:Lrx/Subscriber;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field final synthetic bDW:Lrx/internal/a/t;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
.field final synthetic bDX:Lrx/subscriptions/CompositeSubscription;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lrx/internal/a/t;Lrx/Subscriber;Lrx/Subscriber;Lrx/subscriptions/CompositeSubscription;)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iput-object p1, p0, Lrx/internal/a/t$2;->bDW:Lrx/internal/a/t;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iput-object p3, p0, Lrx/internal/a/t$2;->bDU:Lrx/Subscriber;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iput-object p4, p0, Lrx/internal/a/t$2;->bDX:Lrx/subscriptions/CompositeSubscription;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, p2}, Lrx/Subscriber;-><init>(Lrx/Subscriber;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private cleanup()V
|
|
|
|
.locals 2
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/t$2;->bDW:Lrx/internal/a/t;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget-object v0, v0, Lrx/internal/a/t;->lock:Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/locks/ReentrantLock;->lock()V
|
|
|
|
|
|
|
|
:try_start_0
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/t$2;->bDW:Lrx/internal/a/t;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, v0, Lrx/internal/a/t;->bDS:Lrx/subscriptions/CompositeSubscription;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v1, p0, Lrx/internal/a/t$2;->bDX:Lrx/subscriptions/CompositeSubscription;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/t$2;->bDW:Lrx/internal/a/t;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Lrx/internal/a/t;->a(Lrx/internal/a/t;)Lrx/b/b;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
instance-of v0, v0, Lrx/Subscription;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/t$2;->bDW:Lrx/internal/a/t;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Lrx/internal/a/t;->a(Lrx/internal/a/t;)Lrx/b/b;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lrx/Subscription;
|
|
|
|
|
|
|
|
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
|
|
|
|
|
|
|
|
:cond_0
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/t$2;->bDW:Lrx/internal/a/t;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, v0, Lrx/internal/a/t;->bDS:Lrx/subscriptions/CompositeSubscription;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/subscriptions/CompositeSubscription;->unsubscribe()V
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/t$2;->bDW:Lrx/internal/a/t;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v1, Lrx/subscriptions/CompositeSubscription;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Lrx/subscriptions/CompositeSubscription;-><init>()V
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iput-object v1, v0, Lrx/internal/a/t;->bDS:Lrx/subscriptions/CompositeSubscription;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/t$2;->bDW:Lrx/internal/a/t;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, v0, Lrx/internal/a/t;->bDT:Ljava/util/concurrent/atomic/AtomicInteger;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;->set(I)V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
:cond_1
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/t$2;->bDW:Lrx/internal/a/t;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget-object v0, v0, Lrx/internal/a/t;->lock:Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/locks/ReentrantLock;->unlock()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v1, p0, Lrx/internal/a/t$2;->bDW:Lrx/internal/a/t;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget-object v1, v1, Lrx/internal/a/t;->lock:Ljava/util/concurrent/locks/ReentrantLock;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/util/concurrent/locks/ReentrantLock;->unlock()V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final onCompleted()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lrx/internal/a/t$2;->cleanup()V
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/t$2;->bDU:Lrx/Subscriber;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/Subscriber;->onCompleted()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onError(Ljava/lang/Throwable;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lrx/internal/a/t$2;->cleanup()V
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/t$2;->bDU:Lrx/Subscriber;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->onError(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onNext(Ljava/lang/Object;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(TT;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-03-26 19:13:28 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/t$2;->bDU:Lrx/Subscriber;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->onNext(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|