Index

A B C D E F G H I L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AARCH64 - Static variable in interface com.facebook.soloader.MinElf.ISA
 
addObserver(Observer) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
addToLdLibraryPath(Collection<String>) - Method in class com.facebook.soloader.ApplicationSoSource
 
addToLdLibraryPath(Collection<String>) - Method in class com.facebook.soloader.DirectorySoSource
 
addToLdLibraryPath(Collection<String>) - Method in class com.facebook.soloader.SoSource
Add an element to an LD_LIBRARY_PATH under construction.
ApplicationSoSource - Class in com.facebook.soloader
SoSource that wraps a DirectorySoSource for the application's nativeLibraryDir.
ApplicationSoSource(Context, int) - Constructor for class com.facebook.soloader.ApplicationSoSource
 
arch - Variable in class com.facebook.soloader.Manifest
 
areSoSourcesAbisSupported() - Static method in class com.facebook.soloader.SoLoader
This function ensure that every SoSources Abi is supported for at least one abi in SysUtil.getSupportedAbis
ARM - Static variable in interface com.facebook.soloader.MinElf.ISA
 
AsyncInitSoSource - Interface in com.facebook.soloader
 

B

BackupSoSource - Class in com.facebook.soloader
SoSource that extracts zipped libraries from an APK to the filesystem.
BackupSoSource(Context, String) - Constructor for class com.facebook.soloader.BackupSoSource
 
BackupSoSource(Context, String, boolean) - Constructor for class com.facebook.soloader.BackupSoSource
 
BaseApkPathHistory - Class in com.facebook.soloader.recovery
 
BaseApkPathHistory(int) - Constructor for class com.facebook.soloader.recovery.BaseApkPathHistory
 

C

CheckBaseApkExists - Class in com.facebook.soloader.recovery
RecoveryStrategy that detects cases when SoLoader is unable to reconstruct path to the base apk.
CheckBaseApkExists(Context, BaseApkPathHistory) - Constructor for class com.facebook.soloader.recovery.CheckBaseApkExists
 
CheckOnDiskStateDataApp - Class in com.facebook.soloader.recovery
 
CheckOnDiskStateDataApp(Context) - Constructor for class com.facebook.soloader.recovery.CheckOnDiskStateDataApp
 
CheckOnDiskStateDataData - Class in com.facebook.soloader.recovery
 
CheckOnDiskStateDataData() - Constructor for class com.facebook.soloader.recovery.CheckOnDiskStateDataData
 
cloneSoSources() - Static method in class com.facebook.soloader.SoLoader
 
close() - Method in class com.facebook.soloader.ElfFileChannel
 
close() - Method in class com.facebook.soloader.ElfZipFileChannel
 
close() - Method in class com.facebook.soloader.FileLocker
 
com.facebook.soloader - package com.facebook.soloader
 
com.facebook.soloader.nativeloader - package com.facebook.soloader.nativeloader
 
com.facebook.soloader.observer - package com.facebook.soloader.observer
 
com.facebook.soloader.recovery - package com.facebook.soloader.recovery
 
CompositeRecoveryStrategy - Class in com.facebook.soloader.recovery
 
CompositeRecoveryStrategy(RecoveryStrategy...) - Constructor for class com.facebook.soloader.recovery.CompositeRecoveryStrategy
 
create(String, Context, SoSource[]) - Static method in error com.facebook.soloader.SoLoaderDSONotFoundError
 
create(String, UnsatisfiedLinkError) - Static method in class com.facebook.soloader.SoLoaderULErrorFactory
 

D

d(String, String) - Static method in class com.facebook.soloader.LogUtil
Send an Log.DEBUG log message.
d(String, String, Throwable) - Static method in class com.facebook.soloader.LogUtil
Send an Log.DEBUG log message and log the exception.
DefaultRecoveryStrategyFactory - Class in com.facebook.soloader.recovery
 
DefaultRecoveryStrategyFactory(Context, int) - Constructor for class com.facebook.soloader.recovery.DefaultRecoveryStrategyFactory
 
deinitForTest() - Static method in class com.facebook.soloader.SoLoader
Make shared-library loading delegate to the system.
deleteOrThrow(File) - Static method in class com.facebook.soloader.SysUtil
 
DetectDataAppMove - Class in com.facebook.soloader.recovery
 
DetectDataAppMove(Context, BaseApkPathHistory) - Constructor for class com.facebook.soloader.recovery.DetectDataAppMove
 
DirectApkSoSource - Class in com.facebook.soloader
SoSource that directly finds shared libraries in a APK.
DirectApkSoSource(Context) - Constructor for class com.facebook.soloader.DirectApkSoSource
 
DirectApkSoSource(Set<String>) - Constructor for class com.facebook.soloader.DirectApkSoSource
 
DirectorySoSource - Class in com.facebook.soloader
SoSource that finds shared libraries in a given directory.
DirectorySoSource(File, int) - Constructor for class com.facebook.soloader.DirectorySoSource
Make a new DirectorySoSource.
DirectorySoSource(File, int, String[]) - Constructor for class com.facebook.soloader.DirectorySoSource
This method is similar to DirectorySoSource(File, int), with the following differences:
DirectSplitSoSource - Class in com.facebook.soloader
 
