apkfuckery/com.discord/smali/com/facebook/b/a.smali

954 lines
18 KiB
Smali
Raw Normal View History

2019-02-17 02:24:41 +00:00
.class public abstract Lcom/facebook/b/a;
2019-02-04 20:08:30 +00:00
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "AbstractDataSource.java"
2019-02-04 20:08:30 +00:00
# interfaces
2019-02-17 02:24:41 +00:00
.implements Lcom/facebook/b/c;
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2019-02-17 02:24:41 +00:00
Lcom/facebook/b/a$a;
2019-02-04 20:08:30 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2019-02-17 02:24:41 +00:00
"Lcom/facebook/b/c<",
2019-02-04 20:08:30 +00:00
"TT;>;"
}
.end annotation
# instance fields
2019-03-16 01:04:31 +00:00
.field private Et:Z
2019-02-04 20:08:30 +00:00
.annotation build Ljavax/annotation/concurrent/GuardedBy;
value = "this"
.end annotation
.end field
2019-03-16 01:04:31 +00:00
.field private Fk:I
2019-02-04 20:32:01 +00:00
.annotation build Ljavax/annotation/concurrent/GuardedBy;
value = "this"
.end annotation
.end field
2019-03-16 01:04:31 +00:00
.field private Fl:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.annotation build Ljavax/annotation/concurrent/GuardedBy;
value = "this"
.end annotation
.end field
2019-03-16 01:04:31 +00:00
.field private Fm:Ljava/lang/Throwable;
2019-02-04 20:08:30 +00:00
.annotation build Ljavax/annotation/concurrent/GuardedBy;
value = "this"
.end annotation
.end field
2019-03-16 01:04:31 +00:00
.field private final Fn:Ljava/util/concurrent/ConcurrentLinkedQueue;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/ConcurrentLinkedQueue<",
"Landroid/util/Pair<",
2019-02-17 02:24:41 +00:00
"Lcom/facebook/b/e<",
2019-02-04 20:08:30 +00:00
"TT;>;",
"Ljava/util/concurrent/Executor;",
">;>;"
}
.end annotation
.end field
.field private mProgress:F
.annotation build Ljavax/annotation/concurrent/GuardedBy;
value = "this"
.end annotation
.end field
# direct methods
.method protected constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
2019-03-16 01:04:31 +00:00
iput-object v0, p0, Lcom/facebook/b/a;->Fl:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
iput-object v0, p0, Lcom/facebook/b/a;->Fm:Ljava/lang/Throwable;
2019-02-04 20:08:30 +00:00
const/4 v0, 0x0
2019-02-17 02:24:41 +00:00
iput v0, p0, Lcom/facebook/b/a;->mProgress:F
2019-02-04 20:08:30 +00:00
const/4 v0, 0x0
2019-03-16 01:04:31 +00:00
iput-boolean v0, p0, Lcom/facebook/b/a;->Et:Z
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
sget v0, Lcom/facebook/b/a$a;->Ft:I
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
iput v0, p0, Lcom/facebook/b/a;->Fk:I
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/util/concurrent/ConcurrentLinkedQueue;
invoke-direct {v0}, Ljava/util/concurrent/ConcurrentLinkedQueue;-><init>()V
2019-03-16 01:04:31 +00:00
iput-object v0, p0, Lcom/facebook/b/a;->Fn:Ljava/util/concurrent/ConcurrentLinkedQueue;
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-17 02:24:41 +00:00
.method private a(Lcom/facebook/b/e;Ljava/util/concurrent/Executor;ZZ)V
2019-02-04 20:08:30 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2019-02-17 02:24:41 +00:00
"Lcom/facebook/b/e<",
2019-02-04 20:08:30 +00:00
"TT;>;",
"Ljava/util/concurrent/Executor;",
"ZZ)V"
}
.end annotation
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/facebook/b/a$1;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v0, p0, p3, p1, p4}, Lcom/facebook/b/a$1;-><init>(Lcom/facebook/b/a;ZLcom/facebook/b/e;Z)V
2019-02-04 20:08:30 +00:00
invoke-interface {p2, v0}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
return-void
.end method
.method private b(Ljava/lang/Object;Z)Z
.locals 3
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;Z)Z"
}
.end annotation
const/4 v0, 0x0
:try_start_0
monitor-enter p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_3
:try_start_1
2019-03-16 01:04:31 +00:00
iget-boolean v1, p0, Lcom/facebook/b/a;->Et:Z
2019-02-04 20:08:30 +00:00
if-nez v1, :cond_4
2019-03-16 01:04:31 +00:00
iget v1, p0, Lcom/facebook/b/a;->Fk:I
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
sget v2, Lcom/facebook/b/a$a;->Ft:I
2019-02-04 20:08:30 +00:00
if-eq v1, v2, :cond_0
goto :goto_1
:cond_0
if-eqz p2, :cond_1
2019-03-16 01:04:31 +00:00
sget p2, Lcom/facebook/b/a$a;->Fu:I
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
iput p2, p0, Lcom/facebook/b/a;->Fk:I
2019-02-04 20:08:30 +00:00
const/high16 p2, 0x3f800000 # 1.0f
2019-02-17 02:24:41 +00:00
iput p2, p0, Lcom/facebook/b/a;->mProgress:F
2019-02-04 20:08:30 +00:00
:cond_1
2019-03-16 01:04:31 +00:00
iget-object p2, p0, Lcom/facebook/b/a;->Fl:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
if-eq p2, p1, :cond_2
2019-03-16 01:04:31 +00:00
iget-object p2, p0, Lcom/facebook/b/a;->Fl:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_2
:try_start_2
2019-03-16 01:04:31 +00:00
iput-object p1, p0, Lcom/facebook/b/a;->Fl:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
move-object p1, p2
goto :goto_0
:catchall_0
move-exception p1
move-object v0, p2
goto :goto_2
:cond_2
move-object p1, v0
:goto_0
:try_start_3
monitor-exit p0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
if-eqz p1, :cond_3
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, p1}, Lcom/facebook/b/a;->y(Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
:cond_3
const/4 p1, 0x1
return p1
:cond_4
:goto_1
:try_start_4
monitor-exit p0
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
if-eqz p1, :cond_5
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, p1}, Lcom/facebook/b/a;->y(Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
:cond_5
const/4 p1, 0x0
return p1
:catchall_1
move-exception p2
move-object v0, p1
move-object p1, p2
goto :goto_2
:catchall_2
move-exception p1
:goto_2
:try_start_5
monitor-exit p0
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_2
:try_start_6
throw p1
:try_end_6
.catchall {:try_start_6 .. :try_end_6} :catchall_3
:catchall_3
move-exception p1
if-eqz v0, :cond_6
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, v0}, Lcom/facebook/b/a;->y(Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
:cond_6
throw p1
.end method
.method private declared-synchronized e(Ljava/lang/Throwable;)Z
.locals 2
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget-boolean v0, p0, Lcom/facebook/b/a;->Et:Z
2019-02-04 20:08:30 +00:00
if-nez v0, :cond_1
2019-03-16 01:04:31 +00:00
iget v0, p0, Lcom/facebook/b/a;->Fk:I
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
sget v1, Lcom/facebook/b/a$a;->Ft:I
2019-02-04 20:08:30 +00:00
if-eq v0, v1, :cond_0
2019-02-04 20:29:01 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
:cond_0
2019-03-16 01:04:31 +00:00
sget v0, Lcom/facebook/b/a$a;->Fv:I
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
iput v0, p0, Lcom/facebook/b/a;->Fk:I
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
iput-object p1, p0, Lcom/facebook/b/a;->Fm:Ljava/lang/Throwable;
2019-02-04 20:08:30 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 p1, 0x1
monitor-exit p0
return p1
:cond_1
2019-02-04 20:29:01 +00:00
:goto_0
2019-02-04 20:08:30 +00:00
const/4 p1, 0x0
2019-02-04 20:29:01 +00:00
monitor-exit p0
return p1
2019-02-04 20:08:30 +00:00
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
2019-02-27 21:13:14 +00:00
.method private fC()V
2019-02-04 20:08:30 +00:00
.locals 5
2019-02-27 21:13:14 +00:00
invoke-direct {p0}, Lcom/facebook/b/a;->fz()Z
2019-02-04 20:08:30 +00:00
move-result v0
2019-02-27 21:13:14 +00:00
invoke-direct {p0}, Lcom/facebook/b/a;->fD()Z
2019-02-04 20:08:30 +00:00
move-result v1
2019-03-16 01:04:31 +00:00
iget-object v2, p0, Lcom/facebook/b/a;->Fn:Ljava/util/concurrent/ConcurrentLinkedQueue;
2019-02-04 20:08:30 +00:00
invoke-virtual {v2}, Ljava/util/concurrent/ConcurrentLinkedQueue;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_0
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_0
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroid/util/Pair;
iget-object v4, v3, Landroid/util/Pair;->first:Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
check-cast v4, Lcom/facebook/b/e;
2019-02-04 20:08:30 +00:00
iget-object v3, v3, Landroid/util/Pair;->second:Ljava/lang/Object;
check-cast v3, Ljava/util/concurrent/Executor;
2019-02-17 02:24:41 +00:00
invoke-direct {p0, v4, v3, v0, v1}, Lcom/facebook/b/a;->a(Lcom/facebook/b/e;Ljava/util/concurrent/Executor;ZZ)V
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_0
return-void
.end method
2019-02-27 21:13:14 +00:00
.method private declared-synchronized fD()Z
2019-02-04 20:08:30 +00:00
.locals 1
monitor-enter p0
:try_start_0
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Lcom/facebook/b/a;->isClosed()Z
2019-02-04 20:08:30 +00:00
move-result v0
if-eqz v0, :cond_0
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Lcom/facebook/b/a;->isFinished()Z
2019-02-04 20:08:30 +00:00
move-result v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-nez v0, :cond_0
const/4 v0, 0x1
:goto_0
monitor-exit p0
return v0
:cond_0
const/4 v0, 0x0
goto :goto_0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
2019-02-04 20:29:01 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
2019-02-27 21:13:14 +00:00
.method private declared-synchronized fz()Z
2019-02-04 20:32:01 +00:00
.locals 2
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget v0, p0, Lcom/facebook/b/a;->Fk:I
2019-02-04 20:32:01 +00:00
2019-03-16 01:04:31 +00:00
sget v1, Lcom/facebook/b/a$a;->Fv:I
2019-02-04 20:32:01 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-ne v0, v1, :cond_0
const/4 v0, 0x1
:goto_0
monitor-exit p0
return v0
:cond_0
const/4 v0, 0x0
goto :goto_0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
return-void
.end method
2019-02-04 20:08:30 +00:00
.method private declared-synchronized h(F)Z
.locals 3
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget-boolean v0, p0, Lcom/facebook/b/a;->Et:Z
2019-02-04 20:08:30 +00:00
const/4 v1, 0x0
if-nez v0, :cond_2
2019-03-16 01:04:31 +00:00
iget v0, p0, Lcom/facebook/b/a;->Fk:I
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
sget v2, Lcom/facebook/b/a$a;->Ft:I
2019-02-04 20:08:30 +00:00
if-eq v0, v2, :cond_0
goto :goto_0
:cond_0
2019-02-17 02:24:41 +00:00
iget v0, p0, Lcom/facebook/b/a;->mProgress:F
2019-02-04 20:08:30 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
cmpg-float v0, p1, v0
if-gez v0, :cond_1
monitor-exit p0
return v1
:cond_1
:try_start_1
2019-02-17 02:24:41 +00:00
iput p1, p0, Lcom/facebook/b/a;->mProgress:F
2019-02-04 20:08:30 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
const/4 p1, 0x1
monitor-exit p0
return p1
:cond_2
:goto_0
monitor-exit p0
return v1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
# virtual methods
2019-02-17 02:24:41 +00:00
.method public final a(Lcom/facebook/b/e;Ljava/util/concurrent/Executor;)V
2019-02-04 20:08:30 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2019-02-17 02:24:41 +00:00
"Lcom/facebook/b/e<",
2019-02-04 20:08:30 +00:00
"TT;>;",
"Ljava/util/concurrent/Executor;",
")V"
}
.end annotation
invoke-static {p1}, Lcom/facebook/common/d/i;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
invoke-static {p2}, Lcom/facebook/common/d/i;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget-boolean v0, p0, Lcom/facebook/b/a;->Et:Z
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_0
monitor-exit p0
return-void
:cond_0
2019-03-16 01:04:31 +00:00
iget v0, p0, Lcom/facebook/b/a;->Fk:I
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
sget v1, Lcom/facebook/b/a$a;->Ft:I
2019-02-04 20:08:30 +00:00
if-ne v0, v1, :cond_1
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lcom/facebook/b/a;->Fn:Ljava/util/concurrent/ConcurrentLinkedQueue;
2019-02-04 20:08:30 +00:00
invoke-static {p1, p2}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/util/concurrent/ConcurrentLinkedQueue;->add(Ljava/lang/Object;)Z
:cond_1
2019-02-27 21:13:14 +00:00
invoke-virtual {p0}, Lcom/facebook/b/a;->fy()Z
2019-02-04 20:08:30 +00:00
move-result v0
if-nez v0, :cond_3
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Lcom/facebook/b/a;->isFinished()Z
2019-02-04 20:08:30 +00:00
move-result v0
if-nez v0, :cond_3
2019-02-27 21:13:14 +00:00
invoke-direct {p0}, Lcom/facebook/b/a;->fD()Z
2019-02-04 20:08:30 +00:00
move-result v0
if-eqz v0, :cond_2
goto :goto_0
:cond_2
const/4 v0, 0x0
goto :goto_1
:cond_3
:goto_0
const/4 v0, 0x1
:goto_1
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v0, :cond_4
2019-02-27 21:13:14 +00:00
invoke-direct {p0}, Lcom/facebook/b/a;->fz()Z
2019-02-04 20:08:30 +00:00
move-result v0
2019-02-27 21:13:14 +00:00
invoke-direct {p0}, Lcom/facebook/b/a;->fD()Z
2019-02-04 20:08:30 +00:00
move-result v1
2019-02-17 02:24:41 +00:00
invoke-direct {p0, p1, p2, v0, v1}, Lcom/facebook/b/a;->a(Lcom/facebook/b/e;Ljava/util/concurrent/Executor;ZZ)V
2019-02-04 20:08:30 +00:00
:cond_4
return-void
:catchall_0
move-exception p1
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.end method
.method protected a(Ljava/lang/Object;Z)Z
.locals 0
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;Z)Z"
}
.end annotation
2019-02-17 02:24:41 +00:00
invoke-direct {p0, p1, p2}, Lcom/facebook/b/a;->b(Ljava/lang/Object;Z)Z
2019-02-04 20:08:30 +00:00
move-result p1
if-eqz p1, :cond_0
2019-02-27 21:13:14 +00:00
invoke-direct {p0}, Lcom/facebook/b/a;->fC()V
2019-02-04 20:08:30 +00:00
:cond_0
return p1
.end method
.method public d(Ljava/lang/Throwable;)Z
.locals 0
2019-02-17 02:24:41 +00:00
invoke-direct {p0, p1}, Lcom/facebook/b/a;->e(Ljava/lang/Throwable;)Z
2019-02-04 20:08:30 +00:00
move-result p1
if-eqz p1, :cond_0
2019-02-27 21:13:14 +00:00
invoke-direct {p0}, Lcom/facebook/b/a;->fC()V
2019-02-04 20:08:30 +00:00
:cond_0
return p1
.end method
2019-02-27 21:13:14 +00:00
.method public final declared-synchronized fA()Ljava/lang/Throwable;
.locals 1
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lcom/facebook/b/a;->Fm:Ljava/lang/Throwable;
2019-02-27 21:13:14 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public fB()Z
2019-02-04 20:32:01 +00:00
.locals 3
2019-02-04 20:08:30 +00:00
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget-boolean v0, p0, Lcom/facebook/b/a;->Et:Z
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_0
2019-02-04 20:32:01 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
monitor-exit p0
return v0
:cond_0
2019-02-04 20:32:01 +00:00
const/4 v0, 0x1
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
iput-boolean v0, p0, Lcom/facebook/b/a;->Et:Z
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
iget-object v1, p0, Lcom/facebook/b/a;->Fl:Ljava/lang/Object;
2019-02-04 20:32:01 +00:00
const/4 v2, 0x0
2019-03-16 01:04:31 +00:00
iput-object v2, p0, Lcom/facebook/b/a;->Fl:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
monitor-exit p0
2019-02-04 20:32:01 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
if-eqz v1, :cond_1
2019-02-04 20:29:01 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p0, v1}, Lcom/facebook/b/a;->y(Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
:cond_1
2019-02-17 02:24:41 +00:00
invoke-virtual {p0}, Lcom/facebook/b/a;->isFinished()Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
move-result v1
if-nez v1, :cond_2
2019-02-27 21:13:14 +00:00
invoke-direct {p0}, Lcom/facebook/b/a;->fC()V
2019-02-04 20:32:01 +00:00
:cond_2
2019-02-04 20:08:30 +00:00
monitor-enter p0
2019-02-04 20:32:01 +00:00
:try_start_1
2019-03-16 01:04:31 +00:00
iget-object v1, p0, Lcom/facebook/b/a;->Fn:Ljava/util/concurrent/ConcurrentLinkedQueue;
2019-02-04 20:32:01 +00:00
invoke-virtual {v1}, Ljava/util/concurrent/ConcurrentLinkedQueue;->clear()V
2019-02-04 20:08:30 +00:00
monitor-exit p0
2019-02-04 20:32:01 +00:00
return v0
2019-02-04 20:08:30 +00:00
:catchall_0
move-exception v0
monitor-exit p0
2019-02-04 20:32:01 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v0
:catchall_1
move-exception v0
:try_start_2
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
2019-02-04 20:08:30 +00:00
throw v0
.end method
2019-02-27 21:13:14 +00:00
.method public declared-synchronized fy()Z
2019-02-04 20:32:01 +00:00
.locals 1
2019-02-04 20:08:30 +00:00
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lcom/facebook/b/a;->Fl:Ljava/lang/Object;
2019-02-04 20:32:01 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_0
2019-02-04 20:32:01 +00:00
const/4 v0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
:goto_0
2019-02-04 20:08:30 +00:00
monitor-exit p0
return v0
:cond_0
2019-02-04 20:32:01 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
:catchall_0
move-exception v0
2019-02-04 20:08:30 +00:00
monitor-exit p0
2019-02-04 20:32:01 +00:00
throw v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
.method public g(F)Z
.locals 4
2019-02-17 02:24:41 +00:00
invoke-direct {p0, p1}, Lcom/facebook/b/a;->h(F)Z
2019-02-04 20:08:30 +00:00
move-result p1
if-eqz p1, :cond_0
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lcom/facebook/b/a;->Fn:Ljava/util/concurrent/ConcurrentLinkedQueue;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/ConcurrentLinkedQueue;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/util/Pair;
iget-object v2, v1, Landroid/util/Pair;->first:Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
check-cast v2, Lcom/facebook/b/e;
2019-02-04 20:08:30 +00:00
iget-object v1, v1, Landroid/util/Pair;->second:Ljava/lang/Object;
check-cast v1, Ljava/util/concurrent/Executor;
2019-02-17 02:24:41 +00:00
new-instance v3, Lcom/facebook/b/a$2;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {v3, p0, v2}, Lcom/facebook/b/a$2;-><init>(Lcom/facebook/b/a;Lcom/facebook/b/e;)V
2019-02-04 20:08:30 +00:00
invoke-interface {v1, v3}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
goto :goto_0
:cond_0
return p1
.end method
.method public final declared-synchronized getProgress()F
.locals 1
monitor-enter p0
:try_start_0
2019-02-17 02:24:41 +00:00
iget v0, p0, Lcom/facebook/b/a;->mProgress:F
2019-02-04 20:08:30 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized getResult()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lcom/facebook/b/a;->Fl:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized isClosed()Z
.locals 1
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget-boolean v0, p0, Lcom/facebook/b/a;->Et:Z
2019-02-04 20:08:30 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized isFinished()Z
.locals 2
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget v0, p0, Lcom/facebook/b/a;->Fk:I
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
sget v1, Lcom/facebook/b/a$a;->Ft:I
2019-02-04 20:08:30 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eq v0, v1, :cond_0
const/4 v0, 0x1
:goto_0
monitor-exit p0
return v0
:cond_0
const/4 v0, 0x0
goto :goto_0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
2019-02-04 20:29:01 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method
.method protected y(Ljava/lang/Object;)V
.locals 0
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
return-void
.end method