LOAD_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 |
|---|
SystemLoadWrapperSoSource() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
int |
loadLibrary(java.lang.String soName,
int loadFlags,
android.os.StrictMode.ThreadPolicy threadPolicy)
Load a shared library library into this process.
|
java.lang.String |
toString()
Return the class name of the actual instance.
|
java.io.File |
unpackLibrary(java.lang.String soName)
Ensure that a shared library exists on disk somewhere.
|
addToLdLibraryPath, getLibraryDependencies, getLibraryPath, getSoSourceAbispublic int loadLibrary(java.lang.String soName,
int loadFlags,
android.os.StrictMode.ThreadPolicy threadPolicy)
throws java.io.IOException
SoSourceSoSource.loadLibrary(java.lang.String, int, android.os.StrictMode.ThreadPolicy).loadLibrary in class SoSourcesoName - Name of library to loadloadFlags - Zero or more of the LOAD_FLAG_XXX constants.threadPolicy - Strict Mode policyjava.io.IOException - IOException@Nullable
public java.io.File unpackLibrary(java.lang.String soName)
throws java.io.IOException
SoSourceSoSource.loadLibrary(java.lang.String, int, android.os.StrictMode.ThreadPolicy).unpackLibrary in class SoSourcesoName - Name of library to loadnull if not.java.io.IOException - IOExceptionpublic java.lang.String getName()