Home
last modified time | relevance | path

Searched refs:FileMap (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h35 class FileMap; variable
198 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode);
200 static std::unique_ptr<Asset> createFromUncompressedMap(std::unique_ptr<FileMap> dataMap,
209 static Asset* createFromCompressedMap(FileMap* dataMap,
212 static std::unique_ptr<Asset> createFromCompressedMap(std::unique_ptr<FileMap> dataMap,
256 status_t openChunk(FileMap* dataMap);
284 FileMap* mMap; // for memory map
287 const void* ensureAlignment(FileMap* map);
312 status_t openChunk(FileMap* dataMap, size_t uncompressedLen);
332 FileMap* mMap; // for memory-mapped input
DStreamingZipInflater.h37 StreamingZipInflater(class FileMap* dataMap, size_t uncompSize);
57 class FileMap* mDataMap;
DZipFileRO.h144 FileMap* createEntryFileMap(ZipEntryRO entry) const;
/frameworks/base/libs/androidfw/
DApkAssets.cpp97 std::unique_ptr<FileMap> file_map = util::make_unique<FileMap>(); in CreateAssetFromFile()
176 std::unique_ptr<FileMap> map = util::make_unique<FileMap>(); in Open()
191 std::unique_ptr<FileMap> map = util::make_unique<FileMap>(); in Open()
DAsset.cpp287 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap, in createFromUncompressedMap()
304 /*static*/ std::unique_ptr<Asset> Asset::createFromUncompressedMap(std::unique_ptr<FileMap> dataMap, in createFromUncompressedMap()
323 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap, in createFromCompressedMap()
338 /*static*/ std::unique_ptr<Asset> Asset::createFromCompressedMap(std::unique_ptr<FileMap> dataMap, in createFromCompressedMap()
472 status_t _FileAsset::openChunk(FileMap* dataMap) in openChunk()
658 FileMap* map; in getBuffer()
660 map = new FileMap; in getBuffer()
698 const void* _FileAsset::ensureAlignment(FileMap* map) in ensureAlignment()
791 status_t _CompressedAsset::openChunk(FileMap* dataMap, size_t uncompressedLen) in openChunk()
DZipFileRO.cpp216 FileMap* ZipFileRO::createEntryFileMap(ZipEntryRO entry) const in createEntryFileMap()
229 FileMap* newMap = new FileMap(); in createEntryFileMap()
DStreamingZipInflater.cpp73 StreamingZipInflater::StreamingZipInflater(FileMap* dataMap, size_t uncompSize) { in StreamingZipInflater()
DAssetManager.cpp935 FileMap* dataMap = pZipFile->createEntryFileMap(entry); in openAssetFromZipLocked()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h50 FileMap* map;
59 FileMap* map;
147 status_t initTexture(FileMap* map, int* width, int* height);
DBootAnimation.cpp211 status_t BootAnimation::initTexture(FileMap* map, int* width, int* height) in initTexture()
552 FileMap* entryMap = zip->createEntryFileMap(entry); in readFile()
758 FileMap* map = zip->createEntryFileMap(entry); in preloadZip()
771 FileMap* map = zip->createEntryFileMap(entry); in preloadZip()
/frameworks/base/tools/aapt2/io/
DData.h97 explicit MmappedData(android::FileMap&& map) : map_(std::forward<android::FileMap>(map)) {} in MmappedData()
136 android::FileMap map_;
DFileSystem.cpp40 android::FileMap map; in OpenAsData()
41 if (Maybe<android::FileMap> map = file::MmapPath(source_.path, nullptr)) { in OpenAsData()
DZipArchive.cpp45 android::FileMap file_map; in OpenAsData()
/frameworks/av/drm/common/include/
DReadWriteUtils.h73 FileMap* mFileMap;
/frameworks/compile/libbcc/lib/
DFileBase.h26 class FileMap; variable
/frameworks/base/tools/aapt2/util/
DFiles.cpp40 using ::android::FileMap;
211 Maybe<FileMap> MmapPath(const std::string& path, std::string* out_error) { in MmapPath()
229 FileMap filemap; in MmapPath()
DFiles.h84 Maybe<android::FileMap> MmapPath(const std::string& path, std::string* out_error);
/frameworks/base/cmds/idmap/
Dscan.cpp207 FileMap *dataMap = zip->createEntryFileMap(entry); in parse_apk()