425 lines
11 KiB
Smali
425 lines
11 KiB
Smali
.class public final Lkotlinx/coroutines/ab;
|
|
.super Lkotlin/coroutines/a;
|
|
.source "CoroutineContext.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlinx/coroutines/bt;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lkotlinx/coroutines/ab$a;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/coroutines/a;",
|
|
"Lkotlinx/coroutines/bt<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final bmT:Lkotlinx/coroutines/ab$a;
|
|
|
|
|
|
# instance fields
|
|
.field final id:J
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lkotlinx/coroutines/ab$a;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lkotlinx/coroutines/ab$a;-><init>(B)V
|
|
|
|
sput-object v0, Lkotlinx/coroutines/ab;->bmT:Lkotlinx/coroutines/ab$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(J)V
|
|
.locals 1
|
|
|
|
sget-object v0, Lkotlinx/coroutines/ab;->bmT:Lkotlinx/coroutines/ab$a;
|
|
|
|
check-cast v0, Lkotlin/coroutines/CoroutineContext$c;
|
|
|
|
invoke-direct {p0, v0}, Lkotlin/coroutines/a;-><init>(Lkotlin/coroutines/CoroutineContext$c;)V
|
|
|
|
iput-wide p1, p0, Lkotlinx/coroutines/ab;->id:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final synthetic a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
.locals 1
|
|
|
|
check-cast p2, Ljava/lang/String;
|
|
|
|
const-string v0, "context"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string p1, "oldState"
|
|
|
|
invoke-static {p2, p1}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "Thread.currentThread()"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final synthetic c(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;
|
|
.locals 9
|
|
|
|
const-string v0, "context"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget-object v0, Lkotlinx/coroutines/ac;->bmU:Lkotlinx/coroutines/ac$a;
|
|
|
|
check-cast v0, Lkotlin/coroutines/CoroutineContext$c;
|
|
|
|
invoke-interface {p1, v0}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$c;)Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lkotlinx/coroutines/ac;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p1, Lkotlinx/coroutines/ac;->name:Ljava/lang/String;
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
:cond_0
|
|
const-string p1, "coroutine"
|
|
|
|
:cond_1
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "currentThread"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Thread;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "oldName"
|
|
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
move-object v3, v1
|
|
|
|
check-cast v3, Ljava/lang/CharSequence;
|
|
|
|
invoke-static {v3}, Lkotlin/text/l;->l(Ljava/lang/CharSequence;)I
|
|
|
|
move-result v5
|
|
|
|
const-string v2, "$this$lastIndexOf"
|
|
|
|
invoke-static {v3, v2}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v2, " @"
|
|
|
|
const-string v4, "string"
|
|
|
|
invoke-static {v2, v4}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
instance-of v4, v3, Ljava/lang/String;
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
move-object v4, v2
|
|
|
|
check-cast v4, Ljava/lang/CharSequence;
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x1
|
|
|
|
invoke-static/range {v3 .. v8}, Lkotlin/text/u;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZ)I
|
|
|
|
move-result v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
invoke-virtual {v3, v2, v5}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;I)I
|
|
|
|
move-result v3
|
|
|
|
:goto_0
|
|
if-gez v3, :cond_3
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v3
|
|
|
|
:cond_3
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v4
|
|
|
|
add-int/2addr v4, v3
|
|
|
|
add-int/lit8 v4, v4, 0xa
|
|
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v5, v4}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-virtual {v1, v4, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {v3, v4}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v5, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 p1, 0x23
|
|
|
|
invoke-virtual {v5, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v2, p0, Lkotlinx/coroutines/ab;->id:J
|
|
|
|
invoke-virtual {v5, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v2, "StringBuilder(capacity).\u2026builderAction).toString()"
|
|
|
|
invoke-static {p1, v2}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
|
|
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 7
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p0, p1, :cond_2
|
|
|
|
instance-of v1, p1, Lkotlinx/coroutines/ab;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
check-cast p1, Lkotlinx/coroutines/ab;
|
|
|
|
iget-wide v3, p0, Lkotlinx/coroutines/ab;->id:J
|
|
|
|
iget-wide v5, p1, Lkotlinx/coroutines/ab;->id:J
|
|
|
|
cmp-long p1, v3, v5
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
if-eqz p1, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
return v2
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return v0
|
|
.end method
|
|
|
|
.method public final fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<R:",
|
|
"Ljava/lang/Object;",
|
|
">(TR;",
|
|
"Lkotlin/jvm/functions/Function2<",
|
|
"-TR;-",
|
|
"Lkotlin/coroutines/CoroutineContext$b;",
|
|
"+TR;>;)TR;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "operation"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
move-object v0, p0
|
|
|
|
check-cast v0, Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
invoke-static {v0, p1, p2}, Lkotlin/coroutines/CoroutineContext$b$a;->a(Lkotlin/coroutines/CoroutineContext$b;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final get(Lkotlin/coroutines/CoroutineContext$c;)Lkotlin/coroutines/CoroutineContext$b;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E::",
|
|
"Lkotlin/coroutines/CoroutineContext$b;",
|
|
">(",
|
|
"Lkotlin/coroutines/CoroutineContext$c<",
|
|
"TE;>;)TE;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "key"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
move-object v0, p0
|
|
|
|
check-cast v0, Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
invoke-static {v0, p1}, Lkotlin/coroutines/CoroutineContext$b$a;->a(Lkotlin/coroutines/CoroutineContext$b;Lkotlin/coroutines/CoroutineContext$c;)Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 4
|
|
|
|
iget-wide v0, p0, Lkotlinx/coroutines/ab;->id:J
|
|
|
|
const/16 v2, 0x20
|
|
|
|
ushr-long v2, v0, v2
|
|
|
|
xor-long/2addr v0, v2
|
|
|
|
long-to-int v1, v0
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public final minusKey(Lkotlin/coroutines/CoroutineContext$c;)Lkotlin/coroutines/CoroutineContext;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/coroutines/CoroutineContext$c<",
|
|
"*>;)",
|
|
"Lkotlin/coroutines/CoroutineContext;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "key"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
move-object v0, p0
|
|
|
|
check-cast v0, Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
invoke-static {v0, p1}, Lkotlin/coroutines/CoroutineContext$b$a;->b(Lkotlin/coroutines/CoroutineContext$b;Lkotlin/coroutines/CoroutineContext$c;)Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
|
|
.locals 1
|
|
|
|
const-string v0, "context"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
move-object v0, p0
|
|
|
|
check-cast v0, Lkotlin/coroutines/CoroutineContext$b;
|
|
|
|
invoke-static {v0, p1}, Lkotlin/coroutines/CoroutineContext$b$a;->a(Lkotlin/coroutines/CoroutineContext$b;Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "CoroutineId("
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-wide v1, p0, Lkotlinx/coroutines/ab;->id:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x29
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|