Home
last modified time | relevance | path

Searched refs:dataMap (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/androidfw/
DAsset.cpp287 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap, in createFromUncompressedMap() argument
294 result = pAsset->openChunk(dataMap); in createFromUncompressedMap()
302 /*static*/ std::unique_ptr<Asset> Asset::createFromUncompressedMap(std::unique_ptr<FileMap> dataMap, in createFromUncompressedMap() argument
307 status_t result = pAsset->openChunk(dataMap.get()); in createFromUncompressedMap()
313 (void) dataMap.release(); in createFromUncompressedMap()
321 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap, in createFromCompressedMap() argument
328 result = pAsset->openChunk(dataMap, uncompressedLen); in createFromCompressedMap()
336 /*static*/ std::unique_ptr<Asset> Asset::createFromCompressedMap(std::unique_ptr<FileMap> dataMap, in createFromCompressedMap() argument
341 status_t result = pAsset->openChunk(dataMap.get(), uncompressedLen); in createFromCompressedMap()
347 (void) dataMap.release(); in createFromCompressedMap()
[all …]
DStreamingZipInflater.cpp73 StreamingZipInflater::StreamingZipInflater(FileMap* dataMap, size_t uncompSize) { in StreamingZipInflater() argument
75 mDataMap = dataMap; in StreamingZipInflater()
77 mInTotalSize = dataMap->getDataLength(); in StreamingZipInflater()
79 mInBuf = (uint8_t*) dataMap->getDataPtr(); in StreamingZipInflater()
DAssetManager.cpp875 FileMap* dataMap = pZipFile->createEntryFileMap(entry); in openAssetFromZipLocked() local
876 if (dataMap == NULL) { in openAssetFromZipLocked()
882 pAsset = Asset::createFromUncompressedMap(dataMap, mode); in openAssetFromZipLocked()
884 dataMap->getFileName(), mode, pAsset); in openAssetFromZipLocked()
886 pAsset = Asset::createFromCompressedMap(dataMap, in openAssetFromZipLocked()
889 dataMap->getFileName(), mode, pAsset); in openAssetFromZipLocked()
/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h198 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);
312 status_t openChunk(FileMap* dataMap, size_t uncompressedLen);
DStreamingZipInflater.h37 StreamingZipInflater(class FileMap* dataMap, size_t uncompSize);
/frameworks/base/cmds/idmap/
Dscan.cpp207 FileMap *dataMap = zip->createEntryFileMap(entry); in parse_apk() local
208 if (dataMap == NULL) { in parse_apk()
215 delete dataMap; in parse_apk()
218 StreamingZipInflater inflater(dataMap, uncompLen); in parse_apk()
222 delete dataMap; in parse_apk()
228 delete dataMap; in parse_apk()
/frameworks/support/samples/SupportWearDemos/src/com/example/android/support/wear/app/
DMainDemoActivity.java72 DemoAdapter(Map<String, Intent> dataMap) { in DemoAdapter() argument
73 mKeys = dataMap.keySet().toArray(); in DemoAdapter()
74 mData = dataMap; in DemoAdapter()