.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 = { "", "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 (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;->(Lok/d;Z)V return-void .end method .method public constructor (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;->()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;->(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;->(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;->(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;->(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