186 lines
3.8 KiB
Smali
186 lines
3.8 KiB
Smali
.class public final Ll0/l/a/o$a;
|
|
.super Lrx/Subscriber;
|
|
.source "OnSubscribeFilter.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Ll0/l/a/o;
|
|
.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;>;"
|
|
}
|
|
.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:Ll0/k/b;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ll0/k/b<",
|
|
"-TT;",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public f:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lrx/Subscriber;Ll0/k/b;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lrx/Subscriber<",
|
|
"-TT;>;",
|
|
"Ll0/k/b<",
|
|
"-TT;",
|
|
"Ljava/lang/Boolean;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
|
|
|
|
iput-object p1, p0, Ll0/l/a/o$a;->d:Lrx/Subscriber;
|
|
|
|
iput-object p2, p0, Ll0/l/a/o$a;->e:Ll0/k/b;
|
|
|
|
const-wide/16 p1, 0x0
|
|
|
|
invoke-virtual {p0, p1, p2}, Lrx/Subscriber;->request(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onCompleted()V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Ll0/l/a/o$a;->f:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Ll0/l/a/o$a;->d:Lrx/Subscriber;
|
|
|
|
invoke-interface {v0}, Ll0/g;->onCompleted()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onError(Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Ll0/l/a/o$a;->f:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {p1}, Ll0/o/l;->b(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Ll0/l/a/o$a;->f:Z
|
|
|
|
iget-object v0, p0, Ll0/l/a/o$a;->d:Lrx/Subscriber;
|
|
|
|
invoke-interface {v0, p1}, Ll0/g;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNext(Ljava/lang/Object;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Ll0/l/a/o$a;->e:Ll0/k/b;
|
|
|
|
invoke-interface {v0, p1}, Ll0/k/b;->call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Ll0/l/a/o$a;->d:Lrx/Subscriber;
|
|
|
|
invoke-interface {v0, p1}, Ll0/g;->onNext(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide/16 v0, 0x1
|
|
|
|
invoke-virtual {p0, v0, v1}, Lrx/Subscriber;->request(J)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
invoke-static {v0}, Lc0/i/s;->X(Ljava/lang/Throwable;)V
|
|
|
|
invoke-virtual {p0}, Lrx/Subscriber;->unsubscribe()V
|
|
|
|
invoke-static {v0, p1}, Lrx/exceptions/OnErrorThrowable;->a(Ljava/lang/Throwable;Ljava/lang/Object;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Ll0/l/a/o$a;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setProducer(Lrx/Producer;)V
|
|
.locals 1
|
|
|
|
invoke-super {p0, p1}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
|
|
|
|
iget-object v0, p0, Ll0/l/a/o$a;->d:Lrx/Subscriber;
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
|
|
|
|
return-void
|
|
.end method
|