DirectSplitSoSource(String) - Constructor for class com.facebook.soloader.DirectSplitSoSource
 
DoNotOptimize - Annotation Interface in com.facebook.soloader
A hint (which may or may not be observed) to any optimizers in our tool chain that we don't want optimizations being applied to the annotated elements.
DoNotStripAny - Annotation Interface in com.facebook.soloader
A hint (which may or may not be observed) to any optimizers in our tool chain that we don't want annotated elements to be removed or renamed.
Dso(String, String) - Constructor for class com.facebook.soloader.UnpackingSoSource.Dso
 
DT_NEEDED - Static variable in class com.facebook.soloader.MinElf
 
DT_NULL - Static variable in class com.facebook.soloader.MinElf
 
DT_STRTAB - Static variable in class com.facebook.soloader.MinElf
 
dumbDelete(File) - Static method in class com.facebook.soloader.SysUtil
Delete a directory and its contents.

E

e(String, String) - Static method in class com.facebook.soloader.LogUtil
Send an Log.ERROR log message.
e(String, String, Throwable) - Static method in class com.facebook.soloader.LogUtil
Send a Log.ERROR log message and log the exception.
ELF_MAGIC - Static variable in class com.facebook.soloader.MinElf
 
ElfByteChannel - Interface in com.facebook.soloader
 
ElfFileChannel - Class in com.facebook.soloader
 
ElfFileChannel(File) - Constructor for class com.facebook.soloader.ElfFileChannel
 
ElfZipFileChannel - Class in com.facebook.soloader
 
ElfZipFileChannel(ZipFile, ZipEntry) - Constructor for class com.facebook.soloader.ElfZipFileChannel
 
ensureLoaded() - Method in class com.facebook.soloader.NativeLibrary
loads libraries (if not loaded yet), throws on failure
ensureNativeDepsAvailable(Context) - Static method in class com.facebook.soloader.NativeDepsUnpacker
Makes sure that the native deps file has been extracted from the APK to disk so it can be used to load libraries.
ExoSoSource - Class in com.facebook.soloader
SoSource that retrieves libraries from an exopackage repository.
ExoSoSource(Context, String) - Constructor for class com.facebook.soloader.ExoSoSource
 
ExternalSoMapping - Interface in com.facebook.soloader
Similar to MergedSoMapping, but this interface allows extrenal libraries and map to provide their own mapping from Open Source.
extract_DT_NEEDED(ElfByteChannel) - Static method in class com.facebook.soloader.MinElf
Treating bc as an ELF file, extract all the DT_NEEDED entries from its dynamic section.
extract_DT_NEEDED(File) - Static method in class com.facebook.soloader.MinElf
 
ExtractFromZipSoSource - Class in com.facebook.soloader
SoSource that extracts libraries from a zip file to the filesystem.
ExtractFromZipSoSource(Context, File, File, String) - Constructor for class com.facebook.soloader.ExtractFromZipSoSource
 
ExtractFromZipSoSource(Context, String, File, String) - Constructor for class com.facebook.soloader.ExtractFromZipSoSource
 

F

fallocateIfSupported(FileDescriptor, long) - Static method in class com.facebook.soloader.SysUtil
Pre-allocate disk space for a file if we can do that on this version of the OS.
FileLocker - Class in com.facebook.soloader
 
findAbiScore(String[], String) - Static method in class com.facebook.soloader.SysUtil
Determine how preferred a given ABI is on this system.
FLAG_ENABLE_DSONOTFOUND_ERROR_RECOVERY_FOR_BACKUP_SO_SOURCE - Static variable in interface com.facebook.soloader.recovery.RecoveryStrategy
 
fsyncAll(File) - Static method in class com.facebook.soloader.SysUtil
 

G

get() - Method in class com.facebook.soloader.recovery.DefaultRecoveryStrategyFactory
 
get() - Method in interface com.facebook.soloader.recovery.RecoveryStrategyFactory
 
getApkDepBlockLength(File) - Static method in class com.facebook.soloader.SysUtil
Retrieve the size of dependency file.
getAppVersionCode(Context) - Static method in class com.facebook.soloader.SysUtil
 
getBaseName(String) - Static method in class com.facebook.soloader.SysUtil
Gets the base name, without extension, of given file name.
getClassLoaderLdLoadLibrary() - Static method in class com.facebook.soloader.SysUtil
 
getDependencies(String, ElfByteChannel) - Static method in class com.facebook.soloader.NativeDeps
 
getDsosBaseApk() - Method in class com.facebook.soloader.BackupSoSource
 
getDsosBaseApk() - Method in class com.facebook.soloader.UnpackingSoSource
 
getError() - Method in class com.facebook.soloader.NativeLibrary
 
getFileLocker(File) - Static method in class com.facebook.soloader.SysUtil
 
getLibraryDependencies(String) - Method in class com.facebook.soloader.ApplicationSoSource
 
getLibraryDependencies(String) - Method in class com.facebook.soloader.DirectorySoSource
 
getLibraryDependencies(String) - Method in class com.facebook.soloader.DirectSplitSoSource
 
