@Implements(value=android.content.res.ApkAssets.class, minSdk=28, shadowPicker=Picker.class, isInAndroidSdk=false) public class ShadowArscApkAssets9 extends ShadowApkAssets
Modifier and Type | Class | Description |
---|---|---|
protected static interface |
ShadowArscApkAssets9.ApkAssetMaker |
|
protected static class |
ShadowArscApkAssets9.Key |
Caching key for
ApkAssets . |
ShadowApkAssets.Picker
Modifier and Type | Field | Description |
---|---|---|
protected static String |
FRAMEWORK_APK_PATH |
Constructor | Description |
---|---|
ShadowArscApkAssets9() |
Modifier and Type | Method | Description |
---|---|---|
protected static ApkAssets |
getFromCacheOrLoad(ShadowArscApkAssets9.Key key,
ShadowArscApkAssets9.ApkAssetMaker callable) |
|
protected static ApkAssets |
loadFromFd(FileDescriptor fd,
String friendlyName,
boolean system,
boolean forceSharedLibrary) |
|
protected static ApkAssets |
loadFromPath(String path) |
|
protected static ApkAssets |
loadFromPath(String path,
boolean system) |
Necessary to shadow this method because the framework path is hard-coded.
|
protected static ApkAssets |
loadFromPath(String path,
boolean system,
boolean forceSharedLibrary) |
|
protected static ApkAssets |
loadOverlayFromPath(String idmapPath,
boolean system) |
|
protected static String |
nativeGetAssetPath(long ptr) |
|
protected static long |
nativeGetStringBlock(long ptr) |
|
protected static boolean |
nativeIsUpToDate(long ptr) |
|
protected static long |
nativeLoad(String java_path,
boolean system,
boolean force_shared_lib,
boolean overlay) |
|
protected static long |
nativeLoadFromFd(FileDescriptor file_descriptor,
String friendly_name,
boolean system,
boolean force_shared_lib) |
|
protected static long |
nativeOpenXml(long ptr,
String file_name) |
protected static final String FRAMEWORK_APK_PATH
protected static ApkAssets getFromCacheOrLoad(ShadowArscApkAssets9.Key key, ShadowArscApkAssets9.ApkAssetMaker callable)
@Implementation protected static ApkAssets loadFromPath(String path) throws IOException
IOException
@Implementation protected static ApkAssets loadFromPath(String path, boolean system) throws IOException
IOException
@Implementation protected static ApkAssets loadFromPath(String path, boolean system, boolean forceSharedLibrary) throws IOException
IOException
@Implementation protected static ApkAssets loadFromFd(FileDescriptor fd, String friendlyName, boolean system, boolean forceSharedLibrary) throws IOException
IOException
@Implementation protected static ApkAssets loadOverlayFromPath(String idmapPath, boolean system) throws IOException
IOException
@Implementation protected static long nativeLoad(String java_path, boolean system, boolean force_shared_lib, boolean overlay) throws IOException
IOException
@Implementation protected static long nativeLoadFromFd(FileDescriptor file_descriptor, String friendly_name, boolean system, boolean force_shared_lib)
@Implementation protected static 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, String file_name) throws FileNotFoundException
FileNotFoundException