2022-06-10 21:38:30 +09:00

392 lines
8.1 KiB
Smali

.class public final Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "AtomicThrowable.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x36ce8ce03b5e1eabL
# 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 isTerminated()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/util/ExceptionHelper;->a:Ljava/lang/Throwable;
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 terminate()Ljava/lang/Throwable;
.locals 1
.line 1
invoke-static {p0}, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->f(Ljava/util/concurrent/atomic/AtomicReference;)Ljava/lang/Throwable;
move-result-object v0
return-object v0
.end method
.method public tryAddThrowable(Ljava/lang/Throwable;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
invoke-static {p0, p1}, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->a(Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/Throwable;)Z
move-result p1
return p1
.end method
.method public tryAddThrowableOrReport(Ljava/lang/Throwable;)Z
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->tryAddThrowable(Ljava/lang/Throwable;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x1
return p1
.line 2
:cond_0
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
const/4 p1, 0x0
return p1
.end method
.method public tryTerminateAndReport()V
.locals 2
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->terminate()Ljava/lang/Throwable;
move-result-object v0
if-eqz v0, :cond_0
.line 2
sget-object v1, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->a:Ljava/lang/Throwable;
if-eq v0, v1, :cond_0
.line 3
invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V
:cond_0
return-void
.end method
.method public tryTerminateConsumer(Lai/d;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"consumer"
}
.end annotation
.line 16
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->terminate()Ljava/lang/Throwable;
move-result-object v0
if-nez v0, :cond_0
.line 17
invoke-interface {p1}, Lai/d;->onComplete()V
goto :goto_0
.line 18
:cond_0
sget-object v1, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->a:Ljava/lang/Throwable;
if-eq v0, v1, :cond_1
.line 19
invoke-interface {p1, v0}, Lai/d;->onError(Ljava/lang/Throwable;)V
:cond_1
:goto_0
return-void
.end method
.method public tryTerminateConsumer(Lai/i;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"consumer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/i<",
"*>;)V"
}
.end annotation
.line 20
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->terminate()Ljava/lang/Throwable;
move-result-object v0
if-nez v0, :cond_0
.line 21
invoke-interface {p1}, Lai/i;->onComplete()V
goto :goto_0
.line 22
:cond_0
sget-object v1, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->a:Ljava/lang/Throwable;
if-eq v0, v1, :cond_1
.line 23
invoke-interface {p1, v0}, Lai/i;->onError(Ljava/lang/Throwable;)V
:cond_1
:goto_0
return-void
.end method
.method public tryTerminateConsumer(Lai/n0;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"consumer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"*>;)V"
}
.end annotation
.line 5
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->terminate()Ljava/lang/Throwable;
move-result-object v0
if-nez v0, :cond_0
.line 6
invoke-interface {p1}, Lai/n0;->onComplete()V
goto :goto_0
.line 7
:cond_0
sget-object v1, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->a:Ljava/lang/Throwable;
if-eq v0, v1, :cond_1
.line 8
invoke-interface {p1, v0}, Lai/n0;->onError(Ljava/lang/Throwable;)V
:cond_1
:goto_0
return-void
.end method
.method public tryTerminateConsumer(Lai/s0;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"consumer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/s0<",
"*>;)V"
}
.end annotation
.line 13
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->terminate()Ljava/lang/Throwable;
move-result-object v0
if-eqz v0, :cond_0
.line 14
sget-object v1, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->a:Ljava/lang/Throwable;
if-eq v0, v1, :cond_0
.line 15
invoke-interface {p1, v0}, Lai/s0;->onError(Ljava/lang/Throwable;)V
:cond_0
return-void
.end method
.method public tryTerminateConsumer(Lai/y;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"consumer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/y<",
"*>;)V"
}
.end annotation
.line 9
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->terminate()Ljava/lang/Throwable;
move-result-object v0
if-nez v0, :cond_0
.line 10
invoke-interface {p1}, Lai/y;->onComplete()V
goto :goto_0
.line 11
:cond_0
sget-object v1, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->a:Ljava/lang/Throwable;
if-eq v0, v1, :cond_1
.line 12
invoke-interface {p1, v0}, Lai/y;->onError(Ljava/lang/Throwable;)V
:cond_1
:goto_0
return-void
.end method
.method public tryTerminateConsumer(Lok/d;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"consumer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"*>;)V"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->terminate()Ljava/lang/Throwable;
move-result-object v0
if-nez v0, :cond_0
.line 2
invoke-interface {p1}, Lok/d;->onComplete()V
goto :goto_0
.line 3
:cond_0
sget-object v1, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->a:Ljava/lang/Throwable;
if-eq v0, v1, :cond_1
.line 4
invoke-interface {p1, v0}, Lok/d;->onError(Ljava/lang/Throwable;)V
:cond_1
:goto_0
return-void
.end method