getLibraryDependencies(String) - Static method in class com.facebook.soloader.SoLoader
Gets the dependencies of a library.
getLibraryDependencies(String) - Method in class com.facebook.soloader.SoSource
Gets the dependencies of a library if it is found on this SoSource
getLibraryPath(String) - Method in class com.facebook.soloader.ApplicationSoSource
 
getLibraryPath(String) - Method in class com.facebook.soloader.DirectApkSoSource
 
getLibraryPath(String) - Method in class com.facebook.soloader.DirectorySoSource
 
getLibraryPath(String) - Method in class com.facebook.soloader.DirectSplitSoSource
 
getLibraryPath(String) - Static method in class com.facebook.soloader.nativeloader.NativeLoader
Get the path of a loaded shared library.
getLibraryPath(String) - Method in interface com.facebook.soloader.nativeloader.NativeLoaderDelegate
 
getLibraryPath(String) - Method in class com.facebook.soloader.nativeloader.SystemDelegate
 
getLibraryPath(String) - Method in class com.facebook.soloader.NativeLoaderToSoLoaderDelegate
 
getLibraryPath(String) - Static method in class com.facebook.soloader.SoLoader
Gets the full path of a library.
getLibraryPath(String) - Method in class com.facebook.soloader.SoSource
Gets the full path of a library if it is found on this SoSource.
getLibraryPath(String) - Method in class com.facebook.soloader.SystemLoadWrapperSoSource
 
getLibraryPath(String) - Method in class com.facebook.soloader.UnpackingSoSource
 
getLoadedLibrariesCount() - Static method in class com.facebook.soloader.SoLoader
Returns count of already loaded so libraries
getName() - Method in class com.facebook.soloader.ApplicationSoSource
 
getName() - Method in class com.facebook.soloader.BackupSoSource
 
getName() - Method in class com.facebook.soloader.DirectApkSoSource
 
getName() - Method in class com.facebook.soloader.DirectorySoSource
 
getName() - Method in class com.facebook.soloader.DirectSplitSoSource
 
getName() - Method in class com.facebook.soloader.ExoSoSource
 
getName() - Method in class com.facebook.soloader.ExtractFromZipSoSource
 
getName() - Method in class com.facebook.soloader.NoopSoSource
 
getName() - Method in class com.facebook.soloader.SoSource
 
getName() - Method in class com.facebook.soloader.SystemLoadWrapperSoSource
 
getNativeDepsDir(Context) - Static method in class com.facebook.soloader.NativeDepsUnpacker
 
getNativeDepsFilePath(Context) - Static method in class com.facebook.soloader.NativeDepsUnpacker
 
getNativeLoadRuntimeMethod() - Static method in class com.facebook.soloader.SysUtil
 
getOrCreateLockOnDir(File, File) - Static method in class com.facebook.soloader.SysUtil
 
getSoFile(String) - Static method in class com.facebook.soloader.SoLoader
Returns the so file for the specified library.
getSoFileByName(String) - Method in class com.facebook.soloader.ApplicationSoSource
 
getSoFileByName(String) - Method in class com.facebook.soloader.DirectorySoSource
 
getSoName() - Method in error com.facebook.soloader.SoLoaderULError
 
getSoSourceAbis() - Method in class com.facebook.soloader.DirectSplitSoSource
 
getSoSourceAbis() - Method in class com.facebook.soloader.SoSource
Return an array of ABIs handled by this SoSource.
getSoSourceAbis() - Method in class com.facebook.soloader.UnpackingSoSource
 
getSoSourcesVersion() - Static method in class com.facebook.soloader.nativeloader.NativeLoader
Get the version of the loader used.
getSoSourcesVersion() - Method in interface com.facebook.soloader.nativeloader.NativeLoaderDelegate
 
getSoSourcesVersion() - Method in class com.facebook.soloader.nativeloader.SystemDelegate
 
getSoSourcesVersion() - Method in class com.facebook.soloader.NativeLoaderToSoLoaderDelegate
 
getSoSourcesVersion() - Static method in class com.facebook.soloader.SoLoader
 
getSoStorePath(Context, String) - Static method in class com.facebook.soloader.UnpackingSoSource
 
getSupportedAbis() - Static method in class com.facebook.soloader.SysUtil
Return an list of ABIs we supported on this device ordered according to preference.

H

hash - Variable in class com.facebook.soloader.UnpackingSoSource.Dso
 
hasZippedLibs() - Method in class com.facebook.soloader.ExtractFromZipSoSource
 

I

i(String, String) - Static method in class com.facebook.soloader.LogUtil
Send an Log.INFO log message
i(String, String, Throwable) - Static method in class com.facebook.soloader.LogUtil
Send an Log.INFO log message and log the exception.
init(Context, boolean) - Static method in class com.facebook.soloader.SoLoader
Backward compatibility.
init(Context, int) - Static method in class com.facebook.soloader.SoLoader
 
init(Context, int, SoFileLoader) - Static method in class com.facebook.soloader.SoLoader
Initializes native code loading for this app; this class's other static facilities cannot be used until this SoLoader.init(android.content.Context, int) is called.
init(Context, ExternalSoMapping) - Static method in class com.facebook.soloader.SoLoader
Initializes native code loading for this app; this class's other static facilities cannot be used until this SoLoader.init(android.content.Context, int) is called.
init(NativeLoaderDelegate) - Static method in class com.facebook.soloader.nativeloader.NativeLoader
Initializes native code loading for this app.
initIfUninitialized(NativeLoaderDelegate) - Static method in class com.facebook.soloader.nativeloader.NativeLoader
Perform an initialization only if NativeLoader has not already been initialized.
InstrumentedSoFileLoader - Class in com.facebook.soloader
 
