175 lines
4.6 KiB
Smali
175 lines
4.6 KiB
Smali
.class public final Lio/reactivex/internal/operators/flowable/FlowableCreate;
|
|
.super Lkh/j;
|
|
.source "FlowableCreate.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lio/reactivex/internal/operators/flowable/FlowableCreate$LatestAsyncEmitter;,
|
|
Lio/reactivex/internal/operators/flowable/FlowableCreate$BufferAsyncEmitter;,
|
|
Lio/reactivex/internal/operators/flowable/FlowableCreate$ErrorAsyncEmitter;,
|
|
Lio/reactivex/internal/operators/flowable/FlowableCreate$DropAsyncEmitter;,
|
|
Lio/reactivex/internal/operators/flowable/FlowableCreate$NoOverflowBaseAsyncEmitter;,
|
|
Lio/reactivex/internal/operators/flowable/FlowableCreate$MissingEmitter;,
|
|
Lio/reactivex/internal/operators/flowable/FlowableCreate$BaseEmitter;,
|
|
Lio/reactivex/internal/operators/flowable/FlowableCreate$SerializedEmitter;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lkh/j<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final b:Lkh/m;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkh/m<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final c:Lio/reactivex/BackpressureStrategy;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkh/m;Lio/reactivex/BackpressureStrategy;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkh/m<",
|
|
"TT;>;",
|
|
"Lio/reactivex/BackpressureStrategy;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lkh/j;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/FlowableCreate;->b:Lkh/m;
|
|
|
|
.line 3
|
|
iput-object p2, p0, Lio/reactivex/internal/operators/flowable/FlowableCreate;->c:Lio/reactivex/BackpressureStrategy;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public g6(Lok/d;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lok/d<",
|
|
"-TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
sget-object v0, Lio/reactivex/internal/operators/flowable/FlowableCreate$a;->a:[I
|
|
|
|
iget-object v1, p0, Lio/reactivex/internal/operators/flowable/FlowableCreate;->c:Lio/reactivex/BackpressureStrategy;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
aget v0, v0, v1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_3
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 2
|
|
new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableCreate$BufferAsyncEmitter;
|
|
|
|
invoke-static {}, Lkh/j;->U()I
|
|
|
|
move-result v1
|
|
|
|
invoke-direct {v0, p1, v1}, Lio/reactivex/internal/operators/flowable/FlowableCreate$BufferAsyncEmitter;-><init>(Lok/d;I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableCreate$LatestAsyncEmitter;
|
|
|
|
invoke-direct {v0, p1}, Lio/reactivex/internal/operators/flowable/FlowableCreate$LatestAsyncEmitter;-><init>(Lok/d;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_1
|
|
new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableCreate$DropAsyncEmitter;
|
|
|
|
invoke-direct {v0, p1}, Lio/reactivex/internal/operators/flowable/FlowableCreate$DropAsyncEmitter;-><init>(Lok/d;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_2
|
|
new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableCreate$ErrorAsyncEmitter;
|
|
|
|
invoke-direct {v0, p1}, Lio/reactivex/internal/operators/flowable/FlowableCreate$ErrorAsyncEmitter;-><init>(Lok/d;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 6
|
|
:cond_3
|
|
new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableCreate$MissingEmitter;
|
|
|
|
invoke-direct {v0, p1}, Lio/reactivex/internal/operators/flowable/FlowableCreate$MissingEmitter;-><init>(Lok/d;)V
|
|
|
|
.line 7
|
|
:goto_0
|
|
invoke-interface {p1, v0}, Lok/d;->onSubscribe(Lok/e;)V
|
|
|
|
.line 8
|
|
:try_start_0
|
|
iget-object p1, p0, Lio/reactivex/internal/operators/flowable/FlowableCreate;->b:Lkh/m;
|
|
|
|
invoke-interface {p1, v0}, Lkh/m;->a(Lkh/l;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 9
|
|
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
|
|
|
|
.line 10
|
|
invoke-virtual {v0, p1}, Lio/reactivex/internal/operators/flowable/FlowableCreate$BaseEmitter;->onError(Ljava/lang/Throwable;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|