Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DAsset.cpp280 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap, in createFromUncompressedMap() argument
287 result = pAsset->openChunk(dataMap); in createFromUncompressedMap()
298 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap, in createFromCompressedMap() argument
305 result = pAsset->openChunk(dataMap, uncompressedLen); in createFromCompressedMap()
425 status_t _FileAsset::openChunk(FileMap* dataMap) in openChunk() argument
429 assert(dataMap != NULL); in openChunk()
431 mMap = dataMap; in openChunk()
433 mLength = dataMap->getDataLength(); in openChunk()
737 status_t _CompressedAsset::openChunk(FileMap* dataMap, size_t uncompressedLen) in openChunk() argument
741 assert(dataMap != NULL); in openChunk()
[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.cpp1152 FileMap* dataMap = pZipFile->createEntryFileMap(entry); in openAssetFromZipLocked() local
1153 if (dataMap == NULL) { in openAssetFromZipLocked()
1159 pAsset = Asset::createFromUncompressedMap(dataMap, mode); in openAssetFromZipLocked()
1161 dataMap->getFileName(), mode, pAsset); in openAssetFromZipLocked()
1163 pAsset = Asset::createFromCompressedMap(dataMap, in openAssetFromZipLocked()
1166 dataMap->getFileName(), mode, pAsset); in openAssetFromZipLocked()
/frameworks/base/cmds/idmap/
Dscan.cpp143 FileMap *dataMap = zip->createEntryFileMap(entry); in parse_apk() local
144 if (dataMap == NULL) { in parse_apk()
151 delete dataMap; in parse_apk()
154 StreamingZipInflater inflater(dataMap, uncompLen); in parse_apk()
158 delete dataMap; in parse_apk()
164 delete dataMap; in parse_apk()
/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);
289 status_t openChunk(FileMap* dataMap, size_t uncompressedLen);
DStreamingZipInflater.h37 StreamingZipInflater(class FileMap* dataMap, size_t uncompSize);
/frameworks/base/docs/html/training/wearables/data-layer/
Dassets.jd72 PutDataMapRequest dataMap = PutDataMapRequest.create("/image");
73 dataMap.getDataMap().putAsset("profileImage", asset)
74 PutDataRequest request = dataMap.asPutDataRequest();
Ddata-items.jd239 DataMap dataMap = DataMapItem.fromDataItem(item).getDataMap();
240 updateCount(dataMap.getInt(COUNT_KEY));