1180 lines
30 KiB
Smali
1180 lines
30 KiB
Smali
.class public final Lio/reactivex/plugins/RxJavaPlugins;
|
|
.super Ljava/lang/Object;
|
|
.source "RxJavaPlugins.java"
|
|
|
|
|
|
# static fields
|
|
.field static volatile a:Lio/reactivex/functions/Consumer;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Consumer<",
|
|
"-",
|
|
"Ljava/lang/Throwable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile b:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Ljava/lang/Runnable;",
|
|
"+",
|
|
"Ljava/lang/Runnable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile c:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;+",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile d:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;+",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile e:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;+",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile f:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;+",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile g:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Lio/reactivex/Scheduler;",
|
|
"+",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile h:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Lio/reactivex/Scheduler;",
|
|
"+",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile i:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Lio/reactivex/Scheduler;",
|
|
"+",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile j:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Lio/reactivex/Flowable;",
|
|
"+",
|
|
"Lio/reactivex/Flowable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile k:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Lio/reactivex/Observable;",
|
|
"+",
|
|
"Lio/reactivex/Observable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile l:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Lio/reactivex/observables/ConnectableObservable;",
|
|
"+",
|
|
"Lio/reactivex/observables/ConnectableObservable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile m:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Lio/reactivex/Single;",
|
|
"+",
|
|
"Lio/reactivex/Single;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile n:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Lio/reactivex/Completable;",
|
|
"+",
|
|
"Lio/reactivex/Completable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile o:Lio/reactivex/functions/Function;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Lio/reactivex/parallel/ParallelFlowable;",
|
|
"+",
|
|
"Lio/reactivex/parallel/ParallelFlowable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile p:Lio/reactivex/functions/BiFunction;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/BiFunction<",
|
|
"-",
|
|
"Lio/reactivex/Flowable;",
|
|
"-",
|
|
"Lorg/a/Subscriber;",
|
|
"+",
|
|
"Lorg/a/Subscriber;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile q:Lio/reactivex/functions/BiFunction;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/BiFunction<",
|
|
"-",
|
|
"Lio/reactivex/Observable;",
|
|
"-",
|
|
"Lio/reactivex/Observer;",
|
|
"+",
|
|
"Lio/reactivex/Observer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile r:Lio/reactivex/functions/BiFunction;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/BiFunction<",
|
|
"-",
|
|
"Lio/reactivex/Single;",
|
|
"-",
|
|
"Lio/reactivex/SingleObserver;",
|
|
"+",
|
|
"Lio/reactivex/SingleObserver;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile s:Lio/reactivex/functions/BiFunction;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/functions/BiFunction<",
|
|
"-",
|
|
"Lio/reactivex/Completable;",
|
|
"-",
|
|
"Lio/reactivex/CompletableObserver;",
|
|
"+",
|
|
"Lio/reactivex/CompletableObserver;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field static volatile t:Lio/reactivex/functions/BooleanSupplier;
|
|
|
|
.field static volatile u:Z
|
|
|
|
.field static volatile v:Z
|
|
|
|
|
|
# direct methods
|
|
.method public static a(Lio/reactivex/Completable;)Lio/reactivex/Completable;
|
|
.locals 1
|
|
|
|
.line 1098
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->n:Lio/reactivex/functions/Function;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1100
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/Completable;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Lio/reactivex/Completable;Lio/reactivex/CompletableObserver;)Lio/reactivex/CompletableObserver;
|
|
.locals 1
|
|
|
|
.line 971
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->s:Lio/reactivex/functions/BiFunction;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 973
|
|
invoke-static {v0, p0, p1}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/BiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/CompletableObserver;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public static a(Lio/reactivex/Flowable;)Lio/reactivex/Flowable;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lio/reactivex/Flowable<",
|
|
"TT;>;)",
|
|
"Lio/reactivex/Flowable<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1020
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->j:Lio/reactivex/functions/Function;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1022
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/Flowable;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Lio/reactivex/Observable;)Lio/reactivex/Observable;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lio/reactivex/Observable<",
|
|
"TT;>;)",
|
|
"Lio/reactivex/Observable<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1052
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->k:Lio/reactivex/functions/Function;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1054
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/Observable;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Lio/reactivex/Observable;Lio/reactivex/Observer;)Lio/reactivex/Observer;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lio/reactivex/Observable<",
|
|
"TT;>;",
|
|
"Lio/reactivex/Observer<",
|
|
"-TT;>;)",
|
|
"Lio/reactivex/Observer<",
|
|
"-TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 939
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->q:Lio/reactivex/functions/BiFunction;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 941
|
|
invoke-static {v0, p0, p1}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/BiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/Observer;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public static a(Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler;
|
|
.locals 1
|
|
|
|
.line 332
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->g:Lio/reactivex/functions/Function;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 336
|
|
:cond_0
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/Scheduler;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static a(Lio/reactivex/functions/Function;Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lio/reactivex/functions/Function<",
|
|
"-",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;+",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;)",
|
|
"Lio/reactivex/Scheduler;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1320
|
|
invoke-static {p0, p1}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "Scheduler Callable result can\'t be null"
|
|
|
|
invoke-static {p0, p1}, Lio/reactivex/internal/functions/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/Scheduler;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;)",
|
|
"Lio/reactivex/Scheduler;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "Scheduler Callable can\'t be null"
|
|
|
|
.line 269
|
|
invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 270
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->c:Lio/reactivex/functions/Function;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 272
|
|
invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->e(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 274
|
|
:cond_0
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Lio/reactivex/Single;)Lio/reactivex/Single;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lio/reactivex/Single<",
|
|
"TT;>;)",
|
|
"Lio/reactivex/Single<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1084
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->m:Lio/reactivex/functions/Function;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1086
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/Single;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Lio/reactivex/Single;Lio/reactivex/SingleObserver;)Lio/reactivex/SingleObserver;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lio/reactivex/Single<",
|
|
"TT;>;",
|
|
"Lio/reactivex/SingleObserver<",
|
|
"-TT;>;)",
|
|
"Lio/reactivex/SingleObserver<",
|
|
"-TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 956
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->r:Lio/reactivex/functions/BiFunction;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 958
|
|
invoke-static {v0, p0, p1}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/BiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/SingleObserver;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public static a(Lio/reactivex/observables/ConnectableObservable;)Lio/reactivex/observables/ConnectableObservable;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lio/reactivex/observables/ConnectableObservable<",
|
|
"TT;>;)",
|
|
"Lio/reactivex/observables/ConnectableObservable<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1068
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->l:Lio/reactivex/functions/Function;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1070
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/observables/ConnectableObservable;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Lio/reactivex/parallel/ParallelFlowable;)Lio/reactivex/parallel/ParallelFlowable;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lio/reactivex/parallel/ParallelFlowable<",
|
|
"TT;>;)",
|
|
"Lio/reactivex/parallel/ParallelFlowable<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1142
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->o:Lio/reactivex/functions/Function;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1144
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/parallel/ParallelFlowable;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static a(Lio/reactivex/functions/BiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"U:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lio/reactivex/functions/BiFunction<",
|
|
"TT;TU;TR;>;TT;TU;)TR;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1288
|
|
:try_start_0
|
|
invoke-interface {p0, p1, p2}, Lio/reactivex/functions/BiFunction;->a(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 1290
|
|
invoke-static {p0}, Lio/reactivex/internal/util/ExceptionHelper;->a(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
|
|
|
|
move-result-object p0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method static a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lio/reactivex/functions/Function<",
|
|
"TT;TR;>;TT;)TR;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1268
|
|
:try_start_0
|
|
invoke-interface {p0, p1}, Lio/reactivex/functions/Function;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 1270
|
|
invoke-static {p0}, Lio/reactivex/internal/util/ExceptionHelper;->a(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
|
|
|
|
move-result-object p0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/Runnable;)Ljava/lang/Runnable;
|
|
.locals 1
|
|
|
|
const-string v0, "run is null"
|
|
|
|
.line 467
|
|
invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 469
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->b:Lio/reactivex/functions/Function;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 473
|
|
:cond_0
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/Runnable;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Lio/reactivex/Flowable;Lorg/a/Subscriber;)Lorg/a/Subscriber;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lio/reactivex/Flowable<",
|
|
"TT;>;",
|
|
"Lorg/a/Subscriber<",
|
|
"-TT;>;)",
|
|
"Lorg/a/Subscriber<",
|
|
"-TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 922
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->p:Lio/reactivex/functions/BiFunction;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 924
|
|
invoke-static {v0, p0, p1}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/BiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lorg/a/Subscriber;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public static a(Lio/reactivex/functions/Consumer;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lio/reactivex/functions/Consumer<",
|
|
"-",
|
|
"Ljava/lang/Throwable;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 549
|
|
sget-boolean v0, Lio/reactivex/plugins/RxJavaPlugins;->u:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 550
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "Plugins can\'t be changed anymore"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 552
|
|
:cond_0
|
|
sput-object p0, Lio/reactivex/plugins/RxJavaPlugins;->a:Lio/reactivex/functions/Consumer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/Throwable;)V
|
|
.locals 2
|
|
|
|
.line 361
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->a:Lio/reactivex/functions/Consumer;
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
.line 364
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
const-string v1, "onError called with null. Null values are generally not allowed in 2.x operators and sources."
|
|
|
|
invoke-direct {p0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 366
|
|
:cond_0
|
|
invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->b(Ljava/lang/Throwable;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
.line 367
|
|
new-instance v1, Lio/reactivex/exceptions/UndeliverableException;
|
|
|
|
invoke-direct {v1, p0}, Lio/reactivex/exceptions/UndeliverableException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
move-object p0, v1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 373
|
|
:try_start_0
|
|
invoke-interface {v0, p0}, Lio/reactivex/functions/Consumer;->a(Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 377
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
.line 378
|
|
invoke-static {v0}, Lio/reactivex/plugins/RxJavaPlugins;->c(Ljava/lang/Throwable;)V
|
|
|
|
.line 382
|
|
:cond_2
|
|
invoke-virtual {p0}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
.line 383
|
|
invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->c(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a()Z
|
|
.locals 1
|
|
|
|
.line 168
|
|
sget-boolean v0, Lio/reactivex/plugins/RxJavaPlugins;->v:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public static b(Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler;
|
|
.locals 1
|
|
|
|
.line 439
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->i:Lio/reactivex/functions/Function;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 443
|
|
:cond_0
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/Scheduler;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static b(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;)",
|
|
"Lio/reactivex/Scheduler;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "Scheduler Callable can\'t be null"
|
|
|
|
.line 285
|
|
invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 286
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->e:Lio/reactivex/functions/Function;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 288
|
|
invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->e(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 290
|
|
:cond_0
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static b()Z
|
|
.locals 1
|
|
|
|
.line 1160
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->t:Lio/reactivex/functions/BooleanSupplier;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1163
|
|
:try_start_0
|
|
invoke-interface {v0}, Lio/reactivex/functions/BooleanSupplier;->a()Z
|
|
|
|
move-result v0
|
|
:try_end_0
|
|
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return v0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 1165
|
|
invoke-static {v0}, Lio/reactivex/internal/util/ExceptionHelper;->a(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method static b(Ljava/lang/Throwable;)Z
|
|
.locals 2
|
|
|
|
.line 396
|
|
instance-of v0, p0, Lio/reactivex/exceptions/OnErrorNotImplementedException;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 401
|
|
:cond_0
|
|
instance-of v0, p0, Lio/reactivex/exceptions/MissingBackpressureException;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
return v1
|
|
|
|
.line 406
|
|
:cond_1
|
|
instance-of v0, p0, Ljava/lang/IllegalStateException;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
return v1
|
|
|
|
.line 411
|
|
:cond_2
|
|
instance-of v0, p0, Ljava/lang/NullPointerException;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
return v1
|
|
|
|
.line 415
|
|
:cond_3
|
|
instance-of v0, p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
return v1
|
|
|
|
.line 419
|
|
:cond_4
|
|
instance-of p0, p0, Lio/reactivex/exceptions/CompositeException;
|
|
|
|
if-eqz p0, :cond_5
|
|
|
|
return v1
|
|
|
|
:cond_5
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static c(Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler;
|
|
.locals 1
|
|
|
|
.line 483
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->h:Lio/reactivex/functions/Function;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 487
|
|
:cond_0
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/Scheduler;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static c(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;)",
|
|
"Lio/reactivex/Scheduler;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "Scheduler Callable can\'t be null"
|
|
|
|
.line 301
|
|
invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 302
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->f:Lio/reactivex/functions/Function;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 304
|
|
invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->e(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 306
|
|
:cond_0
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static c(Ljava/lang/Throwable;)V
|
|
.locals 2
|
|
|
|
.line 427
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v0
|
|
|
|
.line 428
|
|
invoke-virtual {v0}, Ljava/lang/Thread;->getUncaughtExceptionHandler()Ljava/lang/Thread$UncaughtExceptionHandler;
|
|
|
|
move-result-object v1
|
|
|
|
.line 429
|
|
invoke-interface {v1, v0, p0}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static d(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;)",
|
|
"Lio/reactivex/Scheduler;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "Scheduler Callable can\'t be null"
|
|
|
|
.line 317
|
|
invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 318
|
|
sget-object v0, Lio/reactivex/plugins/RxJavaPlugins;->d:Lio/reactivex/functions/Function;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 320
|
|
invoke-static {p0}, Lio/reactivex/plugins/RxJavaPlugins;->e(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 322
|
|
:cond_0
|
|
invoke-static {v0, p0}, Lio/reactivex/plugins/RxJavaPlugins;->a(Lio/reactivex/functions/Function;Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static e(Ljava/util/concurrent/Callable;)Lio/reactivex/Scheduler;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lio/reactivex/Scheduler;",
|
|
">;)",
|
|
"Lio/reactivex/Scheduler;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1304
|
|
:try_start_0
|
|
invoke-interface {p0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Scheduler Callable result can\'t be null"
|
|
|
|
invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lio/reactivex/Scheduler;
|
|
:try_end_0
|
|
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 1306
|
|
invoke-static {p0}, Lio/reactivex/internal/util/ExceptionHelper;->a(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
|
|
|
|
move-result-object p0
|
|
|
|
throw p0
|
|
.end method
|