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()
304 /*static*/ std::unique_ptr<Asset> Asset::createFromUncompressedMap(std::unique_ptr<FileMap> dataMap, in createFromUncompressedMap() argument
309 status_t result = pAsset->openChunk(dataMap.get()); in createFromUncompressedMap()
315 (void) dataMap.release(); in createFromUncompressedMap()
323 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap, in createFromCompressedMap() argument
330 result = pAsset->openChunk(dataMap, uncompressedLen); in createFromCompressedMap()
338 /*static*/ std::unique_ptr<Asset> Asset::createFromCompressedMap(std::unique_ptr<FileMap> dataMap, in createFromCompressedMap() argument
343 status_t result = pAsset->openChunk(dataMap.get(), uncompressedLen); in createFromCompressedMap()
349 (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.cpp935 FileMap* dataMap = pZipFile->createEntryFileMap(entry); in openAssetFromZipLocked() local
936 if (dataMap == NULL) { in openAssetFromZipLocked()
942 pAsset = Asset::createFromUncompressedMap(dataMap, mode); in openAssetFromZipLocked()
944 dataMap->getFileName(), mode, pAsset); in openAssetFromZipLocked()
946 pAsset = Asset::createFromCompressedMap(dataMap, in openAssetFromZipLocked()
949 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.cpp200 FileMap *dataMap = zip->createEntryFileMap(entry); in parse_apk() local
201 if (dataMap == NULL) { in parse_apk()
208 delete dataMap; in parse_apk()
211 StreamingZipInflater inflater(dataMap, uncompLen); in parse_apk()
215 delete dataMap; in parse_apk()
221 delete dataMap; in parse_apk()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DUiResultsFragment.java138 ArrayList<Map<String, String>> dataMap = new ArrayList<>();
143 dataMap.add(map);
146 return dataMap;
150 protected void onPostExecute(ArrayList<Map<String, String>> dataMap) {
151 setListAdapter(new SimpleAdapter(getActivity(), dataMap, R.layout.results_list_item,