This commit is contained in:
2022-06-10 21:38:30 +09:00
commit 27f5152838
51323 changed files with 12934539 additions and 0 deletions
+315
View File
@@ -0,0 +1,315 @@
.class public abstract Lsh/a;
.super Ljava/lang/Object;
.source "BasicFuseableObserver.java"
# interfaces
.implements Lkh/g0;
.implements Lrh/j;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkh/g0<",
"TT;>;",
"Lrh/j<",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lkh/g0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkh/g0<",
"-TR;>;"
}
.end annotation
.end field
.field public b:Lio/reactivex/disposables/b;
.field public c:Lrh/j;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrh/j<",
"TT;>;"
}
.end annotation
.end field
.field public d:Z
.field public e:I
# direct methods
.method public constructor <init>(Lkh/g0;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/g0<",
"-TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lsh/a;->a:Lkh/g0;
return-void
.end method
# virtual methods
.method public a()V
.locals 0
return-void
.end method
.method public b()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public final c(Ljava/lang/Throwable;)V
.locals 1
.line 1
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 2
iget-object v0, p0, Lsh/a;->b:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
.line 3
invoke-virtual {p0, p1}, Lsh/a;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public clear()V
.locals 1
.line 1
iget-object v0, p0, Lsh/a;->c:Lrh/j;
invoke-interface {v0}, Lrh/o;->clear()V
return-void
.end method
.method public final d(I)I
.locals 2
.line 1
iget-object v0, p0, Lsh/a;->c:Lrh/j;
if-eqz v0, :cond_1
and-int/lit8 v1, p1, 0x4
if-nez v1, :cond_1
.line 2
invoke-interface {v0, p1}, Lrh/k;->requestFusion(I)I
move-result p1
if-eqz p1, :cond_0
.line 3
iput p1, p0, Lsh/a;->e:I
:cond_0
return p1
:cond_1
const/4 p1, 0x0
return p1
.end method
.method public dispose()V
.locals 1
.line 1
iget-object v0, p0, Lsh/a;->b:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
iget-object v0, p0, Lsh/a;->b:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->isDisposed()Z
move-result v0
return v0
.end method
.method public isEmpty()Z
.locals 1
.line 1
iget-object v0, p0, Lsh/a;->c:Lrh/j;
invoke-interface {v0}, Lrh/o;->isEmpty()Z
move-result v0
return v0
.end method
.method public final offer(Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TR;)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/Signature;
value = {
"(TR;TR;)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
.method public onComplete()V
.locals 1
.line 1
iget-boolean v0, p0, Lsh/a;->d:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lsh/a;->d:Z
.line 3
iget-object v0, p0, Lsh/a;->a:Lkh/g0;
invoke-interface {v0}, Lkh/g0;->onComplete()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-boolean v0, p0, Lsh/a;->d:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
:cond_0
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lsh/a;->d:Z
.line 4
iget-object v0, p0, Lsh/a;->a:Lkh/g0;
invoke-interface {v0, p1}, Lkh/g0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public final onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
iget-object v0, p0, Lsh/a;->b:Lio/reactivex/disposables/b;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z
move-result v0
if-eqz v0, :cond_1
.line 2
iput-object p1, p0, Lsh/a;->b:Lio/reactivex/disposables/b;
.line 3
instance-of v0, p1, Lrh/j;
if-eqz v0, :cond_0
.line 4
check-cast p1, Lrh/j;
iput-object p1, p0, Lsh/a;->c:Lrh/j;
.line 5
:cond_0
invoke-virtual {p0}, Lsh/a;->b()Z
move-result p1
if-eqz p1, :cond_1
.line 6
iget-object p1, p0, Lsh/a;->a:Lkh/g0;
invoke-interface {p1, p0}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 7
invoke-virtual {p0}, Lsh/a;->a()V
:cond_1
return-void
.end method
+68
View File
@@ -0,0 +1,68 @@
.class public abstract Lsh/b;
.super Ljava/lang/Object;
.source "BasicQueueDisposable.java"
# interfaces
.implements Lrh/j;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrh/j<",
"TT;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final offer(Ljava/lang/Object;)Z
.locals 1
.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/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
+172
View File
@@ -0,0 +1,172 @@
.class public abstract Lsh/c;
.super Ljava/util/concurrent/CountDownLatch;
.source "BlockingBaseObserver.java"
# interfaces
.implements Lkh/g0;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/CountDownLatch;",
"Lkh/g0<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# instance fields
.field public a:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field public b:Ljava/lang/Throwable;
.field public c:Lio/reactivex/disposables/b;
.field public volatile d:Z
# direct methods
.method public constructor <init>()V
.locals 1
const/4 v0, 0x1
.line 1
invoke-direct {p0, v0}, Ljava/util/concurrent/CountDownLatch;-><init>(I)V
return-void
.end method
# virtual methods
.method public final a()Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-eqz v0, :cond_0
.line 2
:try_start_0
invoke-static {}, Lio/reactivex/internal/util/c;->b()V
.line 3
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->await()V
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 4
invoke-virtual {p0}, Lsh/c;->dispose()V
.line 5
invoke-static {v0}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object v0
throw v0
.line 6
:cond_0
:goto_0
iget-object v0, p0, Lsh/c;->b:Ljava/lang/Throwable;
if-nez v0, :cond_1
.line 7
iget-object v0, p0, Lsh/c;->a:Ljava/lang/Object;
return-object v0
.line 8
:cond_1
invoke-static {v0}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object v0
throw v0
.end method
.method public final dispose()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lsh/c;->d:Z
.line 2
iget-object v0, p0, Lsh/c;->c:Lio/reactivex/disposables/b;
if-eqz v0, :cond_0
.line 3
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
:cond_0
return-void
.end method
.method public final isDisposed()Z
.locals 1
.line 1
iget-boolean v0, p0, Lsh/c;->d:Z
return v0
.end method
.method public final onComplete()V
.locals 0
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
.end method
.method public final onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
iput-object p1, p0, Lsh/c;->c:Lio/reactivex/disposables/b;
.line 2
iget-boolean v0, p0, Lsh/c;->d:Z
if-eqz v0, :cond_0
.line 3
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
:cond_0
return-void
.end method
+74
View File
@@ -0,0 +1,74 @@
.class public final Lsh/d;
.super Lsh/c;
.source "BlockingFirstObserver.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lsh/c<",
"TT;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Lsh/c;-><init>()V
return-void
.end method
# virtual methods
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-object v0, p0, Lsh/c;->a:Ljava/lang/Object;
if-nez v0, :cond_0
.line 2
iput-object p1, p0, Lsh/c;->b:Ljava/lang/Throwable;
.line 3
:cond_0
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lsh/c;->a:Ljava/lang/Object;
if-nez v0, :cond_0
.line 2
iput-object p1, p0, Lsh/c;->a:Ljava/lang/Object;
.line 3
iget-object p1, p0, Lsh/c;->c:Lio/reactivex/disposables/b;
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
.line 4
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
:cond_0
return-void
.end method
+59
View File
@@ -0,0 +1,59 @@
.class public final Lsh/e;
.super Lsh/c;
.source "BlockingLastObserver.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lsh/c<",
"TT;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Lsh/c;-><init>()V
return-void
.end method
# virtual methods
.method public onError(Ljava/lang/Throwable;)V
.locals 1
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lsh/c;->a:Ljava/lang/Object;
.line 2
iput-object p1, p0, Lsh/c;->b:Ljava/lang/Throwable;
.line 3
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iput-object p1, p0, Lsh/c;->a:Ljava/lang/Object;
return-void
.end method
+440
View File
@@ -0,0 +1,440 @@
.class public final Lsh/f;
.super Ljava/util/concurrent/CountDownLatch;
.source "BlockingMultiObserver.java"
# interfaces
.implements Lkh/l0;
.implements Lkh/d;
.implements Lkh/t;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/CountDownLatch;",
"Lkh/l0<",
"TT;>;",
"Lkh/d;",
"Lkh/t<",
"TT;>;"
}
.end annotation
# instance fields
.field public a:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field public b:Ljava/lang/Throwable;
.field public c:Lio/reactivex/disposables/b;
.field public volatile d:Z
# direct methods
.method public constructor <init>()V
.locals 1
const/4 v0, 0x1
.line 1
invoke-direct {p0, v0}, Ljava/util/concurrent/CountDownLatch;-><init>(I)V
return-void
.end method
# virtual methods
.method public a(JLjava/util/concurrent/TimeUnit;)Z
.locals 4
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-eqz v0, :cond_0
.line 2
:try_start_0
invoke-static {}, Lio/reactivex/internal/util/c;->b()V
.line 3
invoke-virtual {p0, p1, p2, p3}, Ljava/util/concurrent/CountDownLatch;->await(JLjava/util/concurrent/TimeUnit;)Z
move-result p1
if-nez p1, :cond_0
.line 4
invoke-virtual {p0}, Lsh/f;->f()V
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
const/4 p1, 0x0
return p1
:catch_0
move-exception p1
.line 5
invoke-virtual {p0}, Lsh/f;->f()V
.line 6
invoke-static {p1}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
.line 7
:cond_0
iget-object p1, p0, Lsh/f;->b:Ljava/lang/Throwable;
if-nez p1, :cond_1
const/4 p1, 0x1
return p1
.line 8
:cond_1
invoke-static {p1}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
.end method
.method public b()Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-eqz v0, :cond_0
.line 2
:try_start_0
invoke-static {}, Lio/reactivex/internal/util/c;->b()V
.line 3
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->await()V
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 4
invoke-virtual {p0}, Lsh/f;->f()V
.line 5
invoke-static {v0}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object v0
throw v0
.line 6
:cond_0
:goto_0
iget-object v0, p0, Lsh/f;->b:Ljava/lang/Throwable;
if-nez v0, :cond_1
.line 7
iget-object v0, p0, Lsh/f;->a:Ljava/lang/Object;
return-object v0
.line 8
:cond_1
invoke-static {v0}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object v0
throw v0
.end method
.method public c(Ljava/lang/Object;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)TT;"
}
.end annotation
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-eqz v0, :cond_0
.line 2
:try_start_0
invoke-static {}, Lio/reactivex/internal/util/c;->b()V
.line 3
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->await()V
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p1
.line 4
invoke-virtual {p0}, Lsh/f;->f()V
.line 5
invoke-static {p1}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
.line 6
:cond_0
:goto_0
iget-object v0, p0, Lsh/f;->b:Ljava/lang/Throwable;
if-nez v0, :cond_2
.line 7
iget-object v0, p0, Lsh/f;->a:Ljava/lang/Object;
if-eqz v0, :cond_1
move-object p1, v0
:cond_1
return-object p1
.line 8
:cond_2
invoke-static {v0}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
.end method
.method public d()Ljava/lang/Throwable;
.locals 4
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-eqz v0, :cond_0
.line 2
:try_start_0
invoke-static {}, Lio/reactivex/internal/util/c;->b()V
.line 3
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->await()V
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 4
invoke-virtual {p0}, Lsh/f;->f()V
return-object v0
.line 5
:cond_0
:goto_0
iget-object v0, p0, Lsh/f;->b:Ljava/lang/Throwable;
return-object v0
.end method
.method public e(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Throwable;
.locals 4
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-eqz v0, :cond_1
.line 2
:try_start_0
invoke-static {}, Lio/reactivex/internal/util/c;->b()V
.line 3
invoke-virtual {p0, p1, p2, p3}, Ljava/util/concurrent/CountDownLatch;->await(JLjava/util/concurrent/TimeUnit;)Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
.line 4
:cond_0
invoke-virtual {p0}, Lsh/f;->f()V
.line 5
new-instance v0, Ljava/util/concurrent/TimeoutException;
invoke-static {p1, p2, p3}, Lio/reactivex/internal/util/ExceptionHelper;->e(JLjava/util/concurrent/TimeUnit;)Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/util/concurrent/TimeoutException;-><init>(Ljava/lang/String;)V
invoke-static {v0}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
move-exception p1
.line 6
invoke-virtual {p0}, Lsh/f;->f()V
.line 7
invoke-static {p1}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
.line 8
:cond_1
:goto_0
iget-object p1, p0, Lsh/f;->b:Ljava/lang/Throwable;
return-object p1
.end method
.method public f()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lsh/f;->d:Z
.line 2
iget-object v0, p0, Lsh/f;->c:Lio/reactivex/disposables/b;
if-eqz v0, :cond_0
.line 3
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
:cond_0
return-void
.end method
.method public onComplete()V
.locals 0
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 0
.line 1
iput-object p1, p0, Lsh/f;->b:Ljava/lang/Throwable;
.line 2
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
iput-object p1, p0, Lsh/f;->c:Lio/reactivex/disposables/b;
.line 2
iget-boolean v0, p0, Lsh/f;->d:Z
if-eqz v0, :cond_0
.line 3
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
:cond_0
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iput-object p1, p0, Lsh/f;->a:Ljava/lang/Object;
.line 2
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
.end method
+255
View File
@@ -0,0 +1,255 @@
.class public final Lsh/g;
.super Ljava/lang/Object;
.source "DisposableLambdaObserver.java"
# interfaces
.implements Lkh/g0;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkh/g0<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# instance fields
.field public final a:Lkh/g0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkh/g0<",
"-TT;>;"
}
.end annotation
.end field
.field public final b:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-",
"Lio/reactivex/disposables/b;",
">;"
}
.end annotation
.end field
.field public final c:Lph/a;
.field public d:Lio/reactivex/disposables/b;
# direct methods
.method public constructor <init>(Lkh/g0;Lph/g;Lph/a;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/g0<",
"-TT;>;",
"Lph/g<",
"-",
"Lio/reactivex/disposables/b;",
">;",
"Lph/a;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lsh/g;->a:Lkh/g0;
.line 3
iput-object p2, p0, Lsh/g;->b:Lph/g;
.line 4
iput-object p3, p0, Lsh/g;->c:Lph/a;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 2
.line 1
iget-object v0, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
.line 2
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-eq v0, v1, :cond_0
.line 3
iput-object v1, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
.line 4
:try_start_0
iget-object v1, p0, Lsh/g;->c:Lph/a;
invoke-interface {v1}, Lph/a;->run()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/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-static {v1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
.line 7
:goto_0
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
:cond_0
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
iget-object v0, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->isDisposed()Z
move-result v0
return v0
.end method
.method public onComplete()V
.locals 2
.line 1
iget-object v0, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-eq v0, v1, :cond_0
.line 2
iput-object v1, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
.line 3
iget-object v0, p0, Lsh/g;->a:Lkh/g0;
invoke-interface {v0}, Lkh/g0;->onComplete()V
:cond_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 2
.line 1
iget-object v0, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-eq v0, v1, :cond_0
.line 2
iput-object v1, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
.line 3
iget-object v0, p0, Lsh/g;->a:Lkh/g0;
invoke-interface {v0, p1}, Lkh/g0;->onError(Ljava/lang/Throwable;)V
goto :goto_0
.line 4
:cond_0
invoke-static {p1}, Lwh/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/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lsh/g;->a:Lkh/g0;
invoke-interface {v0, p1}, Lkh/g0;->onNext(Ljava/lang/Object;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
:try_start_0
iget-object v0, p0, Lsh/g;->b:Lph/g;
invoke-interface {v0, p1}, Lph/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 2
iget-object v0, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z
move-result v0
if-eqz v0, :cond_0
.line 3
iput-object p1, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
.line 4
iget-object p1, p0, Lsh/g;->a:Lkh/g0;
invoke-interface {p1, p0}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V
:cond_0
return-void
:catchall_0
move-exception v0
.line 5
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
.line 7
sget-object p1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
iput-object p1, p0, Lsh/g;->d:Lio/reactivex/disposables/b;
.line 8
iget-object p1, p0, Lsh/g;->a:Lkh/g0;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lkh/g0;)V
return-void
.end method
+505
View File
@@ -0,0 +1,505 @@
.class public final Lsh/h;
.super Ljava/util/concurrent/CountDownLatch;
.source "FutureObserver.java"
# interfaces
.implements Lkh/g0;
.implements Ljava/util/concurrent/Future;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/CountDownLatch;",
"Lkh/g0<",
"TT;>;",
"Ljava/util/concurrent/Future<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# instance fields
.field public a:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field public b:Ljava/lang/Throwable;
.field public final c:Ljava/util/concurrent/atomic/AtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
const/4 v0, 0x1
.line 1
invoke-direct {p0, v0}, Ljava/util/concurrent/CountDownLatch;-><init>(I)V
.line 2
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
iput-object v0, p0, Lsh/h;->c:Ljava/util/concurrent/atomic/AtomicReference;
return-void
.end method
# virtual methods
.method public cancel(Z)Z
.locals 2
.line 1
:cond_0
iget-object p1, p0, Lsh/h;->c: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/disposables/b;
if-eq p1, p0, :cond_3
.line 2
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne p1, v0, :cond_1
goto :goto_0
.line 3
:cond_1
iget-object v1, p0, Lsh/h;->c:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v1, p1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
if-eqz p1, :cond_2
.line 4
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
.line 5
:cond_2
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
const/4 p1, 0x1
return p1
:cond_3
:goto_0
const/4 p1, 0x0
return p1
.end method
.method public dispose()V
.locals 0
return-void
.end method
.method public get()Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;,
Ljava/util/concurrent/ExecutionException;
}
.end annotation
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-eqz v0, :cond_0
.line 2
invoke-static {}, Lio/reactivex/internal/util/c;->b()V
.line 3
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->await()V
.line 4
:cond_0
invoke-virtual {p0}, Lsh/h;->isCancelled()Z
move-result v0
if-nez v0, :cond_2
.line 5
iget-object v0, p0, Lsh/h;->b:Ljava/lang/Throwable;
if-nez v0, :cond_1
.line 6
iget-object v0, p0, Lsh/h;->a:Ljava/lang/Object;
return-object v0
.line 7
:cond_1
new-instance v1, Ljava/util/concurrent/ExecutionException;
invoke-direct {v1, v0}, Ljava/util/concurrent/ExecutionException;-><init>(Ljava/lang/Throwable;)V
throw v1
.line 8
:cond_2
new-instance v0, Ljava/util/concurrent/CancellationException;
invoke-direct {v0}, Ljava/util/concurrent/CancellationException;-><init>()V
throw v0
.end method
.method public get(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(J",
"Ljava/util/concurrent/TimeUnit;",
")TT;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;,
Ljava/util/concurrent/ExecutionException;,
Ljava/util/concurrent/TimeoutException;
}
.end annotation
.line 9
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-eqz v0, :cond_1
.line 10
invoke-static {}, Lio/reactivex/internal/util/c;->b()V
.line 11
invoke-virtual {p0, p1, p2, p3}, Ljava/util/concurrent/CountDownLatch;->await(JLjava/util/concurrent/TimeUnit;)Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
.line 12
:cond_0
new-instance v0, Ljava/util/concurrent/TimeoutException;
invoke-static {p1, p2, p3}, Lio/reactivex/internal/util/ExceptionHelper;->e(JLjava/util/concurrent/TimeUnit;)Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/util/concurrent/TimeoutException;-><init>(Ljava/lang/String;)V
throw v0
.line 13
:cond_1
:goto_0
invoke-virtual {p0}, Lsh/h;->isCancelled()Z
move-result p1
if-nez p1, :cond_3
.line 14
iget-object p1, p0, Lsh/h;->b:Ljava/lang/Throwable;
if-nez p1, :cond_2
.line 15
iget-object p1, p0, Lsh/h;->a:Ljava/lang/Object;
return-object p1
.line 16
:cond_2
new-instance p2, Ljava/util/concurrent/ExecutionException;
invoke-direct {p2, p1}, Ljava/util/concurrent/ExecutionException;-><init>(Ljava/lang/Throwable;)V
throw p2
.line 17
:cond_3
new-instance p1, Ljava/util/concurrent/CancellationException;
invoke-direct {p1}, Ljava/util/concurrent/CancellationException;-><init>()V
throw p1
.end method
.method public isCancelled()Z
.locals 1
.line 1
iget-object v0, p0, Lsh/h;->c: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/disposables/b;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/disposables/b;)Z
move-result v0
return v0
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Lsh/h;->isDone()Z
move-result v0
return v0
.end method
.method public isDone()Z
.locals 4
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-nez v0, :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, Lsh/h;->a:Ljava/lang/Object;
if-nez v0, :cond_0
.line 2
new-instance v0, Ljava/util/NoSuchElementException;
const-string v1, "The source is empty"
invoke-direct {v0, v1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
invoke-virtual {p0, v0}, Lsh/h;->onError(Ljava/lang/Throwable;)V
return-void
.line 3
:cond_0
iget-object v0, p0, Lsh/h;->c: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/disposables/b;
if-eq v0, p0, :cond_2
.line 4
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_1
goto :goto_0
.line 5
:cond_1
iget-object v1, p0, Lsh/h;->c:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v1, v0, p0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
.line 6
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
:cond_2
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 2
.line 1
iget-object v0, p0, Lsh/h;->b:Ljava/lang/Throwable;
if-nez v0, :cond_3
.line 2
iput-object p1, p0, Lsh/h;->b:Ljava/lang/Throwable;
.line 3
:cond_0
iget-object v0, p0, Lsh/h;->c: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/disposables/b;
if-eq v0, p0, :cond_2
.line 4
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_1
goto :goto_0
.line 5
:cond_1
iget-object v1, p0, Lsh/h;->c:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v1, v0, p0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
.line 6
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
.line 7
:cond_2
:goto_0
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.line 8
:cond_3
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lsh/h;->a:Ljava/lang/Object;
if-eqz v0, :cond_0
.line 2
iget-object p1, p0, Lsh/h;->c: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/disposables/b;
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
.line 3
new-instance p1, Ljava/lang/IndexOutOfBoundsException;
const-string v0, "More than one element received"
invoke-direct {p1, v0}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
invoke-virtual {p0, p1}, Lsh/h;->onError(Ljava/lang/Throwable;)V
return-void
.line 4
:cond_0
iput-object p1, p0, Lsh/h;->a:Ljava/lang/Object;
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
iget-object v0, p0, Lsh/h;->c:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
+429
View File
@@ -0,0 +1,429 @@
.class public final Lsh/i;
.super Ljava/util/concurrent/CountDownLatch;
.source "FutureSingleObserver.java"
# interfaces
.implements Lkh/l0;
.implements Ljava/util/concurrent/Future;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/CountDownLatch;",
"Lkh/l0<",
"TT;>;",
"Ljava/util/concurrent/Future<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# instance fields
.field public a:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field public b:Ljava/lang/Throwable;
.field public final c:Ljava/util/concurrent/atomic/AtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
const/4 v0, 0x1
.line 1
invoke-direct {p0, v0}, Ljava/util/concurrent/CountDownLatch;-><init>(I)V
.line 2
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
iput-object v0, p0, Lsh/i;->c:Ljava/util/concurrent/atomic/AtomicReference;
return-void
.end method
# virtual methods
.method public cancel(Z)Z
.locals 2
.line 1
:cond_0
iget-object p1, p0, Lsh/i;->c: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/disposables/b;
if-eq p1, p0, :cond_3
.line 2
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne p1, v0, :cond_1
goto :goto_0
.line 3
:cond_1
iget-object v1, p0, Lsh/i;->c:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v1, p1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
if-eqz p1, :cond_2
.line 4
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
.line 5
:cond_2
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
const/4 p1, 0x1
return p1
:cond_3
:goto_0
const/4 p1, 0x0
return p1
.end method
.method public dispose()V
.locals 0
return-void
.end method
.method public get()Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;,
Ljava/util/concurrent/ExecutionException;
}
.end annotation
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-eqz v0, :cond_0
.line 2
invoke-static {}, Lio/reactivex/internal/util/c;->b()V
.line 3
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->await()V
.line 4
:cond_0
invoke-virtual {p0}, Lsh/i;->isCancelled()Z
move-result v0
if-nez v0, :cond_2
.line 5
iget-object v0, p0, Lsh/i;->b:Ljava/lang/Throwable;
if-nez v0, :cond_1
.line 6
iget-object v0, p0, Lsh/i;->a:Ljava/lang/Object;
return-object v0
.line 7
:cond_1
new-instance v1, Ljava/util/concurrent/ExecutionException;
invoke-direct {v1, v0}, Ljava/util/concurrent/ExecutionException;-><init>(Ljava/lang/Throwable;)V
throw v1
.line 8
:cond_2
new-instance v0, Ljava/util/concurrent/CancellationException;
invoke-direct {v0}, Ljava/util/concurrent/CancellationException;-><init>()V
throw v0
.end method
.method public get(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(J",
"Ljava/util/concurrent/TimeUnit;",
")TT;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;,
Ljava/util/concurrent/ExecutionException;,
Ljava/util/concurrent/TimeoutException;
}
.end annotation
.line 9
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-eqz v0, :cond_1
.line 10
invoke-static {}, Lio/reactivex/internal/util/c;->b()V
.line 11
invoke-virtual {p0, p1, p2, p3}, Ljava/util/concurrent/CountDownLatch;->await(JLjava/util/concurrent/TimeUnit;)Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
.line 12
:cond_0
new-instance v0, Ljava/util/concurrent/TimeoutException;
invoke-static {p1, p2, p3}, Lio/reactivex/internal/util/ExceptionHelper;->e(JLjava/util/concurrent/TimeUnit;)Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/util/concurrent/TimeoutException;-><init>(Ljava/lang/String;)V
throw v0
.line 13
:cond_1
:goto_0
invoke-virtual {p0}, Lsh/i;->isCancelled()Z
move-result p1
if-nez p1, :cond_3
.line 14
iget-object p1, p0, Lsh/i;->b:Ljava/lang/Throwable;
if-nez p1, :cond_2
.line 15
iget-object p1, p0, Lsh/i;->a:Ljava/lang/Object;
return-object p1
.line 16
:cond_2
new-instance p2, Ljava/util/concurrent/ExecutionException;
invoke-direct {p2, p1}, Ljava/util/concurrent/ExecutionException;-><init>(Ljava/lang/Throwable;)V
throw p2
.line 17
:cond_3
new-instance p1, Ljava/util/concurrent/CancellationException;
invoke-direct {p1}, Ljava/util/concurrent/CancellationException;-><init>()V
throw p1
.end method
.method public isCancelled()Z
.locals 1
.line 1
iget-object v0, p0, Lsh/i;->c: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/disposables/b;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/disposables/b;)Z
move-result v0
return v0
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Lsh/i;->isDone()Z
move-result v0
return v0
.end method
.method public isDone()Z
.locals 4
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->getCount()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-nez v0, :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 2
.line 1
:cond_0
iget-object v0, p0, Lsh/i;->c: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/disposables/b;
.line 2
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_1
.line 3
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.line 4
:cond_1
iput-object p1, p0, Lsh/i;->b:Ljava/lang/Throwable;
.line 5
iget-object v1, p0, Lsh/i;->c:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v1, v0, p0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
.line 6
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
iget-object v0, p0, Lsh/i;->c:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lsh/i;->c: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/disposables/b;
.line 2
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
return-void
.line 3
:cond_0
iput-object p1, p0, Lsh/i;->a:Ljava/lang/Object;
.line 4
iget-object p1, p0, Lsh/i;->c:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {p1, v0, p0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
.line 5
invoke-virtual {p0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
return-void
.end method
+51
View File
@@ -0,0 +1,51 @@
.class public interface abstract Lsh/j;
.super Ljava/lang/Object;
.source "InnerQueuedObserverSupport.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# virtual methods
.method public abstract drain()V
.end method
.method public abstract innerComplete(Lio/reactivex/internal/observers/InnerQueuedObserver;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/internal/observers/InnerQueuedObserver<",
"TT;>;)V"
}
.end annotation
.end method
.method public abstract innerError(Lio/reactivex/internal/observers/InnerQueuedObserver;Ljava/lang/Throwable;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/internal/observers/InnerQueuedObserver<",
"TT;>;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
.end method
.method public abstract innerNext(Lio/reactivex/internal/observers/InnerQueuedObserver;Ljava/lang/Object;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/internal/observers/InnerQueuedObserver<",
"TT;>;TT;)V"
}
.end annotation
.end method
+345
View File
@@ -0,0 +1,345 @@
.class public abstract Lsh/k;
.super Lsh/m;
.source "QueueDrainObserver.java"
# interfaces
.implements Lkh/g0;
.implements Lio/reactivex/internal/util/j;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Lsh/m;",
"Lkh/g0<",
"TT;>;",
"Lio/reactivex/internal/util/j<",
"TU;TV;>;"
}
.end annotation
# instance fields
.field public final k1:Lkh/g0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkh/g0<",
"-TV;>;"
}
.end annotation
.end field
.field public final l1:Lrh/n;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrh/n<",
"TU;>;"
}
.end annotation
.end field
.field public volatile m1:Z
.field public volatile n1:Z
.field public o1:Ljava/lang/Throwable;
# direct methods
.method public constructor <init>(Lkh/g0;Lrh/n;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/g0<",
"-TV;>;",
"Lrh/n<",
"TU;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lsh/m;-><init>()V
.line 2
iput-object p1, p0, Lsh/k;->k1:Lkh/g0;
.line 3
iput-object p2, p0, Lsh/k;->l1:Lrh/n;
return-void
.end method
# virtual methods
.method public final a()Z
.locals 1
.line 1
iget-boolean v0, p0, Lsh/k;->m1:Z
return v0
.end method
.method public final b(I)I
.locals 1
.line 1
iget-object v0, p0, Lsh/n;->K0:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0, p1}, Ljava/util/concurrent/atomic/AtomicInteger;->addAndGet(I)I
move-result p1
return p1
.end method
.method public final c()Z
.locals 1
.line 1
iget-object v0, p0, Lsh/n;->K0:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I
move-result v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final d()Z
.locals 1
.line 1
iget-boolean v0, p0, Lsh/k;->n1:Z
return v0
.end method
.method public final e()Ljava/lang/Throwable;
.locals 1
.line 1
iget-object v0, p0, Lsh/k;->o1:Ljava/lang/Throwable;
return-object v0
.end method
.method public f(Lkh/g0;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/g0<",
"-TV;>;TU;)V"
}
.end annotation
return-void
.end method
.method public final g()Z
.locals 3
.line 1
iget-object v0, p0, Lsh/n;->K0:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_0
iget-object v0, p0, Lsh/n;->K0:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0, v2, v1}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
move v1, v2
:goto_0
return v1
.end method
.method public final h(Ljava/lang/Object;ZLio/reactivex/disposables/b;)V
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(TU;Z",
"Lio/reactivex/disposables/b;",
")V"
}
.end annotation
.line 1
iget-object v0, p0, Lsh/k;->k1:Lkh/g0;
.line 2
iget-object v1, p0, Lsh/k;->l1:Lrh/n;
.line 3
iget-object v2, p0, Lsh/n;->K0:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v2}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v2
if-nez v2, :cond_0
iget-object v2, p0, Lsh/n;->K0:Ljava/util/concurrent/atomic/AtomicInteger;
const/4 v3, 0x0
const/4 v4, 0x1
invoke-virtual {v2, v3, v4}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z
move-result v2
if-eqz v2, :cond_0
.line 4
invoke-virtual {p0, v0, p1}, Lsh/k;->f(Lkh/g0;Ljava/lang/Object;)V
const/4 p1, -0x1
.line 5
invoke-virtual {p0, p1}, Lsh/k;->b(I)I
move-result p1
if-nez p1, :cond_1
return-void
.line 6
:cond_0
invoke-interface {v1, p1}, Lrh/o;->offer(Ljava/lang/Object;)Z
.line 7
invoke-virtual {p0}, Lsh/k;->c()Z
move-result p1
if-nez p1, :cond_1
return-void
.line 8
:cond_1
invoke-static {v1, v0, p2, p3, p0}, Lio/reactivex/internal/util/n;->d(Lrh/n;Lkh/g0;ZLio/reactivex/disposables/b;Lio/reactivex/internal/util/j;)V
return-void
.end method
.method public final i(Ljava/lang/Object;ZLio/reactivex/disposables/b;)V
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(TU;Z",
"Lio/reactivex/disposables/b;",
")V"
}
.end annotation
.line 1
iget-object v0, p0, Lsh/k;->k1:Lkh/g0;
.line 2
iget-object v1, p0, Lsh/k;->l1:Lrh/n;
.line 3
iget-object v2, p0, Lsh/n;->K0:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v2}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v2
if-nez v2, :cond_1
iget-object v2, p0, Lsh/n;->K0:Ljava/util/concurrent/atomic/AtomicInteger;
const/4 v3, 0x0
const/4 v4, 0x1
invoke-virtual {v2, v3, v4}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z
move-result v2
if-eqz v2, :cond_1
.line 4
invoke-interface {v1}, Lrh/o;->isEmpty()Z
move-result v2
if-eqz v2, :cond_0
.line 5
invoke-virtual {p0, v0, p1}, Lsh/k;->f(Lkh/g0;Ljava/lang/Object;)V
const/4 p1, -0x1
.line 6
invoke-virtual {p0, p1}, Lsh/k;->b(I)I
move-result p1
if-nez p1, :cond_2
return-void
.line 7
:cond_0
invoke-interface {v1, p1}, Lrh/o;->offer(Ljava/lang/Object;)Z
goto :goto_0
.line 8
:cond_1
invoke-interface {v1, p1}, Lrh/o;->offer(Ljava/lang/Object;)Z
.line 9
invoke-virtual {p0}, Lsh/k;->c()Z
move-result p1
if-nez p1, :cond_2
return-void
.line 10
:cond_2
:goto_0
invoke-static {v1, v0, p2, p3, p0}, Lio/reactivex/internal/util/n;->d(Lrh/n;Lkh/g0;ZLio/reactivex/disposables/b;Lio/reactivex/internal/util/j;)V
return-void
.end method
+46
View File
@@ -0,0 +1,46 @@
.class public Lsh/l;
.super Ljava/lang/Object;
.source "QueueDrainObserver.java"
# instance fields
.field public volatile a:J
.field public volatile b:J
.field public volatile c:J
.field public volatile d:J
.field public volatile e:J
.field public volatile f:J
.field public volatile g:J
.field public volatile h:J
.field public volatile i:J
.field public volatile j:J
.field public volatile k:J
.field public volatile k0:J
.field public volatile l:J
.field public volatile p:J
.field public volatile u:J
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
+46
View File
@@ -0,0 +1,46 @@
.class public Lsh/m;
.super Lsh/n;
.source "QueueDrainObserver.java"
# instance fields
.field public volatile V0:J
.field public volatile W0:J
.field public volatile X0:J
.field public volatile Y0:J
.field public volatile Z0:J
.field public volatile a1:J
.field public volatile b1:J
.field public volatile c1:J
.field public volatile d1:J
.field public volatile e1:J
.field public volatile f1:J
.field public volatile g1:J
.field public volatile h1:J
.field public volatile i1:J
.field public volatile j1:J
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Lsh/n;-><init>()V
return-void
.end method
+25
View File
@@ -0,0 +1,25 @@
.class public Lsh/n;
.super Lsh/l;
.source "QueueDrainObserver.java"
# instance fields
.field public final K0:Ljava/util/concurrent/atomic/AtomicInteger;
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Lsh/l;-><init>()V
.line 2
new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
iput-object v0, p0, Lsh/n;->K0:Ljava/util/concurrent/atomic/AtomicInteger;
return-void
.end method
+107
View File
@@ -0,0 +1,107 @@
.class public final Lsh/o;
.super Ljava/lang/Object;
.source "ResumeSingleObserver.java"
# interfaces
.implements Lkh/l0;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkh/l0<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/atomic/AtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;"
}
.end annotation
.end field
.field public final b:Lkh/l0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkh/l0<",
"-TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/concurrent/atomic/AtomicReference;Lkh/l0;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/l0<",
"-TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lsh/o;->a:Ljava/util/concurrent/atomic/AtomicReference;
.line 3
iput-object p2, p0, Lsh/o;->b:Lkh/l0;
return-void
.end method
# virtual methods
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-object v0, p0, Lsh/o;->b:Lkh/l0;
invoke-interface {v0, p1}, Lkh/l0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
iget-object v0, p0, Lsh/o;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->replace(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lsh/o;->b:Lkh/l0;
invoke-interface {v0, p1}, Lkh/l0;->onSuccess(Ljava/lang/Object;)V
return-void
.end method
+119
View File
@@ -0,0 +1,119 @@
.class public final Lsh/p;
.super Ljava/lang/Object;
.source "SubscriberCompletableObserver.java"
# interfaces
.implements Lkh/d;
.implements Lok/e;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkh/d;",
"Lok/e;"
}
.end annotation
# instance fields
.field public final a:Lok/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lok/d<",
"-TT;>;"
}
.end annotation
.end field
.field public b:Lio/reactivex/disposables/b;
# direct methods
.method public constructor <init>(Lok/d;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lsh/p;->a:Lok/d;
return-void
.end method
# virtual methods
.method public cancel()V
.locals 1
.line 1
iget-object v0, p0, Lsh/p;->b:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
return-void
.end method
.method public onComplete()V
.locals 1
.line 1
iget-object v0, p0, Lsh/p;->a:Lok/d;
invoke-interface {v0}, Lok/d;->onComplete()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-object v0, p0, Lsh/p;->a:Lok/d;
invoke-interface {v0, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
iget-object v0, p0, Lsh/p;->b:Lio/reactivex/disposables/b;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lsh/p;->b:Lio/reactivex/disposables/b;
.line 3
iget-object p1, p0, Lsh/p;->a:Lok/d;
invoke-interface {p1, p0}, Lok/d;->onSubscribe(Lok/e;)V
:cond_0
return-void
.end method
.method public request(J)V
.locals 0
return-void
.end method