This commit is contained in:
2022-06-10 21:38:30 +09:00
commit 27f5152838
51323 changed files with 12934539 additions and 0 deletions
@@ -0,0 +1,132 @@
.class final enum Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
.super Ljava/lang/Enum;
.source "TestSubscriber.java"
# interfaces
.implements Lkh/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/subscribers/TestSubscriber;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "EmptySubscriber"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;",
">;",
"Lkh/o<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
.field public static final enum INSTANCE:Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
# direct methods
.method public static constructor <clinit>()V
.locals 3
.line 1
new-instance v0, Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
const-string v1, "INSTANCE"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;->INSTANCE:Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
const/4 v1, 0x1
new-array v1, v1, [Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
aput-object v0, v1, v2
.line 2
sput-object v1, Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;->$VALUES:[Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
.locals 1
.line 1
const-class v0, Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
return-object p0
.end method
.method public static values()[Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
.locals 1
.line 1
sget-object v0, Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;->$VALUES:[Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
invoke-virtual {v0}, [Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/subscribers/TestSubscriber$EmptySubscriber;
return-object v0
.end method
# virtual methods
.method public onComplete()V
.locals 0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 0
return-void
.end method
.method public onSubscribe(Lok/e;)V
.locals 0
return-void
.end method
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,105 @@
.class public abstract Lio/reactivex/subscribers/a;
.super Ljava/lang/Object;
.source "DefaultSubscriber.java"
# interfaces
.implements Lkh/o;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkh/o<",
"TT;>;"
}
.end annotation
# instance fields
.field public a:Lok/e;
# 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 a()V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/a;->a:Lok/e;
.line 2
sget-object v1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
iput-object v1, p0, Lio/reactivex/subscribers/a;->a:Lok/e;
.line 3
invoke-interface {v0}, Lok/e;->cancel()V
return-void
.end method
.method public b()V
.locals 2
const-wide v0, 0x7fffffffffffffffL
.line 1
invoke-virtual {p0, v0, v1}, Lio/reactivex/subscribers/a;->c(J)V
return-void
.end method
.method public final c(J)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/a;->a:Lok/e;
if-eqz v0, :cond_0
.line 2
invoke-interface {v0, p1, p2}, Lok/e;->request(J)V
:cond_0
return-void
.end method
.method public final onSubscribe(Lok/e;)V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/a;->a:Lok/e;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-static {v0, p1, v1}, Lio/reactivex/internal/util/f;->f(Lok/e;Lok/e;Ljava/lang/Class;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/subscribers/a;->a:Lok/e;
.line 3
invoke-virtual {p0}, Lio/reactivex/subscribers/a;->b()V
:cond_0
return-void
.end method
@@ -0,0 +1,157 @@
.class public abstract Lio/reactivex/subscribers/b;
.super Ljava/lang/Object;
.source "DisposableSubscriber.java"
# interfaces
.implements Lkh/o;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkh/o<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/atomic/AtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lok/e;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()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, Lio/reactivex/subscribers/b;->a:Ljava/util/concurrent/atomic/AtomicReference;
return-void
.end method
# virtual methods
.method public final a()V
.locals 0
.line 1
invoke-virtual {p0}, Lio/reactivex/subscribers/b;->dispose()V
return-void
.end method
.method public b()V
.locals 3
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/b;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lok/e;
const-wide v1, 0x7fffffffffffffffL
invoke-interface {v0, v1, v2}, Lok/e;->request(J)V
return-void
.end method
.method public final c(J)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/b;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lok/e;
invoke-interface {v0, p1, p2}, Lok/e;->request(J)V
return-void
.end method
.method public final dispose()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/b;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->cancel(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public final isDisposed()Z
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/b;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final onSubscribe(Lok/e;)V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/b;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-static {v0, p1, v1}, Lio/reactivex/internal/util/f;->d(Ljava/util/concurrent/atomic/AtomicReference;Lok/e;Ljava/lang/Class;)Z
move-result p1
if-eqz p1, :cond_0
.line 2
invoke-virtual {p0}, Lio/reactivex/subscribers/b;->b()V
:cond_0
return-void
.end method
@@ -0,0 +1,197 @@
.class public abstract Lio/reactivex/subscribers/c;
.super Ljava/lang/Object;
.source "ResourceSubscriber.java"
# interfaces
.implements Lkh/o;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkh/o<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/atomic/AtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lok/e;",
">;"
}
.end annotation
.end field
.field public final b:Lqh/b;
.field public final c:Ljava/util/concurrent/atomic/AtomicLong;
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()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, Lio/reactivex/subscribers/c;->a:Ljava/util/concurrent/atomic/AtomicReference;
.line 3
new-instance v0, Lqh/b;
invoke-direct {v0}, Lqh/b;-><init>()V
iput-object v0, p0, Lio/reactivex/subscribers/c;->b:Lqh/b;
.line 4
new-instance v0, Ljava/util/concurrent/atomic/AtomicLong;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
iput-object v0, p0, Lio/reactivex/subscribers/c;->c:Ljava/util/concurrent/atomic/AtomicLong;
return-void
.end method
# virtual methods
.method public final a(Lio/reactivex/disposables/b;)V
.locals 1
const-string v0, "resource is null"
.line 1
invoke-static {p1, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
iget-object v0, p0, Lio/reactivex/subscribers/c;->b:Lqh/b;
invoke-virtual {v0, p1}, Lqh/b;->b(Lio/reactivex/disposables/b;)Z
return-void
.end method
.method public b()V
.locals 2
const-wide v0, 0x7fffffffffffffffL
.line 1
invoke-virtual {p0, v0, v1}, Lio/reactivex/subscribers/c;->c(J)V
return-void
.end method
.method public final c(J)V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/c;->a:Ljava/util/concurrent/atomic/AtomicReference;
iget-object v1, p0, Lio/reactivex/subscribers/c;->c:Ljava/util/concurrent/atomic/AtomicLong;
invoke-static {v0, v1, p1, p2}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->deferredRequest(Ljava/util/concurrent/atomic/AtomicReference;Ljava/util/concurrent/atomic/AtomicLong;J)V
return-void
.end method
.method public final dispose()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/c;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->cancel(Ljava/util/concurrent/atomic/AtomicReference;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/subscribers/c;->b:Lqh/b;
invoke-virtual {v0}, Lqh/b;->dispose()V
:cond_0
return-void
.end method
.method public final isDisposed()Z
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/c;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final onSubscribe(Lok/e;)V
.locals 5
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/c;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-static {v0, p1, v1}, Lio/reactivex/internal/util/f;->d(Ljava/util/concurrent/atomic/AtomicReference;Lok/e;Ljava/lang/Class;)Z
move-result v0
if-eqz v0, :cond_1
.line 2
iget-object v0, p0, Lio/reactivex/subscribers/c;->c:Ljava/util/concurrent/atomic/AtomicLong;
const-wide/16 v1, 0x0
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicLong;->getAndSet(J)J
move-result-wide v3
cmp-long v0, v3, v1
if-eqz v0, :cond_0
.line 3
invoke-interface {p1, v3, v4}, Lok/e;->request(J)V
.line 4
:cond_0
invoke-virtual {p0}, Lio/reactivex/subscribers/c;->b()V
:cond_1
return-void
.end method
@@ -0,0 +1,721 @@
.class public final Lio/reactivex/subscribers/d;
.super Ljava/lang/Object;
.source "SafeSubscriber.java"
# interfaces
.implements Lkh/o;
.implements Lok/e;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkh/o<",
"TT;>;",
"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:Lok/e;
.field public c:Z
# 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, Lio/reactivex/subscribers/d;->a:Lok/d;
return-void
.end method
# virtual methods
.method public a()V
.locals 6
.line 1
new-instance v0, Ljava/lang/NullPointerException;
const-string v1, "Subscription not set!"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
const/4 v1, 0x1
const/4 v2, 0x0
const/4 v3, 0x2
.line 2
:try_start_0
iget-object v4, p0, Lio/reactivex/subscribers/d;->a:Lok/d;
sget-object v5, Lio/reactivex/internal/subscriptions/EmptySubscription;->INSTANCE:Lio/reactivex/internal/subscriptions/EmptySubscription;
invoke-interface {v4, v5}, Lok/d;->onSubscribe(Lok/e;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 3
:try_start_1
iget-object v4, p0, Lio/reactivex/subscribers/d;->a:Lok/d;
invoke-interface {v4, v0}, Lok/d;->onError(Ljava/lang/Throwable;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catchall_0
move-exception v4
.line 4
invoke-static {v4}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
new-instance v5, Lio/reactivex/exceptions/CompositeException;
new-array v3, v3, [Ljava/lang/Throwable;
aput-object v0, v3, v2
aput-object v4, v3, v1
invoke-direct {v5, v3}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v5}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
:catchall_1
move-exception v4
.line 6
invoke-static {v4}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 7
new-instance v5, Lio/reactivex/exceptions/CompositeException;
new-array v3, v3, [Ljava/lang/Throwable;
aput-object v0, v3, v2
aput-object v4, v3, v1
invoke-direct {v5, v3}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v5}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
.method public b()V
.locals 6
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/subscribers/d;->c:Z
.line 2
new-instance v1, Ljava/lang/NullPointerException;
const-string v2, "Subscription not set!"
invoke-direct {v1, v2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
const/4 v2, 0x0
const/4 v3, 0x2
.line 3
:try_start_0
iget-object v4, p0, Lio/reactivex/subscribers/d;->a:Lok/d;
sget-object v5, Lio/reactivex/internal/subscriptions/EmptySubscription;->INSTANCE:Lio/reactivex/internal/subscriptions/EmptySubscription;
invoke-interface {v4, v5}, Lok/d;->onSubscribe(Lok/e;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 4
:try_start_1
iget-object v4, p0, Lio/reactivex/subscribers/d;->a:Lok/d;
invoke-interface {v4, v1}, Lok/d;->onError(Ljava/lang/Throwable;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catchall_0
move-exception v4
.line 5
invoke-static {v4}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
new-instance v5, Lio/reactivex/exceptions/CompositeException;
new-array v3, v3, [Ljava/lang/Throwable;
aput-object v1, v3, v2
aput-object v4, v3, v0
invoke-direct {v5, v3}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v5}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
:catchall_1
move-exception v4
.line 7
invoke-static {v4}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 8
new-instance v5, Lio/reactivex/exceptions/CompositeException;
new-array v3, v3, [Ljava/lang/Throwable;
aput-object v1, v3, v2
aput-object v4, v3, v0
invoke-direct {v5, v3}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v5}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
.method public cancel()V
.locals 1
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/subscribers/d;->b:Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 2
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onComplete()V
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/subscribers/d;->c:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lio/reactivex/subscribers/d;->c:Z
.line 3
iget-object v0, p0, Lio/reactivex/subscribers/d;->b:Lok/e;
if-nez v0, :cond_1
.line 4
invoke-virtual {p0}, Lio/reactivex/subscribers/d;->a()V
return-void
.line 5
:cond_1
:try_start_0
iget-object v0, p0, Lio/reactivex/subscribers/d;->a:Lok/d;
invoke-interface {v0}, Lok/d;->onComplete()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 6
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 7
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 8
.line 1
iget-boolean v0, p0, Lio/reactivex/subscribers/d;->c: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, Lio/reactivex/subscribers/d;->c:Z
.line 4
iget-object v1, p0, Lio/reactivex/subscribers/d;->b:Lok/e;
const/4 v2, 0x0
const/4 v3, 0x2
if-nez v1, :cond_1
.line 5
new-instance v1, Ljava/lang/NullPointerException;
const-string v4, "Subscription not set!"
invoke-direct {v1, v4}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
const/4 v4, 0x3
.line 6
:try_start_0
iget-object v5, p0, Lio/reactivex/subscribers/d;->a:Lok/d;
sget-object v6, Lio/reactivex/internal/subscriptions/EmptySubscription;->INSTANCE:Lio/reactivex/internal/subscriptions/EmptySubscription;
invoke-interface {v5, v6}, Lok/d;->onSubscribe(Lok/e;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 7
:try_start_1
iget-object v5, p0, Lio/reactivex/subscribers/d;->a:Lok/d;
new-instance v6, Lio/reactivex/exceptions/CompositeException;
new-array v7, v3, [Ljava/lang/Throwable;
aput-object p1, v7, v2
aput-object v1, v7, v0
invoke-direct {v6, v7}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-interface {v5, v6}, Lok/d;->onError(Ljava/lang/Throwable;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catchall_0
move-exception v5
.line 8
invoke-static {v5}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 9
new-instance v6, Lio/reactivex/exceptions/CompositeException;
new-array v4, v4, [Ljava/lang/Throwable;
aput-object p1, v4, v2
aput-object v1, v4, v0
aput-object v5, v4, v3
invoke-direct {v6, v4}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v6}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
:catchall_1
move-exception v5
.line 10
invoke-static {v5}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 11
new-instance v6, Lio/reactivex/exceptions/CompositeException;
new-array v4, v4, [Ljava/lang/Throwable;
aput-object p1, v4, v2
aput-object v1, v4, v0
aput-object v5, v4, v3
invoke-direct {v6, v4}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v6}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
:cond_1
if-nez p1, :cond_2
.line 12
new-instance p1, Ljava/lang/NullPointerException;
const-string v1, "onError called with null. Null values are generally not allowed in 2.x operators and sources."
invoke-direct {p1, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
.line 13
:cond_2
:try_start_2
iget-object v1, p0, Lio/reactivex/subscribers/d;->a:Lok/d;
invoke-interface {v1, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_2
goto :goto_1
:catchall_2
move-exception v1
.line 14
invoke-static {v1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 15
new-instance v4, Lio/reactivex/exceptions/CompositeException;
new-array v3, v3, [Ljava/lang/Throwable;
aput-object p1, v3, v2
aput-object v1, v3, v0
invoke-direct {v4, v3}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v4}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_1
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/subscribers/d;->c:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
iget-object v0, p0, Lio/reactivex/subscribers/d;->b:Lok/e;
if-nez v0, :cond_1
.line 3
invoke-virtual {p0}, Lio/reactivex/subscribers/d;->b()V
return-void
:cond_1
const/4 v0, 0x1
const/4 v1, 0x0
const/4 v2, 0x2
if-nez p1, :cond_2
.line 4
new-instance p1, Ljava/lang/NullPointerException;
const-string v3, "onNext called with null. Null values are generally not allowed in 2.x operators and sources."
invoke-direct {p1, v3}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
.line 5
:try_start_0
iget-object v3, p0, Lio/reactivex/subscribers/d;->b:Lok/e;
invoke-interface {v3}, Lok/e;->cancel()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 6
invoke-virtual {p0, p1}, Lio/reactivex/subscribers/d;->onError(Ljava/lang/Throwable;)V
return-void
:catchall_0
move-exception v3
.line 7
invoke-static {v3}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 8
new-instance v4, Lio/reactivex/exceptions/CompositeException;
new-array v2, v2, [Ljava/lang/Throwable;
aput-object p1, v2, v1
aput-object v3, v2, v0
invoke-direct {v4, v2}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-virtual {p0, v4}, Lio/reactivex/subscribers/d;->onError(Ljava/lang/Throwable;)V
return-void
.line 9
:cond_2
:try_start_1
iget-object v3, p0, Lio/reactivex/subscribers/d;->a:Lok/d;
invoke-interface {v3, p1}, Lok/d;->onNext(Ljava/lang/Object;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
goto :goto_0
:catchall_1
move-exception p1
.line 10
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 11
:try_start_2
iget-object v3, p0, Lio/reactivex/subscribers/d;->b:Lok/e;
invoke-interface {v3}, Lok/e;->cancel()V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_2
.line 12
invoke-virtual {p0, p1}, Lio/reactivex/subscribers/d;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
:catchall_2
move-exception v3
.line 13
invoke-static {v3}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 14
new-instance v4, Lio/reactivex/exceptions/CompositeException;
new-array v2, v2, [Ljava/lang/Throwable;
aput-object p1, v2, v1
aput-object v3, v2, v0
invoke-direct {v4, v2}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-virtual {p0, v4}, Lio/reactivex/subscribers/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lok/e;)V
.locals 5
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/d;->b:Lok/e;
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->validate(Lok/e;Lok/e;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/subscribers/d;->b:Lok/e;
.line 3
:try_start_0
iget-object v0, p0, Lio/reactivex/subscribers/d;->a:Lok/d;
invoke-interface {v0, p0}, Lok/d;->onSubscribe(Lok/e;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 4
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
const/4 v1, 0x1
.line 5
iput-boolean v1, p0, Lio/reactivex/subscribers/d;->c:Z
.line 6
:try_start_1
invoke-interface {p1}, Lok/e;->cancel()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
.line 7
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
goto :goto_0
:catchall_1
move-exception p1
.line 8
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 9
new-instance v2, Lio/reactivex/exceptions/CompositeException;
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Throwable;
const/4 v4, 0x0
aput-object v0, v3, v4
aput-object p1, v3, v1
invoke-direct {v2, v3}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v2}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public request(J)V
.locals 3
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/subscribers/d;->b:Lok/e;
invoke-interface {v0, p1, p2}, Lok/e;->request(J)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
.line 2
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
:try_start_1
iget-object p2, p0, Lio/reactivex/subscribers/d;->b:Lok/e;
invoke-interface {p2}, Lok/e;->cancel()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
.line 4
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
:catchall_1
move-exception p2
.line 5
invoke-static {p2}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
new-instance v0, Lio/reactivex/exceptions/CompositeException;
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Throwable;
const/4 v2, 0x0
aput-object p1, v1, v2
const/4 p1, 0x1
aput-object p2, v1, p1
invoke-direct {v0, v1}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
@@ -0,0 +1,528 @@
.class public final Lio/reactivex/subscribers/e;
.super Ljava/lang/Object;
.source "SerializedSubscriber.java"
# interfaces
.implements Lkh/o;
.implements Lok/e;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkh/o<",
"TT;>;",
"Lok/e;"
}
.end annotation
# static fields
.field public static final g:I = 0x4
# instance fields
.field public final a:Lok/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lok/d<",
"-TT;>;"
}
.end annotation
.end field
.field public final b:Z
.field public c:Lok/e;
.field public d:Z
.field public e:Lio/reactivex/internal/util/a;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/internal/util/a<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
.field public volatile f:Z
# direct methods
.method public constructor <init>(Lok/d;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TT;>;)V"
}
.end annotation
const/4 v0, 0x0
.line 1
invoke-direct {p0, p1, v0}, Lio/reactivex/subscribers/e;-><init>(Lok/d;Z)V
return-void
.end method
.method public constructor <init>(Lok/d;Z)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TT;>;Z)V"
}
.end annotation
.line 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 3
iput-object p1, p0, Lio/reactivex/subscribers/e;->a:Lok/d;
.line 4
iput-boolean p2, p0, Lio/reactivex/subscribers/e;->b:Z
return-void
.end method
# virtual methods
.method public a()V
.locals 2
.line 1
:cond_0
monitor-enter p0
.line 2
:try_start_0
iget-object v0, p0, Lio/reactivex/subscribers/e;->e:Lio/reactivex/internal/util/a;
if-nez v0, :cond_1
const/4 v0, 0x0
.line 3
iput-boolean v0, p0, Lio/reactivex/subscribers/e;->d:Z
.line 4
monitor-exit p0
return-void
:cond_1
const/4 v1, 0x0
.line 5
iput-object v1, p0, Lio/reactivex/subscribers/e;->e:Lio/reactivex/internal/util/a;
.line 6
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 7
iget-object v1, p0, Lio/reactivex/subscribers/e;->a:Lok/d;
invoke-virtual {v0, v1}, Lio/reactivex/internal/util/a;->b(Lok/d;)Z
move-result v0
if-eqz v0, :cond_0
return-void
:catchall_0
move-exception v0
.line 8
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v0
.end method
.method public cancel()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/e;->c:Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
return-void
.end method
.method public onComplete()V
.locals 2
.line 1
iget-boolean v0, p0, Lio/reactivex/subscribers/e;->f:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
monitor-enter p0
.line 3
:try_start_0
iget-boolean v0, p0, Lio/reactivex/subscribers/e;->f:Z
if-eqz v0, :cond_1
.line 4
monitor-exit p0
return-void
.line 5
:cond_1
iget-boolean v0, p0, Lio/reactivex/subscribers/e;->d:Z
if-eqz v0, :cond_3
.line 6
iget-object v0, p0, Lio/reactivex/subscribers/e;->e:Lio/reactivex/internal/util/a;
if-nez v0, :cond_2
.line 7
new-instance v0, Lio/reactivex/internal/util/a;
const/4 v1, 0x4
invoke-direct {v0, v1}, Lio/reactivex/internal/util/a;-><init>(I)V
.line 8
iput-object v0, p0, Lio/reactivex/subscribers/e;->e:Lio/reactivex/internal/util/a;
.line 9
:cond_2
invoke-static {}, Lio/reactivex/internal/util/NotificationLite;->complete()Ljava/lang/Object;
move-result-object v1
invoke-virtual {v0, v1}, Lio/reactivex/internal/util/a;->c(Ljava/lang/Object;)V
.line 10
monitor-exit p0
return-void
:cond_3
const/4 v0, 0x1
.line 11
iput-boolean v0, p0, Lio/reactivex/subscribers/e;->f:Z
.line 12
iput-boolean v0, p0, Lio/reactivex/subscribers/e;->d:Z
.line 13
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 14
iget-object v0, p0, Lio/reactivex/subscribers/e;->a:Lok/d;
invoke-interface {v0}, Lok/d;->onComplete()V
return-void
:catchall_0
move-exception v0
.line 15
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v0
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 2
.line 1
iget-boolean v0, p0, Lio/reactivex/subscribers/e;->f:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.line 3
:cond_0
monitor-enter p0
.line 4
:try_start_0
iget-boolean v0, p0, Lio/reactivex/subscribers/e;->f:Z
const/4 v1, 0x1
if-eqz v0, :cond_1
goto :goto_1
.line 5
:cond_1
iget-boolean v0, p0, Lio/reactivex/subscribers/e;->d:Z
if-eqz v0, :cond_4
.line 6
iput-boolean v1, p0, Lio/reactivex/subscribers/e;->f:Z
.line 7
iget-object v0, p0, Lio/reactivex/subscribers/e;->e:Lio/reactivex/internal/util/a;
if-nez v0, :cond_2
.line 8
new-instance v0, Lio/reactivex/internal/util/a;
const/4 v1, 0x4
invoke-direct {v0, v1}, Lio/reactivex/internal/util/a;-><init>(I)V
.line 9
iput-object v0, p0, Lio/reactivex/subscribers/e;->e:Lio/reactivex/internal/util/a;
.line 10
:cond_2
invoke-static {p1}, Lio/reactivex/internal/util/NotificationLite;->error(Ljava/lang/Throwable;)Ljava/lang/Object;
move-result-object p1
.line 11
iget-boolean v1, p0, Lio/reactivex/subscribers/e;->b:Z
if-eqz v1, :cond_3
.line 12
invoke-virtual {v0, p1}, Lio/reactivex/internal/util/a;->c(Ljava/lang/Object;)V
goto :goto_0
.line 13
:cond_3
invoke-virtual {v0, p1}, Lio/reactivex/internal/util/a;->f(Ljava/lang/Object;)V
.line 14
:goto_0
monitor-exit p0
return-void
.line 15
:cond_4
iput-boolean v1, p0, Lio/reactivex/subscribers/e;->f:Z
.line 16
iput-boolean v1, p0, Lio/reactivex/subscribers/e;->d:Z
const/4 v1, 0x0
.line 17
:goto_1
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v1, :cond_5
.line 18
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.line 19
:cond_5
iget-object v0, p0, Lio/reactivex/subscribers/e;->a:Lok/d;
invoke-interface {v0, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V
return-void
:catchall_0
move-exception p1
.line 20
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/subscribers/e;->f:Z
if-eqz v0, :cond_0
return-void
:cond_0
if-nez p1, :cond_1
.line 2
iget-object p1, p0, Lio/reactivex/subscribers/e;->c:Lok/e;
invoke-interface {p1}, Lok/e;->cancel()V
.line 3
new-instance p1, Ljava/lang/NullPointerException;
const-string v0, "onNext called with null. Null values are generally not allowed in 2.x operators and sources."
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
invoke-virtual {p0, p1}, Lio/reactivex/subscribers/e;->onError(Ljava/lang/Throwable;)V
return-void
.line 4
:cond_1
monitor-enter p0
.line 5
:try_start_0
iget-boolean v0, p0, Lio/reactivex/subscribers/e;->f:Z
if-eqz v0, :cond_2
.line 6
monitor-exit p0
return-void
.line 7
:cond_2
iget-boolean v0, p0, Lio/reactivex/subscribers/e;->d:Z
if-eqz v0, :cond_4
.line 8
iget-object v0, p0, Lio/reactivex/subscribers/e;->e:Lio/reactivex/internal/util/a;
if-nez v0, :cond_3
.line 9
new-instance v0, Lio/reactivex/internal/util/a;
const/4 v1, 0x4
invoke-direct {v0, v1}, Lio/reactivex/internal/util/a;-><init>(I)V
.line 10
iput-object v0, p0, Lio/reactivex/subscribers/e;->e:Lio/reactivex/internal/util/a;
.line 11
:cond_3
invoke-static {p1}, Lio/reactivex/internal/util/NotificationLite;->next(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-virtual {v0, p1}, Lio/reactivex/internal/util/a;->c(Ljava/lang/Object;)V
.line 12
monitor-exit p0
return-void
:cond_4
const/4 v0, 0x1
.line 13
iput-boolean v0, p0, Lio/reactivex/subscribers/e;->d:Z
.line 14
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 15
iget-object v0, p0, Lio/reactivex/subscribers/e;->a:Lok/d;
invoke-interface {v0, p1}, Lok/d;->onNext(Ljava/lang/Object;)V
.line 16
invoke-virtual {p0}, Lio/reactivex/subscribers/e;->a()V
return-void
:catchall_0
move-exception p1
.line 17
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.end method
.method public onSubscribe(Lok/e;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/e;->c:Lok/e;
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->validate(Lok/e;Lok/e;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/subscribers/e;->c:Lok/e;
.line 3
iget-object p1, p0, Lio/reactivex/subscribers/e;->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 1
.line 1
iget-object v0, p0, Lio/reactivex/subscribers/e;->c:Lok/e;
invoke-interface {v0, p1, p2}, Lok/e;->request(J)V
return-void
.end method