InstrumentedSoFileLoader(SoFileLoader) - Constructor for class com.facebook.soloader.InstrumentedSoFileLoader
 
invokeJniOnload(String) - Method in interface com.facebook.soloader.ExternalSoMapping
 
is64Bit() - Static method in class com.facebook.soloader.SysUtil
 
isDisabledExtractNativeLibs(Context) - Static method in class com.facebook.soloader.SysUtil
 
isInitialized() - Static method in class com.facebook.soloader.nativeloader.NativeLoader
Determine whether NativeLoader has already been initialized.
isInitialized() - Static method in class com.facebook.soloader.SoLoader
 
isOpen() - Method in class com.facebook.soloader.ElfFileChannel
 
isOpen() - Method in class com.facebook.soloader.ElfZipFileChannel
 
isSupportedDirectLoad(Context, int) - Static method in class com.facebook.soloader.SysUtil
 
isValid() - Method in class com.facebook.soloader.DirectApkSoSource
 

L

libs - Variable in class com.facebook.soloader.Manifest
 
load(String, int) - Method in class com.facebook.soloader.InstrumentedSoFileLoader
 
load(String, int) - Method in interface com.facebook.soloader.SoFileLoader
Load the so file from given path.
load(String, int) - Method in class com.facebook.soloader.SoFileLoaderImpl
 
LOAD_FLAG_ALLOW_IMPLICIT_PROVISION - Static variable in class com.facebook.soloader.SoSource
Allow loadLibrary to implicitly provide the library instead of actually loading it.
LOAD_FLAG_ALLOW_SOURCE_CHANGE - Static variable in class com.facebook.soloader.SoSource
Deprecated.
LOAD_FLAG_MIN_CUSTOM_FLAG - Static variable in class com.facebook.soloader.SoSource
Min flag that can be used in customized SoFileLoader.load(String, int) implementation.
LOAD_RESULT_IMPLICITLY_PROVIDED - Static variable in class com.facebook.soloader.SoSource
This SoSource did not load the library, but verified that the system loader will load it if some other library depends on it.
LOAD_RESULT_LOADED - Static variable in class com.facebook.soloader.SoSource
This SoSource loaded the given library.
LOAD_RESULT_NOT_FOUND - Static variable in class com.facebook.soloader.SoSource
This SoSource doesn't know how to provide the given library.
loadBytes(String, ElfByteChannel, int) - Method in class com.facebook.soloader.InstrumentedSoFileLoader
 
loadBytes(String, ElfByteChannel, int) - Method in interface com.facebook.soloader.SoFileLoader
Load the so from memory.
loadBytes(String, ElfByteChannel, int) - Method in class com.facebook.soloader.SoFileLoaderImpl
 
loadDependencies(String, ElfByteChannel, int, StrictMode.ThreadPolicy) - Static method in class com.facebook.soloader.NativeDeps
 
loadLibraries() - Method in class com.facebook.soloader.NativeLibrary
safe loading of native libs
loadLibrary(String) - Static method in class com.facebook.soloader.nativeloader.NativeLoader
 
loadLibrary(String) - Static method in class com.facebook.soloader.SoLoader
 
loadLibrary(String) - Method in interface com.facebook.soloader.SystemLoadLibraryWrapper
 
loadLibrary(String, int) - Static method in class com.facebook.soloader.nativeloader.NativeLoader
Load a shared library, initializing any JNI binding it contains.
loadLibrary(String, int) - Method in interface com.facebook.soloader.nativeloader.NativeLoaderDelegate
 
loadLibrary(String, int) - Method in class com.facebook.soloader.nativeloader.SystemDelegate
 
loadLibrary(String, int) - Method in class com.facebook.soloader.NativeLoaderToSoLoaderDelegate
 
loadLibrary(String, int) - Static method in class com.facebook.soloader.SoLoader
Load a shared library, initializing any JNI binding it contains.
loadLibrary(String, int, StrictMode.ThreadPolicy) - Method in class com.facebook.soloader.ApplicationSoSource
 
loadLibrary(String, int, StrictMode.ThreadPolicy) - Method in class com.facebook.soloader.BackupSoSource
 
loadLibrary(String, int, StrictMode.ThreadPolicy) - Method in class com.facebook.soloader.DirectApkSoSource
 
loadLibrary(String, int, StrictMode.ThreadPolicy) - Method in class com.facebook.soloader.DirectorySoSource
 
loadLibrary(String, int, StrictMode.ThreadPolicy) - Method in class com.facebook.soloader.DirectSplitSoSource
 
loadLibrary(String, int, StrictMode.ThreadPolicy) - Method in class com.facebook.soloader.NoopSoSource
 
loadLibrary(String, int, StrictMode.ThreadPolicy) - Method in class com.facebook.soloader.SoSource
Load a shared library library into this process.
loadLibrary(String, int, StrictMode.ThreadPolicy) - Method in class com.facebook.soloader.SystemLoadWrapperSoSource
 
