911 lines
18 KiB
Smali
911 lines
18 KiB
Smali
.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
|
|
.field private static bA:La/h;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"La/h<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final bo:Ljava/util/concurrent/ExecutorService;
|
|
|
|
.field private static final bp:Ljava/util/concurrent/Executor;
|
|
|
|
.field public static final bq:Ljava/util/concurrent/Executor;
|
|
|
|
.field private static volatile br:La/h$a;
|
|
|
|
.field private static bx:La/h;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"La/h<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static by:La/h;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"La/h<",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static bz:La/h;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"La/h<",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field private bs:Z
|
|
|
|
.field private bt:Ljava/lang/Exception;
|
|
|
|
.field private bu:Z
|
|
|
|
.field private bv:La/j;
|
|
|
|
.field private bw:Ljava/util/List;
|
|
.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
|
|
|
|
invoke-static {}, La/b;->q()Ljava/util/concurrent/ExecutorService;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, La/h;->bo:Ljava/util/concurrent/ExecutorService;
|
|
|
|
invoke-static {}, La/b;->r()Ljava/util/concurrent/Executor;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, La/h;->bp:Ljava/util/concurrent/Executor;
|
|
|
|
invoke-static {}, La/a;->p()Ljava/util/concurrent/Executor;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, La/h;->bq:Ljava/util/concurrent/Executor;
|
|
|
|
new-instance v0, La/h;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, La/h;-><init>(Ljava/lang/Object;)V
|
|
|
|
sput-object v0, La/h;->bx:La/h;
|
|
|
|
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
|
|
|
|
sput-object v0, La/h;->by:La/h;
|
|
|
|
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
|
|
|
|
sput-object v0, La/h;->bz:La/h;
|
|
|
|
new-instance v0, La/h;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, La/h;-><init>(B)V
|
|
|
|
sput-object v0, La/h;->bA:La/h;
|
|
|
|
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
|
|
|
|
iput-object v0, p0, La/h;->bw:Ljava/util/List;
|
|
|
|
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
|
|
|
|
iput-object p1, p0, La/h;->bw:Ljava/util/List;
|
|
|
|
invoke-virtual {p0}, La/h;->z()Z
|
|
|
|
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
|
|
|
|
iput-object v0, p0, La/h;->bw:Ljava/util/List;
|
|
|
|
invoke-virtual {p0, p1}, La/h;->j(Ljava/lang/Object;)Z
|
|
|
|
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
|
|
invoke-direct {p0}, La/h;->isCompleted()Z
|
|
|
|
move-result v8
|
|
|
|
if-nez v8, :cond_0
|
|
|
|
iget-object v9, p0, La/h;->bw:Ljava/util/List;
|
|
|
|
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
|
|
iget-object p1, v6, La/i;->bH:La/h;
|
|
|
|
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
|
|
|
|
iget-object p0, v0, La/i;->bH:La/h;
|
|
|
|
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
|
|
iget-object p0, v0, La/i;->bH:La/h;
|
|
|
|
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
|
|
|
|
.method public static i(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
|
|
|
|
sget-object p0, La/h;->bx:La/h;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance v0, La/i;
|
|
|
|
invoke-direct {v0}, La/i;-><init>()V
|
|
|
|
invoke-virtual {v0, p0}, La/i;->k(Ljava/lang/Object;)V
|
|
|
|
iget-object p0, v0, La/i;->bH:La/h;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private isCompleted()Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-boolean v1, p0, La/h;->bs:Z
|
|
|
|
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
|
|
|
|
.method public static v()La/h$a;
|
|
.locals 1
|
|
|
|
sget-object v0, La/h;->br:La/h$a;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private y()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, La/h;->bw:Ljava/util/List;
|
|
|
|
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
|
|
|
|
iput-object v1, p0, La/h;->bw:Ljava/util/List;
|
|
|
|
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
|
|
|
|
goto :goto_2
|
|
|
|
:goto_1
|
|
throw v1
|
|
|
|
:goto_2
|
|
goto :goto_1
|
|
.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
|
|
|
|
sget-object v0, La/h;->bp:Ljava/util/concurrent/Executor;
|
|
|
|
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
|
|
iget-boolean v1, p0, La/h;->bs:Z
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
monitor-exit v0
|
|
|
|
return v2
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, p0, La/h;->bs:Z
|
|
|
|
iput-object p1, p0, La/h;->bt:Ljava/lang/Exception;
|
|
|
|
iput-boolean v2, p0, La/h;->bu:Z
|
|
|
|
iget-object p1, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
invoke-direct {p0}, La/h;->y()V
|
|
|
|
iget-boolean p1, p0, La/h;->bu:Z
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
sget-object p1, La/h;->br:La/h$a;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
new-instance p1, La/j;
|
|
|
|
invoke-direct {p1, p0}, La/j;-><init>(La/h;)V
|
|
|
|
iput-object p1, p0, La/h;->bv:La/j;
|
|
|
|
: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
|
|
|
|
.method public final getResult()Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TTResult;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, La/h;->result:Ljava/lang/Object;
|
|
|
|
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
|
|
|
|
.method public final isCancelled()Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-boolean v1, p0, La/h;->cancelled:Z
|
|
|
|
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
|
|
|
|
.method final j(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TTResult;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-boolean v1, p0, La/h;->bs:Z
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
monitor-exit v0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, p0, La/h;->bs:Z
|
|
|
|
iput-object p1, p0, La/h;->result:Ljava/lang/Object;
|
|
|
|
iget-object p1, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
invoke-direct {p0}, La/h;->y()V
|
|
|
|
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
|
|
|
|
.method public final w()Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, La/h;->x()Ljava/lang/Exception;
|
|
|
|
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
|
|
|
|
.method public final x()Ljava/lang/Exception;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, La/h;->bt:Ljava/lang/Exception;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, p0, La/h;->bu:Z
|
|
|
|
iget-object v1, p0, La/h;->bv:La/j;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v1, p0, La/h;->bv:La/j;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
iput-object v2, v1, La/j;->bH:La/h;
|
|
|
|
iput-object v2, p0, La/h;->bv:La/j;
|
|
|
|
:cond_0
|
|
iget-object v1, p0, La/h;->bt:Ljava/lang/Exception;
|
|
|
|
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
|
|
|
|
.method final z()Z
|
|
.locals 3
|
|
|
|
iget-object v0, p0, La/h;->lock:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-boolean v1, p0, La/h;->bs:Z
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
monitor-exit v0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, p0, La/h;->bs:Z
|
|
|
|
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
|
|
|
|
invoke-direct {p0}, La/h;->y()V
|
|
|
|
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
|