Class UnpackingSoSource

    • Method Detail

      • getSoStorePath

        public static java.io.File getSoStorePath​(android.content.Context context,
                                                  java.lang.String name)
      • getSoSourceAbis

        public java.lang.String[] getSoSourceAbis()
        Description copied from class: SoSource
        Return an array of ABIs handled by this SoSource.
        Overrides:
        getSoSourceAbis in class SoSource
        Returns:
        ABIs supported by this SoSource
      • setSoSourceAbis

        public void setSoSourceAbis​(java.lang.String[] abis)
      • getLibraryPath

        @Nullable
        public java.lang.String getLibraryPath​(java.lang.String soName)
                                        throws java.io.IOException
        Description copied from class: SoSource
        Gets the full path of a library if it is found on this SoSource.
        Overrides:
        getLibraryPath in class DirectorySoSource
        Parameters:
        soName - the full file name of the library
        Returns:
        the full path of a library if it is found on this SoSource, null otherwise.
        Throws:
        java.io.IOException - if there is an error calculating soFileName's canonical path
      • loadLibrary

        public int loadLibrary​(java.lang.String soName,
                               int loadFlags,
                               android.os.StrictMode.ThreadPolicy threadPolicy)
                        throws java.io.IOException
        Description copied from class: SoSource
        Load a shared library library into this process. This routine is independent of SoSource.loadLibrary(java.lang.String, int, android.os.StrictMode.ThreadPolicy).
        Overrides:
        loadLibrary in class DirectorySoSource
        Parameters:
        soName - Name of library to load
        loadFlags - Zero or more of the LOAD_FLAG_XXX constants.
        threadPolicy - Strict Mode policy
        Returns:
        One of the LOAD_RESULT_XXX constants.
        Throws:
        java.io.IOException - IOException