163 lines
3.5 KiB
Smali
163 lines
3.5 KiB
Smali
.class final Lrx/internal/a/r$a;
|
|
.super Lrx/Subscriber;
|
|
.source "OnSubscribeMap.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lrx/internal/a/r;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = "a"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lrx/Subscriber<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final actual:Lrx/Subscriber;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/Subscriber<",
|
|
"-TR;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field final bCj:Lrx/functions/b;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/functions/b<",
|
|
"-TT;+TR;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field done:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lrx/Subscriber;Lrx/functions/b;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lrx/Subscriber<",
|
|
"-TR;>;",
|
|
"Lrx/functions/b<",
|
|
"-TT;+TR;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
|
|
|
|
iput-object p1, p0, Lrx/internal/a/r$a;->actual:Lrx/Subscriber;
|
|
|
|
iput-object p2, p0, Lrx/internal/a/r$a;->bCj:Lrx/functions/b;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onCompleted()V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lrx/internal/a/r$a;->done:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lrx/internal/a/r$a;->actual:Lrx/Subscriber;
|
|
|
|
invoke-virtual {v0}, Lrx/Subscriber;->onCompleted()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onError(Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lrx/internal/a/r$a;->done:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {p1}, Lrx/c/c;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lrx/internal/a/r$a;->done:Z
|
|
|
|
iget-object v0, p0, Lrx/internal/a/r$a;->actual:Lrx/Subscriber;
|
|
|
|
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
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lrx/internal/a/r$a;->bCj:Lrx/functions/b;
|
|
|
|
invoke-interface {v0, p1}, Lrx/functions/b;->call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
:try_end_0
|
|
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
iget-object v0, p0, Lrx/internal/a/r$a;->actual:Lrx/Subscriber;
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->onNext(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
invoke-static {v0}, Lrx/a/b;->D(Ljava/lang/Throwable;)V
|
|
|
|
invoke-virtual {p0}, Lrx/internal/a/r$a;->unsubscribe()V
|
|
|
|
invoke-static {v0, p1}, Lrx/a/g;->a(Ljava/lang/Throwable;Ljava/lang/Object;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Lrx/internal/a/r$a;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setProducer(Lrx/Producer;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lrx/internal/a/r$a;->actual:Lrx/Subscriber;
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
|
|
|
|
return-void
|
|
.end method
|