324 lines
9.4 KiB
Smali
324 lines
9.4 KiB
Smali
.class public final Lkotlinx/coroutines/channels/q;
|
|
.super Lkotlinx/coroutines/channels/c0;
|
|
.source "AbstractChannel.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlinx/coroutines/channels/a0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lkotlinx/coroutines/channels/c0;",
|
|
"Lkotlinx/coroutines/channels/a0<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nAbstractChannel.kt\nKotlin\n*S Kotlin\n*F\n+ 1 AbstractChannel.kt\nkotlinx/coroutines/channels/Closed\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,1130:1\n1#2:1131\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u00000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0008\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0003\n\u0002\u0008\u0010\u0008\u0000\u0018\u0000*\u0006\u0008\u0000\u0010\u0001 \u00002\u00020\u00022\u0008\u0012\u0004\u0012\u00028\u00000\u0003B\u0011\u0012\u0008\u0010\u0016\u001a\u0004\u0018\u00010\u0013\u00a2\u0006\u0004\u0008!\u0010\"J\u0014\u0010\u0007\u001a\u0004\u0018\u00010\u00062\u0008\u0010\u0005\u001a\u0004\u0018\u00010\u0004H\u0016J\u0008\u0010\t\u001a\u00020\u0008H\u0016J#\u0010\u000b\u001a\u0004\u0018\u00010\u00062\u0006\u0010\n\u001a\u00028\u00002\u0008\u0010\u0005\u001a\u0004\u0018\u00010\u0004H\u0016\u00a2\u0006\u0004\u0008\u000b\u0010\u000cJ\u0017\u0010\r\u001a\u00020\u00082\u0006\u0010\n\u001a\u00028\u0000H\u0016\u00a2\u0006\u0004\u0008\r\u0010\u000eJ\u0014\u0010\u0010\u001a\u00020\u00082\n\u0010\u000f\u001a\u0006\u0012\u0002\u0008\u00030\u0000H\u0016J\u0008\u0010\u0012\u001a\u00020\u0011H\u0016R\u0016\u0010\u0016\u001a\u0004\u0018\u00010\u00138\u0006X\u0087\u0004\u00a2\u0006\u0006\n\u0004\u0008\u0014\u0010\u0015R\u0011\u0010\u0019\u001a\u00020\u00138F\u00a2\u0006\u0006\u001a\u0004\u0008\u0017\u0010\u0018R\u0011\u0010\u001b\u001a\u00020\u00138F\u00a2\u0006\u0006\u001a\u0004\u0008\u001a\u0010\u0018R\u001a\u0010\u001e\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u00008VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u001c\u0010\u001dR\u001a\u0010 \u001a\u0008\u0012\u0004\u0012\u00028\u00000\u00008VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u001f\u0010\u001d\u00a8\u0006#"
|
|
}
|
|
d2 = {
|
|
"Lkotlinx/coroutines/channels/q;",
|
|
"E",
|
|
"Lkotlinx/coroutines/channels/c0;",
|
|
"Lkotlinx/coroutines/channels/a0;",
|
|
"Lkotlinx/coroutines/internal/s$d;",
|
|
"otherOp",
|
|
"Lkotlinx/coroutines/internal/i0;",
|
|
"j0",
|
|
"Lkotlin/d1;",
|
|
"g0",
|
|
"value",
|
|
"A",
|
|
"(Ljava/lang/Object;Lkotlinx/coroutines/internal/s$d;)Lkotlinx/coroutines/internal/i0;",
|
|
"j",
|
|
"(Ljava/lang/Object;)V",
|
|
"closed",
|
|
"i0",
|
|
"",
|
|
"toString",
|
|
"",
|
|
"d",
|
|
"Ljava/lang/Throwable;",
|
|
"closeCause",
|
|
"o0",
|
|
"()Ljava/lang/Throwable;",
|
|
"sendException",
|
|
"n0",
|
|
"receiveException",
|
|
"l0",
|
|
"()Lkotlinx/coroutines/channels/q;",
|
|
"offerResult",
|
|
"m0",
|
|
"pollResult",
|
|
"<init>",
|
|
"(Ljava/lang/Throwable;)V",
|
|
"kotlinx-coroutines-core"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final d:Ljava/lang/Throwable;
|
|
.annotation build Lkotlin/jvm/JvmField;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
.param p1 # Ljava/lang/Throwable;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lkotlinx/coroutines/channels/c0;-><init>()V
|
|
|
|
iput-object p1, p0, Lkotlinx/coroutines/channels/q;->d:Ljava/lang/Throwable;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public A(Ljava/lang/Object;Lkotlinx/coroutines/internal/s$d;)Lkotlinx/coroutines/internal/i0;
|
|
.locals 0
|
|
.param p2 # Lkotlinx/coroutines/internal/s$d;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TE;",
|
|
"Lkotlinx/coroutines/internal/s$d;",
|
|
")",
|
|
"Lkotlinx/coroutines/internal/i0;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
sget-object p1, Lkotlinx/coroutines/p;->d:Lkotlinx/coroutines/internal/i0;
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-virtual {p2}, Lkotlinx/coroutines/internal/s$d;->d()V
|
|
|
|
:cond_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public bridge synthetic c()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/channels/q;->l0()Lkotlinx/coroutines/channels/q;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public g0()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic h0()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/channels/q;->m0()Lkotlinx/coroutines/channels/q;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public i0(Lkotlinx/coroutines/channels/q;)V
|
|
.locals 0
|
|
.param p1 # Lkotlinx/coroutines/channels/q;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlinx/coroutines/channels/q<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public j(Ljava/lang/Object;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TE;)V"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public j0(Lkotlinx/coroutines/internal/s$d;)Lkotlinx/coroutines/internal/i0;
|
|
.locals 1
|
|
.param p1 # Lkotlinx/coroutines/internal/s$d;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
sget-object v0, Lkotlinx/coroutines/p;->d:Lkotlinx/coroutines/internal/i0;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p1}, Lkotlinx/coroutines/internal/s$d;->d()V
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public l0()Lkotlinx/coroutines/channels/q;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlinx/coroutines/channels/q<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public m0()Lkotlinx/coroutines/channels/q;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlinx/coroutines/channels/q<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final n0()Ljava/lang/Throwable;
|
|
.locals 2
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlinx/coroutines/channels/q;->d:Ljava/lang/Throwable;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Lkotlinx/coroutines/channels/ClosedReceiveChannelException;
|
|
|
|
const-string v1, "Channel was closed"
|
|
|
|
invoke-direct {v0, v1}, Lkotlinx/coroutines/channels/ClosedReceiveChannelException;-><init>(Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final o0()Ljava/lang/Throwable;
|
|
.locals 2
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lkotlinx/coroutines/channels/q;->d:Ljava/lang/Throwable;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Lkotlinx/coroutines/channels/ClosedSendChannelException;
|
|
|
|
const-string v1, "Channel was closed"
|
|
|
|
invoke-direct {v0, v1}, Lkotlinx/coroutines/channels/ClosedSendChannelException;-><init>(Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "Closed@"
|
|
|
|
.line 1
|
|
invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
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;
|
|
|
|
const/16 v1, 0x5b
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lkotlinx/coroutines/channels/q;->d:Ljava/lang/Throwable;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x5d
|
|
|
|
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
|