236 lines
		
	
	
		
			6.5 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			236 lines
		
	
	
		
			6.5 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class final Lcom/google/common/util/concurrent/AbstractFuture$SynchronizedHelper;
 | |
| .super Lcom/google/common/util/concurrent/AbstractFuture$AtomicHelper;
 | |
| .source "AbstractFuture.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingClass;
 | |
|     value = Lcom/google/common/util/concurrent/AbstractFuture;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x19
 | |
|     name = "SynchronizedHelper"
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method private constructor <init>()V
 | |
|     .locals 1
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, v0}, Lcom/google/common/util/concurrent/AbstractFuture$AtomicHelper;-><init>(Lcom/google/common/util/concurrent/AbstractFuture$1;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public synthetic constructor <init>(Lcom/google/common/util/concurrent/AbstractFuture$1;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0}, Lcom/google/common/util/concurrent/AbstractFuture$SynchronizedHelper;-><init>()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public casListeners(Lcom/google/common/util/concurrent/AbstractFuture;Lcom/google/common/util/concurrent/AbstractFuture$Listener;Lcom/google/common/util/concurrent/AbstractFuture$Listener;)Z
 | |
|     .locals 1
 | |
|     .param p2    # Lcom/google/common/util/concurrent/AbstractFuture$Listener;
 | |
|         .annotation runtime Ljavax/annotation/CheckForNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lcom/google/common/util/concurrent/AbstractFuture<",
 | |
|             "*>;",
 | |
|             "Lcom/google/common/util/concurrent/AbstractFuture$Listener;",
 | |
|             "Lcom/google/common/util/concurrent/AbstractFuture$Listener;",
 | |
|             ")Z"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     monitor-enter p1
 | |
| 
 | |
|     .line 2
 | |
|     :try_start_0
 | |
|     invoke-static {p1}, Lcom/google/common/util/concurrent/AbstractFuture;->access$900(Lcom/google/common/util/concurrent/AbstractFuture;)Lcom/google/common/util/concurrent/AbstractFuture$Listener;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-ne v0, p2, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {p1, p3}, Lcom/google/common/util/concurrent/AbstractFuture;->access$902(Lcom/google/common/util/concurrent/AbstractFuture;Lcom/google/common/util/concurrent/AbstractFuture$Listener;)Lcom/google/common/util/concurrent/AbstractFuture$Listener;
 | |
| 
 | |
|     const/4 p2, 0x1
 | |
| 
 | |
|     .line 4
 | |
|     monitor-exit p1
 | |
| 
 | |
|     return p2
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p2, 0x0
 | |
| 
 | |
|     .line 5
 | |
|     monitor-exit p1
 | |
| 
 | |
|     return p2
 | |
| 
 | |
|     :catchall_0
 | |
|     move-exception p2
 | |
| 
 | |
|     .line 6
 | |
|     monitor-exit p1
 | |
|     :try_end_0
 | |
|     .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | |
| 
 | |
|     throw p2
 | |
| .end method
 | |
| 
 | |
| .method public casValue(Lcom/google/common/util/concurrent/AbstractFuture;Ljava/lang/Object;Ljava/lang/Object;)Z
 | |
|     .locals 1
 | |
|     .param p2    # Ljava/lang/Object;
 | |
|         .annotation runtime Ljavax/annotation/CheckForNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lcom/google/common/util/concurrent/AbstractFuture<",
 | |
|             "*>;",
 | |
|             "Ljava/lang/Object;",
 | |
|             "Ljava/lang/Object;",
 | |
|             ")Z"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     monitor-enter p1
 | |
| 
 | |
|     .line 2
 | |
|     :try_start_0
 | |
|     invoke-static {p1}, Lcom/google/common/util/concurrent/AbstractFuture;->access$400(Lcom/google/common/util/concurrent/AbstractFuture;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-ne v0, p2, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {p1, p3}, Lcom/google/common/util/concurrent/AbstractFuture;->access$402(Lcom/google/common/util/concurrent/AbstractFuture;Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     const/4 p2, 0x1
 | |
| 
 | |
|     .line 4
 | |
|     monitor-exit p1
 | |
| 
 | |
|     return p2
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p2, 0x0
 | |
| 
 | |
|     .line 5
 | |
|     monitor-exit p1
 | |
| 
 | |
|     return p2
 | |
| 
 | |
|     :catchall_0
 | |
|     move-exception p2
 | |
| 
 | |
|     .line 6
 | |
|     monitor-exit p1
 | |
|     :try_end_0
 | |
|     .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | |
| 
 | |
|     throw p2
 | |
| .end method
 | |
| 
 | |
| .method public casWaiters(Lcom/google/common/util/concurrent/AbstractFuture;Lcom/google/common/util/concurrent/AbstractFuture$Waiter;Lcom/google/common/util/concurrent/AbstractFuture$Waiter;)Z
 | |
|     .locals 1
 | |
|     .param p2    # Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
 | |
|         .annotation runtime Ljavax/annotation/CheckForNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p3    # Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
 | |
|         .annotation runtime Ljavax/annotation/CheckForNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lcom/google/common/util/concurrent/AbstractFuture<",
 | |
|             "*>;",
 | |
|             "Lcom/google/common/util/concurrent/AbstractFuture$Waiter;",
 | |
|             "Lcom/google/common/util/concurrent/AbstractFuture$Waiter;",
 | |
|             ")Z"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     monitor-enter p1
 | |
| 
 | |
|     .line 2
 | |
|     :try_start_0
 | |
|     invoke-static {p1}, Lcom/google/common/util/concurrent/AbstractFuture;->access$800(Lcom/google/common/util/concurrent/AbstractFuture;)Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-ne v0, p2, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {p1, p3}, Lcom/google/common/util/concurrent/AbstractFuture;->access$802(Lcom/google/common/util/concurrent/AbstractFuture;Lcom/google/common/util/concurrent/AbstractFuture$Waiter;)Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
 | |
| 
 | |
|     const/4 p2, 0x1
 | |
| 
 | |
|     .line 4
 | |
|     monitor-exit p1
 | |
| 
 | |
|     return p2
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p2, 0x0
 | |
| 
 | |
|     .line 5
 | |
|     monitor-exit p1
 | |
| 
 | |
|     return p2
 | |
| 
 | |
|     :catchall_0
 | |
|     move-exception p2
 | |
| 
 | |
|     .line 6
 | |
|     monitor-exit p1
 | |
|     :try_end_0
 | |
|     .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | |
| 
 | |
|     throw p2
 | |
| .end method
 | |
| 
 | |
| .method public putNext(Lcom/google/common/util/concurrent/AbstractFuture$Waiter;Lcom/google/common/util/concurrent/AbstractFuture$Waiter;)V
 | |
|     .locals 0
 | |
|     .param p2    # Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
 | |
|         .annotation runtime Ljavax/annotation/CheckForNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p2, p1, Lcom/google/common/util/concurrent/AbstractFuture$Waiter;->next:Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public putThread(Lcom/google/common/util/concurrent/AbstractFuture$Waiter;Ljava/lang/Thread;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p2, p1, Lcom/google/common/util/concurrent/AbstractFuture$Waiter;->thread:Ljava/lang/Thread;
 | |
| 
 | |
|     return-void
 | |
| .end method
 |