Package org.robolectric.res.android
Class CppAssetManager
java.lang.Object
org.robolectric.res.android.CppAssetManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAssetPath(String8 path, Ref<Integer> cookie, boolean appAsLib) booleanaddAssetPath(String8 path, Ref<Integer> cookie, boolean appAsLib, boolean isSystemAsset) booleanaddDefaultAssets(String systemAssetsPath) booleanaddDefaultAssets(Path systemAssetsPath) voidgetConfiguration(Ref<ResTable_config> outConfig) static intfinal ResTableopen(String fileName, Asset.AccessMode mode) openNonAsset(int cookie, String fileName, Asset.AccessMode mode) openNonAsset(String fileName, Asset.AccessMode mode, Ref<Integer> outCookie) voidsetConfiguration(ResTable_config config, String locale)
-
Constructor Details
-
CppAssetManager
public CppAssetManager()
-
-
Method Details
-
getGlobalCount
public static int getGlobalCount() -
addAssetPath
-
addAssetPath
-
addDefaultAssets
-
addDefaultAssets
-
setConfiguration
-
getConfiguration
-
open
-
openNonAsset
-
openNonAsset
-
getResources
-
openDir
-
getAssetPaths
-