101 lines
2.5 KiB
Smali
101 lines
2.5 KiB
Smali
.class public final Lcom/facebook/b/d;
|
|
.super Ljava/lang/Object;
|
|
.source "DataSources.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/facebook/b/d$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static f(Lcom/facebook/b/c;)Ljava/lang/Object;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lcom/facebook/b/c<",
|
|
"TT;>;)TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Throwable;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
|
|
new-instance v0, Ljava/util/concurrent/CountDownLatch;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/concurrent/CountDownLatch;-><init>(I)V
|
|
|
|
new-instance v1, Lcom/facebook/b/d$a;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v1, v2}, Lcom/facebook/b/d$a;-><init>(B)V
|
|
|
|
new-instance v3, Lcom/facebook/b/d$a;
|
|
|
|
invoke-direct {v3, v2}, Lcom/facebook/b/d$a;-><init>(B)V
|
|
|
|
new-instance v2, Lcom/facebook/b/d$2;
|
|
|
|
invoke-direct {v2, v1, v0, v3}, Lcom/facebook/b/d$2;-><init>(Lcom/facebook/b/d$a;Ljava/util/concurrent/CountDownLatch;Lcom/facebook/b/d$a;)V
|
|
|
|
new-instance v4, Lcom/facebook/b/d$3;
|
|
|
|
invoke-direct {v4}, Lcom/facebook/b/d$3;-><init>()V
|
|
|
|
invoke-interface {p0, v2, v4}, Lcom/facebook/b/c;->a(Lcom/facebook/b/e;Ljava/util/concurrent/Executor;)V
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/CountDownLatch;->await()V
|
|
|
|
iget-object p0, v3, Lcom/facebook/b/d$a;->value:Ljava/lang/Object;
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
iget-object p0, v1, Lcom/facebook/b/d$a;->value:Ljava/lang/Object;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
iget-object p0, v3, Lcom/facebook/b/d$a;->value:Ljava/lang/Object;
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static g(Ljava/lang/Throwable;)Lcom/facebook/b/c;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/Throwable;",
|
|
")",
|
|
"Lcom/facebook/b/c<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Lcom/facebook/b/h;
|
|
|
|
invoke-direct {v0}, Lcom/facebook/b/h;-><init>()V
|
|
|
|
invoke-virtual {v0, p0}, Lcom/facebook/b/h;->e(Ljava/lang/Throwable;)Z
|
|
|
|
return-object v0
|
|
.end method
|