434 lines
13 KiB
Smali
434 lines
13 KiB
Smali
.class public final Lkotlinx/coroutines/o0;
|
|
.super Ljava/lang/Object;
|
|
.source "CoroutineScope.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000F\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0003\n\u0002\u0008\u0004\n\u0002\u0010\u000b\n\u0002\u0008\u0006\u001a\u0015\u0010\u0003\u001a\u00020\u0000*\u00020\u00002\u0006\u0010\u0002\u001a\u00020\u0001H\u0086\u0002\u001a\u0006\u0010\u0004\u001a\u00020\u0000\u001aO\u0010\u000b\u001a\u00028\u0000\"\u0004\u0008\u0000\u0010\u00052\'\u0010\n\u001a#\u0008\u0001\u0012\u0004\u0012\u00020\u0000\u0012\n\u0012\u0008\u0012\u0004\u0012\u00028\u00000\u0007\u0012\u0006\u0012\u0004\u0018\u00010\u00080\u0006\u00a2\u0006\u0002\u0008\tH\u0086@\u00f8\u0001\u0000\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0001 \u0001\u00a2\u0006\u0004\u0008\u000b\u0010\u000c\u001a\u000e\u0010\r\u001a\u00020\u00002\u0006\u0010\u0002\u001a\u00020\u0001\u001a\u001c\u0010\u0012\u001a\u00020\u0011*\u00020\u00002\u0010\u0008\u0002\u0010\u0010\u001a\n\u0018\u00010\u000ej\u0004\u0018\u0001`\u000f\u001a\u001e\u0010\u0016\u001a\u00020\u0011*\u00020\u00002\u0006\u0010\u0014\u001a\u00020\u00132\n\u0008\u0002\u0010\u0010\u001a\u0004\u0018\u00010\u0015\u001a\n\u0010\u0017\u001a\u00020\u0011*\u00020\u0000\u001a\u0013\u0010\u0018\u001a\u00020\u0001H\u0086H\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u0018\u0010\u0019\"\u001b\u0010\u001f\u001a\u00020\u001a*\u00020\u00008F\u00a2\u0006\u000c\u0012\u0004\u0008\u001d\u0010\u001e\u001a\u0004\u0008\u001b\u0010\u001c\u0082\u0002\u0004\n\u0002\u0008\u0019\u00a8\u0006 "
|
|
}
|
|
d2 = {
|
|
"Lkotlinx/coroutines/n0;",
|
|
"Lkotlin/coroutines/CoroutineContext;",
|
|
"context",
|
|
"m",
|
|
"b",
|
|
"R",
|
|
"Lkotlin/Function2;",
|
|
"Lkotlin/coroutines/c;",
|
|
"",
|
|
"Lkotlin/ExtensionFunctionType;",
|
|
"block",
|
|
"g",
|
|
"(Lej/p;Lkotlin/coroutines/c;)Ljava/lang/Object;",
|
|
"a",
|
|
"Ljava/util/concurrent/CancellationException;",
|
|
"Lkotlinx/coroutines/CancellationException;",
|
|
"cause",
|
|
"Lkotlin/d1;",
|
|
"d",
|
|
"",
|
|
"message",
|
|
"",
|
|
"c",
|
|
"j",
|
|
"h",
|
|
"(Lkotlin/coroutines/c;)Ljava/lang/Object;",
|
|
"",
|
|
"k",
|
|
"(Lkotlinx/coroutines/n0;)Z",
|
|
"isActive$annotations",
|
|
"(Lkotlinx/coroutines/n0;)V",
|
|
"isActive",
|
|
"kotlinx-coroutines-core"
|
|
}
|
|
k = 0x2
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static final a(Lkotlin/coroutines/CoroutineContext;)Lkotlinx/coroutines/n0;
|
|
.locals 3
|
|
.param p0 # Lkotlin/coroutines/CoroutineContext;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlinx/coroutines/internal/i;
|
|
|
|
sget-object v1, Lkotlinx/coroutines/y1;->q0:Lkotlinx/coroutines/y1$b;
|
|
|
|
invoke-interface {p0, v1}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {v2, v1, v2}, Lkotlinx/coroutines/b2;->d(Lkotlinx/coroutines/y1;ILjava/lang/Object;)Lkotlinx/coroutines/z;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {p0, v1}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_0
|
|
invoke-direct {v0, p0}, Lkotlinx/coroutines/internal/i;-><init>(Lkotlin/coroutines/CoroutineContext;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final b()Lkotlinx/coroutines/n0;
|
|
.locals 3
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlinx/coroutines/internal/i;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-static {v1, v2, v1}, Lkotlinx/coroutines/a3;->c(Lkotlinx/coroutines/y1;ILjava/lang/Object;)Lkotlinx/coroutines/z;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {}, Lkotlinx/coroutines/b1;->e()Lkotlinx/coroutines/i2;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v1, v2}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lkotlinx/coroutines/internal/i;-><init>(Lkotlin/coroutines/CoroutineContext;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final c(Lkotlinx/coroutines/n0;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
.param p0 # Lkotlinx/coroutines/n0;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/Throwable;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-static {p1, p2}, Lkotlinx/coroutines/n1;->a(Ljava/lang/String;Ljava/lang/Throwable;)Ljava/util/concurrent/CancellationException;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p0, p1}, Lkotlinx/coroutines/o0;->d(Lkotlinx/coroutines/n0;Ljava/util/concurrent/CancellationException;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final d(Lkotlinx/coroutines/n0;Ljava/util/concurrent/CancellationException;)V
|
|
.locals 2
|
|
.param p0 # Lkotlinx/coroutines/n0;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/util/concurrent/CancellationException;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Lkotlinx/coroutines/n0;->getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lkotlinx/coroutines/y1;->q0:Lkotlinx/coroutines/y1$b;
|
|
|
|
invoke-interface {v0, v1}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lkotlinx/coroutines/y1;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-interface {v0, p1}, Lkotlinx/coroutines/y1;->b(Ljava/util/concurrent/CancellationException;)V
|
|
|
|
return-void
|
|
|
|
.line 3
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v0, "Scope cannot be cancelled because it does not have a job: "
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static synthetic e(Lkotlinx/coroutines/n0;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
.line 1
|
|
:cond_0
|
|
invoke-static {p0, p1, p2}, Lkotlinx/coroutines/o0;->c(Lkotlinx/coroutines/n0;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic f(Lkotlinx/coroutines/n0;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p2, p2, 0x1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 1
|
|
:cond_0
|
|
invoke-static {p0, p1}, Lkotlinx/coroutines/o0;->d(Lkotlinx/coroutines/n0;Ljava/util/concurrent/CancellationException;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final g(Lej/p;Lkotlin/coroutines/c;)Ljava/lang/Object;
|
|
.locals 2
|
|
.param p0 # Lej/p;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Lkotlin/coroutines/c;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<R:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lej/p<",
|
|
"-",
|
|
"Lkotlinx/coroutines/n0;",
|
|
"-",
|
|
"Lkotlin/coroutines/c<",
|
|
"-TR;>;+",
|
|
"Ljava/lang/Object;",
|
|
">;",
|
|
"Lkotlin/coroutines/c<",
|
|
"-TR;>;)",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlinx/coroutines/internal/e0;
|
|
|
|
invoke-interface {p1}, Lkotlin/coroutines/c;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1, p1}, Lkotlinx/coroutines/internal/e0;-><init>(Lkotlin/coroutines/CoroutineContext;Lkotlin/coroutines/c;)V
|
|
|
|
.line 2
|
|
invoke-static {v0, v0, p0}, Ltj/b;->f(Lkotlinx/coroutines/internal/e0;Ljava/lang/Object;Lej/p;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
.line 3
|
|
invoke-static {}, Lvi/b;->h()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
if-ne p0, v0, :cond_0
|
|
|
|
invoke-static {p1}, Lwi/e;->c(Lkotlin/coroutines/c;)V
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final h(Lkotlin/coroutines/c;)Ljava/lang/Object;
|
|
.locals 0
|
|
.param p0 # Lkotlin/coroutines/c;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/coroutines/c<",
|
|
"-",
|
|
"Lkotlin/coroutines/CoroutineContext;",
|
|
">;)",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Lkotlin/coroutines/c;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final i(Lkotlin/coroutines/c;)Ljava/lang/Object;
|
|
.locals 0
|
|
.param p0 # Lkotlin/coroutines/c;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
const/4 p0, 0x3
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lkotlin/jvm/internal/c0;->e(I)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final j(Lkotlinx/coroutines/n0;)V
|
|
.locals 0
|
|
.param p0 # Lkotlinx/coroutines/n0;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Lkotlinx/coroutines/n0;->getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Lkotlinx/coroutines/b2;->A(Lkotlin/coroutines/CoroutineContext;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final k(Lkotlinx/coroutines/n0;)Z
|
|
.locals 1
|
|
.param p0 # Lkotlinx/coroutines/n0;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Lkotlinx/coroutines/n0;->getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p0
|
|
|
|
sget-object v0, Lkotlinx/coroutines/y1;->q0:Lkotlinx/coroutines/y1$b;
|
|
|
|
invoke-interface {p0, v0}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lkotlinx/coroutines/y1;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-interface {p0}, Lkotlinx/coroutines/y1;->isActive()Z
|
|
|
|
move-result p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x1
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic l(Lkotlinx/coroutines/n0;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final m(Lkotlinx/coroutines/n0;Lkotlin/coroutines/CoroutineContext;)Lkotlinx/coroutines/n0;
|
|
.locals 1
|
|
.param p0 # Lkotlinx/coroutines/n0;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Lkotlin/coroutines/CoroutineContext;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlinx/coroutines/internal/i;
|
|
|
|
invoke-interface {p0}, Lkotlinx/coroutines/n0;->getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {p0, p1}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Lkotlinx/coroutines/internal/i;-><init>(Lkotlin/coroutines/CoroutineContext;)V
|
|
|
|
return-object v0
|
|
.end method
|