299 lines
		
	
	
		
			9.6 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			299 lines
		
	
	
		
			9.6 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public abstract Lkotlinx/coroutines/CoroutineDispatcher;
 | |
| .super Lkotlin/coroutines/a;
 | |
| .source "CoroutineDispatcher.kt"
 | |
| 
 | |
| # interfaces
 | |
| .implements Lkotlin/coroutines/d;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Lkotlinx/coroutines/CoroutineDispatcher$Key;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| .annotation runtime Lkotlin/Metadata;
 | |
|     bv = {}
 | |
|     d1 = {
 | |
|         "\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u000e\n\u0002\u0008\u0005\u0008&\u0018\u0000 \u00182\u00020\u00012\u00020\u0002:\u0001\u0018B\u0007\u00a2\u0006\u0004\u0008\u0016\u0010\u0017J\u0010\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0004\u001a\u00020\u0003H\u0016J\u001c\u0010\u000b\u001a\u00020\n2\u0006\u0010\u0004\u001a\u00020\u00032\n\u0010\t\u001a\u00060\u0007j\u0002`\u0008H&J\u001c\u0010\u000c\u001a\u00020\n2\u0006\u0010\u0004\u001a\u00020\u00032\n\u0010\t\u001a\u00060\u0007j\u0002`\u0008H\u0017J \u0010\u0010\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u000e\"\u0004\u0008\u0000\u0010\r2\u000c\u0010\u000f\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u000eJ\u0014\u0010\u0011\u001a\u00020\n2\n\u0010\u000f\u001a\u0006\u0012\u0002\u0008\u00030\u000eH\u0017J\u0011\u0010\u0013\u001a\u00020\u00002\u0006\u0010\u0012\u001a\u00020\u0000H\u0087\u0002J\u0008\u0010\u0015\u001a\u00020\u0014H\u0016\u00a8\u0006\u0019"
 | |
|     }
 | |
|     d2 = {
 | |
|         "Lkotlinx/coroutines/CoroutineDispatcher;",
 | |
|         "Lkotlin/coroutines/a;",
 | |
|         "Lkotlin/coroutines/d;",
 | |
|         "Lkotlin/coroutines/CoroutineContext;",
 | |
|         "context",
 | |
|         "",
 | |
|         "isDispatchNeeded",
 | |
|         "Ljava/lang/Runnable;",
 | |
|         "Lkotlinx/coroutines/Runnable;",
 | |
|         "block",
 | |
|         "Lkotlin/d1;",
 | |
|         "dispatch",
 | |
|         "dispatchYield",
 | |
|         "T",
 | |
|         "Lkotlin/coroutines/c;",
 | |
|         "continuation",
 | |
|         "interceptContinuation",
 | |
|         "releaseInterceptedContinuation",
 | |
|         "other",
 | |
|         "plus",
 | |
|         "",
 | |
|         "toString",
 | |
|         "<init>",
 | |
|         "()V",
 | |
|         "Key",
 | |
|         "kotlinx-coroutines-core"
 | |
|     }
 | |
|     k = 0x1
 | |
