Package com.facebook.soloader
Class ExtractFromZipSoSource
- java.lang.Object
-
- com.facebook.soloader.SoSource
-
- com.facebook.soloader.DirectorySoSource
-
- com.facebook.soloader.UnpackingSoSource
-
- com.facebook.soloader.ExtractFromZipSoSource
-
- Direct Known Subclasses:
ApkSoSource
public class ExtractFromZipSoSource extends UnpackingSoSource
SoSourcethat extracts libraries from a zip file to the filesystem.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.facebook.soloader.UnpackingSoSource
UnpackingSoSource.Dso, UnpackingSoSource.DsoManifest, UnpackingSoSource.InputDsoStream
-
-
Field Summary
-
Fields inherited from class com.facebook.soloader.DirectorySoSource
ON_LD_LIBRARY_PATH, RESOLVE_DEPENDENCIES
-
Fields inherited from class com.facebook.soloader.SoSource
LOAD_FLAG_ALLOW_IMPLICIT_PROVISION, LOAD_FLAG_ALLOW_SOURCE_CHANGE, LOAD_FLAG_MIN_CUSTOM_FLAG, LOAD_RESULT_CORRUPTED_LIB_FILE, LOAD_RESULT_IMPLICITLY_PROVIDED, LOAD_RESULT_LOADED, LOAD_RESULT_NOT_FOUND, PREPARE_FLAG_ALLOW_ASYNC_INIT, PREPARE_FLAG_DISABLE_FS_SYNC_JOB, PREPARE_FLAG_FORCE_REFRESH
-
-
Constructor Summary
Constructors Constructor Description ExtractFromZipSoSource(android.content.Context context, java.lang.String name, java.io.File zipFileName, java.lang.String zipSearchPattern)
-
Method Summary
-
Methods inherited from class com.facebook.soloader.UnpackingSoSource
getLibraryPath, getSoSourceAbis, getSoStorePath, loadLibrary, setSoSourceAbis
-
Methods inherited from class com.facebook.soloader.DirectorySoSource
addToLdLibraryPath, getLibraryDependencies, toString, unpackLibrary
-
-
-
-
Constructor Detail
-
ExtractFromZipSoSource
public ExtractFromZipSoSource(android.content.Context context, java.lang.String name, java.io.File zipFileName, java.lang.String zipSearchPattern)- Parameters:
context- Application contextname- Name of the DSO storezipFileName- Name of the zip file from which we extract; opened only on demandzipSearchPattern- Regular expression string matching DSOs in the zip file; subgroup 1 must be an ABI (as from Build.CPU_ABI) and subgroup 2 must be the shared library basename.
-
-