228 lines
4.9 KiB
Smali
228 lines
4.9 KiB
Smali
.class public abstract Lk0/a/a;
|
|
.super Lk0/a/c1;
|
|
.source "AbstractCoroutine.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlinx/coroutines/Job;
|
|
.implements Lkotlin/coroutines/Continuation;
|
|
.implements Lkotlinx/coroutines/CoroutineScope;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lk0/a/c1;",
|
|
"Lkotlinx/coroutines/Job;",
|
|
"Lkotlin/coroutines/Continuation<",
|
|
"TT;>;",
|
|
"Lkotlinx/coroutines/CoroutineScope;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final e:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
.field public final f:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;Z)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p2}, Lk0/a/c1;-><init>(Z)V
|
|
|
|
iput-object p1, p0, Lk0/a/a;->f:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lk0/a/a;->e:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public E()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lk0/a/a;->e:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
invoke-static {v0}, Lk0/a/u;->a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const/16 v2, 0x22
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, "\":"
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-static {p0}, Lf/n/a/k/a;->y(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
invoke-static {p0}, Lf/n/a/k/a;->y(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final H(Ljava/lang/Object;)V
|
|
.locals 1
|
|
|
|
instance-of v0, p1, Lk0/a/p;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
check-cast p1, Lk0/a/p;
|
|
|
|
iget-object v0, p1, Lk0/a/p;->a:Ljava/lang/Throwable;
|
|
|
|
iget p1, p1, Lk0/a/p;->_handled:I
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string p1, "cause"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final I()V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0}, Lk0/a/a;->R()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public P()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final Q()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lk0/a/a;->f:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
sget-object v1, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a;
|
|
|
|
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/Job;
|
|
|
|
invoke-virtual {p0, v0}, Lk0/a/c1;->A(Lkotlinx/coroutines/Job;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public R()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a()Z
|
|
.locals 1
|
|
|
|
invoke-super {p0}, Lk0/a/c1;->a()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getContext()Lkotlin/coroutines/CoroutineContext;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lk0/a/a;->e:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lk0/a/a;->e:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final resumeWith(Ljava/lang/Object;)V
|
|
.locals 1
|
|
|
|
invoke-static {p1}, Lf/n/a/k/a;->j0(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0}, Lk0/a/a;->P()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, p1, v0}, Lk0/a/c1;->C(Ljava/lang/Object;I)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final z(Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Lk0/a/a;->e:Lkotlin/coroutines/CoroutineContext;
|
|
|
|
invoke-static {v0, p1}, Lf/n/a/k/a;->E(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "exception"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|