371 lines
7.3 KiB
Smali
371 lines
7.3 KiB
Smali
.class public final Lf/k/a/b/d1/f;
|
|
.super Ljava/lang/Object;
|
|
.source "DefaultExtractorsFactory.java"
|
|
|
|
# interfaces
|
|
.implements Lf/k/a/b/d1/j;
|
|
|
|
|
|
# static fields
|
|
.field public static final j:Ljava/lang/reflect/Constructor;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/reflect/Constructor<",
|
|
"+",
|
|
"Lf/k/a/b/d1/h;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public a:Z
|
|
|
|
.field public b:I
|
|
|
|
.field public c:I
|
|
|
|
.field public d:I
|
|
|
|
.field public e:I
|
|
|
|
.field public f:I
|
|
|
|
.field public g:I
|
|
|
|
.field public h:I
|
|
|
|
.field public i:I
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 6
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:try_start_0
|
|
sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
|
|
:try_end_0
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
const-string v2, "com.google.android.exoplayer2.ext.flac.FlacLibrary"
|
|
|
|
:try_start_1
|
|
invoke-static {v2}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "isAvailable"
|
|
|
|
const/4 v4, 0x0
|
|
|
|
new-array v5, v4, [Ljava/lang/Class;
|
|
|
|
invoke-virtual {v2, v3, v5}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v2
|
|
|
|
new-array v3, v4, [Ljava/lang/Object;
|
|
|
|
invoke-virtual {v2, v0, v3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/Boolean;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
:try_end_1
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_1} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const-string v1, "com.google.android.exoplayer2.ext.flac.FlacExtractor"
|
|
|
|
:try_start_2
|
|
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
const-class v2, Lf/k/a/b/d1/h;
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/Class;->asSubclass(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
new-array v2, v4, [Ljava/lang/Class;
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
|
|
|
move-result-object v0
|
|
:try_end_2
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_2 .. :try_end_2} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
new-instance v1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v2, "Error instantiating FLAC extension"
|
|
|
|
invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v1
|
|
|
|
:catch_1
|
|
:cond_0
|
|
:goto_0
|
|
sput-object v0, Lf/k/a/b/d1/f;->j:Ljava/lang/reflect/Constructor;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput v0, p0, Lf/k/a/b/d1/f;->h:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public declared-synchronized a()[Lf/k/a/b/d1/h;
|
|
.locals 7
|
|
|
|
monitor-enter p0
|
|
|
|
const/16 v0, 0xe
|
|
|
|
:try_start_0
|
|
new-array v0, v0, [Lf/k/a/b/d1/h;
|
|
|
|
new-instance v1, Lf/k/a/b/d1/a0/d;
|
|
|
|
iget v2, p0, Lf/k/a/b/d1/f;->d:I
|
|
|
|
invoke-direct {v1, v2}, Lf/k/a/b/d1/a0/d;-><init>(I)V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lf/k/a/b/d1/c0/d;
|
|
|
|
iget v3, p0, Lf/k/a/b/d1/f;->f:I
|
|
|
|
invoke-direct {v1, v3}, Lf/k/a/b/d1/c0/d;-><init>(I)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-instance v4, Lf/k/a/b/d1/c0/f;
|
|
|
|
iget v5, p0, Lf/k/a/b/d1/f;->e:I
|
|
|
|
invoke-direct {v4, v5}, Lf/k/a/b/d1/c0/f;-><init>(I)V
|
|
|
|
aput-object v4, v0, v1
|
|
|
|
const/4 v1, 0x3
|
|
|
|
new-instance v4, Lf/k/a/b/d1/b0/d;
|
|
|
|
iget v5, p0, Lf/k/a/b/d1/f;->g:I
|
|
|
|
iget-boolean v6, p0, Lf/k/a/b/d1/f;->a:Z
|
|
|
|
if-eqz v6, :cond_0
|
|
|
|
const/4 v6, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v6, 0x0
|
|
|
|
:goto_0
|
|
or-int/2addr v5, v6
|
|
|
|
invoke-direct {v4, v5}, Lf/k/a/b/d1/b0/d;-><init>(I)V
|
|
|
|
aput-object v4, v0, v1
|
|
|
|
const/4 v1, 0x4
|
|
|
|
new-instance v4, Lf/k/a/b/d1/e0/e;
|
|
|
|
iget v5, p0, Lf/k/a/b/d1/f;->b:I
|
|
|
|
iget-boolean v6, p0, Lf/k/a/b/d1/f;->a:Z
|
|
|
|
if-eqz v6, :cond_1
|
|
|
|
const/4 v6, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v6, 0x0
|
|
|
|
:goto_1
|
|
or-int/2addr v5, v6
|
|
|
|
invoke-direct {v4, v5}, Lf/k/a/b/d1/e0/e;-><init>(I)V
|
|
|
|
aput-object v4, v0, v1
|
|
|
|
const/4 v1, 0x5
|
|
|
|
new-instance v4, Lf/k/a/b/d1/e0/a;
|
|
|
|
invoke-direct {v4}, Lf/k/a/b/d1/e0/a;-><init>()V
|
|
|
|
aput-object v4, v0, v1
|
|
|
|
const/4 v1, 0x6
|
|
|
|
new-instance v4, Lf/k/a/b/d1/e0/b0;
|
|
|
|
iget v5, p0, Lf/k/a/b/d1/f;->h:I
|
|
|
|
iget v6, p0, Lf/k/a/b/d1/f;->i:I
|
|
|
|
invoke-direct {v4, v5, v6}, Lf/k/a/b/d1/e0/b0;-><init>(II)V
|
|
|
|
aput-object v4, v0, v1
|
|
|
|
const/4 v1, 0x7
|
|
|
|
new-instance v4, Lf/k/a/b/d1/z/b;
|
|
|
|
invoke-direct {v4}, Lf/k/a/b/d1/z/b;-><init>()V
|
|
|
|
aput-object v4, v0, v1
|
|
|
|
const/16 v1, 0x8
|
|
|
|
new-instance v4, Lf/k/a/b/d1/d0/c;
|
|
|
|
invoke-direct {v4}, Lf/k/a/b/d1/d0/c;-><init>()V
|
|
|
|
aput-object v4, v0, v1
|
|
|
|
const/16 v1, 0x9
|
|
|
|
new-instance v4, Lf/k/a/b/d1/e0/u;
|
|
|
|
invoke-direct {v4}, Lf/k/a/b/d1/e0/u;-><init>()V
|
|
|
|
aput-object v4, v0, v1
|
|
|
|
const/16 v1, 0xa
|
|
|
|
new-instance v4, Lf/k/a/b/d1/f0/a;
|
|
|
|
invoke-direct {v4}, Lf/k/a/b/d1/f0/a;-><init>()V
|
|
|
|
aput-object v4, v0, v1
|
|
|
|
const/16 v1, 0xb
|
|
|
|
new-instance v4, Lf/k/a/b/d1/x/a;
|
|
|
|
iget v5, p0, Lf/k/a/b/d1/f;->c:I
|
|
|
|
iget-boolean v6, p0, Lf/k/a/b/d1/f;->a:Z
|
|
|
|
if-eqz v6, :cond_2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v3, 0x0
|
|
|
|
:goto_2
|
|
or-int/2addr v3, v5
|
|
|
|
invoke-direct {v4, v3}, Lf/k/a/b/d1/x/a;-><init>(I)V
|
|
|
|
aput-object v4, v0, v1
|
|
|
|
const/16 v1, 0xc
|
|
|
|
new-instance v3, Lf/k/a/b/d1/e0/c;
|
|
|
|
invoke-direct {v3}, Lf/k/a/b/d1/e0/c;-><init>()V
|
|
|
|
aput-object v3, v0, v1
|
|
|
|
sget-object v1, Lf/k/a/b/d1/f;->j:Ljava/lang/reflect/Constructor;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
const/16 v3, 0xd
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
:try_start_1
|
|
sget-object v1, Lf/k/a/b/d1/f;->j:Ljava/lang/reflect/Constructor;
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lf/k/a/b/d1/h;
|
|
|
|
aput-object v1, v0, v3
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_3
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
:try_start_2
|
|
new-instance v1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v2, "Unexpected error creating FLAC extractor"
|
|
|
|
invoke-direct {v1, v2, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v1
|
|
|
|
:cond_3
|
|
new-instance v1, Lf/k/a/b/d1/y/c;
|
|
|
|
invoke-direct {v1}, Lf/k/a/b/d1/y/c;-><init>()V
|
|
|
|
aput-object v1, v0, v3
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
:goto_3
|
|
monitor-exit p0
|
|
|
|
return-object v0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|