lock(File) - Static method in class com.facebook.soloader.FileLocker
 
LogUtil - Class in com.facebook.soloader
 

M

makeApkDepBlock(File, Context) - Static method in class com.facebook.soloader.SysUtil
N.B.
makeLdLibraryPath() - Static method in class com.facebook.soloader.SoLoader
Retrieve an LD_LIBRARY_PATH value suitable for using the native linker to resolve our shared libraries.
makeNonZipPath(String) - Static method in class com.facebook.soloader.SysUtil
 
Manifest - Class in com.facebook.soloader
 
mapLibName(String) - Method in interface com.facebook.soloader.ExternalSoMapping
 
MinElf - Class in com.facebook.soloader
Extract SoLoader bootstrap information from an ELF file.
MinElf() - Constructor for class com.facebook.soloader.MinElf
 
MinElf.ISA - Interface in com.facebook.soloader
 
mkdirOrThrow(File) - Static method in class com.facebook.soloader.SysUtil
Like File.mkdirs, but throws on error.

N

name - Variable in class com.facebook.soloader.UnpackingSoSource.Dso
 
NativeDeps - Class in com.facebook.soloader
Class for getting native libraries dependencies for a DSO.
NativeDeps() - Constructor for class com.facebook.soloader.NativeDeps
 
NativeDepsUnpacker - Class in com.facebook.soloader
Unpacks native deps file from APK to disk.
NativeLibrary - Class in com.facebook.soloader
This is the base class for all the classes representing certain native library.
NativeLoader - Class in com.facebook.soloader.nativeloader
Facade to load native libraries for android
NativeLoaderDelegate - Interface in com.facebook.soloader.nativeloader
Interface used to connect chosen loader of native libraries to NativeLoader
NativeLoaderToSoLoaderDelegate - Class in com.facebook.soloader
Class that connects SoLoader to NativeLoader
NativeLoaderToSoLoaderDelegate() - Constructor for class com.facebook.soloader.NativeLoaderToSoLoaderDelegate
 
NoBaseApkException - Exception in com.facebook.soloader
 
NoBaseApkException(String, Throwable) - Constructor for exception com.facebook.soloader.NoBaseApkException
 
NoBaseApkException(Throwable) - Constructor for exception com.facebook.soloader.NoBaseApkException
 
NoopSoSource - Class in com.facebook.soloader
SoSource that does nothing and pretends to successfully load all libraries.
NoopSoSource() - Constructor for class com.facebook.soloader.NoopSoSource
 

O

Observer - Interface in com.facebook.soloader.observer
 
ObserverHolder - Class in com.facebook.soloader.observer
 
ObserverHolder() - Constructor for class com.facebook.soloader.observer.ObserverHolder
 
ON_LD_LIBRARY_PATH - Static variable in class com.facebook.soloader.DirectorySoSource
 
onGetDependenciesEnd(Throwable) - Method in interface com.facebook.soloader.observer.Observer
 
onGetDependenciesEnd(Throwable) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
onGetDependenciesStart() - Method in interface com.facebook.soloader.observer.Observer
 
onGetDependenciesStart() - Static method in class com.facebook.soloader.observer.ObserverHolder
 
onLoadDependencyEnd(Throwable, boolean) - Method in interface com.facebook.soloader.observer.Observer
 
onLoadDependencyEnd(Throwable, boolean) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
onLoadDependencyStart(String, int) - Method in interface com.facebook.soloader.observer.Observer
 
onLoadDependencyStart(String, int) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
onLoadLibraryEnd(Throwable, boolean) - Method in interface com.facebook.soloader.observer.Observer
 
onLoadLibraryEnd(Throwable, boolean) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
onLoadLibraryStart(String, String, int) - Method in interface com.facebook.soloader.observer.Observer
 
onLoadLibraryStart(String, String, int) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
onRecoveryEnd(Throwable) - Method in interface com.facebook.soloader.observer.Observer
 
onRecoveryEnd(Throwable) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
onRecoveryStart(RecoveryStrategy) - Method in interface com.facebook.soloader.observer.Observer
 
onRecoveryStart(RecoveryStrategy) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
onSoFileLoaderLoadEnd(Throwable) - Method in interface com.facebook.soloader.observer.Observer
 
onSoFileLoaderLoadEnd(Throwable) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
onSoFileLoaderLoadStart(SoFileLoader, String, int) - Method in interface com.facebook.soloader.observer.Observer
 
onSoFileLoaderLoadStart(SoFileLoader, String, int) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
onSoSourceLoadLibraryEnd(Throwable) - Method in interface com.facebook.soloader.observer.Observer
 
onSoSourceLoadLibraryEnd(Throwable) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
onSoSourceLoadLibraryStart(SoSource) - Method in interface com.facebook.soloader.observer.Observer
 
onSoSourceLoadLibraryStart(SoSource) - Static method in class com.facebook.soloader.observer.ObserverHolder
 
openChannel() - Method in class com.facebook.soloader.ElfFileChannel
 

P

peekAndPrepareSoSource(String, int) - Method in class com.facebook.soloader.BackupSoSource
 
