Home
last modified time | relevance | path

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

/frameworks/base/include/androidfw/
DAsset.h53 typedef enum AccessMode { enum
64 } AccessMode; typedef
130 AccessMode getAccessMode(void) const { return mAccessMode; } in getAccessMode()
143 static Asset* createFromFile(const char* fileName, AccessMode mode);
149 AccessMode mode);
159 AccessMode mode);
173 size_t uncompressedLength, AccessMode mode);
181 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode);
190 size_t uncompressedLen, AccessMode mode);
198 AccessMode mAccessMode; // how the asset was opened
DAssetManager.h143 typedef Asset::AccessMode AccessMode; // typing shortcut typedef
154 Asset* open(const char* fileName, AccessMode mode);
164 Asset* openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie = NULL);
170 Asset* openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode);
246 Asset* openInPathLocked(const char* fileName, AccessMode mode,
248 Asset* openNonAssetInPathLocked(const char* fileName, AccessMode mode,
250 Asset* openInLocaleVendorLocked(const char* fileName, AccessMode mode,
259 Asset* openAssetFromFileLocked(const String8& fileName, AccessMode mode);
261 const ZipEntryRO entry, AccessMode mode, const String8& entryName);
/frameworks/base/libs/hwui/
DPixelBuffer.h52 enum AccessMode { enum
91 virtual uint8_t* map(AccessMode mode = kAccessMode_ReadWrite) = 0;
105 AccessMode getAccessMode() const { in getAccessMode()
212 AccessMode mAccessMode;
DPixelBuffer.cpp39 uint8_t* map(AccessMode mode = kAccessMode_ReadWrite) override;
55 uint8_t* CpuPixelBuffer::map(AccessMode mode) { in map()
84 uint8_t* map(AccessMode mode = kAccessMode_ReadWrite) override;
113 uint8_t* GpuPixelBuffer::map(AccessMode mode) { in map()
/frameworks/base/libs/androidfw/
DAsset.cpp127 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode) in createFromFile()
184 AccessMode mode) in createFromCompressedFile()
242 size_t length, AccessMode mode)
261 AccessMode mode)
281 AccessMode mode) in createFromUncompressedMap()
299 size_t uncompressedLen, AccessMode mode) in createFromCompressedMap()
DAssetManager.cpp499 Asset* AssetManager::open(const char* fileName, AccessMode mode) in open()
536 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie) in openNonAsset()
565 Asset* AssetManager::openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) in openNonAsset()
859 Asset* AssetManager::openNonAssetInPathLocked(const char* fileName, AccessMode mode, in openNonAssetInPathLocked()
916 Asset* AssetManager::openInPathLocked(const char* fileName, AccessMode mode, in openInPathLocked()
945 Asset* AssetManager::openInLocaleVendorLocked(const char* fileName, AccessMode mode, in openInLocaleVendorLocked()
1132 AccessMode mode) in openAssetFromFileLocked()
1154 const ZipEntryRO entry, AccessMode mode, const String8& entryName) in openAssetFromZipLocked()
/frameworks/base/native/android/
Dasset_manager.cpp89 Asset::AccessMode amMode; in AAssetManager_open()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp214 Asset* a = am->open(fileName8.c_str(), (Asset::AccessMode)mode); in android_content_AssetManager_openAsset()
310 (Asset::AccessMode)mode) in android_content_AssetManager_openNonAssetNative()
311 : am->openNonAsset(fileName8.c_str(), (Asset::AccessMode)mode); in android_content_AssetManager_openNonAssetNative()