Home
last modified time | relevance | path

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

/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
DRemoteAssetRepositoryAdapter.java46 public InputStream openNonAsset(int cookie, String path, int mode) in openNonAsset() method in RemoteAssetRepositoryAdapter
48 return StreamUtil.getInputStream(mDelgate.openNonAsset(cookie, path, mode)); in openNonAsset()
/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.java1026 InputStream stream = repository.openNonAsset(0, path, ACCESS_STREAMING); in openRawResource()
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteAssetRepositoryAdapter.java47 public RemoteInputStream openNonAsset(int cookie, String path, int mode) in openNonAsset() method in RemoteAssetRepositoryAdapter
49 return RemoteInputStreamAdapter.create(mDelegate.openNonAsset(cookie, path, mode)); in openNonAsset()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteAssetRepository.java35 RemoteInputStream openNonAsset(int cookie, String path, int mode) throws IOException; in openNonAsset() method
/frameworks/layoutlib/bridge/tests/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/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.java938 public @NonNull InputStream openNonAsset(@NonNull String fileName) throws IOException { in openNonAsset() method in AssetManager
939 return openNonAsset(0, fileName, ACCESS_STREAMING); in openNonAsset()
959 public @NonNull InputStream openNonAsset(@NonNull String fileName, int accessMode) in openNonAsset() method in AssetManager
961 return openNonAsset(0, fileName, accessMode); in openNonAsset()
972 public @NonNull InputStream openNonAsset(int cookie, @NonNull String fileName) in openNonAsset() method in AssetManager
974 return openNonAsset(cookie, fileName, ACCESS_STREAMING); in openNonAsset()
986 public @NonNull InputStream openNonAsset(int cookie, @NonNull String fileName, int accessMode) in openNonAsset() method in AssetManager
DResourcesImpl.java354 return mAssets.openNonAsset(value.assetCookie, value.string.toString(), in openRawResource()
880 final InputStream is = mAssets.openNonAsset( in loadDrawableForCookie()
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFont_Builder_Delegate.java68 : am.openNonAsset(cookie, path, AssetManager.ACCESS_BUFFER)) { in createBuffer()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesManagerPerfTest.java69 InputStream is = sContext.getResources().getAssets().openNonAsset(inputFileName)) { in copyApkToTemp()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DTestPackageInstaller.java70 InputStream is = mContext.getResources().getAssets().openNonAsset(resourceName)) { in installPackage()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java382 stream = repository.openNonAsset(0, stringValue, ACCESS_STREAMING); in getDrawable()
457 InputStream stream = repository.openNonAsset(0, path, ACCESS_STREAMING); in getNinePatchDrawable()
/frameworks/base/tools/split-select/
DMain.cpp131 Asset* asset = assetManager.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in getAppInfo()
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java245 : am.openNonAsset(cookie, path, AssetManager.ACCESS_BUFFER)) { in createBuffer()
/frameworks/base/tools/aapt/
DCommand.cpp211 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml", in doList()
403 Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER); in getNfcAidCategories()
814 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER); in doDump()
840 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER); in doDump()
858 asset = assets.openNonAsset(assetsCookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in doDump()
DResource.cpp1138 Asset* asset = assets.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_STREAMING); in extractPlatformBuildVersion()
/frameworks/base/libs/androidfw/
DAssetManager.cpp468 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie) in openNonAsset() function in AssetManager
493 Asset* AssetManager::openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) in openNonAsset() function in AssetManager
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java136 assetRepository.openNonAsset(0, broken.getValue(), ACCESS_STREAMING)) { in createBitmap()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java225 try (InputStream inputStream = context.getAssets().openNonAsset(filename)) { in extractFile()
/frameworks/base/config/
Dboot-image-profile.txt6232 HSPLandroid/content/res/AssetManager;->openNonAsset(ILjava/lang/String;I)Ljava/io/InputStream;