Home
last modified time | relevance | path

Searched refs:AccessMode (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h56 typedef enum AccessMode { enum
67 } AccessMode; typedef
146 AccessMode getAccessMode(void) const { return mAccessMode; } in getAccessMode()
160 static Asset* createFromFile(const char* fileName, AccessMode mode);
166 AccessMode mode);
176 AccessMode mode);
190 size_t uncompressedLength, AccessMode mode);
198 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode);
201 AccessMode mode);
210 size_t uncompressedLen, AccessMode mode);
[all …]
DAssetManager.h143 typedef Asset::AccessMode AccessMode; // typing shortcut typedef
151 Asset* open(const char* fileName, AccessMode mode);
160 Asset* openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie = NULL);
166 Asset* openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode);
232 Asset* openNonAssetInPathLocked(const char* fileName, AccessMode mode,
239 Asset* openAssetFromFileLocked(const String8& fileName, AccessMode mode);
241 const ZipEntryRO entry, AccessMode mode, const String8& entryName);
DAssetManager2.h161 std::unique_ptr<Asset> Open(const std::string& filename, Asset::AccessMode mode) const;
166 Asset::AccessMode mode) const;
178 std::unique_ptr<Asset> OpenNonAsset(const std::string& filename, Asset::AccessMode mode,
185 Asset::AccessMode mode) const;
DApkAssets.h69 Asset::AccessMode mode = Asset::AccessMode::ACCESS_RANDOM) const;
/frameworks/base/libs/androidfw/
DAsset.cpp134 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode) in createFromFile()
191 AccessMode mode) in createFromCompressedFile()
249 size_t length, AccessMode mode)
268 AccessMode mode)
288 AccessMode mode) in createFromUncompressedMap()
305 AccessMode mode) in createFromUncompressedMap()
324 size_t uncompressedLen, AccessMode mode) in createFromCompressedMap()
339 size_t uncompressedLen, AccessMode mode) in createFromCompressedMap()
DApkAssets.cpp102 return Asset::createFromUncompressedMap(std::move(file_map), Asset::AccessMode::ACCESS_RANDOM); in CreateAssetFromFile()
142 loaded_apk->resources_asset_ = loaded_apk->Open(kResourcesArsc, Asset::AccessMode::ACCESS_BUFFER); in LoadImpl()
165 std::unique_ptr<Asset> ApkAssets::Open(const std::string& path, Asset::AccessMode mode) const { in Open()
DAssetManager.cpp435 Asset* AssetManager::open(const char* fileName, AccessMode mode) in open()
468 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie) in openNonAsset()
493 Asset* AssetManager::openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) in openNonAsset()
782 Asset* AssetManager::openNonAssetInPathLocked(const char* fileName, AccessMode mode, in openNonAssetInPathLocked()
896 AccessMode mode) in openAssetFromFileLocked()
918 const ZipEntryRO entry, AccessMode mode, const String8& entryName) in openAssetFromZipLocked()
DAssetManager2.cpp292 Asset::AccessMode mode) const { in Open()
298 Asset::AccessMode mode) const { in Open()
339 Asset::AccessMode mode, in OpenNonAsset()
366 Asset::AccessMode mode) const { in OpenNonAsset()
/frameworks/base/core/jni/
Dandroid_content_res_ApkAssets.cpp120 Asset::AccessMode::ACCESS_RANDOM); in NativeOpenXml()
Dandroid_util_AssetManager.cpp618 assetmanager->Open(asset_path_utf8.c_str(), static_cast<Asset::AccessMode>(access_mode)); in NativeOpenAsset()
666 static_cast<Asset::AccessMode>(access_mode)); in NativeOpenNonAsset()
669 static_cast<Asset::AccessMode>(access_mode)); in NativeOpenNonAsset()
/frameworks/base/native/android/
Dasset_manager.cpp68 Asset::AccessMode amMode; in AAssetManager_open()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp760 assets->OpenNonAsset(kAndroidManifestPath, cookie, Asset::AccessMode::ACCESS_BUFFER)); in ExtractCompileSdkVersions()
/frameworks/base/config/
Dpreloaded-classes5896 java.lang.invoke.VarHandle$AccessMode
6119 java.nio.file.AccessMode
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...