PN_XNUM - Static variable in class com.facebook.soloader.MinElf
 
position() - Method in interface com.facebook.soloader.ElfByteChannel
 
position() - Method in class com.facebook.soloader.ElfFileChannel
 
position() - Method in class com.facebook.soloader.ElfZipFileChannel
 
position(long) - Method in interface com.facebook.soloader.ElfByteChannel
 
position(long) - Method in class com.facebook.soloader.ElfFileChannel
 
position(long) - Method in class com.facebook.soloader.ElfZipFileChannel
 
prepare(int) - Method in class com.facebook.soloader.BackupSoSource
 
prepare(int) - Method in class com.facebook.soloader.UnpackingSoSource
Verify or refresh the state of the shared library store.
PREPARE_FLAG_ALLOW_ASYNC_INIT - Static variable in class com.facebook.soloader.SoSource
Allow prepare to spawn threads to do background work.
PREPARE_FLAG_DISABLE_FS_SYNC_JOB - Static variable in class com.facebook.soloader.SoSource
Disable so file fsync job.
PREPARE_FLAG_FORCE_REFRESH - Static variable in class com.facebook.soloader.SoSource
Force prepare to refresh libs.
PREPARE_FLAG_SKIP_BACKUP_SO_SOURCE - Static variable in class com.facebook.soloader.SoSource
Skip preparing backup so source.
prependSoSource(SoSource) - Static method in class com.facebook.soloader.SoLoader
Add a new source of native libraries.
PT_DYNAMIC - Static variable in class com.facebook.soloader.MinElf
 
PT_LOAD - Static variable in class com.facebook.soloader.MinElf
 

R

read(DataInputStream) - Static method in class com.facebook.soloader.Manifest
 
read(InputStream) - Static method in class com.facebook.soloader.Manifest
 
read(ByteBuffer) - Method in interface com.facebook.soloader.ElfByteChannel
 
read(ByteBuffer) - Method in class com.facebook.soloader.ElfFileChannel
 
read(ByteBuffer) - Method in class com.facebook.soloader.ElfZipFileChannel
Reads a sequence of bytes from this channel into the given buffer.
read(ByteBuffer, long) - Method in interface com.facebook.soloader.ElfByteChannel
 
read(ByteBuffer, long) - Method in class com.facebook.soloader.ElfFileChannel
 
read(ByteBuffer, long) - Method in class com.facebook.soloader.ElfZipFileChannel
Reads a sequence of bytes from this channel into the given buffer, starting at the given file position.
recordPathIfNew(String) - Method in class com.facebook.soloader.recovery.BaseApkPathHistory
 
recover(Context) - Method in class com.facebook.soloader.ApplicationSoSource
 
recover(Context) - Method in class com.facebook.soloader.BackupSoSource
 
recover(Context) - Method in class com.facebook.soloader.DirectApkSoSource
 
recover(Context) - Method in interface com.facebook.soloader.RecoverableSoSource
 
recover(UnsatisfiedLinkError, SoSource[]) - Method in class com.facebook.soloader.recovery.CheckBaseApkExists
 
recover(UnsatisfiedLinkError, SoSource[]) - Method in class com.facebook.soloader.recovery.CheckOnDiskStateDataApp
 
recover(UnsatisfiedLinkError, SoSource[]) - Method in class com.facebook.soloader.recovery.CheckOnDiskStateDataData
 
recover(UnsatisfiedLinkError, SoSource[]) - Method in class com.facebook.soloader.recovery.CompositeRecoveryStrategy
 
recover(UnsatisfiedLinkError, SoSource[]) - Method in class com.facebook.soloader.recovery.DetectDataAppMove
 
recover(UnsatisfiedLinkError, SoSource[]) - Method in interface com.facebook.soloader.recovery.RecoveryStrategy
 
recover(UnsatisfiedLinkError, SoSource[]) - Method in class com.facebook.soloader.recovery.ReunpackBackupSoSources
 
recover(UnsatisfiedLinkError, SoSource[]) - Method in class com.facebook.soloader.recovery.ReunpackNonBackupSoSources
 
recover(UnsatisfiedLinkError, SoSource[]) - Method in class com.facebook.soloader.recovery.WaitForAsyncInit
 
RecoverableSoSource - Interface in com.facebook.soloader
 
RecoveryStrategy - Interface in com.facebook.soloader.recovery
 
RecoveryStrategyFactory - Interface in com.facebook.soloader.recovery
 
report() - Method in class com.facebook.soloader.recovery.BaseApkPathHistory
 
report(StringBuilder) - Method in class com.facebook.soloader.recovery.BaseApkPathHistory
 
resetObserversForTestsOnly() - Static method in class com.facebook.soloader.observer.ObserverHolder
 
RESOLVE_DEPENDENCIES - Static variable in class com.facebook.soloader.DirectorySoSource
 
ReunpackBackupSoSources - Class in com.facebook.soloader.recovery
RecoveryStrategy that detects cases when SoLoader failed to load a corrupted library, case in which we try to re-unpack the libraries.
ReunpackBackupSoSources() - Constructor for class com.facebook.soloader.recovery.ReunpackBackupSoSources
 
