329 lines
5.8 KiB
Smali
329 lines
5.8 KiB
Smali
.class public final Lf/i/a/b/d1/n;
|
|
.super Ljava/lang/Object;
|
|
.source "IcyDataSource.java"
|
|
|
|
# interfaces
|
|
.implements Lf/i/a/b/h1/j;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lf/i/a/b/d1/n$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lf/i/a/b/h1/j;
|
|
|
|
.field public final b:I
|
|
|
|
.field public final c:Lf/i/a/b/d1/n$a;
|
|
|
|
.field public final d:[B
|
|
|
|
.field public e:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lf/i/a/b/h1/j;ILf/i/a/b/d1/n$a;)V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-lez p2, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
invoke-static {v1}, Lf/i/a/b/i1/e;->i(Z)V
|
|
|
|
iput-object p1, p0, Lf/i/a/b/d1/n;->a:Lf/i/a/b/h1/j;
|
|
|
|
iput p2, p0, Lf/i/a/b/d1/n;->b:I
|
|
|
|
iput-object p3, p0, Lf/i/a/b/d1/n;->c:Lf/i/a/b/d1/n$a;
|
|
|
|
new-array p1, v0, [B
|
|
|
|
iput-object p1, p0, Lf/i/a/b/d1/n;->d:[B
|
|
|
|
iput p2, p0, Lf/i/a/b/d1/n;->e:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lf/i/a/b/h1/k;)J
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public b(Lf/i/a/b/h1/x;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/i/a/b/d1/n;->a:Lf/i/a/b/h1/j;
|
|
|
|
invoke-interface {v0, p1}, Lf/i/a/b/h1/j;->b(Lf/i/a/b/h1/x;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c()Ljava/util/Map;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lf/i/a/b/d1/n;->a:Lf/i/a/b/h1/j;
|
|
|
|
invoke-interface {v0}, Lf/i/a/b/h1/j;->c()Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public close()V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public d()Landroid/net/Uri;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lf/i/a/b/d1/n;->a:Lf/i/a/b/h1/j;
|
|
|
|
invoke-interface {v0}, Lf/i/a/b/h1/j;->d()Landroid/net/Uri;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public read([BII)I
|
|
.locals 16
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
iget v1, v0, Lf/i/a/b/d1/n;->e:I
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-nez v1, :cond_8
|
|
|
|
iget-object v1, v0, Lf/i/a/b/d1/n;->a:Lf/i/a/b/h1/j;
|
|
|
|
iget-object v3, v0, Lf/i/a/b/d1/n;->d:[B
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/4 v5, 0x0
|
|
|
|
invoke-interface {v1, v3, v5, v4}, Lf/i/a/b/h1/j;->read([BII)I
|
|
|
|
move-result v1
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
:goto_0
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_0
|
|
iget-object v1, v0, Lf/i/a/b/d1/n;->d:[B
|
|
|
|
aget-byte v1, v1, v5
|
|
|
|
and-int/lit16 v1, v1, 0xff
|
|
|
|
shl-int/lit8 v1, v1, 0x4
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_1
|
|
new-array v3, v1, [B
|
|
|
|
move v6, v1
|
|
|
|
const/4 v7, 0x0
|
|
|
|
:goto_1
|
|
if-lez v6, :cond_3
|
|
|
|
iget-object v8, v0, Lf/i/a/b/d1/n;->a:Lf/i/a/b/h1/j;
|
|
|
|
invoke-interface {v8, v3, v7, v6}, Lf/i/a/b/h1/j;->read([BII)I
|
|
|
|
move-result v8
|
|
|
|
if-ne v8, v2, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
add-int/2addr v7, v8
|
|
|
|
sub-int/2addr v6, v8
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
:goto_2
|
|
if-lez v1, :cond_4
|
|
|
|
add-int/lit8 v5, v1, -0x1
|
|
|
|
aget-byte v6, v3, v5
|
|
|
|
if-nez v6, :cond_4
|
|
|
|
move v1, v5
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
if-lez v1, :cond_6
|
|
|
|
iget-object v5, v0, Lf/i/a/b/d1/n;->c:Lf/i/a/b/d1/n$a;
|
|
|
|
new-instance v6, Lf/i/a/b/i1/t;
|
|
|
|
invoke-direct {v6, v3, v1}, Lf/i/a/b/i1/t;-><init>([BI)V
|
|
|
|
check-cast v5, Lf/i/a/b/d1/r$a;
|
|
|
|
iget-boolean v1, v5, Lf/i/a/b/d1/r$a;->m:Z
|
|
|
|
if-nez v1, :cond_5
|
|
|
|
iget-wide v7, v5, Lf/i/a/b/d1/r$a;->i:J
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
iget-object v1, v5, Lf/i/a/b/d1/r$a;->n:Lf/i/a/b/d1/r;
|
|
|
|
invoke-static {v1}, Lf/i/a/b/d1/r;->t(Lf/i/a/b/d1/r;)J
|
|
|
|
move-result-wide v7
|
|
|
|
iget-wide v9, v5, Lf/i/a/b/d1/r$a;->i:J
|
|
|
|
invoke-static {v7, v8, v9, v10}, Ljava/lang/Math;->max(JJ)J
|
|
|
|
move-result-wide v7
|
|
|
|
:goto_3
|
|
move-wide v10, v7
|
|
|
|
invoke-virtual {v6}, Lf/i/a/b/i1/t;->a()I
|
|
|
|
move-result v13
|
|
|
|
iget-object v9, v5, Lf/i/a/b/d1/r$a;->l:Lf/i/a/b/a1/s;
|
|
|
|
invoke-static {v9}, Lf/i/a/b/i1/e;->v(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-interface {v9, v6, v13}, Lf/i/a/b/a1/s;->b(Lf/i/a/b/i1/t;I)V
|
|
|
|
const/4 v12, 0x1
|
|
|
|
const/4 v14, 0x0
|
|
|
|
const/4 v15, 0x0
|
|
|
|
invoke-interface/range {v9 .. v15}, Lf/i/a/b/a1/s;->c(JIIILf/i/a/b/a1/s$a;)V
|
|
|
|
iput-boolean v4, v5, Lf/i/a/b/d1/r$a;->m:Z
|
|
|
|
:cond_6
|
|
:goto_4
|
|
if-eqz v4, :cond_7
|
|
|
|
iget v1, v0, Lf/i/a/b/d1/n;->b:I
|
|
|
|
iput v1, v0, Lf/i/a/b/d1/n;->e:I
|
|
|
|
goto :goto_5
|
|
|
|
:cond_7
|
|
return v2
|
|
|
|
:cond_8
|
|
:goto_5
|
|
iget-object v1, v0, Lf/i/a/b/d1/n;->a:Lf/i/a/b/h1/j;
|
|
|
|
iget v3, v0, Lf/i/a/b/d1/n;->e:I
|
|
|
|
move/from16 v4, p3
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v3
|
|
|
|
move-object/from16 v4, p1
|
|
|
|
move/from16 v5, p2
|
|
|
|
invoke-interface {v1, v4, v5, v3}, Lf/i/a/b/h1/j;->read([BII)I
|
|
|
|
move-result v1
|
|
|
|
if-eq v1, v2, :cond_9
|
|
|
|
iget v2, v0, Lf/i/a/b/d1/n;->e:I
|
|
|
|
sub-int/2addr v2, v1
|
|
|
|
iput v2, v0, Lf/i/a/b/d1/n;->e:I
|
|
|
|
:cond_9
|
|
return v1
|
|
.end method
|