353 lines
		
	
	
		
			9.1 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			353 lines
		
	
	
		
			9.1 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public final Lio/reactivex/internal/operators/observable/r$a;
 | |
| .super Ljava/lang/Object;
 | |
| .source "ObservableDebounce.java"
 | |
| 
 | |
| # interfaces
 | |
| .implements Lkh/g0;
 | |
| .implements Lio/reactivex/disposables/b;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingClass;
 | |
|     value = Lio/reactivex/internal/operators/observable/r;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x19
 | |
|     name = "a"
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Lio/reactivex/internal/operators/observable/r$a$a;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/Signature;
 | |
|     value = {
 | |
|         "<T:",
 | |
|         "Ljava/lang/Object;",
 | |
|         "U:",
 | |
|         "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/o;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Lph/o<",
 | |
|             "-TT;+",
 | |
|             "Lkh/e0<",
 | |
|             "TU;>;>;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public c:Lio/reactivex/disposables/b;
 | |
| 
 | |
| .field public final d: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 volatile e:J
 | |
| 
 | |
| .field public f:Z
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Lkh/g0;Lph/o;)V
 | |
|     .locals 1
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lkh/g0<",
 | |
|             "-TT;>;",
 | |
|             "Lph/o<",
 | |
|             "-TT;+",
 | |
|             "Lkh/e0<",
 | |
|             "TU;>;>;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .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/internal/operators/observable/r$a;->d:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     .line 3
 | |
|     iput-object p1, p0, Lio/reactivex/internal/operators/observable/r$a;->a:Lkh/g0;
 | |
| 
 | |
|     .line 4
 | |
|     iput-object p2, p0, Lio/reactivex/internal/operators/observable/r$a;->b:Lph/o;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public a(JLjava/lang/Object;)V
 | |
|     .locals 2
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(JTT;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-wide v0, p0, Lio/reactivex/internal/operators/observable/r$a;->e:J
 | |
| 
 | |
|     cmp-long p1, p1, v0
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object p1, p0, Lio/reactivex/internal/operators/observable/r$a;->a:Lkh/g0;
 | |
| 
 | |
|     invoke-interface {p1, p3}, Lkh/g0;->onNext(Ljava/lang/Object;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public dispose()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lio/reactivex/internal/operators/observable/r$a;->c:Lio/reactivex/disposables/b;
 | |
| 
 | |
|     invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lio/reactivex/internal/operators/observable/r$a;->d:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public isDisposed()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lio/reactivex/internal/operators/observable/r$a;->c: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-boolean v0, p0, Lio/reactivex/internal/operators/observable/r$a;->f:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/r$a;->f:Z
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lio/reactivex/internal/operators/observable/r$a;->d: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 4
 | |
|     sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
 | |
| 
 | |
|     if-eq v0, v1, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     check-cast v0, Lio/reactivex/internal/operators/observable/r$a$a;
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v0}, Lio/reactivex/internal/operators/observable/r$a$a;->b()V
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v0, p0, Lio/reactivex/internal/operators/observable/r$a;->d:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
 | |
| 
 | |
|     .line 8
 | |
|     iget-object v0, p0, Lio/reactivex/internal/operators/observable/r$a;->a:Lkh/g0;
 | |
| 
 | |
|     invoke-interface {v0}, Lkh/g0;->onComplete()V
 | |
| 
 | |
|     :cond_1
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onError(Ljava/lang/Throwable;)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lio/reactivex/internal/operators/observable/r$a;->d:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lio/reactivex/internal/operators/observable/r$a;->a:Lkh/g0;
 | |
| 
 | |
|     invoke-interface {v0, p1}, Lkh/g0;->onError(Ljava/lang/Throwable;)V
 | |
| 
 | |
|     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/internal/operators/observable/r$a;->f:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iget-wide v0, p0, Lio/reactivex/internal/operators/observable/r$a;->e:J
 | |
| 
 | |
|     const-wide/16 v2, 0x1
 | |
| 
 | |
|     add-long/2addr v0, v2
 | |
| 
 | |
|     .line 3
 | |
|     iput-wide v0, p0, Lio/reactivex/internal/operators/observable/r$a;->e:J
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v2, p0, Lio/reactivex/internal/operators/observable/r$a;->d:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {v2}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     check-cast v2, Lio/reactivex/disposables/b;
 | |
| 
 | |
|     if-eqz v2, :cond_1
 | |
| 
 | |
|     .line 5
 | |
|     invoke-interface {v2}, Lio/reactivex/disposables/b;->dispose()V
 | |
| 
 | |
|     .line 6
 | |
|     :cond_1
 | |
|     :try_start_0
 | |
|     iget-object v3, p0, Lio/reactivex/internal/operators/observable/r$a;->b:Lph/o;
 | |
| 
 | |
|     invoke-interface {v3, p1}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     const-string v4, "The ObservableSource supplied is null"
 | |
| 
 | |
|     invoke-static {v3, v4}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     check-cast v3, Lkh/e0;
 | |
|     :try_end_0
 | |
|     .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | |
| 
 | |
|     .line 7
 | |
|     new-instance v4, Lio/reactivex/internal/operators/observable/r$a$a;
 | |
| 
 | |
|     invoke-direct {v4, p0, v0, v1, p1}, Lio/reactivex/internal/operators/observable/r$a$a;-><init>(Lio/reactivex/internal/operators/observable/r$a;JLjava/lang/Object;)V
 | |
| 
 | |
|     .line 8
 | |
|     iget-object p1, p0, Lio/reactivex/internal/operators/observable/r$a;->d:Ljava/util/concurrent/atomic/AtomicReference;
 | |
| 
 | |
|     invoke-virtual {p1, v2, v4}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_2
 | |
| 
 | |
|     .line 9
 | |
|     invoke-interface {v3, v4}, Lkh/e0;->subscribe(Lkh/g0;)V
 | |
| 
 | |
|     :cond_2
 | |
|     return-void
 | |
| 
 | |
|     :catchall_0
 | |
|     move-exception p1
 | |
| 
 | |
|     .line 10
 | |
|     invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
 | |
| 
 | |
|     .line 11
 | |
|     invoke-virtual {p0}, Lio/reactivex/internal/operators/observable/r$a;->dispose()V
 | |
| 
 | |
|     .line 12
 | |
|     iget-object v0, p0, Lio/reactivex/internal/operators/observable/r$a;->a:Lkh/g0;
 | |
| 
 | |
|     invoke-interface {v0, p1}, Lkh/g0;->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, Lio/reactivex/internal/operators/observable/r$a;->c: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, Lio/reactivex/internal/operators/observable/r$a;->c:Lio/reactivex/disposables/b;
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Lio/reactivex/internal/operators/observable/r$a;->a:Lkh/g0;
 | |
| 
 | |
|     invoke-interface {p1, p0}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 |