Home
last modified time | relevance | path

Searched refs:asset_path_utf8 (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager10.java685 String asset_path_utf8 = asset_path; in nativeOpenAsset() local
686 if (asset_path_utf8 == null) { in nativeOpenAsset()
691 ATRACE_NAME(String.format("AssetManager::OpenAsset(%s)", asset_path_utf8)); in nativeOpenAsset()
702 assetmanager.Open(asset_path_utf8, Asset.AccessMode.fromInt(access_mode)); in nativeOpenAsset()
704 throw new FileNotFoundException(asset_path_utf8); in nativeOpenAsset()
714 String asset_path_utf8 = asset_path; in nativeOpenAssetFd() local
715 if (asset_path_utf8 == null) { in nativeOpenAssetFd()
720 ATRACE_NAME(String.format("AssetManager::OpenAssetFd(%s)", asset_path_utf8)); in nativeOpenAssetFd()
723 Asset asset = assetmanager.Open(asset_path_utf8, Asset.AccessMode.ACCESS_RANDOM); in nativeOpenAssetFd()
725 throw new FileNotFoundException(asset_path_utf8); in nativeOpenAssetFd()
[all …]
DShadowArscAssetManager9.java681 String asset_path_utf8 = asset_path; in nativeOpenAsset() local
682 if (asset_path_utf8 == null) { in nativeOpenAsset()
687 ATRACE_NAME(String.format("AssetManager::OpenAsset(%s)", asset_path_utf8)); in nativeOpenAsset()
698 assetmanager.Open(asset_path_utf8, Asset.AccessMode.fromInt(access_mode)); in nativeOpenAsset()
700 throw new FileNotFoundException(asset_path_utf8); in nativeOpenAsset()
710 String asset_path_utf8 = asset_path; in nativeOpenAssetFd() local
711 if (asset_path_utf8 == null) { in nativeOpenAssetFd()
716 ATRACE_NAME(String.format("AssetManager::OpenAssetFd(%s)", asset_path_utf8)); in nativeOpenAssetFd()
719 Asset asset = assetmanager.Open(asset_path_utf8, Asset.AccessMode.ACCESS_RANDOM); in nativeOpenAssetFd()
721 throw new FileNotFoundException(asset_path_utf8); in nativeOpenAssetFd()
[all …]