This commit is contained in:
2022-06-10 21:38:30 +09:00
commit 27f5152838
51323 changed files with 12934539 additions and 0 deletions
@@ -0,0 +1,92 @@
.class public abstract Lio/reactivex/rxjava3/internal/observers/BasicIntQueueDisposable;
.super Ljava/util/concurrent/atomic/AtomicInteger;
.source "BasicIntQueueDisposable.java"
# interfaces
.implements Lei/l;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicInteger;",
"Lei/l<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0xde6dc4fc9ec36d1L
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
return-void
.end method
# virtual methods
.method public final offer(Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Should not be called"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public final offer(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"v1",
"v2"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;TT;)Z"
}
.end annotation
.line 2
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string p2, "Should not be called"
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
@@ -0,0 +1,227 @@
.class public final Lio/reactivex/rxjava3/internal/observers/BiConsumerSingleObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "BiConsumerSingleObserver.java"
# interfaces
.implements Lai/s0;
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lai/s0<",
"TT;>;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x44996dc9ab295821L
# instance fields
.field public final onCallback:Lci/b;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/b<",
"-TT;-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/b;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"onCallback"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/b<",
"-TT;-",
"Ljava/lang/Throwable;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/BiConsumerSingleObserver;->onCallback:Lci/b;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.line 1
:try_start_0
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/BiConsumerSingleObserver;->onCallback:Lci/b;
const/4 v1, 0x0
invoke-interface {v0, v1, p1}, Lci/b;->accept(Ljava/lang/Object;Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 3
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
new-instance v1, Lio/reactivex/rxjava3/exceptions/CompositeException;
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Throwable;
const/4 v3, 0x0
aput-object p1, v2, v3
const/4 p1, 0x1
aput-object v0, v2, p1
invoke-direct {v1, v2}, Lio/reactivex/rxjava3/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
invoke-static {p0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
:try_start_0
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/BiConsumerSingleObserver;->onCallback:Lci/b;
const/4 v1, 0x0
invoke-interface {v0, p1, v1}, Lci/b;->accept(Ljava/lang/Object;Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
.line 3
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
@@ -0,0 +1,215 @@
.class public final Lio/reactivex/rxjava3/internal/observers/BlockingObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "BlockingObserver.java"
# interfaces
.implements Lai/n0;
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lai/n0<",
"TT;>;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.end annotation
# static fields
.field public static final TERMINATED:Ljava/lang/Object;
.field private static final serialVersionUID:J = -0x43aae8bc09f84c1cL
# instance fields
.field public final queue:Ljava/util/Queue;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Queue<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.locals 1
.line 1
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
sput-object v0, Lio/reactivex/rxjava3/internal/observers/BlockingObserver;->TERMINATED:Ljava/lang/Object;
return-void
.end method
.method public constructor <init>(Ljava/util/Queue;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"queue"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Queue<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/BlockingObserver;->queue:Ljava/util/Queue;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 2
.line 1
invoke-static {p0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/BlockingObserver;->queue:Ljava/util/Queue;
sget-object v1, Lio/reactivex/rxjava3/internal/observers/BlockingObserver;->TERMINATED:Ljava/lang/Object;
invoke-interface {v0, v1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
:cond_0
return-void
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onComplete()V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/BlockingObserver;->queue:Ljava/util/Queue;
invoke-static {}, Lio/reactivex/rxjava3/internal/util/NotificationLite;->complete()Ljava/lang/Object;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/BlockingObserver;->queue:Ljava/util/Queue;
invoke-static {p1}, Lio/reactivex/rxjava3/internal/util/NotificationLite;->error(Ljava/lang/Throwable;)Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, p1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/BlockingObserver;->queue:Ljava/util/Queue;
invoke-static {p1}, Lio/reactivex/rxjava3/internal/util/NotificationLite;->next(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, p1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
invoke-static {p0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
return-void
.end method
@@ -0,0 +1,292 @@
.class public final Lio/reactivex/rxjava3/internal/observers/CallbackCompletableObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "CallbackCompletableObserver.java"
# interfaces
.implements Lai/d;
.implements Lio/reactivex/rxjava3/disposables/c;
.implements Lci/g;
.implements Lio/reactivex/rxjava3/observers/g;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lai/d;",
"Lio/reactivex/rxjava3/disposables/c;",
"Lci/g<",
"Ljava/lang/Throwable;",
">;",
"Lio/reactivex/rxjava3/observers/g;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x3c8666afd0faa5aaL
# instance fields
.field public final onComplete:Lci/a;
.field public final onError:Lci/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/g<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/a;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"onComplete"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p0, p0, Lio/reactivex/rxjava3/internal/observers/CallbackCompletableObserver;->onError:Lci/g;
.line 3
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/CallbackCompletableObserver;->onComplete:Lci/a;
return-void
.end method
.method public constructor <init>(Lci/g;Lci/a;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"onError",
"onComplete"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/g<",
"-",
"Ljava/lang/Throwable;",
">;",
"Lci/a;",
")V"
}
.end annotation
.line 4
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 5
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/CallbackCompletableObserver;->onError:Lci/g;
.line 6
iput-object p2, p0, Lio/reactivex/rxjava3/internal/observers/CallbackCompletableObserver;->onComplete:Lci/a;
return-void
.end method
# virtual methods
.method public bridge synthetic accept(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000
}
names = {
"e"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/observers/CallbackCompletableObserver;->accept(Ljava/lang/Throwable;)V
return-void
.end method
.method public accept(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.line 2
new-instance v0, Lio/reactivex/rxjava3/exceptions/OnErrorNotImplementedException;
invoke-direct {v0, p1}, Lio/reactivex/rxjava3/exceptions/OnErrorNotImplementedException;-><init>(Ljava/lang/Throwable;)V
invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public hasCustomOnError()Z
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/CallbackCompletableObserver;->onError:Lci/g;
if-eq v0, p0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/CallbackCompletableObserver;->onComplete:Lci/a;
invoke-interface {v0}, Lci/a;->run()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 2
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V
.line 4
:goto_0
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/CallbackCompletableObserver;->onError:Lci/g;
invoke-interface {v0, p1}, Lci/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
.line 2
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
.line 4
:goto_0
sget-object p1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {p0, p1}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
invoke-static {p0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
return-void
.end method
@@ -0,0 +1,262 @@
.class public final Lio/reactivex/rxjava3/internal/observers/ConsumerSingleObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "ConsumerSingleObserver.java"
# interfaces
.implements Lai/s0;
.implements Lio/reactivex/rxjava3/disposables/c;
.implements Lio/reactivex/rxjava3/observers/g;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lai/s0<",
"TT;>;",
"Lio/reactivex/rxjava3/disposables/c;",
"Lio/reactivex/rxjava3/observers/g;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x614ff1157e55cbc3L
# instance fields
.field public final onError:Lci/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/g<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field public final onSuccess:Lci/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/g<",
"-TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/g;Lci/g;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"onSuccess",
"onError"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/g<",
"-TT;>;",
"Lci/g<",
"-",
"Ljava/lang/Throwable;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/ConsumerSingleObserver;->onSuccess:Lci/g;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/observers/ConsumerSingleObserver;->onError:Lci/g;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public hasCustomOnError()Z
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/ConsumerSingleObserver;->onError:Lci/g;
sget-object v1, Lio/reactivex/rxjava3/internal/functions/Functions;->f:Lci/g;
if-eq v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/ConsumerSingleObserver;->onError:Lci/g;
invoke-interface {v0, p1}, Lci/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 3
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
new-instance v1, Lio/reactivex/rxjava3/exceptions/CompositeException;
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Throwable;
const/4 v3, 0x0
aput-object p1, v2, v3
const/4 p1, 0x1
aput-object v0, v2, p1
invoke-direct {v1, v2}, Lio/reactivex/rxjava3/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
invoke-static {p0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/ConsumerSingleObserver;->onSuccess:Lci/g;
invoke-interface {v0, p1}, Lci/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
.line 3
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
@@ -0,0 +1,394 @@
.class public Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;
.super Lio/reactivex/rxjava3/internal/observers/BasicIntQueueDisposable;
.source "DeferredScalarDisposable.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/observers/BasicIntQueueDisposable<",
"TT;>;"
}
.end annotation
# static fields
.field public static final DISPOSED:I = 0x4
.field public static final FUSED_CONSUMED:I = 0x20
.field public static final FUSED_EMPTY:I = 0x8
.field public static final FUSED_READY:I = 0x10
.field public static final TERMINATED:I = 0x2
.field private static final serialVersionUID:J = -0x4c5c90f80ed9d471L
# instance fields
.field public final downstream:Lai/n0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/n0<",
"-TT;>;"
}
.end annotation
.end field
.field public value:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/n0;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"downstream"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/rxjava3/internal/observers/BasicIntQueueDisposable;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->downstream:Lai/n0;
return-void
.end method
# virtual methods
.method public final clear()V
.locals 1
const/16 v0, 0x20
.line 1
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
const/4 v0, 0x0
.line 2
iput-object v0, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
return-void
.end method
.method public final complete()V
.locals 1
.line 10
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
and-int/lit8 v0, v0, 0x36
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x2
.line 11
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
.line 12
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->downstream:Lai/n0;
invoke-interface {v0}, Lai/n0;->onComplete()V
return-void
.end method
.method public final complete(Ljava/lang/Object;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
and-int/lit8 v1, v0, 0x36
if-eqz v1, :cond_0
return-void
.line 2
:cond_0
iget-object v1, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->downstream:Lai/n0;
const/16 v2, 0x8
if-ne v0, v2, :cond_1
.line 3
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
const/16 p1, 0x10
.line 4
invoke-virtual {p0, p1}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
const/4 p1, 0x0
.line 5
invoke-interface {v1, p1}, Lai/n0;->onNext(Ljava/lang/Object;)V
goto :goto_0
:cond_1
const/4 v0, 0x2
.line 6
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
.line 7
invoke-interface {v1, p1}, Lai/n0;->onNext(Ljava/lang/Object;)V
.line 8
:goto_0
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result p1
const/4 v0, 0x4
if-eq p1, v0, :cond_2
.line 9
invoke-interface {v1}, Lai/n0;->onComplete()V
:cond_2
return-void
.end method
.method public dispose()V
.locals 1
const/4 v0, 0x4
.line 1
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->set(I)V
const/4 v0, 0x0
.line 2
iput-object v0, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
return-void
.end method
.method public final error(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
and-int/lit8 v0, v0, 0x36
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
return-void
:cond_0
const/4 v0, 0x2
.line 3
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->downstream:Lai/n0;
invoke-interface {v0, p1}, Lai/n0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public final isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
const/4 v1, 0x4
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final isEmpty()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
const/16 v1, 0x10
if-eq v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final poll()Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation build Lio/reactivex/rxjava3/annotations/Nullable;
.end annotation
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
const/4 v1, 0x0
const/16 v2, 0x10
if-ne v0, v2, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
.line 3
iput-object v1, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
const/16 v1, 0x20
.line 4
invoke-virtual {p0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
return-object v0
:cond_0
return-object v1
.end method
.method public final requestFusion(I)I
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mode"
}
.end annotation
const/4 v0, 0x2
and-int/2addr p1, v0
if-eqz p1, :cond_0
const/16 p1, 0x8
.line 1
invoke-virtual {p0, p1}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
return v0
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public final tryDispose()Z
.locals 2
const/4 v0, 0x4
.line 1
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndSet(I)I
move-result v1
if-eq v1, v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
@@ -0,0 +1,153 @@
.class public abstract Lio/reactivex/rxjava3/internal/observers/DeferredScalarObserver;
.super Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;
.source "DeferredScalarObserver.java"
# interfaces
.implements Lai/n0;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable<",
"TR;>;",
"Lai/n0<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x3b1b71a072cf1ebL
# instance fields
.field public upstream:Lio/reactivex/rxjava3/disposables/c;
# direct methods
.method public constructor <init>(Lai/n0;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"downstream"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;-><init>(Lai/n0;)V
return-void
.end method
# virtual methods
.method public dispose()V
.locals 1
.line 1
invoke-super {p0}, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->dispose()V
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
return-void
.end method
.method public onComplete()V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
if-eqz v0, :cond_0
const/4 v1, 0x0
.line 2
iput-object v1, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
.line 3
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->complete(Ljava/lang/Object;)V
goto :goto_0
.line 4
:cond_0
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->complete()V
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
.line 2
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->error(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->validate(Lio/reactivex/rxjava3/disposables/c;Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
.line 3
iget-object p1, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->downstream:Lai/n0;
invoke-interface {p1, p0}, Lai/n0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
:cond_0
return-void
.end method
@@ -0,0 +1,132 @@
.class public final Lio/reactivex/rxjava3/internal/observers/EmptyCompletableObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "EmptyCompletableObserver.java"
# interfaces
.implements Lai/d;
.implements Lio/reactivex/rxjava3/disposables/c;
.implements Lio/reactivex/rxjava3/observers/g;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lai/d;",
"Lio/reactivex/rxjava3/disposables/c;",
"Lio/reactivex/rxjava3/observers/g;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x68b5a82715a81b26L
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public hasCustomOnError()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
new-instance v0, Lio/reactivex/rxjava3/exceptions/OnErrorNotImplementedException;
invoke-direct {v0, p1}, Lio/reactivex/rxjava3/exceptions/OnErrorNotImplementedException;-><init>(Ljava/lang/Throwable;)V
invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
invoke-static {p0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
return-void
.end method
@@ -0,0 +1,308 @@
.class public final Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "ForEachWhileObserver.java"
# interfaces
.implements Lai/n0;
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lai/n0<",
"TT;>;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x3d1b3ceaf2a05f88L
# instance fields
.field public done:Z
.field public final onComplete:Lci/a;
.field public final onError:Lci/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/g<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field public final onNext:Lci/r;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/r<",
"-TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/r;Lci/g;Lci/a;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"onNext",
"onError",
"onComplete"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/r<",
"-TT;>;",
"Lci/g<",
"-",
"Ljava/lang/Throwable;",
">;",
"Lci/a;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->onNext:Lci/r;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->onError:Lci/g;
.line 4
iput-object p3, p0, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->onComplete:Lci/a;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/rxjava3/disposables/c;
invoke-static {v0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->done:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->done:Z
.line 3
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->onComplete:Lci/a;
invoke-interface {v0}, Lci/a;->run()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 4
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 5
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->done:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
return-void
:cond_0
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->done:Z
.line 4
:try_start_0
iget-object v1, p0, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->onError:Lci/g;
invoke-interface {v1, p1}, Lci/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v1
.line 5
invoke-static {v1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
new-instance v2, Lio/reactivex/rxjava3/exceptions/CompositeException;
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Throwable;
const/4 v4, 0x0
aput-object p1, v3, v4
aput-object v1, v3, v0
invoke-direct {v2, v3}, Lio/reactivex/rxjava3/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v2}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->done:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->onNext:Lci/r;
invoke-interface {v0, p1}, Lci/r;->test(Ljava/lang/Object;)Z
move-result p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-nez p1, :cond_1
.line 3
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->dispose()V
.line 4
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->onComplete()V
:cond_1
return-void
:catchall_0
move-exception p1
.line 5
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->dispose()V
.line 7
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/observers/ForEachWhileObserver;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
invoke-static {p0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
return-void
.end method
@@ -0,0 +1,303 @@
.class public final Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "InnerQueuedObserver.java"
# interfaces
.implements Lai/n0;
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lai/n0<",
"TT;>;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x4b2db39073b2fa8dL
# instance fields
.field public volatile done:Z
.field public fusionMode:I
.field public final parent:Lfi/k;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lfi/k<",
"TT;>;"
}
.end annotation
.end field
.field public final prefetch:I
.field public queue:Lei/q;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lei/q<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lfi/k;I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"parent",
"prefetch"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lfi/k<",
"TT;>;I)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->parent:Lfi/k;
.line 3
iput p2, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->prefetch:I
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/rxjava3/disposables/c;
invoke-static {v0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
return v0
.end method
.method public isDone()Z
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->done:Z
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->parent:Lfi/k;
invoke-interface {v0, p0}, Lfi/k;->innerComplete(Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->parent:Lfi/k;
invoke-interface {v0, p0, p1}, Lfi/k;->innerError(Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;Ljava/lang/Throwable;)V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget v0, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->fusionMode:I
if-nez v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->parent:Lfi/k;
invoke-interface {v0, p0, p1}, Lfi/k;->innerNext(Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;Ljava/lang/Object;)V
goto :goto_0
.line 3
:cond_0
iget-object p1, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->parent:Lfi/k;
invoke-interface {p1}, Lfi/k;->drain()V
:goto_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
invoke-static {p0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
if-eqz v0, :cond_2
.line 2
instance-of v0, p1, Lei/l;
if-eqz v0, :cond_1
.line 3
check-cast p1, Lei/l;
const/4 v0, 0x3
.line 4
invoke-interface {p1, v0}, Lei/m;->requestFusion(I)I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_0
.line 5
iput v0, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->fusionMode:I
.line 6
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->queue:Lei/q;
.line 7
iput-boolean v1, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->done:Z
.line 8
iget-object p1, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->parent:Lfi/k;
invoke-interface {p1, p0}, Lfi/k;->innerComplete(Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;)V
return-void
:cond_0
const/4 v1, 0x2
if-ne v0, v1, :cond_1
.line 9
iput v0, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->fusionMode:I
.line 10
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->queue:Lei/q;
return-void
.line 11
:cond_1
iget p1, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->prefetch:I
neg-int p1, p1
invoke-static {p1}, Lio/reactivex/rxjava3/internal/util/n;->c(I)Lei/q;
move-result-object p1
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->queue:Lei/q;
:cond_2
return-void
.end method
.method public queue()Lei/q;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lei/q<",
"TT;>;"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->queue:Lei/q;
return-object v0
.end method
.method public setDone()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/observers/InnerQueuedObserver;->done:Z
return-void
.end method
@@ -0,0 +1,382 @@
.class public final Lio/reactivex/rxjava3/internal/observers/LambdaObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "LambdaObserver.java"
# interfaces
.implements Lai/n0;
.implements Lio/reactivex/rxjava3/disposables/c;
.implements Lio/reactivex/rxjava3/observers/g;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lai/n0<",
"TT;>;",
"Lio/reactivex/rxjava3/disposables/c;",
"Lio/reactivex/rxjava3/observers/g;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x64a12a8486b15cccL
# instance fields
.field public final onComplete:Lci/a;
.field public final onError:Lci/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/g<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field public final onNext:Lci/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/g<",
"-TT;>;"
}
.end annotation
.end field
.field public final onSubscribe:Lci/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/g<",
"-",
"Lio/reactivex/rxjava3/disposables/c;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/g;Lci/g;Lci/a;Lci/g;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0,
0x0
}
names = {
"onNext",
"onError",
"onComplete",
"onSubscribe"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/g<",
"-TT;>;",
"Lci/g<",
"-",
"Ljava/lang/Throwable;",
">;",
"Lci/a;",
"Lci/g<",
"-",
"Lio/reactivex/rxjava3/disposables/c;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->onNext:Lci/g;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->onError:Lci/g;
.line 4
iput-object p3, p0, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->onComplete:Lci/a;
.line 5
iput-object p4, p0, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->onSubscribe:Lci/g;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public hasCustomOnError()Z
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->onError:Lci/g;
sget-object v1, Lio/reactivex/rxjava3/internal/functions/Functions;->f:Lci/g;
if-eq v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->isDisposed()Z
move-result v0
if-nez v0, :cond_0
.line 2
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 3
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->onComplete:Lci/a;
invoke-interface {v0}, Lci/a;->run()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 4
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->isDisposed()Z
move-result v0
if-nez v0, :cond_0
.line 2
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 3
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->onError:Lci/g;
invoke-interface {v0, p1}, Lci/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 4
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
new-instance v1, Lio/reactivex/rxjava3/exceptions/CompositeException;
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Throwable;
const/4 v3, 0x0
aput-object p1, v2, v3
const/4 p1, 0x1
aput-object v0, v2, p1
invoke-direct {v1, v2}, Lio/reactivex/rxjava3/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v1}, Lji/a;->Y(Ljava/lang/Throwable;)V
goto :goto_0
.line 6
:cond_0
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->isDisposed()Z
move-result v0
if-nez v0, :cond_0
.line 2
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->onNext:Lci/g;
invoke-interface {v0, p1}, Lci/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
.line 3
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/rxjava3/disposables/c;
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
.line 5
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->onError(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
invoke-static {p0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->onSubscribe:Lci/g;
invoke-interface {v0, p0}, Lci/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 3
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-interface {p1}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
.line 5
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/observers/LambdaObserver;->onError(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method