Class ShadowLegacyAssetManager


  • @Implements(value=android.content.res.AssetManager.class,
                looseSignatures=true,
                shadowPicker=Picker.class)
    public class ShadowLegacyAssetManager
    extends ShadowAssetManager
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.google.common.collect.Ordering<java.lang.String> ATTRIBUTE_TYPE_PRECIDENCE  
      protected android.content.res.AssetManager realObject  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void __constructor__()  
      protected void __constructor__​(boolean isSystem)  
      int addAssetPath​(java.lang.String path)  
      protected int addAssetPathNative​(java.lang.String path)  
      protected int addAssetPathNative​(java.lang.String path, boolean appAsLib)  
      protected static boolean applyStyle​(int themeToken, int defStyleAttr, int defStyleRes, int xmlParserToken, int[] attrs, int[] outValues, int[] outIndices)  
      protected static boolean applyStyle​(long themeToken, int defStyleAttr, int defStyleRes, long xmlParserToken, int[] attrs, int[] outValues, int[] outIndices)  
      protected static void applyStyle​(long themeToken, int defStyleAttr, int defStyleRes, long xmlParserToken, int[] inAttrs, int length, long outValuesAddress, long outIndicesAddress)  
      protected void applyStyleToTheme​(long themePtr, int resId, boolean force)  
      static void applyThemeStyle​(int themePtr, int styleRes, boolean force)  
      static void applyThemeStyle​(long themePtr, int styleRes, boolean force)  
      static void copyTheme​(int destPtr, int sourcePtr)  
      static void copyTheme​(long destPtr, long sourcePtr)  
      java.lang.Number createTheme()  
      protected void deleteTheme​(int theme)  
      protected void deleteTheme​(long theme)  
      protected void destroyAsset​(int asset)  
      protected void destroyAsset​(long asset)  
      protected static void dumpTheme​(long theme, int priority, java.lang.String tag, java.lang.String prefix)  
      protected java.lang.Object ensureStringBlocks()  
      int[] getArrayIntResource​(int resId)  
      protected int getArraySize​(int id)  
      protected int[] getArrayStringInfo​(int arrayResId)  
      protected java.lang.String[] getArrayStringResource​(int arrayResId)  
      protected long getAssetLength​(int asset)  
      protected long getAssetLength​(long asset)  
      protected long getAssetRemainingLength​(int asset)  
      protected long getAssetRemainingLength​(long assetHandle)  
      protected android.util.SparseArray<java.lang.String> getAssignedPackageIdentifiers()  
      org.robolectric.res.TypedResource getAttrTypeData​(org.robolectric.res.ResName resName)  
      protected java.lang.String[] getLocales()  
      protected java.lang.Number getNativeStringBlock​(int block)  
      java.lang.CharSequence getResourceBagText​(int ident, int bagEntryId)  
      protected java.lang.String getResourceEntryName​(int resid)  
      int getResourceIdentifier​(java.lang.String name, java.lang.String defType, java.lang.String defPackage)  
      protected int[] getResourceIntArray​(int resId)  
      protected java.lang.String getResourceName​(int resid)  
      protected java.lang.String getResourcePackageName​(int resid)  
      java.lang.String[] getResourceStringArray​(int id)  
      protected org.robolectric.res.ResourceTable getResourceTable()  
      java.lang.CharSequence getResourceText​(int ident)  
      java.lang.CharSequence[] getResourceTextArray​(int resId)  
      protected java.lang.String getResourceTypeName​(int resid)  
      boolean getResourceValue​(int ident, int density, android.util.TypedValue outValue, boolean resolveRefs)  
      protected int getStringBlockCount()  
      boolean getThemeValue​(int themePtr, int ident, android.util.TypedValue outValue, boolean resolveRefs)  
      boolean getThemeValue​(long themePtr, int ident, android.util.TypedValue outValue, boolean resolveRefs)  
      protected android.content.res.TypedArray getTypedArrayResource​(android.content.res.Resources resources, int resId)  
      protected void init()  
      protected void init​(boolean isSystem)  
      boolean isUpToDate()  
      protected java.lang.String[] list​(java.lang.String path)  
      protected int loadResourceBagValue​(int ident, int bagEntryId, android.util.TypedValue outValue, boolean resolve)  
      protected int loadResourceValue​(int ident, short density, android.util.TypedValue outValue, boolean resolve)  
      protected static int loadThemeAttributeValue​(int themeHandle, int ident, android.util.TypedValue outValue, boolean resolve)  
      protected static int loadThemeAttributeValue​(long themeHandle, int ident, android.util.TypedValue outValue, boolean resolve)  
      protected android.content.res.XmlResourceParser loadXmlResourceParser​(int resId, java.lang.String type)  
      protected static void nativeAssetDestroy​(long asset_ptr)  
      protected static long nativeAssetGetLength​(long asset_ptr)  
      protected static long nativeAssetGetRemainingLength​(long asset_ptr)  
      protected static int nativeAssetRead​(long asset_ptr, byte[] java_buffer, int offset, int len)  
      protected static int nativeAssetReadChar​(long asset_ptr)  
      protected static long nativeAssetSeek​(long asset_ptr, long offset, int whence)  
      protected static long nativeCreate()  
      protected static java.lang.String[] nativeCreateIdmapsForStaticOverlaysTargetingAndroid()  
      protected static void nativeThemeCopy​(long destPtr, long sourcePtr)  
      protected static void nativeThemeCopy​(long dstAssetManagerPtr, long dstThemePtr, long srcAssetManagerPtr, long srcThemePtr)  
      protected java.lang.Number newTheme()  
      protected java.io.InputStream open​(java.lang.String fileName)  
      protected java.io.InputStream open​(java.lang.String fileName, int accessMode)  
      protected java.lang.Number openAsset​(java.lang.String fileName, int mode)  
      protected android.os.ParcelFileDescriptor openAssetFd​(java.lang.String fileName, long[] outOffsets)  
      protected android.content.res.AssetFileDescriptor openFd​(java.lang.String fileName)  
      java.io.InputStream openNonAsset​(int cookie, java.lang.String fileName, int accessMode)  
      android.content.res.AssetFileDescriptor openNonAssetFd​(int cookie, java.lang.String fileName)  
      protected android.os.ParcelFileDescriptor openNonAssetFdNative​(int cookie, java.lang.String fileName, long[] outOffsets)  
      protected java.lang.Number openNonAssetNative​(int cookie, java.lang.String fileName, int accessMode)  
      protected java.lang.Number openXmlAssetNative​(int cookie, java.lang.String fileName)  
      protected android.content.res.XmlResourceParser openXmlResourceParser​(int cookie, java.lang.String fileName)  
      void releaseTheme​(int themePtr)  
      void releaseTheme​(long themePtr)  
      static void reset()  
      protected static boolean resolveAttrs​(long themeToken, int defStyleAttr, int defStyleRes, int[] inValues, int[] attrs, int[] outValues, int[] outIndices)  
      protected org.robolectric.res.ResName resolveResName​(org.robolectric.res.ResName resName, org.robolectric.res.android.ResTable_config config)  
      protected org.robolectric.res.TypedResource resolveResourceValue​(org.robolectric.res.TypedResource value, org.robolectric.res.android.ResTable_config config, int resId)  
      protected int retrieveArray​(int id, int[] outValues)  
      protected boolean retrieveAttributes​(int xmlParserToken, int[] attrs, int[] outValues, int[] outIndices)  
      protected boolean retrieveAttributes​(long xmlParserToken, int[] attrs, int[] outValues, int[] outIndices)  
      protected long seekAsset​(int asset, long offset, int whence)  
      protected long seekAsset​(long asset, long offset, int whence)  
      void setApkAssets​(java.lang.Object apkAssetsObject, java.lang.Object invalidateCachesObject)  
      void setConfiguration​(int mcc, int mnc, java.lang.String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int sdkVersion)  
      void setConfiguration​(int mcc, int mnc, java.lang.String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int colorMode, int majorVersion)  
      void setLocale​(java.lang.String locale)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ATTRIBUTE_TYPE_PRECIDENCE

        public static final com.google.common.collect.Ordering<java.lang.String> ATTRIBUTE_TYPE_PRECIDENCE
      • realObject

        @RealObject
        protected android.content.res.AssetManager realObject
    • Constructor Detail

      • ShadowLegacyAssetManager

        public ShadowLegacyAssetManager()
    • Method Detail

      • getAttrTypeData

        public org.robolectric.res.TypedResource getAttrTypeData​(org.robolectric.res.ResName resName)
      • __constructor__

        @Implementation
        protected void __constructor__()
      • __constructor__

        @Implementation
        protected void __constructor__​(boolean isSystem)
      • nativeCreate

        @Implementation(minSdk=28)
        protected static long nativeCreate()
      • init

        @HiddenApi
        @Implementation(maxSdk=20)
        protected void init()
      • init

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=27)
        protected void init​(boolean isSystem)
      • getResourceTable

        protected org.robolectric.res.ResourceTable getResourceTable()
      • getResourceText

        @HiddenApi
        @Implementation
        public java.lang.CharSequence getResourceText​(int ident)
      • getResourceBagText

        @HiddenApi
        @Implementation
        public java.lang.CharSequence getResourceBagText​(int ident,
                                                         int bagEntryId)
      • getStringBlockCount

        @HiddenApi
        @Implementation(maxSdk=27)
        protected int getStringBlockCount()
      • getResourceStringArray

        @HiddenApi
        @Implementation
        public java.lang.String[] getResourceStringArray​(int id)
      • getResourceIdentifier

        @HiddenApi
        @Implementation
        public int getResourceIdentifier​(java.lang.String name,
                                         java.lang.String defType,
                                         java.lang.String defPackage)
      • getResourceValue

        @HiddenApi
        @Implementation
        public boolean getResourceValue​(int ident,
                                        int density,
                                        android.util.TypedValue outValue,
                                        boolean resolveRefs)
      • getResourceTextArray

        @HiddenApi
        @Implementation
        public java.lang.CharSequence[] getResourceTextArray​(int resId)
      • getThemeValue

        @HiddenApi
        @Implementation(maxSdk=20)
        public boolean getThemeValue​(int themePtr,
                                     int ident,
                                     android.util.TypedValue outValue,
                                     boolean resolveRefs)
      • getThemeValue

        @HiddenApi
        @Implementation(minSdk=21)
        public boolean getThemeValue​(long themePtr,
                                     int ident,
                                     android.util.TypedValue outValue,
                                     boolean resolveRefs)
      • ensureStringBlocks

        @HiddenApi
        @Implementation(maxSdk=27)
        protected java.lang.Object ensureStringBlocks()
      • open

        @Implementation
        protected final java.io.InputStream open​(java.lang.String fileName)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • open

        @Implementation
        protected final java.io.InputStream open​(java.lang.String fileName,
                                                 int accessMode)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • openFd

        @Implementation
        protected final android.content.res.AssetFileDescriptor openFd​(java.lang.String fileName)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • list

        @Implementation
        protected final java.lang.String[] list​(java.lang.String path)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • openAsset

        @HiddenApi
        @Implementation(maxSdk=27)
        protected java.lang.Number openAsset​(java.lang.String fileName,
                                             int mode)
                                      throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • openAssetFd

        @HiddenApi
        @Implementation(maxSdk=27)
        protected android.os.ParcelFileDescriptor openAssetFd​(java.lang.String fileName,
                                                              long[] outOffsets)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • openNonAsset

        @HiddenApi
        @Implementation
        public final java.io.InputStream openNonAsset​(int cookie,
                                                      java.lang.String fileName,
                                                      int accessMode)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • openNonAssetNative

        @HiddenApi
        @Implementation(maxSdk=27)
        protected java.lang.Number openNonAssetNative​(int cookie,
                                                      java.lang.String fileName,
                                                      int accessMode)
                                               throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • openNonAssetFd

        @HiddenApi
        @Implementation
        public final android.content.res.AssetFileDescriptor openNonAssetFd​(int cookie,
                                                                            java.lang.String fileName)
                                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • openNonAssetFdNative

        @HiddenApi
        @Implementation(maxSdk=27)
        protected android.os.ParcelFileDescriptor openNonAssetFdNative​(int cookie,
                                                                       java.lang.String fileName,
                                                                       long[] outOffsets)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • openXmlAssetNative

        @HiddenApi
        @Implementation(maxSdk=27)
        protected java.lang.Number openXmlAssetNative​(int cookie,
                                                      java.lang.String fileName)
                                               throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • openXmlResourceParser

        @Implementation
        protected final android.content.res.XmlResourceParser openXmlResourceParser​(int cookie,
                                                                                    java.lang.String fileName)
                                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • seekAsset

        @HiddenApi
        @Implementation(maxSdk=20)
        protected final long seekAsset​(int asset,
                                       long offset,
                                       int whence)
      • seekAsset

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=27)
        protected long seekAsset​(long asset,
                                 long offset,
                                 int whence)
      • getAssetLength

        @HiddenApi
        @Implementation(maxSdk=20)
        protected final long getAssetLength​(int asset)
      • getAssetLength

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=27)
        protected long getAssetLength​(long asset)
      • getAssetRemainingLength

        @HiddenApi
        @Implementation(maxSdk=20)
        protected final long getAssetRemainingLength​(int asset)
      • getAssetRemainingLength

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=27)
        protected long getAssetRemainingLength​(long assetHandle)
      • destroyAsset

        @HiddenApi
        @Implementation(maxSdk=20)
        protected final void destroyAsset​(int asset)
      • destroyAsset

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=27)
        protected void destroyAsset​(long asset)
      • loadXmlResourceParser

        protected android.content.res.XmlResourceParser loadXmlResourceParser​(int resId,
                                                                              java.lang.String type)
                                                                       throws android.content.res.Resources.NotFoundException
        Throws:
        android.content.res.Resources.NotFoundException
      • addAssetPath

        @HiddenApi
        @Implementation
        public int addAssetPath​(java.lang.String path)
      • addAssetPathNative

        @HiddenApi
        @Implementation(minSdk=18,
                        maxSdk=23)
        protected final int addAssetPathNative​(java.lang.String path)
      • addAssetPathNative

        @HiddenApi
        @Implementation(minSdk=24,
                        maxSdk=27)
        protected int addAssetPathNative​(java.lang.String path,
                                         boolean appAsLib)
      • setApkAssets

        @HiddenApi
        @Implementation(minSdk=28)
        public void setApkAssets​(java.lang.Object apkAssetsObject,
                                 java.lang.Object invalidateCachesObject)
      • isUpToDate

        @HiddenApi
        @Implementation
        public boolean isUpToDate()
      • setLocale

        @HiddenApi
        @Implementation(maxSdk=23)
        public void setLocale​(java.lang.String locale)
      • getLocales

        @Implementation
        protected java.lang.String[] getLocales()
      • setConfiguration

        @HiddenApi
        @Implementation(maxSdk=25)
        public final void setConfiguration​(int mcc,
                                           int mnc,
                                           java.lang.String locale,
                                           int orientation,
                                           int touchscreen,
                                           int density,
                                           int keyboard,
                                           int keyboardHidden,
                                           int navigation,
                                           int screenWidth,
                                           int screenHeight,
                                           int smallestScreenWidthDp,
                                           int screenWidthDp,
                                           int screenHeightDp,
                                           int screenLayout,
                                           int uiMode,
                                           int sdkVersion)
      • setConfiguration

        @HiddenApi
        @Implementation(minSdk=26)
        public void setConfiguration​(int mcc,
                                     int mnc,
                                     java.lang.String locale,
                                     int orientation,
                                     int touchscreen,
                                     int density,
                                     int keyboard,
                                     int keyboardHidden,
                                     int navigation,
                                     int screenWidth,
                                     int screenHeight,
                                     int smallestScreenWidthDp,
                                     int screenWidthDp,
                                     int screenHeightDp,
                                     int screenLayout,
                                     int uiMode,
                                     int colorMode,
                                     int majorVersion)
      • getArrayIntResource

        @HiddenApi
        @Implementation(maxSdk=27)
        public int[] getArrayIntResource​(int resId)
      • getResourceIntArray

        @HiddenApi
        @Implementation(minSdk=28)
        protected int[] getResourceIntArray​(int resId)
      • getArrayStringResource

        @HiddenApi
        @Implementation(maxSdk=27)
        protected java.lang.String[] getArrayStringResource​(int arrayResId)
      • getArrayStringInfo

        @HiddenApi
        @Implementation(maxSdk=27)
        protected int[] getArrayStringInfo​(int arrayResId)
      • newTheme

        @HiddenApi
        @Implementation(maxSdk=27)
        protected java.lang.Number newTheme()
      • getTypedArrayResource

        protected android.content.res.TypedArray getTypedArrayResource​(android.content.res.Resources resources,
                                                                       int resId)
      • createTheme

        @HiddenApi
        @Implementation
        public java.lang.Number createTheme()
      • dumpTheme

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=27)
        protected static void dumpTheme​(long theme,
                                        int priority,
                                        java.lang.String tag,
                                        java.lang.String prefix)
      • releaseTheme

        @HiddenApi
        @Implementation(maxSdk=20)
        public void releaseTheme​(int themePtr)
      • releaseTheme

        @HiddenApi
        @Implementation(minSdk=21)
        public void releaseTheme​(long themePtr)
      • deleteTheme

        @HiddenApi
        @Implementation(maxSdk=20)
        protected void deleteTheme​(int theme)
      • deleteTheme

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=27)
        protected void deleteTheme​(long theme)
      • applyThemeStyle

        @HiddenApi
        @Implementation(maxSdk=20)
        public static void applyThemeStyle​(int themePtr,
                                           int styleRes,
                                           boolean force)
      • applyThemeStyle

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=27)
        public static void applyThemeStyle​(long themePtr,
                                           int styleRes,
                                           boolean force)
      • copyTheme

        @HiddenApi
        @Implementation(maxSdk=20)
        public static void copyTheme​(int destPtr,
                                     int sourcePtr)
      • copyTheme

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=27)
        public static void copyTheme​(long destPtr,
                                     long sourcePtr)
      • nativeThemeCopy

        @HiddenApi
        @Implementation(minSdk=28,
                        maxSdk=28)
        protected static void nativeThemeCopy​(long destPtr,
                                              long sourcePtr)
      • nativeThemeCopy

        @HiddenApi
        @Implementation(minSdk=29)
        protected static void nativeThemeCopy​(long dstAssetManagerPtr,
                                              long dstThemePtr,
                                              long srcAssetManagerPtr,
                                              long srcThemePtr)
      • applyStyle

        @HiddenApi
        @Implementation(maxSdk=20)
        protected static boolean applyStyle​(int themeToken,
                                            int defStyleAttr,
                                            int defStyleRes,
                                            int xmlParserToken,
                                            int[] attrs,
                                            int[] outValues,
                                            int[] outIndices)
      • applyStyle

        @HiddenApi
        @Implementation(minSdk=26,
                        maxSdk=27)
        protected static void applyStyle​(long themeToken,
                                         int defStyleAttr,
                                         int defStyleRes,
                                         long xmlParserToken,
                                         int[] inAttrs,
                                         int length,
                                         long outValuesAddress,
                                         long outIndicesAddress)
      • applyStyleToTheme

        @HiddenApi
        @Implementation(minSdk=28)
        protected void applyStyleToTheme​(long themePtr,
                                         int resId,
                                         boolean force)
      • applyStyle

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=25)
        protected static boolean applyStyle​(long themeToken,
                                            int defStyleAttr,
                                            int defStyleRes,
                                            long xmlParserToken,
                                            int[] attrs,
                                            int[] outValues,
                                            int[] outIndices)
      • resolveAttrs

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=27)
        protected static boolean resolveAttrs​(long themeToken,
                                              int defStyleAttr,
                                              int defStyleRes,
                                              int[] inValues,
                                              int[] attrs,
                                              int[] outValues,
                                              int[] outIndices)
      • retrieveAttributes

        @HiddenApi
        @Implementation(maxSdk=20)
        protected boolean retrieveAttributes​(int xmlParserToken,
                                             int[] attrs,
                                             int[] outValues,
                                             int[] outIndices)
      • retrieveAttributes

        @Implementation(minSdk=21,
                        maxSdk=27)
        protected boolean retrieveAttributes​(long xmlParserToken,
                                             int[] attrs,
                                             int[] outValues,
                                             int[] outIndices)
      • loadThemeAttributeValue

        @HiddenApi
        @Implementation(maxSdk=20)
        protected static int loadThemeAttributeValue​(int themeHandle,
                                                     int ident,
                                                     android.util.TypedValue outValue,
                                                     boolean resolve)
      • loadThemeAttributeValue

        @HiddenApi
        @Implementation(minSdk=21,
                        maxSdk=27)
        protected static int loadThemeAttributeValue​(long themeHandle,
                                                     int ident,
                                                     android.util.TypedValue outValue,
                                                     boolean resolve)
      • resolveResName

        protected org.robolectric.res.ResName resolveResName​(org.robolectric.res.ResName resName,
                                                             org.robolectric.res.android.ResTable_config config)
      • resolveResourceValue

        protected org.robolectric.res.TypedResource resolveResourceValue​(org.robolectric.res.TypedResource value,
                                                                         org.robolectric.res.android.ResTable_config config,
                                                                         int resId)
      • getResourceName

        @Implementation
        protected java.lang.String getResourceName​(int resid)
      • getResourcePackageName

        @Implementation
        protected java.lang.String getResourcePackageName​(int resid)
      • getResourceTypeName

        @Implementation
        protected java.lang.String getResourceTypeName​(int resid)
      • getResourceEntryName

        @Implementation
        protected java.lang.String getResourceEntryName​(int resid)
      • getArraySize

        @Implementation(maxSdk=27)
        protected int getArraySize​(int id)
      • retrieveArray

        @Implementation(maxSdk=27)
        protected int retrieveArray​(int id,
                                    int[] outValues)
      • getNativeStringBlock

        @Implementation(maxSdk=27)
        protected java.lang.Number getNativeStringBlock​(int block)
      • getAssignedPackageIdentifiers

        @Implementation(minSdk=21,
                        maxSdk=27)
        protected final android.util.SparseArray<java.lang.String> getAssignedPackageIdentifiers()
      • loadResourceValue

        @Implementation(maxSdk=27)
        protected int loadResourceValue​(int ident,
                                        short density,
                                        android.util.TypedValue outValue,
                                        boolean resolve)
      • loadResourceBagValue

        @Implementation(maxSdk=27)
        protected int loadResourceBagValue​(int ident,
                                           int bagEntryId,
                                           android.util.TypedValue outValue,
                                           boolean resolve)
      • nativeAssetDestroy

        @Implementation(minSdk=28)
        protected static void nativeAssetDestroy​(long asset_ptr)
      • nativeAssetReadChar

        @Implementation(minSdk=28)
        protected static int nativeAssetReadChar​(long asset_ptr)
      • nativeAssetRead

        @Implementation(minSdk=28)
        protected static int nativeAssetRead​(long asset_ptr,
                                             byte[] java_buffer,
                                             int offset,
                                             int len)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • nativeAssetSeek

        @Implementation(minSdk=28)
        protected static long nativeAssetSeek​(long asset_ptr,
                                              long offset,
                                              int whence)
      • nativeAssetGetLength

        @Implementation(minSdk=28)
        protected static long nativeAssetGetLength​(long asset_ptr)
      • nativeAssetGetRemainingLength

        @Implementation(minSdk=28)
        protected static long nativeAssetGetRemainingLength​(long asset_ptr)
      • nativeCreateIdmapsForStaticOverlaysTargetingAndroid

        @Implementation(minSdk=29)
        protected static java.lang.String[] nativeCreateIdmapsForStaticOverlaysTargetingAndroid()
      • reset

        @Resetter
        public static void reset()