public class ExtractFromZipSoSource extends UnpackingSoSource
SoSource that extracts libraries from a zip file to the filesystem.UnpackingSoSource.DsoON_LD_LIBRARY_PATH, RESOLVE_DEPENDENCIESLOAD_FLAG_ALLOW_IMPLICIT_PROVISION, LOAD_FLAG_ALLOW_SOURCE_CHANGE, LOAD_FLAG_MIN_CUSTOM_FLAG, 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 and Description |
|---|
ExtractFromZipSoSource(android.content.Context context,
java.lang.String name,
java.io.File zipFileName,
java.lang.String zipSearchPattern) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
getLibraryPath, getSoSourceAbis, getSoStorePath, prepareForceRefresh, setSoSourceAbis, waitUntilInitCompletedaddToLdLibraryPath, getLibraryDependencies, loadLibrary, toString, unpackLibrarypublic ExtractFromZipSoSource(android.content.Context context,
java.lang.String name,
java.io.File zipFileName,
java.lang.String zipSearchPattern)
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.public java.lang.String getName()
getName in class DirectorySoSource