Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeAssetManager.java79 public InputStream openNonAsset(int cookie, String fileName, int accessMode) in openNonAsset() method in BridgeAssetManager
81 return getAssetRepository().openNonAsset(cookie, fileName, accessMode); in openNonAsset()
DResources_Delegate.java1033 InputStream stream = repository.openNonAsset(0, path, ACCESS_STREAMING); in openRawResource()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DTypefaceCreatePerfTest.java98 try (InputStream inputStream = mgr.openNonAsset(path)) { in createFromNonAsset()
120 try (InputStream in = am.openNonAsset(TEST_FONT_NAME); in testCreate_fromFile()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/
DTestAssetRepository.java59 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { in openNonAsset() method in TestAssetRepository
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFont_Builder_Delegate.java55 : am.openNonAsset(cookie, path, AssetManager.ACCESS_BUFFER)) { in createBuffer()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager.h160 Asset* openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie = NULL);
166 Asset* openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode);
/frameworks/base/core/java/android/content/res/
DAssetManager.java1049 public @NonNull InputStream openNonAsset(@NonNull String fileName) throws IOException { in openNonAsset() method in AssetManager
1050 return openNonAsset(0, fileName, ACCESS_STREAMING); in openNonAsset()
1070 public @NonNull InputStream openNonAsset(@NonNull String fileName, int accessMode) in openNonAsset() method in AssetManager
1072 return openNonAsset(0, fileName, accessMode); in openNonAsset()
1083 public @NonNull InputStream openNonAsset(int cookie, @NonNull String fileName) in openNonAsset() method in AssetManager
1085 return openNonAsset(cookie, fileName, ACCESS_STREAMING); in openNonAsset()
1097 public @NonNull InputStream openNonAsset(int cookie, @NonNull String fileName, int accessMode) in openNonAsset() method in AssetManager
DResourcesImpl.java396 return mAssets.openNonAsset(value.assetCookie, value.string.toString(), in openRawResource()
987 final InputStream is = mAssets.openNonAsset(
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DTestPackageInstaller.java70 InputStream is = mContext.getResources().getAssets().openNonAsset(resourceName)) { in installPackage()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesManagerPerfTest.java68 InputStream is = sContext.getResources().getAssets().openNonAsset(inputFileName)) { in copyApkToTemp()
/frameworks/base/tools/split-select/
DMain.cpp130 Asset* asset = assetManager.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in getAppInfo()
/frameworks/base/tools/aapt/
DCommand.cpp212 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml", in doList()
404 Asset* aidAsset = assets.openNonAsset(xmlPath.c_str(), Asset::ACCESS_BUFFER); in getNfcAidCategories()
815 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER); in doDump()
841 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER); in doDump()
859 asset = assets.openNonAsset(assetsCookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in doDump()
DResource.cpp1141 Asset* asset = assets.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_STREAMING); in extractPlatformBuildVersion()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java417 stream = repository.openNonAsset(0, stringValue, ACCESS_STREAMING); in getDrawable()
429 stream = repository.openNonAsset(0, stringValue, ACCESS_STREAMING); in getDrawable()
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java291 : am.openNonAsset(cookie, path, AssetManager.ACCESS_BUFFER)) { in createBuffer()
/frameworks/base/libs/androidfw/
DAssetManager.cpp469 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie) in openNonAsset() function in AssetManager
494 Asset* AssetManager::openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) in openNonAsset() function in AssetManager
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java284 try (InputStream inputStream = context.getAssets().openNonAsset(filename)) { in extractFile()
298 try (InputStream inputStream = context.getAssets().openNonAsset(filename)) { in extractFile()
/frameworks/base/boot/
Dboot-image-profile.txt4940 HSPLandroid/content/res/AssetManager;->openNonAsset(ILjava/lang/String;I)Ljava/io/InputStream;
/frameworks/base/config/
Dboot-image-profile.txt4943 HSPLandroid/content/res/AssetManager;->openNonAsset(ILjava/lang/String;I)Ljava/io/InputStream;