Home
last modified time | relevance | path

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

/frameworks/base/include/androidfw/
DAsset.h181 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode);
189 static Asset* createFromCompressedMap(FileMap* dataMap,
233 status_t openChunk(FileMap* dataMap);
261 FileMap* mMap; // for memory map
264 const void* ensureAlignment(FileMap* map);
289 status_t openChunk(FileMap* dataMap, size_t uncompressedLen);
309 FileMap* mMap; // for memory-mapped input
DStreamingZipInflater.h37 StreamingZipInflater(class FileMap* dataMap, size_t uncompSize);
57 class FileMap* mDataMap;
DZipFileRO.h137 FileMap* createEntryFileMap(ZipEntryRO entry) const;
/frameworks/base/tools/aapt2/io/
DData.h44 explicit MmappedData(android::FileMap&& map) : mMap(std::forward<android::FileMap>(map)) { in MmappedData()
56 android::FileMap mMap;
DFileSystem.cpp33 android::FileMap map; in openAsData()
34 if (Maybe<android::FileMap> map = file::mmapPath(mSource.path, nullptr)) { in openAsData()
DZipArchive.cpp35 android::FileMap fileMap; in openAsData()
/frameworks/base/cmds/bootanimation/
DAudioPlayer.h32 void playFile(FileMap* fileMap);
43 FileMap* mCurrentFile;
DBootAnimation.h63 FileMap* map;
78 FileMap* audioFile;
DAudioPlayer.cpp196 void AudioPlayer::playFile(FileMap* fileMap) { in playFile()
DBootAnimation.cpp434 FileMap* entryMap = zip->createEntryFileMap(entry); in readFile()
614 FileMap* map = mZip->createEntryFileMap(entry); in preloadZip()
/frameworks/compile/libbcc/lib/Support/
DFileBase.cpp225 android::FileMap *FileBase::createMap(off_t pOffset, size_t pLength, in createMap()
231 android::FileMap *map = new (std::nothrow) android::FileMap(); in createMap()
/frameworks/compile/libbcc/include/bcc/Support/
DFileBase.h26 class FileMap; variable
127 android::FileMap *createMap(off_t pOffset, size_t pLength, bool pIsReadOnly);
DFile.h62 inline android::FileMap *createMap(off_t pOffset, size_t pLength,
/frameworks/base/libs/androidfw/
DAsset.cpp280 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap, in createFromUncompressedMap()
298 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap, in createFromCompressedMap()
425 status_t _FileAsset::openChunk(FileMap* dataMap) in openChunk()
611 FileMap* map; in getBuffer()
613 map = new FileMap; in getBuffer()
651 const void* _FileAsset::ensureAlignment(FileMap* map) in ensureAlignment()
737 status_t _CompressedAsset::openChunk(FileMap* dataMap, size_t uncompressedLen) in openChunk()
DZipFileRO.cpp198 FileMap* ZipFileRO::createEntryFileMap(ZipEntryRO entry) const in createEntryFileMap()
211 FileMap* newMap = new FileMap(); in createEntryFileMap()
DStreamingZipInflater.cpp73 StreamingZipInflater::StreamingZipInflater(FileMap* dataMap, size_t uncompSize) { in StreamingZipInflater()
DAssetManager.cpp1152 FileMap* dataMap = pZipFile->createEntryFileMap(entry); in openAssetFromZipLocked()
/frameworks/base/tools/aapt2/dump/
DDump.cpp89 Maybe<android::FileMap> file = file::mmapPath(filePath, &err); in tryDumpFile()
95 android::FileMap* fileMap = &file.value(); in tryDumpFile()
/frameworks/av/drm/libdrmframework/include/
DReadWriteUtils.h73 FileMap* mFileMap;
/frameworks/base/tools/aapt2/util/
DFiles.h96 Maybe<android::FileMap> mmapPath(const StringPiece& path, std::string* outError);
DFiles.cpp166 Maybe<android::FileMap> mmapPath(const StringPiece& path, std::string* outError) { in mmapPath()
181 android::FileMap fileMap; in mmapPath()
/frameworks/base/cmds/idmap/
Dscan.cpp143 FileMap *dataMap = zip->createEntryFileMap(entry); in parse_apk()
/frameworks/base/tools/aapt2/compile/
DCompile.cpp295 const android::FileMap& map, IArchiveWriter* writer, in writeHeaderAndMmapToWriter()
411 Maybe<android::FileMap> f = file::mmapPath(pathData.source.path, &errorStr); in compileFile()