3086 lines
60 KiB
Smali
3086 lines
60 KiB
Smali
.class public final Lf/k/a/b/g1/s;
|
|
.super Ljava/lang/Object;
|
|
.source "ProgressiveMediaPeriod.java"
|
|
|
|
# interfaces
|
|
.implements Lf/k/a/b/g1/o;
|
|
.implements Lf/k/a/b/d1/i;
|
|
.implements Lf/k/a/b/k1/y$b;
|
|
.implements Lf/k/a/b/k1/y$f;
|
|
.implements Lf/k/a/b/g1/v$b;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lf/k/a/b/g1/s$f;,
|
|
Lf/k/a/b/g1/s$d;,
|
|
Lf/k/a/b/g1/s$b;,
|
|
Lf/k/a/b/g1/s$a;,
|
|
Lf/k/a/b/g1/s$e;,
|
|
Lf/k/a/b/g1/s$c;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lf/k/a/b/g1/o;",
|
|
"Lf/k/a/b/d1/i;",
|
|
"Lf/k/a/b/k1/y$b<",
|
|
"Lf/k/a/b/g1/s$a;",
|
|
">;",
|
|
"Lf/k/a/b/k1/y$f;",
|
|
"Lf/k/a/b/g1/v$b;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final P:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final Q:Lcom/google/android/exoplayer2/Format;
|
|
|
|
|
|
# instance fields
|
|
.field public A:Z
|
|
|
|
.field public B:I
|
|
|
|
.field public C:Z
|
|
|
|
.field public D:Z
|
|
|
|
.field public E:Z
|
|
|
|
.field public F:I
|
|
|
|
.field public G:J
|
|
|
|
.field public H:J
|
|
|
|
.field public I:Z
|
|
|
|
.field public J:J
|
|
|
|
.field public K:J
|
|
|
|
.field public L:Z
|
|
|
|
.field public M:I
|
|
|
|
.field public N:Z
|
|
|
|
.field public O:Z
|
|
|
|
.field public final d:Landroid/net/Uri;
|
|
|
|
.field public final e:Lf/k/a/b/k1/l;
|
|
|
|
.field public final f:Lf/k/a/b/c1/n;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lf/k/a/b/c1/n<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final g:Lf/k/a/b/k1/x;
|
|
|
|
.field public final h:Lf/k/a/b/g1/q$a;
|
|
|
|
.field public final i:Lf/k/a/b/g1/s$c;
|
|
|
|
.field public final j:Lf/k/a/b/k1/d;
|
|
|
|
.field public final k:Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final l:J
|
|
|
|
.field public final m:Lf/k/a/b/k1/y;
|
|
|
|
.field public final n:Lf/k/a/b/g1/s$b;
|
|
|
|
.field public final o:Lf/k/a/b/l1/j;
|
|
|
|
.field public final p:Ljava/lang/Runnable;
|
|
|
|
.field public final q:Ljava/lang/Runnable;
|
|
|
|
.field public final r:Landroid/os/Handler;
|
|
|
|
.field public s:Lf/k/a/b/g1/o$a;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public t:Lf/k/a/b/d1/q;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public u:Lcom/google/android/exoplayer2/metadata/icy/IcyHeaders;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public v:[Lf/k/a/b/g1/v;
|
|
|
|
.field public w:[Lf/k/a/b/g1/s$f;
|
|
|
|
.field public x:Z
|
|
|
|
.field public y:Z
|
|
|
|
.field public z:Lf/k/a/b/g1/s$d;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
const-string v1, "Icy-MetaData"
|
|
|
|
const-string v2, "1"
|
|
|
|
invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lf/k/a/b/g1/s;->P:Ljava/util/Map;
|
|
|
|
const-wide v0, 0x7fffffffffffffffL
|
|
|
|
const-string v2, "icy"
|
|
|
|
const-string v3, "application/x-icy"
|
|
|
|
invoke-static {v2, v3, v0, v1}, Lcom/google/android/exoplayer2/Format;->a(Ljava/lang/String;Ljava/lang/String;J)Lcom/google/android/exoplayer2/Format;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lf/k/a/b/g1/s;->Q:Lcom/google/android/exoplayer2/Format;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/net/Uri;Lf/k/a/b/k1/l;[Lf/k/a/b/d1/h;Lf/k/a/b/c1/n;Lf/k/a/b/k1/x;Lf/k/a/b/g1/q$a;Lf/k/a/b/g1/s$c;Lf/k/a/b/k1/d;Ljava/lang/String;I)V
|
|
.locals 0
|
|
.param p9 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/net/Uri;",
|
|
"Lf/k/a/b/k1/l;",
|
|
"[",
|
|
"Lf/k/a/b/d1/h;",
|
|
"Lf/k/a/b/c1/n<",
|
|
"*>;",
|
|
"Lf/k/a/b/k1/x;",
|
|
"Lf/k/a/b/g1/q$a;",
|
|
"Lf/k/a/b/g1/s$c;",
|
|
"Lf/k/a/b/k1/d;",
|
|
"Ljava/lang/String;",
|
|
"I)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lf/k/a/b/g1/s;->d:Landroid/net/Uri;
|
|
|
|
iput-object p2, p0, Lf/k/a/b/g1/s;->e:Lf/k/a/b/k1/l;
|
|
|
|
iput-object p4, p0, Lf/k/a/b/g1/s;->f:Lf/k/a/b/c1/n;
|
|
|
|
iput-object p5, p0, Lf/k/a/b/g1/s;->g:Lf/k/a/b/k1/x;
|
|
|
|
iput-object p6, p0, Lf/k/a/b/g1/s;->h:Lf/k/a/b/g1/q$a;
|
|
|
|
iput-object p7, p0, Lf/k/a/b/g1/s;->i:Lf/k/a/b/g1/s$c;
|
|
|
|
iput-object p8, p0, Lf/k/a/b/g1/s;->j:Lf/k/a/b/k1/d;
|
|
|
|
iput-object p9, p0, Lf/k/a/b/g1/s;->k:Ljava/lang/String;
|
|
|
|
int-to-long p1, p10
|
|
|
|
iput-wide p1, p0, Lf/k/a/b/g1/s;->l:J
|
|
|
|
new-instance p1, Lf/k/a/b/k1/y;
|
|
|
|
const-string p2, "Loader:ProgressiveMediaPeriod"
|
|
|
|
invoke-direct {p1, p2}, Lf/k/a/b/k1/y;-><init>(Ljava/lang/String;)V
|
|
|
|
iput-object p1, p0, Lf/k/a/b/g1/s;->m:Lf/k/a/b/k1/y;
|
|
|
|
new-instance p1, Lf/k/a/b/g1/s$b;
|
|
|
|
invoke-direct {p1, p3}, Lf/k/a/b/g1/s$b;-><init>([Lf/k/a/b/d1/h;)V
|
|
|
|
iput-object p1, p0, Lf/k/a/b/g1/s;->n:Lf/k/a/b/g1/s$b;
|
|
|
|
new-instance p1, Lf/k/a/b/l1/j;
|
|
|
|
invoke-direct {p1}, Lf/k/a/b/l1/j;-><init>()V
|
|
|
|
iput-object p1, p0, Lf/k/a/b/g1/s;->o:Lf/k/a/b/l1/j;
|
|
|
|
new-instance p1, Lf/k/a/b/g1/a;
|
|
|
|
invoke-direct {p1, p0}, Lf/k/a/b/g1/a;-><init>(Lf/k/a/b/g1/s;)V
|
|
|
|
iput-object p1, p0, Lf/k/a/b/g1/s;->p:Ljava/lang/Runnable;
|
|
|
|
new-instance p1, Lf/k/a/b/g1/j;
|
|
|
|
invoke-direct {p1, p0}, Lf/k/a/b/g1/j;-><init>(Lf/k/a/b/g1/s;)V
|
|
|
|
iput-object p1, p0, Lf/k/a/b/g1/s;->q:Ljava/lang/Runnable;
|
|
|
|
new-instance p1, Landroid/os/Handler;
|
|
|
|
invoke-direct {p1}, Landroid/os/Handler;-><init>()V
|
|
|
|
iput-object p1, p0, Lf/k/a/b/g1/s;->r:Landroid/os/Handler;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
new-array p2, p1, [Lf/k/a/b/g1/s$f;
|
|
|
|
iput-object p2, p0, Lf/k/a/b/g1/s;->w:[Lf/k/a/b/g1/s$f;
|
|
|
|
new-array p1, p1, [Lf/k/a/b/g1/v;
|
|
|
|
iput-object p1, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
const-wide p1, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
iput-wide p1, p0, Lf/k/a/b/g1/s;->K:J
|
|
|
|
const-wide/16 p3, -0x1
|
|
|
|
iput-wide p3, p0, Lf/k/a/b/g1/s;->H:J
|
|
|
|
iput-wide p1, p0, Lf/k/a/b/g1/s;->G:J
|
|
|
|
const/4 p1, 0x1
|
|
|
|
iput p1, p0, Lf/k/a/b/g1/s;->B:I
|
|
|
|
iget-object p1, p6, Lf/k/a/b/g1/q$a;->b:Lf/k/a/b/g1/p$a;
|
|
|
|
invoke-static {p1}, Lf/k/a/b/l1/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object p2, p6, Lf/k/a/b/g1/q$a;->c:Ljava/util/concurrent/CopyOnWriteArrayList;
|
|
|
|
invoke-virtual {p2}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p2
|
|
|
|
:goto_0
|
|
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object p3
|
|
|
|
check-cast p3, Lf/k/a/b/g1/q$a$a;
|
|
|
|
iget-object p4, p3, Lf/k/a/b/g1/q$a$a;->b:Lf/k/a/b/g1/q;
|
|
|
|
iget-object p3, p3, Lf/k/a/b/g1/q$a$a;->a:Landroid/os/Handler;
|
|
|
|
new-instance p5, Lf/k/a/b/g1/f;
|
|
|
|
invoke-direct {p5, p6, p4, p1}, Lf/k/a/b/g1/f;-><init>(Lf/k/a/b/g1/q$a;Lf/k/a/b/g1/q;Lf/k/a/b/g1/p$a;)V
|
|
|
|
invoke-virtual {p6, p3, p5}, Lf/k/a/b/g1/q$a;->a(Landroid/os/Handler;Ljava/lang/Runnable;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(Lf/k/a/b/g1/s;)J
|
|
.locals 2
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->i()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(J)J
|
|
.locals 5
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->j()Lf/k/a/b/g1/s$d;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, v0, Lf/k/a/b/g1/s$d;->a:Lf/k/a/b/d1/q;
|
|
|
|
iget-object v0, v0, Lf/k/a/b/g1/s$d;->c:[Z
|
|
|
|
invoke-interface {v1}, Lf/k/a/b/d1/q;->b()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide/16 p1, 0x0
|
|
|
|
:goto_0
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, p0, Lf/k/a/b/g1/s;->D:Z
|
|
|
|
iput-wide p1, p0, Lf/k/a/b/g1/s;->J:J
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->l()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
iput-wide p1, p0, Lf/k/a/b/g1/s;->K:J
|
|
|
|
return-wide p1
|
|
|
|
:cond_1
|
|
iget v2, p0, Lf/k/a/b/g1/s;->B:I
|
|
|
|
const/4 v3, 0x7
|
|
|
|
if-eq v2, v3, :cond_5
|
|
|
|
iget-object v2, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v2, v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_1
|
|
if-ge v3, v2, :cond_4
|
|
|
|
iget-object v4, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
aget-object v4, v4, v3
|
|
|
|
invoke-virtual {v4, p1, p2, v1}, Lf/k/a/b/g1/v;->a(JZ)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
aget-boolean v4, v0, v3
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
iget-boolean v4, p0, Lf/k/a/b/g1/s;->A:Z
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
const/4 v0, 0x1
|
|
|
|
:goto_2
|
|
if-eqz v0, :cond_5
|
|
|
|
return-wide p1
|
|
|
|
:cond_5
|
|
iput-boolean v1, p0, Lf/k/a/b/g1/s;->L:Z
|
|
|
|
iput-wide p1, p0, Lf/k/a/b/g1/s;->K:J
|
|
|
|
iput-boolean v1, p0, Lf/k/a/b/g1/s;->N:Z
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->m:Lf/k/a/b/k1/y;
|
|
|
|
invoke-virtual {v0}, Lf/k/a/b/k1/y;->a()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->m:Lf/k/a/b/k1/y;
|
|
|
|
iget-object v0, v0, Lf/k/a/b/k1/y;->b:Lf/k/a/b/k1/y$d;
|
|
|
|
invoke-static {v0}, Lf/k/a/b/l1/e;->d(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {v0, v1}, Lf/k/a/b/k1/y$d;->a(Z)V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_6
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->m:Lf/k/a/b/k1/y;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
iput-object v2, v0, Lf/k/a/b/k1/y;->c:Ljava/io/IOException;
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v2, v0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_3
|
|
if-ge v3, v2, :cond_7
|
|
|
|
aget-object v4, v0, v3
|
|
|
|
invoke-virtual {v4, v1}, Lf/k/a/b/g1/v;->b(Z)V
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
:goto_4
|
|
return-wide p1
|
|
.end method
|
|
|
|
.method public a(JLf/k/a/b/u0;)J
|
|
.locals 19
|
|
|
|
move-wide/from16 v0, p1
|
|
|
|
move-object/from16 v2, p3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lf/k/a/b/g1/s;->j()Lf/k/a/b/g1/s$d;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v3, v3, Lf/k/a/b/g1/s$d;->a:Lf/k/a/b/d1/q;
|
|
|
|
invoke-interface {v3}, Lf/k/a/b/d1/q;->b()Z
|
|
|
|
move-result v4
|
|
|
|
const-wide/16 v5, 0x0
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
return-wide v5
|
|
|
|
:cond_0
|
|
invoke-interface {v3, v0, v1}, Lf/k/a/b/d1/q;->b(J)Lf/k/a/b/d1/q$a;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v4, v3, Lf/k/a/b/d1/q$a;->a:Lf/k/a/b/d1/r;
|
|
|
|
iget-wide v7, v4, Lf/k/a/b/d1/r;->a:J
|
|
|
|
iget-object v3, v3, Lf/k/a/b/d1/q$a;->b:Lf/k/a/b/d1/r;
|
|
|
|
iget-wide v3, v3, Lf/k/a/b/d1/r;->a:J
|
|
|
|
sget-object v9, Lf/k/a/b/u0;->c:Lf/k/a/b/u0;
|
|
|
|
invoke-virtual {v9, v2}, Lf/k/a/b/u0;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v9
|
|
|
|
if-eqz v9, :cond_1
|
|
|
|
move-wide v3, v0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
iget-wide v9, v2, Lf/k/a/b/u0;->a:J
|
|
|
|
const-wide/high16 v11, -0x8000000000000000L
|
|
|
|
sub-long v13, v0, v9
|
|
|
|
xor-long/2addr v9, v0
|
|
|
|
xor-long v15, v0, v13
|
|
|
|
and-long/2addr v9, v15
|
|
|
|
cmp-long v15, v9, v5
|
|
|
|
if-gez v15, :cond_2
|
|
|
|
move-wide v13, v11
|
|
|
|
:cond_2
|
|
iget-wide v9, v2, Lf/k/a/b/u0;->b:J
|
|
|
|
const-wide v11, 0x7fffffffffffffffL
|
|
|
|
add-long v15, v0, v9
|
|
|
|
xor-long v17, v0, v15
|
|
|
|
xor-long/2addr v9, v15
|
|
|
|
and-long v9, v9, v17
|
|
|
|
cmp-long v2, v9, v5
|
|
|
|
if-gez v2, :cond_3
|
|
|
|
move-wide v15, v11
|
|
|
|
:cond_3
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v5, 0x1
|
|
|
|
cmp-long v6, v13, v7
|
|
|
|
if-gtz v6, :cond_4
|
|
|
|
cmp-long v6, v7, v15
|
|
|
|
if-gtz v6, :cond_4
|
|
|
|
const/4 v6, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
const/4 v6, 0x0
|
|
|
|
:goto_0
|
|
cmp-long v9, v13, v3
|
|
|
|
if-gtz v9, :cond_5
|
|
|
|
cmp-long v9, v3, v15
|
|
|
|
if-gtz v9, :cond_5
|
|
|
|
const/4 v2, 0x1
|
|
|
|
:cond_5
|
|
if-eqz v6, :cond_6
|
|
|
|
if-eqz v2, :cond_6
|
|
|
|
sub-long v5, v7, v0
|
|
|
|
invoke-static {v5, v6}, Ljava/lang/Math;->abs(J)J
|
|
|
|
move-result-wide v5
|
|
|
|
sub-long v0, v3, v0
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->abs(J)J
|
|
|
|
move-result-wide v0
|
|
|
|
cmp-long v2, v5, v0
|
|
|
|
if-gtz v2, :cond_9
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
if-eqz v6, :cond_7
|
|
|
|
:goto_1
|
|
move-wide v3, v7
|
|
|
|
goto :goto_2
|
|
|
|
:cond_7
|
|
if-eqz v2, :cond_8
|
|
|
|
goto :goto_2
|
|
|
|
:cond_8
|
|
move-wide v3, v13
|
|
|
|
:cond_9
|
|
:goto_2
|
|
return-wide v3
|
|
.end method
|
|
|
|
.method public a([Lf/k/a/b/i1/f;[Z[Lf/k/a/b/g1/w;[ZJ)J
|
|
.locals 8
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->j()Lf/k/a/b/g1/s$d;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, v0, Lf/k/a/b/g1/s$d;->b:Lcom/google/android/exoplayer2/source/TrackGroupArray;
|
|
|
|
iget-object v0, v0, Lf/k/a/b/g1/s$d;->d:[Z
|
|
|
|
iget v2, p0, Lf/k/a/b/g1/s;->F:I
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_0
|
|
array-length v5, p1
|
|
|
|
const/4 v6, 0x1
|
|
|
|
if-ge v4, v5, :cond_2
|
|
|
|
aget-object v5, p3, v4
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
aget-object v5, p1, v4
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
aget-boolean v5, p2, v4
|
|
|
|
if-nez v5, :cond_1
|
|
|
|
:cond_0
|
|
aget-object v5, p3, v4
|
|
|
|
check-cast v5, Lf/k/a/b/g1/s$e;
|
|
|
|
iget v5, v5, Lf/k/a/b/g1/s$e;->a:I
|
|
|
|
aget-boolean v7, v0, v5
|
|
|
|
invoke-static {v7}, Lf/k/a/b/l1/e;->d(Z)V
|
|
|
|
iget v7, p0, Lf/k/a/b/g1/s;->F:I
|
|
|
|
sub-int/2addr v7, v6
|
|
|
|
iput v7, p0, Lf/k/a/b/g1/s;->F:I
|
|
|
|
aput-boolean v3, v0, v5
|
|
|
|
const/4 v5, 0x0
|
|
|
|
aput-object v5, p3, v4
|
|
|
|
:cond_1
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
iget-boolean p2, p0, Lf/k/a/b/g1/s;->C:Z
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
if-nez v2, :cond_4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const-wide/16 v4, 0x0
|
|
|
|
cmp-long p2, p5, v4
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
:goto_1
|
|
const/4 p2, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
const/4 p2, 0x0
|
|
|
|
:goto_2
|
|
move v2, p2
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:goto_3
|
|
array-length v4, p1
|
|
|
|
if-ge p2, v4, :cond_9
|
|
|
|
aget-object v4, p3, p2
|
|
|
|
if-nez v4, :cond_8
|
|
|
|
aget-object v4, p1, p2
|
|
|
|
if-eqz v4, :cond_8
|
|
|
|
aget-object v4, p1, p2
|
|
|
|
check-cast v4, Lf/k/a/b/i1/b;
|
|
|
|
iget-object v5, v4, Lf/k/a/b/i1/b;->c:[I
|
|
|
|
array-length v5, v5
|
|
|
|
if-ne v5, v6, :cond_5
|
|
|
|
const/4 v5, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
const/4 v5, 0x0
|
|
|
|
:goto_4
|
|
invoke-static {v5}, Lf/k/a/b/l1/e;->d(Z)V
|
|
|
|
iget-object v5, v4, Lf/k/a/b/i1/b;->c:[I
|
|
|
|
aget v5, v5, v3
|
|
|
|
if-nez v5, :cond_6
|
|
|
|
const/4 v5, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_6
|
|
const/4 v5, 0x0
|
|
|
|
:goto_5
|
|
invoke-static {v5}, Lf/k/a/b/l1/e;->d(Z)V
|
|
|
|
iget-object v4, v4, Lf/k/a/b/i1/b;->a:Lcom/google/android/exoplayer2/source/TrackGroup;
|
|
|
|
invoke-virtual {v1, v4}, Lcom/google/android/exoplayer2/source/TrackGroupArray;->a(Lcom/google/android/exoplayer2/source/TrackGroup;)I
|
|
|
|
move-result v4
|
|
|
|
aget-boolean v5, v0, v4
|
|
|
|
xor-int/2addr v5, v6
|
|
|
|
invoke-static {v5}, Lf/k/a/b/l1/e;->d(Z)V
|
|
|
|
iget v5, p0, Lf/k/a/b/g1/s;->F:I
|
|
|
|
add-int/2addr v5, v6
|
|
|
|
iput v5, p0, Lf/k/a/b/g1/s;->F:I
|
|
|
|
aput-boolean v6, v0, v4
|
|
|
|
new-instance v5, Lf/k/a/b/g1/s$e;
|
|
|
|
invoke-direct {v5, p0, v4}, Lf/k/a/b/g1/s$e;-><init>(Lf/k/a/b/g1/s;I)V
|
|
|
|
aput-object v5, p3, p2
|
|
|
|
aput-boolean v6, p4, p2
|
|
|
|
if-nez v2, :cond_8
|
|
|
|
iget-object v2, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
aget-object v2, v2, v4
|
|
|
|
invoke-virtual {v2, p5, p6, v6}, Lf/k/a/b/g1/v;->a(JZ)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_7
|
|
|
|
iget v4, v2, Lf/k/a/b/g1/v;->p:I
|
|
|
|
iget v2, v2, Lf/k/a/b/g1/v;->r:I
|
|
|
|
add-int/2addr v4, v2
|
|
|
|
if-eqz v4, :cond_7
|
|
|
|
const/4 v2, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_7
|
|
const/4 v2, 0x0
|
|
|
|
:cond_8
|
|
:goto_6
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_9
|
|
iget p1, p0, Lf/k/a/b/g1/s;->F:I
|
|
|
|
if-nez p1, :cond_c
|
|
|
|
iput-boolean v3, p0, Lf/k/a/b/g1/s;->L:Z
|
|
|
|
iput-boolean v3, p0, Lf/k/a/b/g1/s;->D:Z
|
|
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->m:Lf/k/a/b/k1/y;
|
|
|
|
invoke-virtual {p1}, Lf/k/a/b/k1/y;->a()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_b
|
|
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length p2, p1
|
|
|
|
const/4 p3, 0x0
|
|
|
|
:goto_7
|
|
if-ge p3, p2, :cond_a
|
|
|
|
aget-object p4, p1, p3
|
|
|
|
iget-object v0, p4, Lf/k/a/b/g1/v;->a:Lf/k/a/b/g1/u;
|
|
|
|
invoke-virtual {p4}, Lf/k/a/b/g1/v;->b()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-virtual {v0, v1, v2}, Lf/k/a/b/g1/u;->a(J)V
|
|
|
|
add-int/lit8 p3, p3, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_a
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->m:Lf/k/a/b/k1/y;
|
|
|
|
iget-object p1, p1, Lf/k/a/b/k1/y;->b:Lf/k/a/b/k1/y$d;
|
|
|
|
invoke-static {p1}, Lf/k/a/b/l1/e;->d(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {p1, v3}, Lf/k/a/b/k1/y$d;->a(Z)V
|
|
|
|
goto :goto_a
|
|
|
|
:cond_b
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length p2, p1
|
|
|
|
const/4 p3, 0x0
|
|
|
|
:goto_8
|
|
if-ge p3, p2, :cond_e
|
|
|
|
aget-object p4, p1, p3
|
|
|
|
invoke-virtual {p4, v3}, Lf/k/a/b/g1/v;->b(Z)V
|
|
|
|
add-int/lit8 p3, p3, 0x1
|
|
|
|
goto :goto_8
|
|
|
|
:cond_c
|
|
if-eqz v2, :cond_e
|
|
|
|
invoke-virtual {p0, p5, p6}, Lf/k/a/b/g1/s;->a(J)J
|
|
|
|
move-result-wide p5
|
|
|
|
:goto_9
|
|
array-length p1, p3
|
|
|
|
if-ge v3, p1, :cond_e
|
|
|
|
aget-object p1, p3, v3
|
|
|
|
if-eqz p1, :cond_d
|
|
|
|
aput-boolean v6, p4, v3
|
|
|
|
:cond_d
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:cond_e
|
|
:goto_a
|
|
iput-boolean v6, p0, Lf/k/a/b/g1/s;->C:Z
|
|
|
|
return-wide p5
|
|
.end method
|
|
|
|
.method public a(II)Lf/k/a/b/d1/s;
|
|
.locals 1
|
|
|
|
new-instance p2, Lf/k/a/b/g1/s$f;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-direct {p2, p1, v0}, Lf/k/a/b/g1/s$f;-><init>(IZ)V
|
|
|
|
invoke-virtual {p0, p2}, Lf/k/a/b/g1/s;->a(Lf/k/a/b/g1/s$f;)Lf/k/a/b/d1/s;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final a(Lf/k/a/b/g1/s$f;)Lf/k/a/b/d1/s;
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v0, v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
iget-object v2, p0, Lf/k/a/b/g1/s;->w:[Lf/k/a/b/g1/s$f;
|
|
|
|
aget-object v2, v2, v1
|
|
|
|
invoke-virtual {p1, v2}, Lf/k/a/b/g1/s$f;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
aget-object p1, p1, v1
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
new-instance v1, Lf/k/a/b/g1/v;
|
|
|
|
iget-object v2, p0, Lf/k/a/b/g1/s;->j:Lf/k/a/b/k1/d;
|
|
|
|
iget-object v3, p0, Lf/k/a/b/g1/s;->f:Lf/k/a/b/c1/n;
|
|
|
|
invoke-direct {v1, v2, v3}, Lf/k/a/b/g1/v;-><init>(Lf/k/a/b/k1/d;Lf/k/a/b/c1/n;)V
|
|
|
|
iput-object p0, v1, Lf/k/a/b/g1/v;->d:Lf/k/a/b/g1/v$b;
|
|
|
|
iget-object v2, p0, Lf/k/a/b/g1/s;->w:[Lf/k/a/b/g1/s$f;
|
|
|
|
add-int/lit8 v3, v0, 0x1
|
|
|
|
invoke-static {v2, v3}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, [Lf/k/a/b/g1/s$f;
|
|
|
|
aput-object p1, v2, v0
|
|
|
|
invoke-static {v2}, Lf/k/a/b/l1/f0;->a([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
check-cast v2, [Lf/k/a/b/g1/s$f;
|
|
|
|
iput-object v2, p0, Lf/k/a/b/g1/s;->w:[Lf/k/a/b/g1/s$f;
|
|
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
invoke-static {p1, v3}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [Lf/k/a/b/g1/v;
|
|
|
|
aput-object v1, p1, v0
|
|
|
|
invoke-static {p1}, Lf/k/a/b/l1/f0;->a([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
check-cast p1, [Lf/k/a/b/g1/v;
|
|
|
|
iput-object p1, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public a(Lf/k/a/b/k1/y$e;JJLjava/io/IOException;I)Lf/k/a/b/k1/y$c;
|
|
.locals 24
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
check-cast v1, Lf/k/a/b/g1/s$a;
|
|
|
|
iget-wide v2, v0, Lf/k/a/b/g1/s;->H:J
|
|
|
|
const-wide/16 v4, -0x1
|
|
|
|
cmp-long v6, v2, v4
|
|
|
|
if-nez v6, :cond_0
|
|
|
|
iget-wide v2, v1, Lf/k/a/b/g1/s$a;->k:J
|
|
|
|
iput-wide v2, v0, Lf/k/a/b/g1/s;->H:J
|
|
|
|
:cond_0
|
|
iget-object v2, v0, Lf/k/a/b/g1/s;->g:Lf/k/a/b/k1/x;
|
|
|
|
iget v7, v0, Lf/k/a/b/g1/s;->B:I
|
|
|
|
move-object v6, v2
|
|
|
|
check-cast v6, Lf/k/a/b/k1/u;
|
|
|
|
move-wide/from16 v8, p4
|
|
|
|
move-object/from16 v10, p6
|
|
|
|
move/from16 v11, p7
|
|
|
|
invoke-virtual/range {v6 .. v11}, Lf/k/a/b/k1/u;->a(IJLjava/io/IOException;I)J
|
|
|
|
move-result-wide v2
|
|
|
|
const-wide v6, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
const/4 v8, 0x1
|
|
|
|
const/4 v9, 0x0
|
|
|
|
cmp-long v10, v2, v6
|
|
|
|
if-nez v10, :cond_1
|
|
|
|
sget-object v2, Lf/k/a/b/k1/y;->e:Lf/k/a/b/k1/y$c;
|
|
|
|
goto :goto_5
|
|
|
|
:cond_1
|
|
invoke-virtual/range {p0 .. p0}, Lf/k/a/b/g1/s;->h()I
|
|
|
|
move-result v10
|
|
|
|
iget v11, v0, Lf/k/a/b/g1/s;->M:I
|
|
|
|
if-le v10, v11, :cond_2
|
|
|
|
const/4 v11, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 v11, 0x0
|
|
|
|
:goto_0
|
|
iget-wide v12, v0, Lf/k/a/b/g1/s;->H:J
|
|
|
|
cmp-long v14, v12, v4
|
|
|
|
if-nez v14, :cond_6
|
|
|
|
iget-object v4, v0, Lf/k/a/b/g1/s;->t:Lf/k/a/b/d1/q;
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
invoke-interface {v4}, Lf/k/a/b/d1/q;->c()J
|
|
|
|
move-result-wide v4
|
|
|
|
cmp-long v12, v4, v6
|
|
|
|
if-eqz v12, :cond_3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
iget-boolean v4, v0, Lf/k/a/b/g1/s;->y:Z
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lf/k/a/b/g1/s;->q()Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_4
|
|
|
|
iput-boolean v8, v0, Lf/k/a/b/g1/s;->L:Z
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
iget-boolean v4, v0, Lf/k/a/b/g1/s;->y:Z
|
|
|
|
iput-boolean v4, v0, Lf/k/a/b/g1/s;->D:Z
|
|
|
|
const-wide/16 v4, 0x0
|
|
|
|
iput-wide v4, v0, Lf/k/a/b/g1/s;->J:J
|
|
|
|
iput v9, v0, Lf/k/a/b/g1/s;->M:I
|
|
|
|
iget-object v6, v0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v7, v6
|
|
|
|
const/4 v10, 0x0
|
|
|
|
:goto_1
|
|
if-ge v10, v7, :cond_5
|
|
|
|
aget-object v12, v6, v10
|
|
|
|
invoke-virtual {v12, v9}, Lf/k/a/b/g1/v;->b(Z)V
|
|
|
|
add-int/lit8 v10, v10, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
invoke-static {v1, v4, v5, v4, v5}, Lf/k/a/b/g1/s$a;->a(Lf/k/a/b/g1/s$a;JJ)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
:goto_2
|
|
iput v10, v0, Lf/k/a/b/g1/s;->M:I
|
|
|
|
:goto_3
|
|
const/4 v4, 0x1
|
|
|
|
:goto_4
|
|
if-eqz v4, :cond_7
|
|
|
|
invoke-static {v11, v2, v3}, Lf/k/a/b/k1/y;->a(ZJ)Lf/k/a/b/k1/y$c;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_5
|
|
|
|
:cond_7
|
|
sget-object v2, Lf/k/a/b/k1/y;->d:Lf/k/a/b/k1/y$c;
|
|
|
|
:goto_5
|
|
iget-object v3, v0, Lf/k/a/b/g1/s;->h:Lf/k/a/b/g1/q$a;
|
|
|
|
iget-object v11, v1, Lf/k/a/b/g1/s$a;->j:Lf/k/a/b/k1/n;
|
|
|
|
iget-object v4, v1, Lf/k/a/b/g1/s$a;->b:Lf/k/a/b/k1/a0;
|
|
|
|
iget-object v12, v4, Lf/k/a/b/k1/a0;->c:Landroid/net/Uri;
|
|
|
|
iget-object v13, v4, Lf/k/a/b/k1/a0;->d:Ljava/util/Map;
|
|
|
|
iget-wide v14, v1, Lf/k/a/b/g1/s$a;->i:J
|
|
|
|
iget-wide v6, v0, Lf/k/a/b/g1/s;->G:J
|
|
|
|
move-wide/from16 v20, v6
|
|
|
|
iget-wide v5, v4, Lf/k/a/b/k1/a0;->b:J
|
|
|
|
iget v1, v2, Lf/k/a/b/k1/y$c;->a:I
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
if-ne v1, v8, :cond_9
|
|
|
|
:cond_8
|
|
const/4 v9, 0x1
|
|
|
|
:cond_9
|
|
xor-int/lit8 v1, v9, 0x1
|
|
|
|
new-instance v4, Lf/k/a/b/g1/q$b;
|
|
|
|
move-object v10, v4
|
|
|
|
move-wide v7, v14
|
|
|
|
move-wide/from16 v14, p2
|
|
|
|
move-wide/from16 v16, p4
|
|
|
|
move-wide/from16 v18, v5
|
|
|
|
invoke-direct/range {v10 .. v19}, Lf/k/a/b/g1/q$b;-><init>(Lf/k/a/b/k1/n;Landroid/net/Uri;Ljava/util/Map;JJJ)V
|
|
|
|
new-instance v5, Lf/k/a/b/g1/q$c;
|
|
|
|
invoke-virtual {v3, v7, v8}, Lf/k/a/b/g1/q$a;->a(J)J
|
|
|
|
move-result-wide v6
|
|
|
|
move-wide/from16 v8, v20
|
|
|
|
invoke-virtual {v3, v8, v9}, Lf/k/a/b/g1/q$a;->a(J)J
|
|
|
|
move-result-wide v22
|
|
|
|
const/4 v15, 0x1
|
|
|
|
const/16 v16, -0x1
|
|
|
|
const/16 v17, 0x0
|
|
|
|
move-object v14, v5
|
|
|
|
const/4 v8, 0x0
|
|
|
|
move/from16 v18, v8
|
|
|
|
const/4 v8, 0x0
|
|
|
|
move-object/from16 v19, v8
|
|
|
|
move-wide/from16 v20, v6
|
|
|
|
invoke-direct/range {v14 .. v23}, Lf/k/a/b/g1/q$c;-><init>(IILcom/google/android/exoplayer2/Format;ILjava/lang/Object;JJ)V
|
|
|
|
iget-object v6, v3, Lf/k/a/b/g1/q$a;->c:Ljava/util/concurrent/CopyOnWriteArrayList;
|
|
|
|
invoke-virtual {v6}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v6
|
|
|
|
:goto_6
|
|
invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_a
|
|
|
|
invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Lf/k/a/b/g1/q$a$a;
|
|
|
|
iget-object v12, v7, Lf/k/a/b/g1/q$a$a;->b:Lf/k/a/b/g1/q;
|
|
|
|
iget-object v7, v7, Lf/k/a/b/g1/q$a$a;->a:Landroid/os/Handler;
|
|
|
|
new-instance v8, Lf/k/a/b/g1/b;
|
|
|
|
move-object v10, v8
|
|
|
|
move-object v11, v3
|
|
|
|
move-object v13, v4
|
|
|
|
move-object v14, v5
|
|
|
|
move-object/from16 v15, p6
|
|
|
|
move/from16 v16, v1
|
|
|
|
invoke-direct/range {v10 .. v16}, Lf/k/a/b/g1/b;-><init>(Lf/k/a/b/g1/q$a;Lf/k/a/b/g1/q;Lf/k/a/b/g1/q$b;Lf/k/a/b/g1/q$c;Ljava/io/IOException;Z)V
|
|
|
|
invoke-virtual {v3, v7, v8}, Lf/k/a/b/g1/q$a;->a(Landroid/os/Handler;Ljava/lang/Runnable;)V
|
|
|
|
goto :goto_6
|
|
|
|
:cond_a
|
|
return-object v2
|
|
.end method
|
|
|
|
.method public final a(I)V
|
|
.locals 14
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->j()Lf/k/a/b/g1/s$d;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, v0, Lf/k/a/b/g1/s$d;->e:[Z
|
|
|
|
aget-boolean v2, v1, p1
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
iget-object v0, v0, Lf/k/a/b/g1/s$d;->b:Lcom/google/android/exoplayer2/source/TrackGroupArray;
|
|
|
|
iget-object v0, v0, Lcom/google/android/exoplayer2/source/TrackGroupArray;->e:[Lcom/google/android/exoplayer2/source/TrackGroup;
|
|
|
|
aget-object v0, v0, p1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
iget-object v0, v0, Lcom/google/android/exoplayer2/source/TrackGroup;->e:[Lcom/google/android/exoplayer2/Format;
|
|
|
|
aget-object v6, v0, v2
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->h:Lf/k/a/b/g1/q$a;
|
|
|
|
iget-object v2, v6, Lcom/google/android/exoplayer2/Format;->l:Ljava/lang/String;
|
|
|
|
invoke-static {v2}, Lf/k/a/b/l1/r;->e(Ljava/lang/String;)I
|
|
|
|
move-result v5
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
iget-wide v2, p0, Lf/k/a/b/g1/s;->J:J
|
|
|
|
new-instance v13, Lf/k/a/b/g1/q$c;
|
|
|
|
invoke-virtual {v0, v2, v3}, Lf/k/a/b/g1/q$a;->a(J)J
|
|
|
|
move-result-wide v9
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const-wide v11, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
move-object v3, v13
|
|
|
|
invoke-direct/range {v3 .. v12}, Lf/k/a/b/g1/q$c;-><init>(IILcom/google/android/exoplayer2/Format;ILjava/lang/Object;JJ)V
|
|
|
|
iget-object v2, v0, Lf/k/a/b/g1/q$a;->c:Ljava/util/concurrent/CopyOnWriteArrayList;
|
|
|
|
invoke-virtual {v2}, Ljava/util/concurrent/CopyOnWriteArrayList;->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, Lf/k/a/b/g1/q$a$a;
|
|
|
|
iget-object v4, v3, Lf/k/a/b/g1/q$a$a;->b:Lf/k/a/b/g1/q;
|
|
|
|
iget-object v3, v3, Lf/k/a/b/g1/q$a$a;->a:Landroid/os/Handler;
|
|
|
|
new-instance v5, Lf/k/a/b/g1/d;
|
|
|
|
invoke-direct {v5, v0, v4, v13}, Lf/k/a/b/g1/d;-><init>(Lf/k/a/b/g1/q$a;Lf/k/a/b/g1/q;Lf/k/a/b/g1/q$c;)V
|
|
|
|
invoke-virtual {v0, v3, v5}, Lf/k/a/b/g1/q$a;->a(Landroid/os/Handler;Ljava/lang/Runnable;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
aput-boolean v0, v1, p1
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(JZ)V
|
|
.locals 6
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->l()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->j()Lf/k/a/b/g1/s$d;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v0, v0, Lf/k/a/b/g1/s$d;->d:[Z
|
|
|
|
iget-object v1, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v1, v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_1
|
|
|
|
iget-object v3, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
aget-object v3, v3, v2
|
|
|
|
aget-boolean v4, v0, v2
|
|
|
|
iget-object v5, v3, Lf/k/a/b/g1/v;->a:Lf/k/a/b/g1/u;
|
|
|
|
invoke-virtual {v3, p1, p2, p3, v4}, Lf/k/a/b/g1/v;->a(JZZ)J
|
|
|
|
move-result-wide v3
|
|
|
|
invoke-virtual {v5, v3, v4}, Lf/k/a/b/g1/u;->a(J)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lf/k/a/b/d1/q;)V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->u:Lcom/google/android/exoplayer2/metadata/icy/IcyHeaders;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance p1, Lf/k/a/b/d1/q$b;
|
|
|
|
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
invoke-direct {p1, v0, v1, v2, v3}, Lf/k/a/b/d1/q$b;-><init>(JJ)V
|
|
|
|
:goto_0
|
|
iput-object p1, p0, Lf/k/a/b/g1/s;->t:Lf/k/a/b/d1/q;
|
|
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->r:Landroid/os/Handler;
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->p:Ljava/lang/Runnable;
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lf/k/a/b/g1/o$a;J)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lf/k/a/b/g1/s;->s:Lf/k/a/b/g1/o$a;
|
|
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->o:Lf/k/a/b/l1/j;
|
|
|
|
invoke-virtual {p1}, Lf/k/a/b/l1/j;->d()Z
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->p()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lf/k/a/b/k1/y$e;JJ)V
|
|
.locals 19
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
check-cast v1, Lf/k/a/b/g1/s$a;
|
|
|
|
iget-wide v2, v0, Lf/k/a/b/g1/s;->G:J
|
|
|
|
const-wide v4, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
cmp-long v6, v2, v4
|
|
|
|
if-nez v6, :cond_1
|
|
|
|
iget-object v2, v0, Lf/k/a/b/g1/s;->t:Lf/k/a/b/d1/q;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-interface {v2}, Lf/k/a/b/d1/q;->b()Z
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lf/k/a/b/g1/s;->i()J
|
|
|
|
move-result-wide v3
|
|
|
|
const-wide/high16 v5, -0x8000000000000000L
|
|
|
|
cmp-long v7, v3, v5
|
|
|
|
if-nez v7, :cond_0
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide/16 v5, 0x2710
|
|
|
|
add-long/2addr v3, v5
|
|
|
|
:goto_0
|
|
iput-wide v3, v0, Lf/k/a/b/g1/s;->G:J
|
|
|
|
iget-object v3, v0, Lf/k/a/b/g1/s;->i:Lf/k/a/b/g1/s$c;
|
|
|
|
iget-wide v4, v0, Lf/k/a/b/g1/s;->G:J
|
|
|
|
iget-boolean v6, v0, Lf/k/a/b/g1/s;->I:Z
|
|
|
|
check-cast v3, Lf/k/a/b/g1/t;
|
|
|
|
invoke-virtual {v3, v4, v5, v2, v6}, Lf/k/a/b/g1/t;->b(JZZ)V
|
|
|
|
:cond_1
|
|
iget-object v2, v0, Lf/k/a/b/g1/s;->h:Lf/k/a/b/g1/q$a;
|
|
|
|
iget-object v4, v1, Lf/k/a/b/g1/s$a;->j:Lf/k/a/b/k1/n;
|
|
|
|
iget-object v3, v1, Lf/k/a/b/g1/s$a;->b:Lf/k/a/b/k1/a0;
|
|
|
|
iget-object v5, v3, Lf/k/a/b/k1/a0;->c:Landroid/net/Uri;
|
|
|
|
iget-object v6, v3, Lf/k/a/b/k1/a0;->d:Ljava/util/Map;
|
|
|
|
iget-wide v11, v1, Lf/k/a/b/g1/s$a;->i:J
|
|
|
|
iget-wide v9, v0, Lf/k/a/b/g1/s;->G:J
|
|
|
|
iget-wide v7, v3, Lf/k/a/b/k1/a0;->b:J
|
|
|
|
new-instance v15, Lf/k/a/b/g1/q$b;
|
|
|
|
move-object v3, v15
|
|
|
|
move-wide/from16 v16, v7
|
|
|
|
move-wide/from16 v7, p2
|
|
|
|
move-object/from16 v18, v15
|
|
|
|
move-wide v14, v9
|
|
|
|
move-wide/from16 v9, p4
|
|
|
|
move-wide/from16 p2, v14
|
|
|
|
move-wide v13, v11
|
|
|
|
move-wide/from16 v11, v16
|
|
|
|
invoke-direct/range {v3 .. v12}, Lf/k/a/b/g1/q$b;-><init>(Lf/k/a/b/k1/n;Landroid/net/Uri;Ljava/util/Map;JJJ)V
|
|
|
|
new-instance v3, Lf/k/a/b/g1/q$c;
|
|
|
|
invoke-virtual {v2, v13, v14}, Lf/k/a/b/g1/q$a;->a(J)J
|
|
|
|
move-result-wide v13
|
|
|
|
move-wide/from16 v4, p2
|
|
|
|
invoke-virtual {v2, v4, v5}, Lf/k/a/b/g1/q$a;->a(J)J
|
|
|
|
move-result-wide v15
|
|
|
|
const/4 v8, 0x1
|
|
|
|
const/4 v9, -0x1
|
|
|
|
const/4 v10, 0x0
|
|
|
|
move-object v7, v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
move v11, v4
|
|
|
|
const/4 v4, 0x0
|
|
|
|
move-object v12, v4
|
|
|
|
move-object/from16 v4, v18
|
|
|
|
invoke-direct/range {v7 .. v16}, Lf/k/a/b/g1/q$c;-><init>(IILcom/google/android/exoplayer2/Format;ILjava/lang/Object;JJ)V
|
|
|
|
iget-object v5, v2, Lf/k/a/b/g1/q$a;->c:Ljava/util/concurrent/CopyOnWriteArrayList;
|
|
|
|
invoke-virtual {v5}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v5
|
|
|
|
:goto_1
|
|
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_2
|
|
|
|
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
check-cast v6, Lf/k/a/b/g1/q$a$a;
|
|
|
|
iget-object v7, v6, Lf/k/a/b/g1/q$a$a;->b:Lf/k/a/b/g1/q;
|
|
|
|
iget-object v6, v6, Lf/k/a/b/g1/q$a$a;->a:Landroid/os/Handler;
|
|
|
|
new-instance v8, Lf/k/a/b/g1/e;
|
|
|
|
invoke-direct {v8, v2, v7, v4, v3}, Lf/k/a/b/g1/e;-><init>(Lf/k/a/b/g1/q$a;Lf/k/a/b/g1/q;Lf/k/a/b/g1/q$b;Lf/k/a/b/g1/q$c;)V
|
|
|
|
invoke-virtual {v2, v6, v8}, Lf/k/a/b/g1/q$a;->a(Landroid/os/Handler;Ljava/lang/Runnable;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
iget-wide v2, v0, Lf/k/a/b/g1/s;->H:J
|
|
|
|
const-wide/16 v4, -0x1
|
|
|
|
cmp-long v6, v2, v4
|
|
|
|
if-nez v6, :cond_3
|
|
|
|
iget-wide v1, v1, Lf/k/a/b/g1/s$a;->k:J
|
|
|
|
iput-wide v1, v0, Lf/k/a/b/g1/s;->H:J
|
|
|
|
:cond_3
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, v0, Lf/k/a/b/g1/s;->N:Z
|
|
|
|
iget-object v1, v0, Lf/k/a/b/g1/s;->s:Lf/k/a/b/g1/o$a;
|
|
|
|
invoke-static {v1}, Lf/k/a/b/l1/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-interface {v1, v0}, Lf/k/a/b/g1/x$a;->a(Lf/k/a/b/g1/x;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lf/k/a/b/k1/y$e;JJZ)V
|
|
.locals 19
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
check-cast v1, Lf/k/a/b/g1/s$a;
|
|
|
|
iget-object v2, v0, Lf/k/a/b/g1/s;->h:Lf/k/a/b/g1/q$a;
|
|
|
|
iget-object v4, v1, Lf/k/a/b/g1/s$a;->j:Lf/k/a/b/k1/n;
|
|
|
|
iget-object v3, v1, Lf/k/a/b/g1/s$a;->b:Lf/k/a/b/k1/a0;
|
|
|
|
iget-object v5, v3, Lf/k/a/b/k1/a0;->c:Landroid/net/Uri;
|
|
|
|
iget-object v6, v3, Lf/k/a/b/k1/a0;->d:Ljava/util/Map;
|
|
|
|
iget-wide v11, v1, Lf/k/a/b/g1/s$a;->i:J
|
|
|
|
iget-wide v9, v0, Lf/k/a/b/g1/s;->G:J
|
|
|
|
iget-wide v7, v3, Lf/k/a/b/k1/a0;->b:J
|
|
|
|
new-instance v15, Lf/k/a/b/g1/q$b;
|
|
|
|
move-object v3, v15
|
|
|
|
move-wide/from16 v16, v7
|
|
|
|
move-wide/from16 v7, p2
|
|
|
|
move-object/from16 v18, v15
|
|
|
|
move-wide v14, v9
|
|
|
|
move-wide/from16 v9, p4
|
|
|
|
move-wide/from16 p2, v14
|
|
|
|
move-wide v13, v11
|
|
|
|
move-wide/from16 v11, v16
|
|
|
|
invoke-direct/range {v3 .. v12}, Lf/k/a/b/g1/q$b;-><init>(Lf/k/a/b/k1/n;Landroid/net/Uri;Ljava/util/Map;JJJ)V
|
|
|
|
new-instance v3, Lf/k/a/b/g1/q$c;
|
|
|
|
invoke-virtual {v2, v13, v14}, Lf/k/a/b/g1/q$a;->a(J)J
|
|
|
|
move-result-wide v13
|
|
|
|
move-wide/from16 v4, p2
|
|
|
|
invoke-virtual {v2, v4, v5}, Lf/k/a/b/g1/q$a;->a(J)J
|
|
|
|
move-result-wide v15
|
|
|
|
const/4 v8, 0x1
|
|
|
|
const/4 v9, -0x1
|
|
|
|
const/4 v10, 0x0
|
|
|
|
move-object v7, v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
move v11, v4
|
|
|
|
const/4 v4, 0x0
|
|
|
|
move-object v12, v4
|
|
|
|
move-object/from16 v4, v18
|
|
|
|
invoke-direct/range {v7 .. v16}, Lf/k/a/b/g1/q$c;-><init>(IILcom/google/android/exoplayer2/Format;ILjava/lang/Object;JJ)V
|
|
|
|
iget-object v5, v2, Lf/k/a/b/g1/q$a;->c:Ljava/util/concurrent/CopyOnWriteArrayList;
|
|
|
|
invoke-virtual {v5}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v5
|
|
|
|
:goto_0
|
|
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_0
|
|
|
|
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
check-cast v6, Lf/k/a/b/g1/q$a$a;
|
|
|
|
iget-object v7, v6, Lf/k/a/b/g1/q$a$a;->b:Lf/k/a/b/g1/q;
|
|
|
|
iget-object v6, v6, Lf/k/a/b/g1/q$a$a;->a:Landroid/os/Handler;
|
|
|
|
new-instance v8, Lf/k/a/b/g1/c;
|
|
|
|
invoke-direct {v8, v2, v7, v4, v3}, Lf/k/a/b/g1/c;-><init>(Lf/k/a/b/g1/q$a;Lf/k/a/b/g1/q;Lf/k/a/b/g1/q$b;Lf/k/a/b/g1/q$c;)V
|
|
|
|
invoke-virtual {v2, v6, v8}, Lf/k/a/b/g1/q$a;->a(Landroid/os/Handler;Ljava/lang/Runnable;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-nez p6, :cond_3
|
|
|
|
iget-wide v2, v0, Lf/k/a/b/g1/s;->H:J
|
|
|
|
const-wide/16 v4, -0x1
|
|
|
|
cmp-long v6, v2, v4
|
|
|
|
if-nez v6, :cond_1
|
|
|
|
iget-wide v1, v1, Lf/k/a/b/g1/s$a;->k:J
|
|
|
|
iput-wide v1, v0, Lf/k/a/b/g1/s;->H:J
|
|
|
|
:cond_1
|
|
iget-object v1, v0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v2, v1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_1
|
|
if-ge v4, v2, :cond_2
|
|
|
|
aget-object v5, v1, v4
|
|
|
|
invoke-virtual {v5, v3}, Lf/k/a/b/g1/v;->b(Z)V
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
iget v1, v0, Lf/k/a/b/g1/s;->F:I
|
|
|
|
if-lez v1, :cond_3
|
|
|
|
iget-object v1, v0, Lf/k/a/b/g1/s;->s:Lf/k/a/b/g1/o$a;
|
|
|
|
invoke-static {v1}, Lf/k/a/b/l1/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-interface {v1, v0}, Lf/k/a/b/g1/x$a;->a(Lf/k/a/b/g1/x;)V
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public a()Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->m:Lf/k/a/b/k1/y;
|
|
|
|
invoke-virtual {v0}, Lf/k/a/b/k1/y;->a()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->o:Lf/k/a/b/l1/j;
|
|
|
|
invoke-virtual {v0}, Lf/k/a/b/l1/j;->c()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public b()J
|
|
.locals 2
|
|
|
|
iget v0, p0, Lf/k/a/b/g1/s;->F:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-wide/high16 v0, -0x8000000000000000L
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->e()J
|
|
|
|
move-result-wide v0
|
|
|
|
:goto_0
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final b(I)V
|
|
.locals 4
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->j()Lf/k/a/b/g1/s$d;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v0, v0, Lf/k/a/b/g1/s$d;->c:[Z
|
|
|
|
iget-boolean v1, p0, Lf/k/a/b/g1/s;->L:Z
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
aget-boolean v0, v0, p1
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
aget-object p1, v0, p1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p1, v0}, Lf/k/a/b/g1/v;->a(Z)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const-wide/16 v1, 0x0
|
|
|
|
iput-wide v1, p0, Lf/k/a/b/g1/s;->K:J
|
|
|
|
iput-boolean v0, p0, Lf/k/a/b/g1/s;->L:Z
|
|
|
|
const/4 p1, 0x1
|
|
|
|
iput-boolean p1, p0, Lf/k/a/b/g1/s;->D:Z
|
|
|
|
iput-wide v1, p0, Lf/k/a/b/g1/s;->J:J
|
|
|
|
iput v0, p0, Lf/k/a/b/g1/s;->M:I
|
|
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v1, p1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_1
|
|
|
|
aget-object v3, p1, v2
|
|
|
|
invoke-virtual {v3, v0}, Lf/k/a/b/g1/v;->b(Z)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->s:Lf/k/a/b/g1/o$a;
|
|
|
|
invoke-static {p1}, Lf/k/a/b/l1/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
check-cast p1, Lf/k/a/b/g1/o$a;
|
|
|
|
invoke-interface {p1, p0}, Lf/k/a/b/g1/x$a;->a(Lf/k/a/b/g1/x;)V
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(J)Z
|
|
.locals 1
|
|
|
|
iget-boolean p1, p0, Lf/k/a/b/g1/s;->N:Z
|
|
|
|
const/4 p2, 0x0
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->m:Lf/k/a/b/k1/y;
|
|
|
|
iget-object p1, p1, Lf/k/a/b/k1/y;->c:Ljava/io/IOException;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
if-nez p1, :cond_3
|
|
|
|
iget-boolean p1, p0, Lf/k/a/b/g1/s;->L:Z
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
iget-boolean p1, p0, Lf/k/a/b/g1/s;->y:Z
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget p1, p0, Lf/k/a/b/g1/s;->F:I
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Lf/k/a/b/g1/s;->o:Lf/k/a/b/l1/j;
|
|
|
|
invoke-virtual {p1}, Lf/k/a/b/l1/j;->d()Z
|
|
|
|
move-result p1
|
|
|
|
iget-object p2, p0, Lf/k/a/b/g1/s;->m:Lf/k/a/b/k1/y;
|
|
|
|
invoke-virtual {p2}, Lf/k/a/b/k1/y;->a()Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->p()V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
:cond_2
|
|
return p1
|
|
|
|
:cond_3
|
|
:goto_1
|
|
return p2
|
|
.end method
|
|
|
|
.method public c()J
|
|
.locals 6
|
|
|
|
iget-boolean v0, p0, Lf/k/a/b/g1/s;->E:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->h:Lf/k/a/b/g1/q$a;
|
|
|
|
iget-object v1, v0, Lf/k/a/b/g1/q$a;->b:Lf/k/a/b/g1/p$a;
|
|
|
|
invoke-static {v1}, Lf/k/a/b/l1/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object v2, v0, Lf/k/a/b/g1/q$a;->c:Ljava/util/concurrent/CopyOnWriteArrayList;
|
|
|
|
invoke-virtual {v2}, Ljava/util/concurrent/CopyOnWriteArrayList;->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, Lf/k/a/b/g1/q$a$a;
|
|
|
|
iget-object v4, v3, Lf/k/a/b/g1/q$a$a;->b:Lf/k/a/b/g1/q;
|
|
|
|
iget-object v3, v3, Lf/k/a/b/g1/q$a$a;->a:Landroid/os/Handler;
|
|
|
|
new-instance v5, Lf/k/a/b/g1/g;
|
|
|
|
invoke-direct {v5, v0, v4, v1}, Lf/k/a/b/g1/g;-><init>(Lf/k/a/b/g1/q$a;Lf/k/a/b/g1/q;Lf/k/a/b/g1/p$a;)V
|
|
|
|
invoke-virtual {v0, v3, v5}, Lf/k/a/b/g1/q$a;->a(Landroid/os/Handler;Ljava/lang/Runnable;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lf/k/a/b/g1/s;->E:Z
|
|
|
|
:cond_1
|
|
iget-boolean v0, p0, Lf/k/a/b/g1/s;->D:Z
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-boolean v0, p0, Lf/k/a/b/g1/s;->N:Z
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->h()I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Lf/k/a/b/g1/s;->M:I
|
|
|
|
if-le v0, v1, :cond_3
|
|
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lf/k/a/b/g1/s;->D:Z
|
|
|
|
iget-wide v0, p0, Lf/k/a/b/g1/s;->J:J
|
|
|
|
return-wide v0
|
|
|
|
:cond_3
|
|
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public c(J)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()Lcom/google/android/exoplayer2/source/TrackGroupArray;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->j()Lf/k/a/b/g1/s$d;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v0, v0, Lf/k/a/b/g1/s$d;->b:Lcom/google/android/exoplayer2/source/TrackGroupArray;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public e()J
|
|
.locals 11
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->j()Lf/k/a/b/g1/s$d;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v0, v0, Lf/k/a/b/g1/s$d;->c:[Z
|
|
|
|
iget-boolean v1, p0, Lf/k/a/b/g1/s;->N:Z
|
|
|
|
const-wide/high16 v2, -0x8000000000000000L
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
return-wide v2
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->l()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-wide v0, p0, Lf/k/a/b/g1/s;->K:J
|
|
|
|
return-wide v0
|
|
|
|
:cond_1
|
|
iget-boolean v1, p0, Lf/k/a/b/g1/s;->A:Z
|
|
|
|
const-wide v4, 0x7fffffffffffffffL
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
iget-object v1, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v1, v1
|
|
|
|
const/4 v6, 0x0
|
|
|
|
move-wide v7, v4
|
|
|
|
:goto_0
|
|
if-ge v6, v1, :cond_4
|
|
|
|
aget-boolean v9, v0, v6
|
|
|
|
if-eqz v9, :cond_2
|
|
|
|
iget-object v9, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
aget-object v9, v9, v6
|
|
|
|
invoke-virtual {v9}, Lf/k/a/b/g1/v;->g()Z
|
|
|
|
move-result v9
|
|
|
|
if-nez v9, :cond_2
|
|
|
|
iget-object v9, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
aget-object v9, v9, v6
|
|
|
|
invoke-virtual {v9}, Lf/k/a/b/g1/v;->d()J
|
|
|
|
move-result-wide v9
|
|
|
|
invoke-static {v7, v8, v9, v10}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide v7
|
|
|
|
:cond_2
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
move-wide v7, v4
|
|
|
|
:cond_4
|
|
cmp-long v0, v7, v4
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->i()J
|
|
|
|
move-result-wide v7
|
|
|
|
:cond_5
|
|
cmp-long v0, v7, v2
|
|
|
|
if-nez v0, :cond_6
|
|
|
|
iget-wide v7, p0, Lf/k/a/b/g1/s;->J:J
|
|
|
|
:cond_6
|
|
return-wide v7
|
|
.end method
|
|
|
|
.method public f()V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->o()V
|
|
|
|
iget-boolean v0, p0, Lf/k/a/b/g1/s;->N:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-boolean v0, p0, Lf/k/a/b/g1/s;->y:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Lf/k/a/b/k0;
|
|
|
|
const-string v1, "Loading finished before preparation is complete."
|
|
|
|
invoke-direct {v0, v1}, Lf/k/a/b/k0;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public g()V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lf/k/a/b/g1/s;->x:Z
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->r:Landroid/os/Handler;
|
|
|
|
iget-object v1, p0, Lf/k/a/b/g1/s;->p:Ljava/lang/Runnable;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final h()I
|
|
.locals 6
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v1, v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_0
|
|
|
|
aget-object v4, v0, v2
|
|
|
|
iget v5, v4, Lf/k/a/b/g1/v;->p:I
|
|
|
|
iget v4, v4, Lf/k/a/b/g1/v;->o:I
|
|
|
|
add-int/2addr v5, v4
|
|
|
|
add-int/2addr v3, v5
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return v3
|
|
.end method
|
|
|
|
.method public final i()J
|
|
.locals 7
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v1, v0
|
|
|
|
const-wide/high16 v2, -0x8000000000000000L
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_0
|
|
if-ge v4, v1, :cond_0
|
|
|
|
aget-object v5, v0, v4
|
|
|
|
invoke-virtual {v5}, Lf/k/a/b/g1/v;->d()J
|
|
|
|
move-result-wide v5
|
|
|
|
invoke-static {v2, v3, v5, v6}, Ljava/lang/Math;->max(JJ)J
|
|
|
|
move-result-wide v2
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-wide v2
|
|
.end method
|
|
|
|
.method public final j()Lf/k/a/b/g1/s$d;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->z:Lf/k/a/b/g1/s$d;
|
|
|
|
invoke-static {v0}, Lf/k/a/b/l1/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
check-cast v0, Lf/k/a/b/g1/s$d;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public k()Lf/k/a/b/d1/s;
|
|
.locals 3
|
|
|
|
new-instance v0, Lf/k/a/b/g1/s$f;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-direct {v0, v1, v2}, Lf/k/a/b/g1/s$f;-><init>(IZ)V
|
|
|
|
invoke-virtual {p0, v0}, Lf/k/a/b/g1/s;->a(Lf/k/a/b/g1/s$f;)Lf/k/a/b/d1/s;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final l()Z
|
|
.locals 5
|
|
|
|
iget-wide v0, p0, Lf/k/a/b/g1/s;->K:J
|
|
|
|
const-wide v2, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public synthetic m()V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lf/k/a/b/g1/s;->O:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->s:Lf/k/a/b/g1/o$a;
|
|
|
|
invoke-static {v0}, Lf/k/a/b/l1/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
check-cast v0, Lf/k/a/b/g1/o$a;
|
|
|
|
invoke-interface {v0, p0}, Lf/k/a/b/g1/x$a;->a(Lf/k/a/b/g1/x;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final n()V
|
|
.locals 44
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
iget-object v1, v0, Lf/k/a/b/g1/s;->t:Lf/k/a/b/d1/q;
|
|
|
|
iget-boolean v2, v0, Lf/k/a/b/g1/s;->O:Z
|
|
|
|
if-nez v2, :cond_d
|
|
|
|
iget-boolean v2, v0, Lf/k/a/b/g1/s;->y:Z
|
|
|
|
if-nez v2, :cond_d
|
|
|
|
iget-boolean v2, v0, Lf/k/a/b/g1/s;->x:Z
|
|
|
|
if-eqz v2, :cond_d
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
goto/16 :goto_7
|
|
|
|
:cond_0
|
|
iget-object v2, v0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v3, v2
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
:goto_0
|
|
if-ge v5, v3, :cond_2
|
|
|
|
aget-object v6, v2, v5
|
|
|
|
invoke-virtual {v6}, Lf/k/a/b/g1/v;->e()Lcom/google/android/exoplayer2/Format;
|
|
|
|
move-result-object v6
|
|
|
|
if-nez v6, :cond_1
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
iget-object v2, v0, Lf/k/a/b/g1/s;->o:Lf/k/a/b/l1/j;
|
|
|
|
invoke-virtual {v2}, Lf/k/a/b/l1/j;->b()Z
|
|
|
|
iget-object v2, v0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
array-length v2, v2
|
|
|
|
new-array v3, v2, [Lcom/google/android/exoplayer2/source/TrackGroup;
|
|
|
|
new-array v5, v2, [Z
|
|
|
|
invoke-interface {v1}, Lf/k/a/b/d1/q;->c()J
|
|
|
|
move-result-wide v6
|
|
|
|
iput-wide v6, v0, Lf/k/a/b/g1/s;->G:J
|
|
|
|
const/4 v6, 0x0
|
|
|
|
:goto_1
|
|
const/4 v7, 0x1
|
|
|
|
if-ge v6, v2, :cond_a
|
|
|
|
iget-object v8, v0, Lf/k/a/b/g1/s;->v:[Lf/k/a/b/g1/v;
|
|
|
|
aget-object v8, v8, v6
|
|
|
|
invoke-virtual {v8}, Lf/k/a/b/g1/v;->e()Lcom/google/android/exoplayer2/Format;
|
|
|
|
move-result-object v8
|
|
|
|
iget-object v9, v8, Lcom/google/android/exoplayer2/Format;->l:Ljava/lang/String;
|
|
|
|
invoke-static {v9}, Lf/k/a/b/l1/r;->f(Ljava/lang/String;)Z
|
|
|
|
move-result v10
|
|
|
|
if-nez v10, :cond_4
|
|
|
|
invoke-static {v9}, Lf/k/a/b/l1/r;->g(Ljava/lang/String;)Z
|
|
|
|
move-result v9
|
|
|
|
if-eqz v9, :cond_3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
const/4 v9, 0x0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
:goto_2
|
|
const/4 v9, 0x1
|
|
|
|
:goto_3
|
|
aput-boolean v9, v5, v6
|
|
|
|
iget-boolean v11, v0, Lf/k/a/b/g1/s;->A:Z
|
|
|
|
or-int/2addr v9, v11
|
|
|
|
iput-boolean v9, v0, Lf/k/a/b/g1/s;->A:Z
|
|
|
|
iget-object v9, v0, Lf/k/a/b/g1/s;->u:Lcom/google/android/exoplayer2/metadata/icy/IcyHeaders;
|
|
|
|
if-eqz v9, :cond_9
|
|
|
|
if-nez v10, :cond_5
|
|
|
|
iget-object v11, v0, Lf/k/a/b/g1/s;->w:[Lf/k/a/b/g1/s$f;
|
|
|
|
aget-object v11, v11, v6
|
|
|
|
iget-boolean v11, v11, Lf/k/a/b/g1/s$f;->b:Z
|
|
|
|
if-eqz v11, :cond_8
|
|
|
|
:cond_5
|
|
iget-object v11, v8, Lcom/google/android/exoplayer2/Format;->j:Lcom/google/android/exoplayer2/metadata/Metadata;
|
|
|
|
if-nez v11, :cond_6
|
|
|
|
new-instance v11, Lcom/google/android/exoplayer2/metadata/Metadata;
|
|
|
|
new-array v12, v7, [Lcom/google/android/exoplayer2/metadata/Metadata$Entry;
|
|
|
|
aput-object v9, v12, v4
|
|
|
|
invoke-direct {v11, v12}, Lcom/google/android/exoplayer2/metadata/Metadata;-><init>([Lcom/google/android/exoplayer2/metadata/Metadata$Entry;)V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_6
|
|
new-array v12, v7, [Lcom/google/android/exoplayer2/metadata/Metadata$Entry;
|
|
|
|
aput-object v9, v12, v4
|
|
|
|
array-length v13, v12
|
|
|
|
if-nez v13, :cond_7
|
|
|
|
goto :goto_4
|
|
|
|
:cond_7
|
|
new-instance v13, Lcom/google/android/exoplayer2/metadata/Metadata;
|
|
|
|
iget-object v11, v11, Lcom/google/android/exoplayer2/metadata/Metadata;->d:[Lcom/google/android/exoplayer2/metadata/Metadata$Entry;
|
|
|
|
invoke-static {v11, v12}, Lf/k/a/b/l1/f0;->a([Ljava/lang/Object;[Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object v11
|
|
|
|
check-cast v11, [Lcom/google/android/exoplayer2/metadata/Metadata$Entry;
|
|
|
|
invoke-direct {v13, v11}, Lcom/google/android/exoplayer2/metadata/Metadata;-><init>([Lcom/google/android/exoplayer2/metadata/Metadata$Entry;)V
|
|
|
|
move-object v11, v13
|
|
|
|
:goto_4
|
|
iget-object v12, v8, Lcom/google/android/exoplayer2/Format;->o:Lcom/google/android/exoplayer2/drm/DrmInitData;
|
|
|
|
invoke-virtual {v8, v12, v11}, Lcom/google/android/exoplayer2/Format;->a(Lcom/google/android/exoplayer2/drm/DrmInitData;Lcom/google/android/exoplayer2/metadata/Metadata;)Lcom/google/android/exoplayer2/Format;
|
|
|
|
move-result-object v8
|
|
|
|
:cond_8
|
|
if-eqz v10, :cond_9
|
|
|
|
iget v10, v8, Lcom/google/android/exoplayer2/Format;->h:I
|
|
|
|
const/4 v11, -0x1
|
|
|
|
if-ne v10, v11, :cond_9
|
|
|
|
iget v9, v9, Lcom/google/android/exoplayer2/metadata/icy/IcyHeaders;->d:I
|
|
|
|
if-eq v9, v11, :cond_9
|
|
|
|
new-instance v10, Lcom/google/android/exoplayer2/Format;
|
|
|
|
move-object v12, v10
|
|
|
|
iget-object v13, v8, Lcom/google/android/exoplayer2/Format;->d:Ljava/lang/String;
|
|
|
|
iget-object v14, v8, Lcom/google/android/exoplayer2/Format;->e:Ljava/lang/String;
|
|
|
|
iget v15, v8, Lcom/google/android/exoplayer2/Format;->f:I
|
|
|
|
iget v11, v8, Lcom/google/android/exoplayer2/Format;->g:I
|
|
|
|
move/from16 v16, v11
|
|
|
|
iget-object v11, v8, Lcom/google/android/exoplayer2/Format;->i:Ljava/lang/String;
|
|
|
|
move-object/from16 v18, v11
|
|
|
|
iget-object v11, v8, Lcom/google/android/exoplayer2/Format;->j:Lcom/google/android/exoplayer2/metadata/Metadata;
|
|
|
|
move-object/from16 v19, v11
|
|
|
|
iget-object v11, v8, Lcom/google/android/exoplayer2/Format;->k:Ljava/lang/String;
|
|
|
|
move-object/from16 v20, v11
|
|
|
|
iget-object v11, v8, Lcom/google/android/exoplayer2/Format;->l:Ljava/lang/String;
|
|
|
|
move-object/from16 v21, v11
|
|
|
|
iget v11, v8, Lcom/google/android/exoplayer2/Format;->m:I
|
|
|
|
move/from16 v22, v11
|
|
|
|
iget-object v11, v8, Lcom/google/android/exoplayer2/Format;->n:Ljava/util/List;
|
|
|
|
move-object/from16 v23, v11
|
|
|
|
iget-object v11, v8, Lcom/google/android/exoplayer2/Format;->o:Lcom/google/android/exoplayer2/drm/DrmInitData;
|
|
|
|
move-object/from16 v24, v11
|
|
|
|
move-object/from16 v43, v5
|
|
|
|
iget-wide v4, v8, Lcom/google/android/exoplayer2/Format;->p:J
|
|
|
|
move-wide/from16 v25, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->q:I
|
|
|
|
move/from16 v27, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->r:I
|
|
|
|
move/from16 v28, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->s:F
|
|
|
|
move/from16 v29, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->t:I
|
|
|
|
move/from16 v30, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->u:F
|
|
|
|
move/from16 v31, v4
|
|
|
|
iget-object v4, v8, Lcom/google/android/exoplayer2/Format;->w:[B
|
|
|
|
move-object/from16 v32, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->v:I
|
|
|
|
move/from16 v33, v4
|
|
|
|
iget-object v4, v8, Lcom/google/android/exoplayer2/Format;->x:Lcom/google/android/exoplayer2/video/ColorInfo;
|
|
|
|
move-object/from16 v34, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->y:I
|
|
|
|
move/from16 v35, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->z:I
|
|
|
|
move/from16 v36, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->A:I
|
|
|
|
move/from16 v37, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->B:I
|
|
|
|
move/from16 v38, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->C:I
|
|
|
|
move/from16 v39, v4
|
|
|
|
iget-object v4, v8, Lcom/google/android/exoplayer2/Format;->D:Ljava/lang/String;
|
|
|
|
move-object/from16 v40, v4
|
|
|
|
iget v4, v8, Lcom/google/android/exoplayer2/Format;->E:I
|
|
|
|
move/from16 v41, v4
|
|
|
|
iget-object v4, v8, Lcom/google/android/exoplayer2/Format;->F:Ljava/lang/Class;
|
|
|
|
move-object/from16 v42, v4
|
|
|
|
move/from16 v17, v9
|
|
|
|
invoke-direct/range {v12 .. v42}, Lcom/google/android/exoplayer2/Format;-><init>(Ljava/lang/String;Ljava/lang/String;IIILjava/lang/String;Lcom/google/android/exoplayer2/metadata/Metadata;Ljava/lang/String;Ljava/lang/String;ILjava/util/List;Lcom/google/android/exoplayer2/drm/DrmInitData;JIIFIF[BILcom/google/android/exoplayer2/video/ColorInfo;IIIIILjava/lang/String;ILjava/lang/Class;)V
|
|
|
|
goto :goto_5
|
|
|
|
:cond_9
|
|
move-object/from16 v43, v5
|
|
|
|
move-object v10, v8
|
|
|
|
:goto_5
|
|
new-instance v4, Lcom/google/android/exoplayer2/source/TrackGroup;
|
|
|
|
new-array v5, v7, [Lcom/google/android/exoplayer2/Format;
|
|
|
|
const/4 v8, 0x0
|
|
|
|
aput-object v10, v5, v8
|
|
|
|
invoke-direct {v4, v5}, Lcom/google/android/exoplayer2/source/TrackGroup;-><init>([Lcom/google/android/exoplayer2/Format;)V
|
|
|
|
aput-object v4, v3, v6
|
|
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
move-object/from16 v5, v43
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto/16 :goto_1
|
|
|
|
:cond_a
|
|
move-object/from16 v43, v5
|
|
|
|
const/4 v8, 0x0
|
|
|
|
iget-wide v4, v0, Lf/k/a/b/g1/s;->H:J
|
|
|
|
const-wide/16 v9, -0x1
|
|
|
|
cmp-long v2, v4, v9
|
|
|
|
if-nez v2, :cond_b
|
|
|
|
invoke-interface {v1}, Lf/k/a/b/d1/q;->c()J
|
|
|
|
move-result-wide v4
|
|
|
|
const-wide v9, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
cmp-long v2, v4, v9
|
|
|
|
if-nez v2, :cond_b
|
|
|
|
const/4 v8, 0x1
|
|
|
|
:cond_b
|
|
iput-boolean v8, v0, Lf/k/a/b/g1/s;->I:Z
|
|
|
|
iget-boolean v2, v0, Lf/k/a/b/g1/s;->I:Z
|
|
|
|
if-eqz v2, :cond_c
|
|
|
|
const/4 v2, 0x7
|
|
|
|
goto :goto_6
|
|
|
|
:cond_c
|
|
const/4 v2, 0x1
|
|
|
|
:goto_6
|
|
iput v2, v0, Lf/k/a/b/g1/s;->B:I
|
|
|
|
new-instance v2, Lf/k/a/b/g1/s$d;
|
|
|
|
new-instance v4, Lcom/google/android/exoplayer2/source/TrackGroupArray;
|
|
|
|
invoke-direct {v4, v3}, Lcom/google/android/exoplayer2/source/TrackGroupArray;-><init>([Lcom/google/android/exoplayer2/source/TrackGroup;)V
|
|
|
|
move-object/from16 v3, v43
|
|
|
|
invoke-direct {v2, v1, v4, v3}, Lf/k/a/b/g1/s$d;-><init>(Lf/k/a/b/d1/q;Lcom/google/android/exoplayer2/source/TrackGroupArray;[Z)V
|
|
|
|
iput-object v2, v0, Lf/k/a/b/g1/s;->z:Lf/k/a/b/g1/s$d;
|
|
|
|
iput-boolean v7, v0, Lf/k/a/b/g1/s;->y:Z
|
|
|
|
iget-object v2, v0, Lf/k/a/b/g1/s;->i:Lf/k/a/b/g1/s$c;
|
|
|
|
iget-wide v3, v0, Lf/k/a/b/g1/s;->G:J
|
|
|
|
invoke-interface {v1}, Lf/k/a/b/d1/q;->b()Z
|
|
|
|
move-result v1
|
|
|
|
iget-boolean v5, v0, Lf/k/a/b/g1/s;->I:Z
|
|
|
|
check-cast v2, Lf/k/a/b/g1/t;
|
|
|
|
invoke-virtual {v2, v3, v4, v1, v5}, Lf/k/a/b/g1/t;->b(JZZ)V
|
|
|
|
iget-object v1, v0, Lf/k/a/b/g1/s;->s:Lf/k/a/b/g1/o$a;
|
|
|
|
invoke-static {v1}, Lf/k/a/b/l1/e;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-interface {v1, v0}, Lf/k/a/b/g1/o$a;->a(Lf/k/a/b/g1/o;)V
|
|
|
|
:cond_d
|
|
:goto_7
|
|
return-void
|
|
.end method
|
|
|
|
.method public o()V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lf/k/a/b/g1/s;->m:Lf/k/a/b/k1/y;
|
|
|
|
iget-object v1, p0, Lf/k/a/b/g1/s;->g:Lf/k/a/b/k1/x;
|
|
|
|
iget v2, p0, Lf/k/a/b/g1/s;->B:I
|
|
|
|
check-cast v1, Lf/k/a/b/k1/u;
|
|
|
|
invoke-virtual {v1, v2}, Lf/k/a/b/k1/u;->a(I)I
|
|
|
|
move-result v1
|
|
|
|
iget-object v2, v0, Lf/k/a/b/k1/y;->c:Ljava/io/IOException;
|
|
|
|
if-nez v2, :cond_3
|
|
|
|
iget-object v0, v0, Lf/k/a/b/k1/y;->b:Lf/k/a/b/k1/y$d;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const/high16 v2, -0x80000000
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
iget v1, v0, Lf/k/a/b/k1/y$d;->d:I
|
|
|
|
:cond_0
|
|
iget-object v2, v0, Lf/k/a/b/k1/y$d;->h:Ljava/io/IOException;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
iget v0, v0, Lf/k/a/b/k1/y$d;->i:I
|
|
|
|
if-gt v0, v1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
throw v2
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return-void
|
|
|
|
:cond_3
|
|
throw v2
|
|
.end method
|
|
|
|
.method public final p()V
|
|
.locals 22
|
|
|
|
move-object/from16 v7, p0
|
|
|
|
new-instance v8, Lf/k/a/b/g1/s$a;
|
|
|
|
iget-object v2, v7, Lf/k/a/b/g1/s;->d:Landroid/net/Uri;
|
|
|
|
iget-object v3, v7, Lf/k/a/b/g1/s;->e:Lf/k/a/b/k1/l;
|
|
|
|
iget-object v4, v7, Lf/k/a/b/g1/s;->n:Lf/k/a/b/g1/s$b;
|
|
|
|
iget-object v6, v7, Lf/k/a/b/g1/s;->o:Lf/k/a/b/l1/j;
|
|
|
|
move-object v0, v8
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
move-object/from16 v5, p0
|
|
|
|
invoke-direct/range {v0 .. v6}, Lf/k/a/b/g1/s$a;-><init>(Lf/k/a/b/g1/s;Landroid/net/Uri;Lf/k/a/b/k1/l;Lf/k/a/b/g1/s$b;Lf/k/a/b/d1/i;Lf/k/a/b/l1/j;)V
|
|
|
|
iget-boolean v0, v7, Lf/k/a/b/g1/s;->y:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lf/k/a/b/g1/s;->j()Lf/k/a/b/g1/s$d;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v0, v0, Lf/k/a/b/g1/s$d;->a:Lf/k/a/b/d1/q;
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lf/k/a/b/g1/s;->l()Z
|
|
|
|
move-result v1
|
|
|
|
invoke-static {v1}, Lf/k/a/b/l1/e;->d(Z)V
|
|
|
|
iget-wide v1, v7, Lf/k/a/b/g1/s;->G:J
|
|
|
|
const-wide v3, -0x7fffffffffffffffL # -4.9E-324
|
|
|
|
const/4 v5, 0x1
|
|
|
|
cmp-long v6, v1, v3
|
|
|
|
if-eqz v6, :cond_0
|
|
|
|
iget-wide v9, v7, Lf/k/a/b/g1/s;->K:J
|
|
|
|
cmp-long v6, v9, v1
|
|
|
|
if-lez v6, :cond_0
|
|
|
|
iput-boolean v5, v7, Lf/k/a/b/g1/s;->N:Z
|
|
|
|
iput-wide v3, v7, Lf/k/a/b/g1/s;->K:J
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-wide v1, v7, Lf/k/a/b/g1/s;->K:J
|
|
|
|
invoke-interface {v0, v1, v2}, Lf/k/a/b/d1/q;->b(J)Lf/k/a/b/d1/q$a;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v0, v0, Lf/k/a/b/d1/q$a;->a:Lf/k/a/b/d1/r;
|
|
|
|
iget-wide v0, v0, Lf/k/a/b/d1/r;->b:J
|
|
|
|
iget-wide v9, v7, Lf/k/a/b/g1/s;->K:J
|
|
|
|
iget-object v2, v8, Lf/k/a/b/g1/s$a;->f:Lf/k/a/b/d1/p;
|
|
|
|
iput-wide v0, v2, Lf/k/a/b/d1/p;->a:J
|
|
|
|
iput-wide v9, v8, Lf/k/a/b/g1/s$a;->i:J
|
|
|
|
iput-boolean v5, v8, Lf/k/a/b/g1/s$a;->h:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, v8, Lf/k/a/b/g1/s$a;->m:Z
|
|
|
|
iput-wide v3, v7, Lf/k/a/b/g1/s;->K:J
|
|
|
|
:cond_1
|
|
invoke-virtual/range {p0 .. p0}, Lf/k/a/b/g1/s;->h()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, v7, Lf/k/a/b/g1/s;->M:I
|
|
|
|
iget-object v0, v7, Lf/k/a/b/g1/s;->m:Lf/k/a/b/k1/y;
|
|
|
|
iget-object v1, v7, Lf/k/a/b/g1/s;->g:Lf/k/a/b/k1/x;
|
|
|
|
iget v2, v7, Lf/k/a/b/g1/s;->B:I
|
|
|
|
check-cast v1, Lf/k/a/b/k1/u;
|
|
|
|
invoke-virtual {v1, v2}, Lf/k/a/b/k1/u;->a(I)I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0, v8, v7, v1}, Lf/k/a/b/k1/y;->a(Lf/k/a/b/k1/y$e;Lf/k/a/b/k1/y$b;I)J
|
|
|
|
move-result-wide v20
|
|
|
|
iget-object v9, v7, Lf/k/a/b/g1/s;->h:Lf/k/a/b/g1/q$a;
|
|
|
|
iget-object v10, v8, Lf/k/a/b/g1/s$a;->j:Lf/k/a/b/k1/n;
|
|
|
|
const/4 v11, 0x1
|
|
|
|
const/4 v12, -0x1
|
|
|
|
const/4 v13, 0x0
|
|
|
|
const/4 v14, 0x0
|
|
|
|
const/4 v15, 0x0
|
|
|
|
iget-wide v0, v8, Lf/k/a/b/g1/s$a;->i:J
|
|
|
|
iget-wide v2, v7, Lf/k/a/b/g1/s;->G:J
|
|
|
|
move-wide/from16 v16, v0
|
|
|
|
move-wide/from16 v18, v2
|
|
|
|
invoke-virtual/range {v9 .. v21}, Lf/k/a/b/g1/q$a;->a(Lf/k/a/b/k1/n;IILcom/google/android/exoplayer2/Format;ILjava/lang/Object;JJJ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final q()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lf/k/a/b/g1/s;->D:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/g1/s;->l()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
:goto_1
|
|
return v0
|
|
.end method
|