ReunpackBackupSoSources(int) - Constructor for class com.facebook.soloader.recovery.ReunpackBackupSoSources
 
ReunpackNonBackupSoSources - Class in com.facebook.soloader.recovery
RecoveryStrategy that detects cases when SoLoader failed to load a corrupted library, case in which we try to re-unpack the libraries.
ReunpackNonBackupSoSources() - Constructor for class com.facebook.soloader.recovery.ReunpackNonBackupSoSources
 

S

setExplicitDependencyResolution() - Method in class com.facebook.soloader.DirectorySoSource
 
setInTestMode() - Static method in class com.facebook.soloader.SoLoader
Turn shared-library loading into a no-op.
setSoSourceAbis(String[]) - Method in class com.facebook.soloader.UnpackingSoSource
 
setSystemLoadLibraryWrapper(SystemLoadLibraryWrapper) - Static method in class com.facebook.soloader.SoLoader
Provide a wrapper object for calling System.loadLibrary(java.lang.String).
size() - Method in interface com.facebook.soloader.ElfByteChannel
 
size() - Method in class com.facebook.soloader.ElfFileChannel
 
size() - Method in class com.facebook.soloader.ElfZipFileChannel
 
size() - Method in class com.facebook.soloader.recovery.BaseApkPathHistory
 
SKIP_MERGED_JNI_ONLOAD - Static variable in interface com.facebook.soloader.nativeloader.NativeLoaderDelegate
Skip calling JNI_OnLoad if the library is merged.
SO_STORE_NAME_MAIN - Static variable in class com.facebook.soloader.SoLoader
Name of the directory we use for extracted DSOs from built-in SO sources (main APK, exopackage)
SoFileLoader - Interface in com.facebook.soloader
 
SoFileLoaderImpl - Class in com.facebook.soloader
 
SoFileLoaderImpl() - Constructor for class com.facebook.soloader.SoFileLoaderImpl
 
SoLoader - Class in com.facebook.soloader
Native code loader.
SoLoader() - Constructor for class com.facebook.soloader.SoLoader
 
SOLOADER_ALLOW_ASYNC_INIT - Static variable in class com.facebook.soloader.SoLoader
Allow deferring some initialization work to asynchronous background threads.
SOLOADER_DISABLE_BACKUP_SOSOURCE - Static variable in class com.facebook.soloader.SoLoader
In some contexts, using a backup so source in case of so corruption is not feasible e.g.
SOLOADER_DISABLE_FS_SYNC_JOB - Static variable in class com.facebook.soloader.SoLoader
Experiment ONLY: disable the fsync job in soSource
SOLOADER_DONT_TREAT_AS_SYSTEMAPP - Static variable in class com.facebook.soloader.SoLoader
Deprecated.
SOLOADER_ENABLE_BACKUP_SOSOURCE_DSONOTFOUND_ERROR_RECOVERY - Static variable in class com.facebook.soloader.SoLoader
Experiment ONLY: skip DSONotFound error recovery for back up so source
SOLOADER_ENABLE_BASE_APK_SPLIT_SOURCE - Static variable in class com.facebook.soloader.SoLoader
Experiment ONLY: skip custom SoSources for base.apk and rely on System.loadLibrary calls.
SOLOADER_ENABLE_DIRECT_SOSOURCE - Static variable in class com.facebook.soloader.SoLoader
Deprecated.
SOLOADER_ENABLE_EXOPACKAGE - Static variable in class com.facebook.soloader.SoLoader
Enable the exopackage SoSource.
SOLOADER_ENABLE_SYSTEMLOAD_WRAPPER_SOSOURCE - Static variable in class com.facebook.soloader.SoLoader
Experiment ONLY: use the SystemLoadWrapperSoSource to instead of the directApk/Application soSource.
SOLOADER_EXPLICITLY_ENABLE_BACKUP_SOSOURCE - Static variable in class com.facebook.soloader.SoLoader
For compatibility, we need explicitly enable the backup soSource.
SOLOADER_IMPLICIT_DEPENDENCIES_TEST - Static variable in class com.facebook.soloader.SoLoader
 
SOLOADER_LOOK_IN_ZIP - Static variable in class com.facebook.soloader.SoLoader
 
SOLOADER_SKIP_MERGED_JNI_ONLOAD - Static variable in class com.facebook.soloader.SoLoader
Skip calling JNI_OnLoad if the library is merged.
SoLoader.WrongAbiError - Error in com.facebook.soloader
 
SoLoaderCorruptedLibFileError - Error in com.facebook.soloader
 
SoLoaderCorruptedLibFileError(String) - Constructor for error com.facebook.soloader.SoLoaderCorruptedLibFileError
 
SoLoaderCorruptedLibFileError(String, String) - Constructor for error com.facebook.soloader.SoLoaderCorruptedLibFileError
 
SoLoaderCorruptedLibNameError - Error in com.facebook.soloader
 
SoLoaderCorruptedLibNameError(String) - Constructor for error com.facebook.soloader.SoLoaderCorruptedLibNameError
 
SoLoaderCorruptedLibNameError(String, String) - Constructor for error com.facebook.soloader.SoLoaderCorruptedLibNameError
 
SoLoaderDSONotFoundError - Error in com.facebook.soloader
 
