209 lines
5.3 KiB
Smali
209 lines
5.3 KiB
Smali
.class public final Lcom/facebook/common/b/f;
|
|
.super Ljava/lang/Object;
|
|
.source "ScheduledFutureImpl.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/concurrent/RunnableFuture;
|
|
.implements Ljava/util/concurrent/ScheduledFuture;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<V:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Ljava/util/concurrent/RunnableFuture<",
|
|
"TV;>;",
|
|
"Ljava/util/concurrent/ScheduledFuture<",
|
|
"TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final Dl:Ljava/util/concurrent/FutureTask;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/FutureTask<",
|
|
"TV;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final mHandler:Landroid/os/Handler;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/os/Handler;Ljava/lang/Runnable;Ljava/lang/Object;)V
|
|
.locals 0
|
|
.param p3 # Ljava/lang/Object;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/os/Handler;",
|
|
"Ljava/lang/Runnable;",
|
|
"TV;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/facebook/common/b/f;->mHandler:Landroid/os/Handler;
|
|
|
|
new-instance p1, Ljava/util/concurrent/FutureTask;
|
|
|
|
invoke-direct {p1, p2, p3}, Ljava/util/concurrent/FutureTask;-><init>(Ljava/lang/Runnable;Ljava/lang/Object;)V
|
|
|
|
iput-object p1, p0, Lcom/facebook/common/b/f;->Dl:Ljava/util/concurrent/FutureTask;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/os/Handler;Ljava/util/concurrent/Callable;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/os/Handler;",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"TV;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/facebook/common/b/f;->mHandler:Landroid/os/Handler;
|
|
|
|
new-instance p1, Ljava/util/concurrent/FutureTask;
|
|
|
|
invoke-direct {p1, p2}, Ljava/util/concurrent/FutureTask;-><init>(Ljava/util/concurrent/Callable;)V
|
|
|
|
iput-object p1, p0, Lcom/facebook/common/b/f;->Dl:Ljava/util/concurrent/FutureTask;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final cancel(Z)Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/common/b/f;->Dl:Ljava/util/concurrent/FutureTask;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/concurrent/FutureTask;->cancel(Z)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final synthetic compareTo(Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final get()Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TV;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/InterruptedException;,
|
|
Ljava/util/concurrent/ExecutionException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/facebook/common/b/f;->Dl:Ljava/util/concurrent/FutureTask;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/FutureTask;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final get(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(J",
|
|
"Ljava/util/concurrent/TimeUnit;",
|
|
")TV;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/InterruptedException;,
|
|
Ljava/util/concurrent/ExecutionException;,
|
|
Ljava/util/concurrent/TimeoutException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/facebook/common/b/f;->Dl:Ljava/util/concurrent/FutureTask;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Ljava/util/concurrent/FutureTask;->get(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final getDelay(Ljava/util/concurrent/TimeUnit;)J
|
|
.locals 0
|
|
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final isCancelled()Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/common/b/f;->Dl:Ljava/util/concurrent/FutureTask;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/FutureTask;->isCancelled()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isDone()Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/common/b/f;->Dl:Ljava/util/concurrent/FutureTask;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/FutureTask;->isDone()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final run()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/common/b/f;->Dl:Ljava/util/concurrent/FutureTask;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/FutureTask;->run()V
|
|
|
|
return-void
|
|
.end method
|