2020-07-23 01:06:17 +00:00
|
|
|
.class public Lf/g/e/g$b$a;
|
2020-07-08 16:44:49 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "FirstAvailableDataSourceSupplier.java"
|
|
|
|
|
|
|
|
# interfaces
|
2020-07-23 01:06:17 +00:00
|
|
|
.implements Lf/g/e/f;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-07-23 01:06:17 +00:00
|
|
|
value = Lf/g/e/g$b;
|
2020-07-08 16:44:49 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x1
|
|
|
|
name = "a"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Object;",
|
2020-07-23 01:06:17 +00:00
|
|
|
"Lf/g/e/f<",
|
2020-07-08 16:44:49 +00:00
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-07-23 01:06:17 +00:00
|
|
|
.field public final synthetic a:Lf/g/e/g$b;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-07-23 01:06:17 +00:00
|
|
|
.method public constructor <init>(Lf/g/e/g$b;Lf/g/e/g$a;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iput-object p1, p0, Lf/g/e/g$b$a;->a:Lf/g/e/g$b;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public onCancellation(Lcom/facebook/datasource/DataSource;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
|
|
"TT;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onFailure(Lcom/facebook/datasource/DataSource;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
|
|
"TT;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iget-object v0, p0, Lf/g/e/g$b$a;->a:Lf/g/e/g$b;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, p1}, Lf/g/e/g$b;->o(Lf/g/e/g$b;Lcom/facebook/datasource/DataSource;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onNewResult(Lcom/facebook/datasource/DataSource;)V
|
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
|
|
"TT;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->b()Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iget-object v0, p0, Lf/g/e/g$b$a;->a:Lf/g/e/g$b;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->c()Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v3, v0, Lf/g/e/g$b;->i:Lcom/facebook/datasource/DataSource;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
if-ne p1, v3, :cond_3
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v3, v0, Lf/g/e/g$b;->j:Lcom/facebook/datasource/DataSource;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
if-ne p1, v3, :cond_0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_0
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v3, v0, Lf/g/e/g$b;->j:Lcom/facebook/datasource/DataSource;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-object v2, v1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_0
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v2, v0, Lf/g/e/g$b;->j:Lcom/facebook/datasource/DataSource;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object p1, v0, Lf/g/e/g$b;->j:Lcom/facebook/datasource/DataSource;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
:goto_1
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
|
|
|
|
invoke-interface {v2}, Lcom/facebook/datasource/DataSource;->close()Z
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_2
|
|
|
|
:try_start_1
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_3
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v0}, Lf/g/e/g$b;->q()Lcom/facebook/datasource/DataSource;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
if-ne p1, v2, :cond_7
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->c()Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v2
|
|
|
|
|
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->a()Ljava/util/Map;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2, p1}, Lf/g/e/c;->m(Ljava/lang/Object;ZLjava/util/Map;)Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
:try_start_2
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_6
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->c()Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iget-object v0, p0, Lf/g/e/g$b$a;->a:Lf/g/e/g$b;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-static {v0, p1}, Lf/g/e/g$b;->o(Lf/g/e/g$b;Lcom/facebook/datasource/DataSource;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
:cond_7
|
|
|
|
:goto_4
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onProgressUpdate(Lcom/facebook/datasource/DataSource;)V
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
|
|
"TT;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iget-object v0, p0, Lf/g/e/g$b$a;->a:Lf/g/e/g$b;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0}, Lf/g/e/c;->getProgress()F
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iget-object v1, p0, Lf/g/e/g$b$a;->a:Lf/g/e/g$b;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->getProgress()F
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Ljava/lang/Math;->max(FF)F
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v1, p1}, Lf/g/e/c;->l(F)Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|