Home
last modified time | relevance | path

Searched refs:openNonAsset (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAssetManagerTest.java58 InputStream inputStream = assetManager.openNonAsset(0, "res/drawable/an_image.png", 0); in openNonAssetShouldOpenRealAssetFromResources()
76 InputStream inputStream = assetManager.openNonAsset(0, fileName, 0); in openNonAssetShouldOpenFileFromAndroidJar()
88 assetManager.openNonAsset(0, "res/drawable/does_not_exist.png", 0); in openNonAssetShouldThrowExceptionWhenFileDoesNotExist()
99 assetManager.openNonAsset(0, "res/drawable/does_not_exist.png", 0); in unknownResourceIdsShouldReportPackagesSearched()
110 assetManager.openNonAsset(0, "res/drawable/does_not_exist.png", 0); in forSystemResources_unknownResourceIdsShouldReportPackagesSearched()
118 InputStream inputStream = assetManager.openNonAsset(0, "res/drawable/robolectric.png", 0); in openNonAssetShouldOpenCorrectAssetBasedOnQualifierMdpi()
127 InputStream inputStream = assetManager.openNonAsset(0, "res/drawable/robolectric.png", 0); in openNonAssetShouldOpenCorrectAssetBasedOnQualifierHdpi()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java381 ? am.openNonAsset(cookie, fileName8, mode) in openNonAssetNative()
382 : am.openNonAsset(fileName8, mode, null); in openNonAssetNative()
405 ? am.openNonAsset(cookie, fileName, Asset.AccessMode.ACCESS_RANDOM) in openNonAssetFdNative()
406 : am.openNonAsset(fileName, Asset.AccessMode.ACCESS_RANDOM, null); in openNonAssetFdNative()
1069 a = am.openNonAsset(assetCookie, fileName8, AccessMode.ACCESS_BUFFER); in openXmlAssetNative()
1072 a = am.openNonAsset(fileName8, AccessMode.ACCESS_BUFFER, assetCookieRef); in openXmlAssetNative()
DShadowLegacyAssetManager.java482 …public final InputStream openNonAsset(int cookie, String fileName, int accessMode) throws IOExcept… in openNonAsset() method in ShadowLegacyAssetManager
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager.java487 public Asset openNonAsset(final String fileName, AccessMode mode, Ref<Integer> outCookie) { in openNonAsset() method in CppAssetManager
516 public Asset openNonAsset(final int cookie, final String fileName, AccessMode mode) { in openNonAsset() method in CppAssetManager