@Implements(value=android.content.res.ApkAssets.class,
minSdk=28,
shadowPicker=ShadowApkAssets.Picker.class,
isInAndroidSdk=false)
public class ShadowArscApkAssets9
extends ShadowApkAssets
ShadowApkAssets.Picker| Constructor and Description |
|---|
ShadowArscApkAssets9() |
| Modifier and Type | Method and Description |
|---|---|
protected static android.content.res.ApkAssets |
loadFromFd(java.io.FileDescriptor fd,
java.lang.String friendlyName,
boolean system,
boolean forceSharedLibrary) |
protected static android.content.res.ApkAssets |
loadFromPath(java.lang.String path) |
protected static android.content.res.ApkAssets |
loadFromPath(java.lang.String path,
boolean system)
Necessary to shadow this method because the framework path is hard-coded.
|
protected static android.content.res.ApkAssets |
loadFromPath(java.lang.String path,
boolean system,
boolean forceSharedLibrary) |
protected static android.content.res.ApkAssets |
loadOverlayFromPath(java.lang.String idmapPath,
boolean system) |
protected static void |
nativeDestroy(long ptr) |
protected static java.lang.String |
nativeGetAssetPath(long ptr) |
protected static long |
nativeGetStringBlock(long ptr) |
protected static boolean |
nativeIsUpToDate(long ptr) |
protected static long |
nativeLoad(java.lang.String java_path,
boolean system,
boolean force_shared_lib,
boolean overlay) |
protected static long |
nativeLoadFromFd(java.io.FileDescriptor file_descriptor,
java.lang.String friendly_name,
boolean system,
boolean force_shared_lib) |
protected static long |
nativeOpenXml(long ptr,
java.lang.String file_name) |
@Implementation
protected static android.content.res.ApkAssets loadFromPath(java.lang.String path)
throws java.io.IOException
java.io.IOException@Implementation
protected static android.content.res.ApkAssets loadFromPath(java.lang.String path,
boolean system)
throws java.io.IOException
Necessary to shadow this method because the framework path is hard-coded. Called from AssetManager.createSystemAssetsInZygoteLocked() in P+.
java.io.IOException@Implementation
protected static android.content.res.ApkAssets loadFromPath(java.lang.String path,
boolean system,
boolean forceSharedLibrary)
throws java.io.IOException
java.io.IOException@Implementation
protected static android.content.res.ApkAssets loadFromFd(java.io.FileDescriptor fd,
java.lang.String friendlyName,
boolean system,
boolean forceSharedLibrary)
throws java.io.IOException
java.io.IOException@Implementation
protected static android.content.res.ApkAssets loadOverlayFromPath(java.lang.String idmapPath,
boolean system)
throws java.io.IOException
java.io.IOException@Implementation
protected static long nativeLoad(java.lang.String java_path,
boolean system,
boolean force_shared_lib,
boolean overlay)
throws java.io.IOException
java.io.IOException@Implementation
protected static long nativeLoadFromFd(java.io.FileDescriptor file_descriptor,
java.lang.String friendly_name,
boolean system,
boolean force_shared_lib)
@Implementation protected static void nativeDestroy(long ptr)
@Implementation protected static java.lang.String nativeGetAssetPath(long ptr)
@Implementation protected static long nativeGetStringBlock(long ptr)
@Implementation protected static boolean nativeIsUpToDate(long ptr)
@Implementation
protected static long nativeOpenXml(long ptr,
java.lang.String file_name)
throws java.io.FileNotFoundException
java.io.FileNotFoundException