Package org.robolectric.res.android
Class CppAssetManager
java.lang.Object
org.robolectric.res.android.CppAssetManager
public class CppAssetManager extends Object
-
Constructor Summary
Constructors Constructor Description CppAssetManager()
-
Method Summary
Modifier and Type Method Description boolean
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)
List<AssetPath>
getAssetPaths()
void
getConfiguration(Ref<ResTable_config> outConfig)
static int
getGlobalCount()
ResTable
getResources()
Asset
open(String fileName, Asset.AccessMode mode)
AssetDir
openDir(String dirName)
Asset
openNonAsset(int cookie, String fileName, Asset.AccessMode mode)
Asset
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
-