mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
304 lines
8.1 KiB
Smali
304 lines
8.1 KiB
Smali
.class final Landroidx/multidex/MultiDex$V14;
|
|
.super Ljava/lang/Object;
|
|
.source "MultiDex.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/multidex/MultiDex;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1a
|
|
name = "V14"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/multidex/MultiDex$V14$JBMR2ElementConstructor;,
|
|
Landroidx/multidex/MultiDex$V14$JBMR11ElementConstructor;,
|
|
Landroidx/multidex/MultiDex$V14$ICSElementConstructor;,
|
|
Landroidx/multidex/MultiDex$V14$ElementConstructor;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final EXTRACTED_SUFFIX_LENGTH:I = 0x4
|
|
|
|
|
|
# instance fields
|
|
.field private final elementConstructor:Landroidx/multidex/MultiDex$V14$ElementConstructor;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/ClassNotFoundException;,
|
|
Ljava/lang/SecurityException;,
|
|
Ljava/lang/NoSuchMethodException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 689
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const-string v0, "dalvik.system.DexPathList$Element"
|
|
|
|
.line 691
|
|
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
.line 693
|
|
:try_start_0
|
|
new-instance v1, Landroidx/multidex/MultiDex$V14$ICSElementConstructor;
|
|
|
|
invoke-direct {v1, v0}, Landroidx/multidex/MultiDex$V14$ICSElementConstructor;-><init>(Ljava/lang/Class;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 696
|
|
:catch_0
|
|
:try_start_1
|
|
new-instance v1, Landroidx/multidex/MultiDex$V14$JBMR11ElementConstructor;
|
|
|
|
invoke-direct {v1, v0}, Landroidx/multidex/MultiDex$V14$JBMR11ElementConstructor;-><init>(Ljava/lang/Class;)V
|
|
:try_end_1
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 698
|
|
:catch_1
|
|
new-instance v1, Landroidx/multidex/MultiDex$V14$JBMR2ElementConstructor;
|
|
|
|
invoke-direct {v1, v0}, Landroidx/multidex/MultiDex$V14$JBMR2ElementConstructor;-><init>(Ljava/lang/Class;)V
|
|
|
|
:goto_0
|
|
iput-object v1, p0, Landroidx/multidex/MultiDex$V14;->elementConstructor:Landroidx/multidex/MultiDex$V14$ElementConstructor;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static install(Ljava/lang/ClassLoader;Ljava/util/List;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/ClassLoader;",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Ljava/io/File;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;,
|
|
Ljava/lang/SecurityException;,
|
|
Ljava/lang/IllegalArgumentException;,
|
|
Ljava/lang/ClassNotFoundException;,
|
|
Ljava/lang/NoSuchMethodException;,
|
|
Ljava/lang/InstantiationException;,
|
|
Ljava/lang/IllegalAccessException;,
|
|
Ljava/lang/reflect/InvocationTargetException;,
|
|
Ljava/lang/NoSuchFieldException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "pathList"
|
|
|
|
.line 676
|
|
invoke-static {p0, v0}, Landroidx/multidex/MultiDex;->access$000(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/reflect/Field;
|
|
|
|
move-result-object v0
|
|
|
|
.line 677
|
|
invoke-virtual {v0, p0}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
.line 678
|
|
new-instance v0, Landroidx/multidex/MultiDex$V14;
|
|
|
|
invoke-direct {v0}, Landroidx/multidex/MultiDex$V14;-><init>()V
|
|
|
|
invoke-direct {v0, p1}, Landroidx/multidex/MultiDex$V14;->makeDexElements(Ljava/util/List;)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
:try_start_0
|
|
const-string v0, "dexElements"
|
|
|
|
.line 680
|
|
invoke-static {p0, v0, p1}, Landroidx/multidex/MultiDex;->access$100(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/NoSuchFieldException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
const-string v1, "MultiDex"
|
|
|
|
const-string v2, "Failed find field \'dexElements\' attempting \'pathElements\'"
|
|
|
|
.line 684
|
|
invoke-static {v1, v2, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
const-string v0, "pathElements"
|
|
|
|
.line 685
|
|
invoke-static {p0, v0, p1}, Landroidx/multidex/MultiDex;->access$100(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private makeDexElements(Ljava/util/List;)[Ljava/lang/Object;
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Ljava/io/File;",
|
|
">;)[",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;,
|
|
Ljava/lang/SecurityException;,
|
|
Ljava/lang/IllegalArgumentException;,
|
|
Ljava/lang/InstantiationException;,
|
|
Ljava/lang/IllegalAccessException;,
|
|
Ljava/lang/reflect/InvocationTargetException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 713
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
new-array v1, v0, [Ljava/lang/Object;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
move v3, v2
|
|
|
|
:goto_0
|
|
if-ge v3, v0, :cond_0
|
|
|
|
.line 715
|
|
invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Ljava/io/File;
|
|
|
|
iget-object v5, p0, Landroidx/multidex/MultiDex$V14;->elementConstructor:Landroidx/multidex/MultiDex$V14$ElementConstructor;
|
|
|
|
.line 718
|
|
invoke-virtual {v4}, Ljava/io/File;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-static {v4}, Landroidx/multidex/MultiDex$V14;->optimizedPathFor(Ljava/io/File;)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v6, v7, v2}, Ldalvik/system/DexFile;->loadDex(Ljava/lang/String;Ljava/lang/String;I)Ldalvik/system/DexFile;
|
|
|
|
move-result-object v6
|
|
|
|
.line 716
|
|
invoke-interface {v5, v4, v6}, Landroidx/multidex/MultiDex$V14$ElementConstructor;->newInstance(Ljava/io/File;Ldalvik/system/DexFile;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
aput-object v4, v1, v3
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object v1
|
|
.end method
|
|
|
|
.method private static optimizedPathFor(Ljava/io/File;)Ljava/lang/String;
|
|
.locals 4
|
|
|
|
.line 731
|
|
invoke-virtual {p0}, Ljava/io/File;->getParentFile()Ljava/io/File;
|
|
|
|
move-result-object v0
|
|
|
|
.line 732
|
|
invoke-virtual {p0}, Ljava/io/File;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
.line 733
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 734
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v2
|
|
|
|
sget v3, Landroidx/multidex/MultiDex$V14;->EXTRACTED_SUFFIX_LENGTH:I
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {p0, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v1, ".dex"
|
|
|
|
invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
.line 736
|
|
new-instance v1, Ljava/io/File;
|
|
|
|
invoke-direct {v1, v0, p0}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V
|
|
|
|
.line 737
|
|
invoke-virtual {v1}, Ljava/io/File;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|