apkfuckery/com.discord/smali/androidx/lifecycle/PausingDispatcherKt.smali

254 lines
8.9 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Landroidx/lifecycle/PausingDispatcherKt;
.super Ljava/lang/Object;
.source "PausingDispatcher.kt"
# direct methods
.method public static final whenCreated(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/lifecycle/Lifecycle;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Lkotlinx/coroutines/CoroutineScope;",
"-",
"Lkotlin/coroutines/Continuation<",
"-TT;>;+",
"Ljava/lang/Object;",
">;",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)",
"Ljava/lang/Object;"
}
.end annotation
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State;
invoke-static {p0, v0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenStateAtLeast(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static final whenCreated(Landroidx/lifecycle/LifecycleOwner;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/lifecycle/LifecycleOwner;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Lkotlinx/coroutines/CoroutineScope;",
"-",
"Lkotlin/coroutines/Continuation<",
"-TT;>;+",
"Ljava/lang/Object;",
">;",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)",
"Ljava/lang/Object;"
}
.end annotation
invoke-interface {p0}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
move-result-object p0
const-string v0, "lifecycle"
2020-07-25 00:57:58 +00:00
invoke-static {p0, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-static {p0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenCreated(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static final whenResumed(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/lifecycle/Lifecycle;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Lkotlinx/coroutines/CoroutineScope;",
"-",
"Lkotlin/coroutines/Continuation<",
"-TT;>;+",
"Ljava/lang/Object;",
">;",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)",
"Ljava/lang/Object;"
}
.end annotation
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->RESUMED:Landroidx/lifecycle/Lifecycle$State;
invoke-static {p0, v0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenStateAtLeast(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static final whenResumed(Landroidx/lifecycle/LifecycleOwner;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/lifecycle/LifecycleOwner;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Lkotlinx/coroutines/CoroutineScope;",
"-",
"Lkotlin/coroutines/Continuation<",
"-TT;>;+",
"Ljava/lang/Object;",
">;",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)",
"Ljava/lang/Object;"
}
.end annotation
invoke-interface {p0}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
move-result-object p0
const-string v0, "lifecycle"
2020-07-25 00:57:58 +00:00
invoke-static {p0, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-static {p0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenResumed(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static final whenStarted(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/lifecycle/Lifecycle;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Lkotlinx/coroutines/CoroutineScope;",
"-",
"Lkotlin/coroutines/Continuation<",
"-TT;>;+",
"Ljava/lang/Object;",
">;",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)",
"Ljava/lang/Object;"
}
.end annotation
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
invoke-static {p0, v0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenStateAtLeast(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static final whenStarted(Landroidx/lifecycle/LifecycleOwner;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/lifecycle/LifecycleOwner;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Lkotlinx/coroutines/CoroutineScope;",
"-",
"Lkotlin/coroutines/Continuation<",
"-TT;>;+",
"Ljava/lang/Object;",
">;",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)",
"Ljava/lang/Object;"
}
.end annotation
invoke-interface {p0}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
move-result-object p0
const-string v0, "lifecycle"
2020-07-25 00:57:58 +00:00
invoke-static {p0, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-static {p0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenStarted(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static final whenStateAtLeast(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/lifecycle/Lifecycle;",
"Landroidx/lifecycle/Lifecycle$State;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Lkotlinx/coroutines/CoroutineScope;",
"-",
"Lkotlin/coroutines/Continuation<",
"-TT;>;+",
"Ljava/lang/Object;",
">;",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)",
"Ljava/lang/Object;"
}
.end annotation
2020-07-23 01:06:17 +00:00
invoke-static {}, Lk0/a/j0;->a()Lk0/a/f1;
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-07-25 00:57:58 +00:00
invoke-virtual {v0}, Lk0/a/f1;->v()Lk0/a/f1;
2020-07-08 16:44:49 +00:00
move-result-object v0
new-instance v1, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;
const/4 v2, 0x0
invoke-direct {v1, p0, p1, p2, v2}, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;-><init>(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
2020-07-25 02:57:47 +00:00
invoke-static {v0, v1, p3}, Lf/n/a/k/a;->n0(Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
move-result-object p0
return-object p0
.end method