Package org.robolectric.res.android
Class CppAssetManager
java.lang.Object
org.robolectric.res.android.CppAssetManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addAssetPath
(String8 path, Ref<Integer> cookie, boolean appAsLib) boolean
addAssetPath
(String8 path, Ref<Integer> cookie, boolean appAsLib, boolean isSystemAsset) boolean
addDefaultAssets
(String systemAssetsPath) boolean
addDefaultAssets
(Path systemAssetsPath) void
getConfiguration
(Ref<ResTable_config> outConfig) static int
final ResTable
open
(String fileName, Asset.AccessMode mode) openNonAsset
(int cookie, String fileName, Asset.AccessMode mode) openNonAsset
(String fileName, Asset.AccessMode mode, Ref<Integer> outCookie) void
setConfiguration
(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
-