Class ShadowArscAssetManager9


@Implements(value=android.content.res.AssetManager.class, minSdk=28, shadowPicker=Picker.class) public class ShadowArscAssetManager9 extends ShadowAssetManager.ArscBase
  • Constructor Details

    • ShadowArscAssetManager9

      public ShadowArscAssetManager9()
  • Method Details

    • reset

      @Resetter public static void reset()
    • nativeVerifySystemIdmaps

      @Implementation(minSdk=28, maxSdk=29) protected static void nativeVerifySystemIdmaps()
    • nativeCreateIdmapsForStaticOverlaysTargetingAndroid

      @Implementation(minSdk=29, maxSdk=30) protected static String[] nativeCreateIdmapsForStaticOverlaysTargetingAndroid()
    • getSystem

      @Implementation(minSdk=28) protected static AssetManager getSystem()
    • getGlobalAssetCount

      @Implementation(minSdk=28) protected static int getGlobalAssetCount()
    • getAssetAllocations

      @Implementation(minSdk=28) protected static String getAssetAllocations()
    • getGlobalAssetManagerCount

      @Implementation(minSdk=28) protected static int getGlobalAssetManagerCount()
    • nativeCreate

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

      @Implementation(minSdk=28) protected static void nativeDestroy(long ptr)
    • nativeSetApkAssets

      @Implementation(minSdk=28, maxSdk=34) protected static void nativeSetApkAssets(long ptr, @Nonnull ApkAssets[] apk_assets_array, boolean invalidate_caches)
    • nativeSetConfiguration

      @Implementation(minSdk=28, maxSdk=33) protected static void nativeSetConfiguration(long ptr, int mcc, int mnc, @Nullable String locale, int orientation, int touchscreen, int density, int keyboard, int keyboard_hidden, int navigation, int screen_width, int screen_height, int smallest_screen_width_dp, int screen_width_dp, int screen_height_dp, int screen_layout, int ui_mode, int color_mode, int major_version)
    • nativeGetAssignedPackageIdentifiers

      @Implementation(minSdk=28, maxSdk=29) @Nonnull protected static SparseArray<String> nativeGetAssignedPackageIdentifiers(long ptr)
    • nativeList

      @Implementation(minSdk=28) @Nullable protected static String[] nativeList(long ptr, @Nonnull String path) throws IOException
      Throws:
      IOException
    • nativeOpenAsset

      @Implementation(minSdk=28) protected static long nativeOpenAsset(long ptr, @Nonnull String asset_path, int access_mode) throws FileNotFoundException
      Throws:
      FileNotFoundException
    • nativeOpenAssetFd

      @Implementation(minSdk=28) protected static ParcelFileDescriptor nativeOpenAssetFd(long ptr, @Nonnull String asset_path, long[] out_offsets) throws IOException
      Throws:
      IOException
    • nativeOpenNonAsset

      @Implementation(minSdk=28) protected static long nativeOpenNonAsset(long ptr, int jcookie, @Nonnull String asset_path, int access_mode) throws FileNotFoundException
      Throws:
      FileNotFoundException
    • nativeOpenNonAssetFd

      @Implementation(minSdk=28) @Nullable protected static ParcelFileDescriptor nativeOpenNonAssetFd(long ptr, int jcookie, @Nonnull String asset_path, @Nonnull long[] out_offsets) throws IOException
      Throws:
      IOException
    • nativeOpenXmlAsset

      @Implementation(minSdk=28) protected static long nativeOpenXmlAsset(long ptr, int jcookie, @Nonnull String asset_path) throws FileNotFoundException
      Throws:
      FileNotFoundException
    • nativeGetResourceValue

      @Implementation(minSdk=28) protected static int nativeGetResourceValue(long ptr, @AnyRes int resid, short density, @Nonnull TypedValue typed_value, boolean resolve_references)
    • nativeGetResourceBagValue

      @Implementation(minSdk=28) protected static int nativeGetResourceBagValue(long ptr, @AnyRes int resid, int bag_entry_id, @Nonnull TypedValue typed_value)
    • nativeGetStyleAttributes

      @Implementation(minSdk=28) @Nullable @AttrRes protected static int[] nativeGetStyleAttributes(long ptr, @StyleRes int resid)
    • nativeGetResourceStringArray

      @Implementation(minSdk=28) @Nullable protected static String[] nativeGetResourceStringArray(long ptr, @ArrayRes int resid)
    • nativeGetResourceStringArrayInfo

      @Implementation(minSdk=28) @Nullable protected static int[] nativeGetResourceStringArrayInfo(long ptr, @ArrayRes int resid)
    • nativeGetResourceIntArray

      @Implementation(minSdk=28) @Nullable protected static int[] nativeGetResourceIntArray(long ptr, @ArrayRes int resid)
    • nativeGetResourceArraySize

      @Implementation(minSdk=28) protected static int nativeGetResourceArraySize(long ptr, @ArrayRes int resid)
    • nativeGetResourceArray

      @Implementation(minSdk=28) protected static int nativeGetResourceArray(long ptr, @ArrayRes int resid, @Nonnull int[] out_data)
    • nativeGetResourceIdentifier

      @Implementation(minSdk=28) @AnyRes protected static int nativeGetResourceIdentifier(long ptr, @Nonnull String name, @Nullable String def_type, @Nullable String def_package)
    • nativeGetResourceName

      @Implementation(minSdk=28) @Nullable protected static String nativeGetResourceName(long ptr, @AnyRes int resid)
    • nativeGetResourcePackageName

      @Implementation(minSdk=28) @Nullable protected static String nativeGetResourcePackageName(long ptr, @AnyRes int resid)
    • nativeGetResourceTypeName

      @Implementation(minSdk=28) @Nullable protected static String nativeGetResourceTypeName(long ptr, @AnyRes int resid)
    • nativeGetResourceEntryName

      @Implementation(minSdk=28) @Nullable protected static String nativeGetResourceEntryName(long ptr, @AnyRes int resid)
    • nativeGetLocales

      @Implementation(minSdk=28) @Nullable protected static String[] nativeGetLocales(long ptr, boolean exclude_system)
    • nativeGetSizeConfigurations

      @Implementation(minSdk=28) @Nullable protected static Configuration[] nativeGetSizeConfigurations(long ptr)
    • nativeApplyStyle

      @Implementation(minSdk=28) protected static void nativeApplyStyle(long ptr, long theme_ptr, @AttrRes int def_style_attr, @StyleRes int def_style_resid, long xml_parser_ptr, @Nonnull int[] java_attrs, long out_values_ptr, long out_indices_ptr)
    • nativeResolveAttrs

      @Implementation(minSdk=28) protected static boolean nativeResolveAttrs(long ptr, long theme_ptr, @AttrRes int def_style_attr, @StyleRes int def_style_resid, @Nullable int[] java_values, @Nonnull int[] java_attrs, @Nonnull int[] out_java_values, @Nonnull int[] out_java_indices)
    • nativeRetrieveAttributes

      @Implementation(minSdk=28) protected static boolean nativeRetrieveAttributes(long ptr, long xml_parser_ptr, @Nonnull int[] java_attrs, @Nonnull int[] out_java_values, @Nonnull int[] out_java_indices)
    • nativeThemeCreate

      @Implementation(minSdk=28) protected static long nativeThemeCreate(long ptr)
    • nativeThemeDestroy

      @Implementation(minSdk=28, maxSdk=30) protected static void nativeThemeDestroy(long theme_ptr)
    • nativeThemeApplyStyle

      @Implementation(minSdk=28) protected static void nativeThemeApplyStyle(long ptr, long theme_ptr, @StyleRes int resid, boolean force)
    • nativeThemeCopy

      @Implementation(minSdk=28, maxSdk=28) protected static void nativeThemeCopy(long dst_theme_ptr, long src_theme_ptr)
    • nativeThemeCopy

      @Implementation(minSdk=29) protected static void nativeThemeCopy(long dst_asset_manager_ptr, long dst_theme_ptr, long src_asset_manager_ptr, long src_theme_ptr)
    • nativeThemeClear

      @Implementation(minSdk=28, maxSdk=30) protected static void nativeThemeClear(long themePtr)
    • nativeThemeGetAttributeValue

      @Implementation(minSdk=28) protected static int nativeThemeGetAttributeValue(long ptr, long theme_ptr, @AttrRes int resid, @Nonnull TypedValue typed_value, boolean resolve_references)
    • nativeThemeDump

      @Implementation(minSdk=28) protected static void nativeThemeDump(long ptr, long theme_ptr, int priority, String tag, String prefix)
    • nativeThemeGetChangingConfigurations

      @Implementation(minSdk=28) protected static int nativeThemeGetChangingConfigurations(long theme_ptr)
    • 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 IOException
      Throws:
      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)