2020-09-02 04:07:20 +00:00
|
|
|
.class public final Ll0/a/q1/a;
|
|
|
|
.super Ll0/a/q1/b;
|
2020-07-08 16:44:49 +00:00
|
|
|
.source "HandlerDispatcher.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2020-09-02 04:07:20 +00:00
|
|
|
.implements Ll0/a/e0;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-09-02 04:07:20 +00:00
|
|
|
.field public volatile _immediate:Ll0/a/q1/a;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
.field public final d:Ll0/a/q1/a;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
.field public final e:Landroid/os/Handler;
|
|
|
|
|
|
|
|
.field public final f:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final g:Z
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Landroid/os/Handler;Ljava/lang/String;Z)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct {p0, v0}, Ll0/a/q1/b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iput-object p1, p0, Ll0/a/q1/a;->e:Landroid/os/Handler;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iput-object p2, p0, Ll0/a/q1/a;->f:Ljava/lang/String;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iput-boolean p3, p0, Ll0/a/q1/a;->g:Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
:cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
iput-object v0, p0, Ll0/a/q1/a;->_immediate:Ll0/a/q1/a;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object p1, p0, Ll0/a/q1/a;->_immediate:Ll0/a/q1/a;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2020-09-02 04:07:20 +00:00
|
|
|
new-instance p1, Ll0/a/q1/a;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object p2, p0, Ll0/a/q1/a;->e:Landroid/os/Handler;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object p3, p0, Ll0/a/q1/a;->f:Ljava/lang/String;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct {p1, p2, p3, v0}, Ll0/a/q1/a;-><init>(Landroid/os/Handler;Ljava/lang/String;Z)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iput-object p1, p0, Ll0/a/q1/a;->_immediate:Ll0/a/q1/a;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-09-02 04:07:20 +00:00
|
|
|
iput-object p1, p0, Ll0/a/q1/a;->d:Ll0/a/q1/a;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-09-02 04:07:20 +00:00
|
|
|
.method public b(JLl0/a/f;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(J",
|
2020-09-02 04:07:20 +00:00
|
|
|
"Ll0/a/f<",
|
2020-07-08 16:44:49 +00:00
|
|
|
"-",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const-string v0, "continuation"
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p3, v0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
new-instance v0, Ll0/a/q1/a$a;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0, p3}, Ll0/a/q1/a$a;-><init>(Ll0/a/q1/a;Ll0/a/f;)V
|
|
|
|
|
|
|
|
iget-object v1, p0, Ll0/a/q1/a;->e:Landroid/os/Handler;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const-wide v2, 0x3fffffffffffffffL # 1.9999999999999998
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p1, p2, v2, v3}, Lk0/r/f;->coerceAtMost(JJ)J
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-wide p1
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0, p1, p2}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
new-instance p1, Ll0/a/q1/a$b;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct {p1, p0, v0}, Ll0/a/q1/a$b;-><init>(Ll0/a/q1/a;Ljava/lang/Runnable;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-interface {p3, p1}, Ll0/a/f;->b(Lkotlin/jvm/functions/Function1;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
2020-09-02 04:07:20 +00:00
|
|
|
.locals 1
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const-string v0, "context"
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p1, v0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const-string p1, "block"
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p2, p1}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object p1, p0, Ll0/a/q1/a;->e:Landroid/os/Handler;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
return-void
|
2020-07-08 16:44:49 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
instance-of v0, p1, Ll0/a/q1/a;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
check-cast p1, Ll0/a/q1/a;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object p1, p1, Ll0/a/q1/a;->e:Landroid/os/Handler;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v0, p0, Ll0/a/q1/a;->e:Landroid/os/Handler;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public hashCode()I
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v0, p0, Ll0/a/q1/a;->e:Landroid/os/Handler;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
|
|
|
.locals 2
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const-string v0, "context"
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p1, v0}, Lk0/o/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-boolean p1, p0, Ll0/a/q1/a;->g:Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v1, p0, Ll0/a/q1/a;->e:Landroid/os/Handler;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p1, v1}, Lk0/o/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
xor-int/2addr p1, v0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
|
|
.locals 3
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v0, p0, Ll0/a/q1/a;->f:Ljava/lang/String;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-boolean v1, p0, Ll0/a/q1/a;->g:Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v1, p0, Ll0/a/q1/a;->f:Ljava/lang/String;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const-string v2, " [immediate]"
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {v0, v1, v2}, Lf/e/b/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v0, p0, Ll0/a/q1/a;->e:Landroid/os/Handler;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroid/os/Handler;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "handler.toString()"
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {v0, v1}, Lk0/o/c/i;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
.method public v()Ll0/a/f1;
|
2020-07-25 00:57:58 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v0, p0, Ll0/a/q1/a;->d:Ll0/a/q1/a;
|
2020-07-25 00:57:58 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|