186 lines
4.2 KiB
Smali
186 lines
4.2 KiB
Smali
.class final Lrx/internal/a/at$a;
|
|
.super Lrx/Subscriber;
|
|
.source "OperatorSubscribeOn.java"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lrx/internal/a/at;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = "a"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lrx/Subscriber<",
|
|
"TT;>;",
|
|
"Lrx/functions/Action0;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final actual:Lrx/Subscriber;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/Subscriber<",
|
|
"-TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field bJy:Lrx/Observable;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/Observable<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field final bKD:Lrx/Scheduler$Worker;
|
|
|
|
.field final bMO:Z
|
|
|
|
.field bMP:Ljava/lang/Thread;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lrx/Subscriber;ZLrx/Scheduler$Worker;Lrx/Observable;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lrx/Subscriber<",
|
|
"-TT;>;Z",
|
|
"Lrx/Scheduler$Worker;",
|
|
"Lrx/Observable<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
|
|
|
|
iput-object p1, p0, Lrx/internal/a/at$a;->actual:Lrx/Subscriber;
|
|
|
|
iput-boolean p2, p0, Lrx/internal/a/at$a;->bMO:Z
|
|
|
|
iput-object p3, p0, Lrx/internal/a/at$a;->bKD:Lrx/Scheduler$Worker;
|
|
|
|
iput-object p4, p0, Lrx/internal/a/at$a;->bJy:Lrx/Observable;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final call()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lrx/internal/a/at$a;->bJy:Lrx/Observable;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-object v1, p0, Lrx/internal/a/at$a;->bJy:Lrx/Observable;
|
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, p0, Lrx/internal/a/at$a;->bMP:Ljava/lang/Thread;
|
|
|
|
invoke-virtual {v0, p0}, Lrx/Observable;->a(Lrx/Subscriber;)Lrx/Subscription;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onCompleted()V
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lrx/internal/a/at$a;->actual:Lrx/Subscriber;
|
|
|
|
invoke-virtual {v0}, Lrx/Subscriber;->onCompleted()V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
iget-object v0, p0, Lrx/internal/a/at$a;->bKD:Lrx/Scheduler$Worker;
|
|
|
|
invoke-virtual {v0}, Lrx/Scheduler$Worker;->unsubscribe()V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
iget-object v1, p0, Lrx/internal/a/at$a;->bKD:Lrx/Scheduler$Worker;
|
|
|
|
invoke-virtual {v1}, Lrx/Scheduler$Worker;->unsubscribe()V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final onError(Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lrx/internal/a/at$a;->actual:Lrx/Subscriber;
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->onError(Ljava/lang/Throwable;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
iget-object p1, p0, Lrx/internal/a/at$a;->bKD:Lrx/Scheduler$Worker;
|
|
|
|
invoke-virtual {p1}, Lrx/Scheduler$Worker;->unsubscribe()V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
iget-object v0, p0, Lrx/internal/a/at$a;->bKD:Lrx/Scheduler$Worker;
|
|
|
|
invoke-virtual {v0}, Lrx/Scheduler$Worker;->unsubscribe()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final onNext(Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lrx/internal/a/at$a;->actual:Lrx/Subscriber;
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->onNext(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setProducer(Lrx/Producer;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lrx/internal/a/at$a;->actual:Lrx/Subscriber;
|
|
|
|
new-instance v1, Lrx/internal/a/at$a$1;
|
|
|
|
invoke-direct {v1, p0, p1}, Lrx/internal/a/at$a$1;-><init>(Lrx/internal/a/at$a;Lrx/Producer;)V
|
|
|
|
invoke-virtual {v0, v1}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
|
|
|
|
return-void
|
|
.end method
|