Home
last modified time | relevance | path

Searched refs:ACCESS_BUFFER (Results 1 – 22 of 22) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFont_Builder_Delegate.java67 try (InputStream assetStream = isAsset ? am.open(path, AssetManager.ACCESS_BUFFER) in createBuffer() argument
68 : am.openNonAsset(cookie, path, AssetManager.ACCESS_BUFFER)) { in createBuffer()
/frameworks/base/libs/androidfw/tests/
DApkAssets_test.cpp87 Asset::ACCESS_BUFFER), NotNull()); } in TEST()
90 Asset::ACCESS_BUFFER), NotNull()); } in TEST()
DAttributeResolution_bench.cpp50 assetmanager.OpenNonAsset("res/layout/layout.xml", Asset::ACCESS_BUFFER); in BM_ApplyStyle()
131 StringPiece(layout_path, len).to_string(), cookie, Asset::ACCESS_BUFFER); in BM_ApplyStyleFramework()
DAttributeResolution_test.cpp53 assetmanager_.OpenNonAsset("res/layout/layout.xml", Asset::ACCESS_BUFFER); in SetUp()
DAssetManager2_test.cpp593 std::unique_ptr<Asset> asset = assetmanager.Open("file.txt", Asset::ACCESS_BUFFER); in TEST_F()
605 std::unique_ptr<Asset> asset = assetmanager.Open("file.txt", Asset::ACCESS_BUFFER); in TEST_F()
/frameworks/base/libs/androidfw/
DAssetManager.cpp250 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { in addOverlayPath()
344 Asset::ACCESS_BUFFER, ap); in createIdmap()
571 Asset::ACCESS_BUFFER, in appendPathToResTable()
602 Asset::ACCESS_BUFFER, in appendPathToResTable()
693 openAssetFromFileLocked(ap.idmap, Asset::ACCESS_BUFFER); in openIdmapLocked()
736 Asset::ACCESS_BUFFER, in addSystemOverlays()
DAsset.cpp512 if (getAccessMode() == ACCESS_BUFFER) { in read()
DApkAssets.cpp472 auto resources_asset_ = assets->Open(kResourcesArsc, Asset::AccessMode::ACCESS_BUFFER, in LoadImpl()
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java244 try (InputStream assetStream = isAsset ? am.open(path, AssetManager.ACCESS_BUFFER) in createBuffer() argument
245 : am.openNonAsset(cookie, path, AssetManager.ACCESS_BUFFER)) { in createBuffer()
/frameworks/base/native/android/
Dasset_manager.cpp80 amMode = Asset::ACCESS_BUFFER; in AAssetManager_open()
/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h67 ACCESS_BUFFER, enumerator
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java80 AssetManager.ACCESS_BUFFER)) { in extractAppOpsFile() argument
/frameworks/base/tools/split-select/
DMain.cpp131 Asset* asset = assetManager.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in getAppInfo()
/frameworks/base/tools/aapt/
DCommand.cpp212 Asset::ACCESS_BUFFER); 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()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp539 access_mode != Asset::ACCESS_STREAMING && access_mode != Asset::ACCESS_BUFFER) { in NativeOpenAsset()
585 access_mode != Asset::ACCESS_STREAMING && access_mode != Asset::ACCESS_BUFFER) { in NativeOpenNonAsset()
689 asset(Asset::createFromFd(dup_fd.release(), nullptr, Asset::AccessMode::ACCESS_BUFFER)); in NativeOpenXmlAssetFd()
/frameworks/base/core/java/android/content/res/
DAssetManager.java97 public static final int ACCESS_BUFFER = 3; field in AssetManager
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp170 Asset* asset = assets.open(name, Asset::ACCESS_BUFFER); in initTexture()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1673 asset = locked_mgr->Open(str.c_str(), Asset::ACCESS_BUFFER); in nFileA3DCreateFromAsset()
1765 asset = locked_mgr->Open(str.c_str(), Asset::ACCESS_BUFFER); in nFontCreateFromAsset()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp768 assets->OpenNonAsset(kAndroidManifestPath, cookie, Asset::AccessMode::ACCESS_BUFFER)); in ExtractCompileSdkVersions()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt9056 field public static final int ACCESS_BUFFER = 3; // 0x3
/frameworks/base/api/
Dcurrent.txt12576 field public static final int ACCESS_BUFFER = 3; // 0x3