SoLoaderDSONotFoundError(String) - Constructor for error com.facebook.soloader.SoLoaderDSONotFoundError
 
SoLoaderDSONotFoundError(String, String) - Constructor for error com.facebook.soloader.SoLoaderDSONotFoundError
 
SoLoaderULError - Error in com.facebook.soloader
 
SoLoaderULError(String) - Constructor for error com.facebook.soloader.SoLoaderULError
 
SoLoaderULError(String, String) - Constructor for error com.facebook.soloader.SoLoaderULError
 
SoLoaderULErrorFactory - Class in com.facebook.soloader
 
SoLoaderULErrorFactory() - Constructor for class com.facebook.soloader.SoLoaderULErrorFactory
 
SoSource - Class in com.facebook.soloader
 
SoSource() - Constructor for class com.facebook.soloader.SoSource
 
SystemDelegate - Class in com.facebook.soloader.nativeloader
Class which connects system's native library loader to NativeLoader
SystemDelegate() - Constructor for class com.facebook.soloader.nativeloader.SystemDelegate
 
SystemLoadLibraryWrapper - Interface in com.facebook.soloader
 
SystemLoadWrapperSoSource - Class in com.facebook.soloader
A SoSource that uses the system's System.loadLibrary() method to load a library
SystemLoadWrapperSoSource() - Constructor for class com.facebook.soloader.SystemLoadWrapperSoSource
 
SysUtil - Class in com.facebook.soloader
 
SysUtil() - Constructor for class com.facebook.soloader.SysUtil
 

T

TAG - Static variable in class com.facebook.soloader.SoLoader
 
toString() - Method in class com.facebook.soloader.ApplicationSoSource
 
toString() - Method in class com.facebook.soloader.BackupSoSource
 
toString() - Method in class com.facebook.soloader.DirectApkSoSource
 
toString() - Method in class com.facebook.soloader.DirectorySoSource
 
toString() - Method in class com.facebook.soloader.ExtractFromZipSoSource
 
toString() - Method in class com.facebook.soloader.SoSource
Return the class name of the actual instance.
toString() - Method in class com.facebook.soloader.SystemLoadWrapperSoSource
 
truncate(long) - Method in interface com.facebook.soloader.ElfByteChannel
 
truncate(long) - Method in class com.facebook.soloader.ElfFileChannel
 
truncate(long) - Method in class com.facebook.soloader.ElfZipFileChannel
 

U

UnpackingSoSource - Class in com.facebook.soloader
SoSource that extracts libraries from an APK to the filesystem.
UnpackingSoSource.Dso - Class in com.facebook.soloader
 
unpackLibrary(String) - Method in class com.facebook.soloader.ApplicationSoSource
 
unpackLibrary(String) - Method in class com.facebook.soloader.DirectApkSoSource
 
unpackLibrary(String) - Method in class com.facebook.soloader.DirectorySoSource
 
unpackLibrary(String) - Method in class com.facebook.soloader.DirectSplitSoSource
 
unpackLibrary(String) - Method in class com.facebook.soloader.NoopSoSource
 
unpackLibrary(String) - Method in class com.facebook.soloader.SoSource
Ensure that a shared library exists on disk somewhere.
unpackLibrary(String) - Method in class com.facebook.soloader.SystemLoadWrapperSoSource
 
unpackLibraryAndDependencies(String) - Static method in class com.facebook.soloader.SoLoader
Unpack library and its dependencies, returning the location of the unpacked library file.
useDepsFile(Context, boolean, boolean) - Static method in class com.facebook.soloader.NativeDeps
Enables fetching dependencies from a deps file expected to be in the APK.
useDepsFile(Context, boolean, boolean) - Static method in class com.facebook.soloader.SoLoader
Enables the use of a deps file to fetch the native library dependencies to avoid reading them from the ELF files.

V

v(String, String) - Static method in class com.facebook.soloader.LogUtil
Send an Log.VERBOSE log message.
v(String, String, Throwable) - Static method in class com.facebook.soloader.LogUtil
Send an Log.VERBOSE log message and log the exception.
VERSION - Static variable in class com.facebook.soloader.SoLoader
 

W

w(String, String) - Static method in class com.facebook.soloader.LogUtil
Send a Log.WARN log message.
w(String, String, Throwable) - Static method in class com.facebook.soloader.LogUtil
Send a Log.WARN log message and log the exception.
WaitForAsyncInit - Class in com.facebook.soloader.recovery
 
WaitForAsyncInit() - Constructor for class com.facebook.soloader.recovery.WaitForAsyncInit
 
waitUntilInitCompleted() - Method in interface com.facebook.soloader.AsyncInitSoSource
 
waitUntilInitCompleted() - Method in class com.facebook.soloader.UnpackingSoSource
 
write(ByteBuffer) - Method in interface com.facebook.soloader.ElfByteChannel
 
write(ByteBuffer) - Method in class com.facebook.soloader.ElfFileChannel
 
write(ByteBuffer) - Method in class com.facebook.soloader.ElfZipFileChannel
 

X

X86 - Static variable in interface com.facebook.soloader.MinElf.ISA
 
X86_64 - Static variable in interface com.facebook.soloader.MinElf.ISA
 
A B C D E F G H I L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form