|     mv = {
 | |
|         0x1,
 | |
|         0x4,
 | |
|         0x0
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field public static final Key:Lkotlinx/coroutines/CoroutineDispatcher$Key;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method static constructor <clinit>()V
 | |
|     .locals 2
 | |
| 
 | |
|     new-instance v0, Lkotlinx/coroutines/CoroutineDispatcher$Key;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     invoke-direct {v0, v1}, Lkotlinx/coroutines/CoroutineDispatcher$Key;-><init>(Lkotlin/jvm/internal/u;)V
 | |
| 
 | |
|     sput-object v0, Lkotlinx/coroutines/CoroutineDispatcher;->Key:Lkotlinx/coroutines/CoroutineDispatcher$Key;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     sget-object v0, Lkotlin/coroutines/d;->o0:Lkotlin/coroutines/d$b;
 | |
| 
 | |
|     invoke-direct {p0, v0}, Lkotlin/coroutines/a;-><init>(Lkotlin/coroutines/CoroutineContext$b;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public abstract dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
 | |
|     .param p1    # Lkotlin/coroutines/CoroutineContext;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Ljava/lang/Runnable;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| .end method
 | |
| 
 | |
| .method public dispatchYield(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
 | |
|     .locals 0
 | |
|     .param p1    # Lkotlin/coroutines/CoroutineContext;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Ljava/lang/Runnable;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Lkotlinx/coroutines/InternalCoroutinesApi;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0, p1, p2}, Lkotlinx/coroutines/CoroutineDispatcher;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
 | |
|     .locals 0
 | |
|     .param p1    # Lkotlin/coroutines/CoroutineContext$b;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "<E::",
 | |
|             "Lkotlin/coroutines/CoroutineContext$a;",
 | |
|             ">(",
 | |
|             "Lkotlin/coroutines/CoroutineContext$b<",
 | |
|             "TE;>;)TE;"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Lorg/jetbrains/annotations/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p0, p1}, Lkotlin/coroutines/d$a;->b(Lkotlin/coroutines/d;Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public final interceptContinuation(Lkotlin/coroutines/c;)Lkotlin/coroutines/c;
 | |
|     .locals 1
 | |
|     .param p1    # Lkotlin/coroutines/c;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "<T:",
 | |
|             "Ljava/lang/Object;",
 | |
|             ">(",
 | |
|             "Lkotlin/coroutines/c<",
 | |
|             "-TT;>;)",
 | |
|             "Lkotlin/coroutines/c<",
 | |
|             "TT;>;"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     new-instance v0, Lkotlinx/coroutines/internal/j;
 | |
| 
 | |
|     invoke-direct {v0, p0, p1}, Lkotlinx/coroutines/internal/j;-><init>(Lkotlinx/coroutines/CoroutineDispatcher;Lkotlin/coroutines/c;)V
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
 | |
|     .locals 0
 | |
|     .param p1    # Lkotlin/coroutines/CoroutineContext;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public minusKey(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext;
 | |
|     .locals 0
 | |
|     .param p1    # Lkotlin/coroutines/CoroutineContext$b;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lkotlin/coroutines/CoroutineContext$b<",
 | |
|             "*>;)",
 | |
|             "Lkotlin/coroutines/CoroutineContext;"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p0, p1}, Lkotlin/coroutines/d$a;->c(Lkotlin/coroutines/d;Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public final plus(Lkotlinx/coroutines/CoroutineDispatcher;)Lkotlinx/coroutines/CoroutineDispatcher;
 | |
|     .locals 0
 | |
|     .param p1    # Lkotlinx/coroutines/CoroutineDispatcher;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation runtime Lkotlin/Deprecated;
 | |
|         level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
 | |
|         message = "Operator \'+\' on two CoroutineDispatcher objects is meaningless. CoroutineDispatcher is a coroutine context element and `+` is a set-sum operator for coroutine contexts. The dispatcher to the right of `+` just replaces the dispatcher to the left."
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|     .end annotation
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public releaseInterceptedContinuation(Lkotlin/coroutines/c;)V
 | |
|     .locals 1
 | |
|     .param p1    # Lkotlin/coroutines/c;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lkotlin/coroutines/c<",
 | |
|             "*>;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Lkotlinx/coroutines/InternalCoroutinesApi;
 | |
|     .end annotation
 | |
| 
 | |
|     const-string v0, "null cannot be cast to non-null type kotlinx.coroutines.internal.DispatchedContinuation<*>"
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
 | |
| 
 | |
|     check-cast p1, Lkotlinx/coroutines/internal/j;
 | |
| 
 | |
|     invoke-virtual {p1}, Lkotlinx/coroutines/internal/j;->r()Lkotlinx/coroutines/o;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     invoke-virtual {p1}, Lkotlinx/coroutines/o;->v()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public toString()Ljava/lang/String;
 | |
|     .locals 2
 | |
|     .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     new-instance v0, Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
 | |
| 
 | |
|     invoke-static {p0}, Lkotlinx/coroutines/r0;->a(Ljava/lang/Object;)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     const/16 v1, 0x40
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-static {p0}, Lkotlinx/coroutines/r0;->b(Ljava/lang/Object;)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 |