278 lines
10 KiB
Smali
278 lines
10 KiB
Smali
.class public final Landroidx/lifecycle/CoroutineLiveDataKt;
|
|
.super Ljava/lang/Object;
|
|
.source "CoroutineLiveData.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000D\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0006\u001a1\u0010\u0005\u001a\u00020\u0004\"\u0004\u0008\u0000\u0010\u0000*\u0008\u0012\u0004\u0012\u00028\u00000\u00012\u000c\u0010\u0003\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0002H\u0080@\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u0005\u0010\u0006\u001aa\u0010\u0012\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0002\"\u0004\u0008\u0000\u0010\u00002\u0008\u0008\u0002\u0010\u0008\u001a\u00020\u00072\u0008\u0008\u0002\u0010\n\u001a\u00020\t2/\u0008\u0001\u0010\u0011\u001a)\u0008\u0001\u0012\n\u0012\u0008\u0012\u0004\u0012\u00028\u00000\u000c\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u000e0\r\u0012\u0006\u0012\u0004\u0018\u00010\u000f0\u000b\u00a2\u0006\u0002\u0008\u0010\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u0012\u0010\u0013\u001aa\u0010\u0012\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0002\"\u0004\u0008\u0000\u0010\u00002\u0008\u0008\u0002\u0010\u0008\u001a\u00020\u00072\u0006\u0010\u0015\u001a\u00020\u00142/\u0008\u0001\u0010\u0011\u001a)\u0008\u0001\u0012\n\u0012\u0008\u0012\u0004\u0012\u00028\u00000\u000c\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u000e0\r\u0012\u0006\u0012\u0004\u0018\u00010\u000f0\u000b\u00a2\u0006\u0002\u0008\u0010H\u0007\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u0012\u0010\u0016\"\u0014\u0010\u0017\u001a\u00020\t8\u0000X\u0080T\u00a2\u0006\u0006\n\u0004\u0008\u0017\u0010\u0018*`\u0008\u0000\u0010\u0019\u001a\u0004\u0008\u0000\u0010\u0000\")\u0008\u0001\u0012\n\u0012\u0008\u0012\u0004\u0012\u00028\u00000\u000c\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u000e0\r\u0012\u0006\u0012\u0004\u0018\u00010\u000f0\u000b\u00a2\u0006\u0002\u0008\u00102)\u0008\u0001\u0012\n\u0012\u0008\u0012\u0004\u0012\u00028\u00000\u000c\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u000e0\r\u0012\u0006\u0012\u0004\u0018\u00010\u000f0\u000b\u00a2\u0006\u0002\u0008\u0010\u0082\u0002\u0004\n\u0002\u0008\u0019\u00a8\u0006\u001a"
|
|
}
|
|
d2 = {
|
|
"T",
|
|
"Landroidx/lifecycle/MediatorLiveData;",
|
|
"Landroidx/lifecycle/LiveData;",
|
|
"source",
|
|
"Landroidx/lifecycle/EmittedSource;",
|
|
"addDisposableSource",
|
|
"(Landroidx/lifecycle/MediatorLiveData;Landroidx/lifecycle/LiveData;Lkotlin/coroutines/c;)Ljava/lang/Object;",
|
|
"Lkotlin/coroutines/CoroutineContext;",
|
|
"context",
|
|
"",
|
|
"timeoutInMs",
|
|
"Lkotlin/Function2;",
|
|
"Landroidx/lifecycle/LiveDataScope;",
|
|
"Lkotlin/coroutines/c;",
|
|
"Lkotlin/d1;",
|
|
"",
|
|
"Lkotlin/ExtensionFunctionType;",
|
|
"block",
|
|
"liveData",
|
|
"(Lkotlin/coroutines/CoroutineContext;JLej/p;)Landroidx/lifecycle/LiveData;",
|
|
"Ljava/time/Duration;",
|
|
"timeout",
|
|
"(Lkotlin/coroutines/CoroutineContext;Ljava/time/Duration;Lej/p;)Landroidx/lifecycle/LiveData;",
|
|
"DEFAULT_TIMEOUT",
|
|
"J",
|
|
"Block",
|
|
"lifecycle-livedata-ktx_release"
|
|
}
|
|
k = 0x2
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final DEFAULT_TIMEOUT:J = 0x1388L
|
|
|
|
|
|
# direct methods
|
|
.method public static final addDisposableSource(Landroidx/lifecycle/MediatorLiveData;Landroidx/lifecycle/LiveData;Lkotlin/coroutines/c;)Ljava/lang/Object;
|
|
.locals 3
|
|
.param p0 # Landroidx/lifecycle/MediatorLiveData;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Landroidx/lifecycle/LiveData;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lkotlin/coroutines/c;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroidx/lifecycle/MediatorLiveData<",
|
|
"TT;>;",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"TT;>;",
|
|
"Lkotlin/coroutines/c<",
|
|
"-",
|
|
"Landroidx/lifecycle/EmittedSource;",
|
|
">;)",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {}, Lkotlinx/coroutines/b1;->e()Lkotlinx/coroutines/i2;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/i2;->H1()Lkotlinx/coroutines/i2;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Landroidx/lifecycle/CoroutineLiveDataKt$addDisposableSource$2;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v1, p0, p1, v2}, Landroidx/lifecycle/CoroutineLiveDataKt$addDisposableSource$2;-><init>(Landroidx/lifecycle/MediatorLiveData;Landroidx/lifecycle/LiveData;Lkotlin/coroutines/c;)V
|
|
|
|
invoke-static {v0, v1, p2}, Lkotlinx/coroutines/g;->i(Lkotlin/coroutines/CoroutineContext;Lej/p;Lkotlin/coroutines/c;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final liveData(Lkotlin/coroutines/CoroutineContext;JLej/p;)Landroidx/lifecycle/LiveData;
|
|
.locals 1
|
|
.param p0 # Lkotlin/coroutines/CoroutineContext;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Lej/p;
|
|
.annotation build Lkotlin/BuilderInference;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/coroutines/CoroutineContext;",
|
|
"J",
|
|
"Lej/p<",
|
|
"-",
|
|
"Landroidx/lifecycle/LiveDataScope<",
|
|
"TT;>;-",
|
|
"Lkotlin/coroutines/c<",
|
|
"-",
|
|
"Lkotlin/d1;",
|
|
">;+",
|
|
"Ljava/lang/Object;",
|
|
">;)",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "context"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "block"
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/lifecycle/CoroutineLiveData;
|
|
|
|
invoke-direct {v0, p0, p1, p2, p3}, Landroidx/lifecycle/CoroutineLiveData;-><init>(Lkotlin/coroutines/CoroutineContext;JLej/p;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final liveData(Lkotlin/coroutines/CoroutineContext;Ljava/time/Duration;Lej/p;)Landroidx/lifecycle/LiveData;
|
|
.locals 3
|
|
.param p0 # Lkotlin/coroutines/CoroutineContext;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/time/Duration;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lej/p;
|
|
.annotation build Lkotlin/BuilderInference;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x1a
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/coroutines/CoroutineContext;",
|
|
"Ljava/time/Duration;",
|
|
"Lej/p<",
|
|
"-",
|
|
"Landroidx/lifecycle/LiveDataScope<",
|
|
"TT;>;-",
|
|
"Lkotlin/coroutines/c<",
|
|
"-",
|
|
"Lkotlin/d1;",
|
|
">;+",
|
|
"Ljava/lang/Object;",
|
|
">;)",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "context"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "timeout"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "block"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
new-instance v0, Landroidx/lifecycle/CoroutineLiveData;
|
|
|
|
invoke-virtual {p1}, Ljava/time/Duration;->toMillis()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-direct {v0, p0, v1, v2, p2}, Landroidx/lifecycle/CoroutineLiveData;-><init>(Lkotlin/coroutines/CoroutineContext;JLej/p;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static synthetic liveData$default(Lkotlin/coroutines/CoroutineContext;JLej/p;ILjava/lang/Object;)Landroidx/lifecycle/LiveData;
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p4, 0x1
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
.line 1
|
|
sget-object p0, Lkotlin/coroutines/EmptyCoroutineContext;->INSTANCE:Lkotlin/coroutines/EmptyCoroutineContext;
|
|
|
|
:cond_0
|
|
and-int/lit8 p4, p4, 0x2
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
const-wide/16 p1, 0x1388
|
|
|
|
.line 2
|
|
:cond_1
|
|
invoke-static {p0, p1, p2, p3}, Landroidx/lifecycle/CoroutineLiveDataKt;->liveData(Lkotlin/coroutines/CoroutineContext;JLej/p;)Landroidx/lifecycle/LiveData;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic liveData$default(Lkotlin/coroutines/CoroutineContext;Ljava/time/Duration;Lej/p;ILjava/lang/Object;)Landroidx/lifecycle/LiveData;
|
|
.locals 0
|
|
|
|
and-int/lit8 p3, p3, 0x1
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
.line 3
|
|
sget-object p0, Lkotlin/coroutines/EmptyCoroutineContext;->INSTANCE:Lkotlin/coroutines/EmptyCoroutineContext;
|
|
|
|
:cond_0
|
|
invoke-static {p0, p1, p2}, Landroidx/lifecycle/CoroutineLiveDataKt;->liveData(Lkotlin/coroutines/CoroutineContext;Ljava/time/Duration;Lej/p;)Landroidx/lifecycle/LiveData;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|