1176 lines
31 KiB
Smali
1176 lines
31 KiB
Smali
.class public final Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
.super Lio/reactivex/rxjava3/subjects/c;
|
|
.source "ReplaySubject.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lio/reactivex/rxjava3/subjects/ReplaySubject$SizeAndTimeBoundReplayBuffer;,
|
|
Lio/reactivex/rxjava3/subjects/ReplaySubject$SizeBoundReplayBuffer;,
|
|
Lio/reactivex/rxjava3/subjects/ReplaySubject$TimedNode;,
|
|
Lio/reactivex/rxjava3/subjects/ReplaySubject$Node;,
|
|
Lio/reactivex/rxjava3/subjects/ReplaySubject$UnboundedReplayBuffer;,
|
|
Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;,
|
|
Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lio/reactivex/rxjava3/subjects/c<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final d:[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
.field public static final e:[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
.field public static final f:[Ljava/lang/Object;
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject$a<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final b:Ljava/util/concurrent/atomic/AtomicReference;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/atomic/AtomicReference<",
|
|
"[",
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable<",
|
|
"TT;>;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public c:Z
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v1, v0, [Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
.line 1
|
|
sput-object v1, Lio/reactivex/rxjava3/subjects/ReplaySubject;->d:[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
new-array v1, v0, [Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
.line 2
|
|
sput-object v1, Lio/reactivex/rxjava3/subjects/ReplaySubject;->e:[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
.line 3
|
|
sput-object v0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->f:[Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lio/reactivex/rxjava3/subjects/ReplaySubject$a;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"buffer"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject$a<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lio/reactivex/rxjava3/subjects/c;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
.line 3
|
|
new-instance p1, Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
sget-object v0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->d:[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
invoke-direct {p1, v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
iput-object p1, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static P8()Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">()",
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
|
|
new-instance v1, Lio/reactivex/rxjava3/subjects/ReplaySubject$UnboundedReplayBuffer;
|
|
|
|
const/16 v2, 0x10
|
|
|
|
invoke-direct {v1, v2}, Lio/reactivex/rxjava3/subjects/ReplaySubject$UnboundedReplayBuffer;-><init>(I)V
|
|
|
|
invoke-direct {v0, v1}, Lio/reactivex/rxjava3/subjects/ReplaySubject;-><init>(Lio/reactivex/rxjava3/subjects/ReplaySubject$a;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static Q8(I)Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"capacityHint"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(I)",
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
|
|
.end annotation
|
|
|
|
const-string v0, "capacityHint"
|
|
|
|
.line 1
|
|
invoke-static {p0, v0}, Lio/reactivex/rxjava3/internal/functions/a;->b(ILjava/lang/String;)I
|
|
|
|
.line 2
|
|
new-instance v0, Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
|
|
new-instance v1, Lio/reactivex/rxjava3/subjects/ReplaySubject$UnboundedReplayBuffer;
|
|
|
|
invoke-direct {v1, p0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$UnboundedReplayBuffer;-><init>(I)V
|
|
|
|
invoke-direct {v0, v1}, Lio/reactivex/rxjava3/subjects/ReplaySubject;-><init>(Lio/reactivex/rxjava3/subjects/ReplaySubject$a;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static R8()Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">()",
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
|
|
new-instance v1, Lio/reactivex/rxjava3/subjects/ReplaySubject$SizeBoundReplayBuffer;
|
|
|
|
const v2, 0x7fffffff
|
|
|
|
invoke-direct {v1, v2}, Lio/reactivex/rxjava3/subjects/ReplaySubject$SizeBoundReplayBuffer;-><init>(I)V
|
|
|
|
invoke-direct {v0, v1}, Lio/reactivex/rxjava3/subjects/ReplaySubject;-><init>(Lio/reactivex/rxjava3/subjects/ReplaySubject$a;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static S8(I)Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"maxSize"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(I)",
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
|
|
.end annotation
|
|
|
|
const-string v0, "maxSize"
|
|
|
|
.line 1
|
|
invoke-static {p0, v0}, Lio/reactivex/rxjava3/internal/functions/a;->b(ILjava/lang/String;)I
|
|
|
|
.line 2
|
|
new-instance v0, Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
|
|
new-instance v1, Lio/reactivex/rxjava3/subjects/ReplaySubject$SizeBoundReplayBuffer;
|
|
|
|
invoke-direct {v1, p0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$SizeBoundReplayBuffer;-><init>(I)V
|
|
|
|
invoke-direct {v0, v1}, Lio/reactivex/rxjava3/subjects/ReplaySubject;-><init>(Lio/reactivex/rxjava3/subjects/ReplaySubject$a;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static T8(JLjava/util/concurrent/TimeUnit;Lai/o0;)Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
.locals 8
|
|
.param p2 # Ljava/util/concurrent/TimeUnit;
|
|
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Lai/o0;
|
|
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"maxAge",
|
|
"unit",
|
|
"scheduler"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(J",
|
|
"Ljava/util/concurrent/TimeUnit;",
|
|
"Lai/o0;",
|
|
")",
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
|
|
.end annotation
|
|
|
|
const-string v0, "maxAge"
|
|
|
|
.line 1
|
|
invoke-static {p0, p1, v0}, Lio/reactivex/rxjava3/internal/functions/a;->c(JLjava/lang/String;)J
|
|
|
|
const-string v0, "unit is null"
|
|
|
|
.line 2
|
|
invoke-static {p2, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
const-string v0, "scheduler is null"
|
|
|
|
.line 3
|
|
invoke-static {p3, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 4
|
|
new-instance v0, Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
|
|
new-instance v7, Lio/reactivex/rxjava3/subjects/ReplaySubject$SizeAndTimeBoundReplayBuffer;
|
|
|
|
const v2, 0x7fffffff
|
|
|
|
move-object v1, v7
|
|
|
|
move-wide v3, p0
|
|
|
|
move-object v5, p2
|
|
|
|
move-object v6, p3
|
|
|
|
invoke-direct/range {v1 .. v6}, Lio/reactivex/rxjava3/subjects/ReplaySubject$SizeAndTimeBoundReplayBuffer;-><init>(IJLjava/util/concurrent/TimeUnit;Lai/o0;)V
|
|
|
|
invoke-direct {v0, v7}, Lio/reactivex/rxjava3/subjects/ReplaySubject;-><init>(Lio/reactivex/rxjava3/subjects/ReplaySubject$a;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static U8(JLjava/util/concurrent/TimeUnit;Lai/o0;I)Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
.locals 8
|
|
.param p2 # Ljava/util/concurrent/TimeUnit;
|
|
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Lai/o0;
|
|
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"maxAge",
|
|
"unit",
|
|
"scheduler",
|
|
"maxSize"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(J",
|
|
"Ljava/util/concurrent/TimeUnit;",
|
|
"Lai/o0;",
|
|
"I)",
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
|
|
.end annotation
|
|
|
|
const-string v0, "maxSize"
|
|
|
|
.line 1
|
|
invoke-static {p4, v0}, Lio/reactivex/rxjava3/internal/functions/a;->b(ILjava/lang/String;)I
|
|
|
|
const-string v0, "maxAge"
|
|
|
|
.line 2
|
|
invoke-static {p0, p1, v0}, Lio/reactivex/rxjava3/internal/functions/a;->c(JLjava/lang/String;)J
|
|
|
|
const-string v0, "unit is null"
|
|
|
|
.line 3
|
|
invoke-static {p2, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
const-string v0, "scheduler is null"
|
|
|
|
.line 4
|
|
invoke-static {p3, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 5
|
|
new-instance v0, Lio/reactivex/rxjava3/subjects/ReplaySubject;
|
|
|
|
new-instance v7, Lio/reactivex/rxjava3/subjects/ReplaySubject$SizeAndTimeBoundReplayBuffer;
|
|
|
|
move-object v1, v7
|
|
|
|
move v2, p4
|
|
|
|
move-wide v3, p0
|
|
|
|
move-object v5, p2
|
|
|
|
move-object v6, p3
|
|
|
|
invoke-direct/range {v1 .. v6}, Lio/reactivex/rxjava3/subjects/ReplaySubject$SizeAndTimeBoundReplayBuffer;-><init>(IJLjava/util/concurrent/TimeUnit;Lai/o0;)V
|
|
|
|
invoke-direct {v0, v7}, Lio/reactivex/rxjava3/subjects/ReplaySubject;-><init>(Lio/reactivex/rxjava3/subjects/ReplaySubject$a;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public I8()Ljava/lang/Throwable;
|
|
.locals 2
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.annotation build Lio/reactivex/rxjava3/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2
|
|
invoke-static {v0}, Lio/reactivex/rxjava3/internal/util/NotificationLite;->isError(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 3
|
|
invoke-static {v0}, Lio/reactivex/rxjava3/internal/util/NotificationLite;->getError(Ljava/lang/Object;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public J8()Z
|
|
.locals 1
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2
|
|
invoke-static {v0}, Lio/reactivex/rxjava3/internal/util/NotificationLite;->isComplete(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public K8()Z
|
|
.locals 1
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
array-length v0, v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public L8()Z
|
|
.locals 1
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2
|
|
invoke-static {v0}, Lio/reactivex/rxjava3/internal/util/NotificationLite;->isError(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public N8(Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;)Z
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"rs"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable<",
|
|
"TT;>;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
:cond_0
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
.line 2
|
|
sget-object v1, Lio/reactivex/rxjava3/subjects/ReplaySubject;->e:[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
return v2
|
|
|
|
.line 3
|
|
:cond_1
|
|
array-length v1, v0
|
|
|
|
add-int/lit8 v3, v1, 0x1
|
|
|
|
.line 4
|
|
new-array v3, v3, [Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
.line 5
|
|
invoke-static {v0, v2, v3, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
.line 6
|
|
aput-object p1, v3, v1
|
|
|
|
.line 7
|
|
iget-object v1, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-virtual {v1, v0, v3}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public O8()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->trimHead()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public V8()Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.annotation build Lio/reactivex/rxjava3/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public W8()[Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.line 1
|
|
sget-object v0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->f:[Ljava/lang/Object;
|
|
|
|
.line 2
|
|
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject;->X8([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
if-ne v1, v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public X8([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"array"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"([TT;)[TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
invoke-interface {v0, p1}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->getValues([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public Y8()Z
|
|
.locals 1
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public Z8()I
|
|
.locals 1
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
array-length v0, v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public a9(Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;)V
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"rs"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
:cond_0
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
.line 2
|
|
sget-object v1, Lio/reactivex/rxjava3/subjects/ReplaySubject;->e:[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
if-eq v0, v1, :cond_6
|
|
|
|
sget-object v1, Lio/reactivex/rxjava3/subjects/ReplaySubject;->d:[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
goto :goto_3
|
|
|
|
.line 3
|
|
:cond_1
|
|
array-length v1, v0
|
|
|
|
const/4 v2, -0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
move v4, v3
|
|
|
|
:goto_0
|
|
if-ge v4, v1, :cond_3
|
|
|
|
.line 4
|
|
aget-object v5, v0, v4
|
|
|
|
if-ne v5, p1, :cond_2
|
|
|
|
move v2, v4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
:goto_1
|
|
if-gez v2, :cond_4
|
|
|
|
return-void
|
|
|
|
:cond_4
|
|
const/4 v4, 0x1
|
|
|
|
if-ne v1, v4, :cond_5
|
|
|
|
.line 5
|
|
sget-object v1, Lio/reactivex/rxjava3/subjects/ReplaySubject;->d:[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
add-int/lit8 v5, v1, -0x1
|
|
|
|
.line 6
|
|
new-array v5, v5, [Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
.line 7
|
|
invoke-static {v0, v3, v5, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
add-int/lit8 v3, v2, 0x1
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
sub-int/2addr v1, v4
|
|
|
|
.line 8
|
|
invoke-static {v0, v3, v5, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
move-object v1, v5
|
|
|
|
.line 9
|
|
:goto_2
|
|
iget-object v2, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-virtual {v2, v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
:cond_6
|
|
:goto_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public b9()I
|
|
.locals 1
|
|
.annotation runtime Lio/reactivex/rxjava3/annotations/CheckReturnValue;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->size()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public c9(Ljava/lang/Object;)[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"terminalValue"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Object;",
|
|
")[",
|
|
"Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-interface {v0, v1, p1}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.line 2
|
|
iget-object p1, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
sget-object v0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->e:[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public l6(Lai/n0;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"observer"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lai/n0<",
|
|
"-TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
invoke-direct {v0, p1, p0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;-><init>(Lai/n0;Lio/reactivex/rxjava3/subjects/ReplaySubject;)V
|
|
|
|
.line 2
|
|
invoke-interface {p1, v0}, Lai/n0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject;->N8(Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 4
|
|
iget-boolean p1, v0, Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;->cancelled:Z
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 5
|
|
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a9(Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;)V
|
|
|
|
return-void
|
|
|
|
.line 6
|
|
:cond_0
|
|
iget-object p1, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
invoke-interface {p1, v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->replay(Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onComplete()V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->c:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 2
|
|
iput-boolean v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->c:Z
|
|
|
|
.line 3
|
|
invoke-static {}, Lio/reactivex/rxjava3/internal/util/NotificationLite;->complete()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 4
|
|
iget-object v1, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
.line 5
|
|
invoke-interface {v1, v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->addFinal(Ljava/lang/Object;)V
|
|
|
|
.line 6
|
|
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/subjects/ReplaySubject;->c9(Ljava/lang/Object;)[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
move-result-object v0
|
|
|
|
array-length v2, v0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
if-ge v3, v2, :cond_1
|
|
|
|
aget-object v4, v0, v3
|
|
|
|
.line 7
|
|
invoke-interface {v1, v4}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->replay(Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;)V
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public onError(Ljava/lang/Throwable;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"t"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "onError called with a null Throwable."
|
|
|
|
.line 1
|
|
invoke-static {p1, v0}, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->d(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 2
|
|
iget-boolean v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->c:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3
|
|
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 4
|
|
iput-boolean v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->c:Z
|
|
|
|
.line 5
|
|
invoke-static {p1}, Lio/reactivex/rxjava3/internal/util/NotificationLite;->error(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
.line 6
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
.line 7
|
|
invoke-interface {v0, p1}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->addFinal(Ljava/lang/Object;)V
|
|
|
|
.line 8
|
|
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/subjects/ReplaySubject;->c9(Ljava/lang/Object;)[Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
move-result-object p1
|
|
|
|
array-length v1, p1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_1
|
|
|
|
aget-object v3, p1, v2
|
|
|
|
.line 9
|
|
invoke-interface {v0, v3}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->replay(Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNext(Ljava/lang/Object;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"t"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "onNext called with a null value."
|
|
|
|
.line 1
|
|
invoke-static {p1, v0}, Lio/reactivex/rxjava3/internal/util/ExceptionHelper;->d(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 2
|
|
iget-boolean v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->c:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->a:Lio/reactivex/rxjava3/subjects/ReplaySubject$a;
|
|
|
|
.line 4
|
|
invoke-interface {v0, p1}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->add(Ljava/lang/Object;)V
|
|
|
|
.line 5
|
|
iget-object p1, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->b:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;
|
|
|
|
array-length v1, p1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_1
|
|
|
|
aget-object v3, p1, v2
|
|
|
|
.line 6
|
|
invoke-interface {v0, v3}, Lio/reactivex/rxjava3/subjects/ReplaySubject$a;->replay(Lio/reactivex/rxjava3/subjects/ReplaySubject$ReplayDisposable;)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
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-boolean v0, p0, Lio/reactivex/rxjava3/subjects/ReplaySubject;->c:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-interface {p1}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|