185 lines
4 KiB
Smali
185 lines
4 KiB
Smali
.class public final Ll0/l/a/a2$a;
|
|
.super Lrx/Subscriber;
|
|
.source "OperatorSubscribeOn.java"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Ll0/l/a/a2;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
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 public final d:Lrx/Subscriber;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/Subscriber<",
|
|
"-TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final e:Z
|
|
|
|
.field public final f:Lrx/Scheduler$Worker;
|
|
|
|
.field public g:Lrx/Observable;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/Observable<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public h:Ljava/lang/Thread;
|
|
|
|
|
|
# direct methods
|
|
.method public 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, Ll0/l/a/a2$a;->d:Lrx/Subscriber;
|
|
|
|
iput-boolean p2, p0, Ll0/l/a/a2$a;->e:Z
|
|
|
|
iput-object p3, p0, Ll0/l/a/a2$a;->f:Lrx/Scheduler$Worker;
|
|
|
|
iput-object p4, p0, Ll0/l/a/a2$a;->g:Lrx/Observable;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public call()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Ll0/l/a/a2$a;->g:Lrx/Observable;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-object v1, p0, Ll0/l/a/a2$a;->g:Lrx/Observable;
|
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, p0, Ll0/l/a/a2$a;->h:Ljava/lang/Thread;
|
|
|
|
invoke-virtual {v0, p0}, Lrx/Observable;->e0(Lrx/Subscriber;)Lrx/Subscription;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCompleted()V
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Ll0/l/a/a2$a;->d:Lrx/Subscriber;
|
|
|
|
invoke-interface {v0}, Ll0/g;->onCompleted()V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
iget-object v0, p0, Ll0/l/a/a2$a;->f:Lrx/Scheduler$Worker;
|
|
|
|
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
iget-object v1, p0, Ll0/l/a/a2$a;->f:Lrx/Scheduler$Worker;
|
|
|
|
invoke-interface {v1}, Lrx/Subscription;->unsubscribe()V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public onError(Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Ll0/l/a/a2$a;->d:Lrx/Subscriber;
|
|
|
|
invoke-interface {v0, p1}, Ll0/g;->onError(Ljava/lang/Throwable;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
iget-object p1, p0, Ll0/l/a/a2$a;->f:Lrx/Scheduler$Worker;
|
|
|
|
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
iget-object v0, p0, Ll0/l/a/a2$a;->f:Lrx/Scheduler$Worker;
|
|
|
|
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public onNext(Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Ll0/l/a/a2$a;->d:Lrx/Subscriber;
|
|
|
|
invoke-interface {v0, p1}, Ll0/g;->onNext(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setProducer(Lrx/Producer;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Ll0/l/a/a2$a;->d:Lrx/Subscriber;
|
|
|
|
new-instance v1, Ll0/l/a/a2$a$a;
|
|
|
|
invoke-direct {v1, p0, p1}, Ll0/l/a/a2$a$a;-><init>(Ll0/l/a/a2$a;Lrx/Producer;)V
|
|
|
|
invoke-virtual {v0, v1}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
|
|
|
|
return-void
|
|
.end method
|