2019-07-24 11:27:29 +00:00
|
|
|
.class public final La/h;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Task.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
La/h$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<TResult:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final C:Ljava/util/concurrent/ExecutorService;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field private static final D:Ljava/util/concurrent/Executor;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final E:Ljava/util/concurrent/Executor;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field private static volatile F:La/h$a;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field private static L:La/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"La/h<",
|
2019-10-07 23:23:22 +00:00
|
|
|
"*>;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field private static M:La/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"La/h<",
|
2019-07-31 00:08:31 +00:00
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
">;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field private static N:La/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"La/h<",
|
2019-10-07 23:23:22 +00:00
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
">;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field private static O:La/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"La/h<",
|
2019-07-31 00:08:31 +00:00
|
|
|
"*>;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-09 23:16:36 +00:00
|
|
|
.field private G:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field private H:Ljava/lang/Exception;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field private I:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field private J:La/j;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field private K:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"La/f<",
|
|
|
|
"TTResult;",
|
|
|
|
"Ljava/lang/Void;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private cancelled:Z
|
|
|
|
|
|
|
|
.field private final lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
.field private result:Ljava/lang/Object;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"TTResult;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {}, La/b;->d()Ljava/util/concurrent/ExecutorService;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, La/h;->C:Ljava/util/concurrent/ExecutorService;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {}, La/b;->e()Ljava/util/concurrent/Executor;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, La/h;->D:Ljava/util/concurrent/Executor;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {}, La/a;->b()Ljava/util/concurrent/Executor;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, La/h;->E:Ljava/util/concurrent/Executor;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, La/h;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, La/h;-><init>(Ljava/lang/Object;)V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, La/h;->L:La/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, La/h;
|
|
|
|
|
|
|
|
sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, La/h;-><init>(Ljava/lang/Object;)V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, La/h;->M:La/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, La/h;
|
|
|
|
|
|
|
|
sget-object v1, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, La/h;-><init>(Ljava/lang/Object;)V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, La/h;->N:La/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, La/h;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, La/h;-><init>(B)V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, La/h;->O:La/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-object v0, p0, La/h;->K:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private constructor <init>(B)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
new-instance p1, Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-object p1, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-object p1, p0, La/h;->K:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, La/h;->r()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private constructor <init>(Ljava/lang/Object;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(TTResult;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-object v0, p0, La/h;->K:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-virtual {p0, p1}, La/h;->b(Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private a(La/f;Ljava/util/concurrent/Executor;)La/h;
|
|
|
|
.locals 11
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<TContinuationResult:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"La/f<",
|
|
|
|
"TTResult;TTContinuationResult;>;",
|
|
|
|
"Ljava/util/concurrent/Executor;",
|
|
|
|
")",
|
|
|
|
"La/h<",
|
|
|
|
"TTContinuationResult;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
new-instance v6, La/i;
|
|
|
|
|
|
|
|
invoke-direct {v6}, La/i;-><init>()V
|
|
|
|
|
|
|
|
iget-object v7, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
monitor-enter v7
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {p0}, La/h;->k()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v9, p0, La/h;->K:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v10, La/h$1;
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
move-object v0, v10
|
|
|
|
|
|
|
|
move-object v1, p0
|
|
|
|
|
|
|
|
move-object v2, v6
|
|
|
|
|
|
|
|
move-object v3, p1
|
|
|
|
|
|
|
|
move-object v4, p2
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v5}, La/h$1;-><init>(La/h;La/i;La/f;Ljava/util/concurrent/Executor;La/c;)V
|
|
|
|
|
|
|
|
invoke-interface {v9, v10}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
monitor-exit v7
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
if-eqz v8, :cond_1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-static {v6, p1, p0, p2, v0}, La/h;->a(La/i;La/f;La/h;Ljava/util/concurrent/Executor;La/c;)V
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object p1, v6, La/i;->W:La/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
monitor-exit v7
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static a(Ljava/lang/Exception;)La/h;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<TResult:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Exception;",
|
|
|
|
")",
|
|
|
|
"La/h<",
|
|
|
|
"TTResult;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
new-instance v0, La/i;
|
|
|
|
|
|
|
|
invoke-direct {v0}, La/i;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, La/i;->c(Ljava/lang/Exception;)V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object p0, v0, La/i;->W:La/h;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static a(Ljava/lang/Object;)La/h;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<TResult:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(TTResult;)",
|
|
|
|
"La/h<",
|
|
|
|
"TTResult;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sget-object p0, La/h;->L:La/h;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, La/i;
|
|
|
|
|
|
|
|
invoke-direct {v0}, La/i;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, La/i;->c(Ljava/lang/Object;)V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object p0, v0, La/i;->W:La/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static a(Ljava/util/concurrent/Callable;Ljava/util/concurrent/Executor;)La/h;
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<TResult:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/concurrent/Callable<",
|
|
|
|
"TTResult;>;",
|
|
|
|
"Ljava/util/concurrent/Executor;",
|
|
|
|
")",
|
|
|
|
"La/h<",
|
|
|
|
"TTResult;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, La/h;->b(Ljava/util/concurrent/Callable;Ljava/util/concurrent/Executor;)La/h;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static a(La/i;La/f;La/h;Ljava/util/concurrent/Executor;La/c;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<TContinuationResult:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"TResult:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"La/i<",
|
|
|
|
"TTContinuationResult;>;",
|
|
|
|
"La/f<",
|
|
|
|
"TTResult;TTContinuationResult;>;",
|
|
|
|
"La/h<",
|
|
|
|
"TTResult;>;",
|
|
|
|
"Ljava/util/concurrent/Executor;",
|
|
|
|
"La/c;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
new-instance v0, La/h$2;
|
|
|
|
|
|
|
|
invoke-direct {v0, p4, p0, p1, p2}, La/h$2;-><init>(La/c;La/i;La/f;La/h;)V
|
|
|
|
|
|
|
|
invoke-interface {p3, v0}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
new-instance p2, La/g;
|
|
|
|
|
|
|
|
invoke-direct {p2, p1}, La/g;-><init>(Ljava/lang/Exception;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0, p2}, La/i;->c(Ljava/lang/Exception;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static b(Ljava/util/concurrent/Callable;Ljava/util/concurrent/Executor;)La/h;
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<TResult:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/concurrent/Callable<",
|
|
|
|
"TTResult;>;",
|
|
|
|
"Ljava/util/concurrent/Executor;",
|
|
|
|
")",
|
|
|
|
"La/h<",
|
|
|
|
"TTResult;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
new-instance v0, La/i;
|
|
|
|
|
|
|
|
invoke-direct {v0}, La/i;-><init>()V
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
new-instance v1, La/h$3;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v1, v2, v0, p0}, La/h$3;-><init>(La/c;La/i;Ljava/util/concurrent/Callable;)V
|
|
|
|
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p0
|
|
|
|
|
|
|
|
new-instance p1, La/g;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, La/g;-><init>(Ljava/lang/Exception;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, La/i;->c(Ljava/lang/Exception;)V
|
|
|
|
|
|
|
|
:goto_0
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object p0, v0, La/i;->W:La/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static synthetic b(La/i;La/f;La/h;Ljava/util/concurrent/Executor;La/c;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-static {p0, p1, p2, p3, p4}, La/h;->a(La/i;La/f;La/h;Ljava/util/concurrent/Executor;La/c;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static j()La/h$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sget-object v0, La/h;->F:La/h$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
return-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method private k()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-boolean v1, p0, La/h;->G:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method private q()V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v1, p0, La/h;->K:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, La/f;
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
invoke-interface {v2, p0}, La/f;->a(La/h;)Ljava/lang/Object;
|
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/lang/RuntimeException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
:try_start_2
|
|
|
|
new-instance v2, Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
invoke-direct {v2, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
throw v2
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-object v1, p0, La/h;->K:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final a(La/f;)La/h;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<TContinuationResult:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"La/f<",
|
|
|
|
"TTResult;TTContinuationResult;>;)",
|
|
|
|
"La/h<",
|
|
|
|
"TTContinuationResult;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sget-object v0, La/h;->D:Ljava/util/concurrent/Executor;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, p1, v0}, La/h;->a(La/f;Ljava/util/concurrent/Executor;)La/h;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final b(Ljava/lang/Exception;)Z
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-boolean v1, p0, La/h;->G:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-boolean v1, p0, La/h;->G:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-object p1, p0, La/h;->H:Ljava/lang/Exception;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-boolean v2, p0, La/h;->I:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {p0}, La/h;->q()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-boolean p1, p0, La/h;->I:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sget-object p1, La/h;->F:La/h$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
new-instance p1, La/j;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, La/j;-><init>(La/h;)V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-object p1, p0, La/h;->J:La/j;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
.method final b(Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-07 23:23:22 +00:00
|
|
|
"(TTResult;)Z"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-boolean v1, p0, La/h;->G:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
if-eqz v1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
const/4 p1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
return p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-boolean v1, p0, La/h;->G:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iput-object p1, p0, La/h;->result:Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget-object p1, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {p0}, La/h;->q()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:catchall_0
|
2019-10-07 23:23:22 +00:00
|
|
|
move-exception p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
throw p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final isCancelled()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-boolean v1, p0, La/h;->cancelled:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:catchall_0
|
2019-10-07 23:23:22 +00:00
|
|
|
move-exception v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
throw v1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final n()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, La/h;->p()Ljava/lang/Exception;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final o()Ljava/lang/Object;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()TTResult;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v1, p0, La/h;->result:Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return-object v1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final p()Ljava/lang/Exception;
|
|
|
|
.locals 3
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-object v1, p0, La/h;->H:Ljava/lang/Exception;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
iput-boolean v1, p0, La/h;->I:Z
|
|
|
|
|
|
|
|
iget-object v1, p0, La/h;->J:La/j;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
iget-object v1, p0, La/h;->J:La/j;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
iput-object v2, v1, La/j;->W:La/h;
|
|
|
|
|
|
|
|
iput-object v2, p0, La/h;->J:La/j;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object v1, p0, La/h;->H:Ljava/lang/Exception;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object v1
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method final r()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-boolean v1, p0, La/h;->G:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iput-boolean v1, p0, La/h;->G:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput-boolean v1, p0, La/h;->cancelled:Z
|
|
|
|
|
|
|
|
iget-object v2, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {p0}, La/h;->q()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|