186 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			186 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public final Lio/reactivex/rxjava3/internal/schedulers/k$a;
 | |
| .super Lai/o0$c;
 | |
| .source "SingleScheduler.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingClass;
 | |
|     value = Lio/reactivex/rxjava3/internal/schedulers/k;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x19
 | |
|     name = "a"
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public final a:Ljava/util/concurrent/ScheduledExecutorService;
 | |
| 
 | |
| .field public final b:Lio/reactivex/rxjava3/disposables/a;
 | |
| 
 | |
| .field public volatile c:Z
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Ljava/util/concurrent/ScheduledExecutorService;)V
 | |
|     .locals 0
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "executor"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Lai/o0$c;-><init>()V
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Lio/reactivex/rxjava3/internal/schedulers/k$a;->a:Ljava/util/concurrent/ScheduledExecutorService;
 | |
| 
 | |
|     .line 3
 | |
|     new-instance p1, Lio/reactivex/rxjava3/disposables/a;
 | |
| 
 | |
|     invoke-direct {p1}, Lio/reactivex/rxjava3/disposables/a;-><init>()V
 | |
| 
 | |
|     iput-object p1, p0, Lio/reactivex/rxjava3/internal/schedulers/k$a;->b:Lio/reactivex/rxjava3/disposables/a;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public c(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/reactivex/rxjava3/disposables/c;
 | |
|     .locals 3
 | |
|     .param p1    # Ljava/lang/Runnable;
 | |
|         .annotation build Lio/reactivex/rxjava3/annotations/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p4    # Ljava/util/concurrent/TimeUnit;
 | |
|         .annotation build Lio/reactivex/rxjava3/annotations/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0,
 | |
|             0x0,
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "run",
 | |
|             "delay",
 | |
|             "unit"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Lio/reactivex/rxjava3/annotations/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/schedulers/k$a;->c:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     sget-object p1, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
 | |
| 
 | |
|     return-object p1
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     invoke-static {p1}, Lji/a;->b0(Ljava/lang/Runnable;)Ljava/lang/Runnable;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 4
 | |
|     new-instance v0, Lio/reactivex/rxjava3/internal/schedulers/ScheduledRunnable;
 | |
| 
 | |
|     iget-object v1, p0, Lio/reactivex/rxjava3/internal/schedulers/k$a;->b:Lio/reactivex/rxjava3/disposables/a;
 | |
| 
 | |
|     invoke-direct {v0, p1, v1}, Lio/reactivex/rxjava3/internal/schedulers/ScheduledRunnable;-><init>(Ljava/lang/Runnable;Lio/reactivex/rxjava3/disposables/d;)V
 | |
| 
 | |
|     .line 5
 | |
|     iget-object p1, p0, Lio/reactivex/rxjava3/internal/schedulers/k$a;->b:Lio/reactivex/rxjava3/disposables/a;
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Lio/reactivex/rxjava3/disposables/a;->b(Lio/reactivex/rxjava3/disposables/c;)Z
 | |
| 
 | |
|     const-wide/16 v1, 0x0
 | |
| 
 | |
|     cmp-long p1, p2, v1
 | |
| 
 | |
|     if-gtz p1, :cond_1
 | |
| 
 | |
|     .line 6
 | |
|     :try_start_0
 | |
|     iget-object p1, p0, Lio/reactivex/rxjava3/internal/schedulers/k$a;->a:Ljava/util/concurrent/ScheduledExecutorService;
 | |
| 
 | |
|     invoke-interface {p1, v0}, Ljava/util/concurrent/ScheduledExecutorService;->submit(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 7
 | |
|     :cond_1
 | |
|     iget-object p1, p0, Lio/reactivex/rxjava3/internal/schedulers/k$a;->a:Ljava/util/concurrent/ScheduledExecutorService;
 | |
| 
 | |
|     invoke-interface {p1, v0, p2, p3, p4}, Ljava/util/concurrent/ScheduledExecutorService;->schedule(Ljava/util/concurrent/Callable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     .line 8
 | |
|     :goto_0
 | |
|     invoke-virtual {v0, p1}, Lio/reactivex/rxjava3/internal/schedulers/ScheduledRunnable;->setFuture(Ljava/util/concurrent/Future;)V
 | |
|     :try_end_0
 | |
|     .catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     :catch_0
 | |
|     move-exception p1
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/schedulers/k$a;->dispose()V
 | |
| 
 | |
|     .line 10
 | |
|     invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
 | |
| 
 | |
|     .line 11
 | |
|     sget-object p1, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public dispose()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/schedulers/k$a;->c:Z
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/schedulers/k$a;->c:Z
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Lio/reactivex/rxjava3/internal/schedulers/k$a;->b:Lio/reactivex/rxjava3/disposables/a;
 | |
| 
 | |
|     invoke-virtual {v0}, Lio/reactivex/rxjava3/disposables/a;->dispose()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public isDisposed()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/schedulers/k$a;->c:Z
 | |
| 
 | |
|     return v0
 | |
| .end method
 |