Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DAsset.cpp301 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap, AccessMode mode) in createFromUncompressedMap() argument
307 result = pAsset->openChunk(dataMap, base::unique_fd(-1)); in createFromUncompressedMap()
317 /*static*/ std::unique_ptr<Asset> Asset::createFromUncompressedMap(std::unique_ptr<FileMap> dataMap, in createFromUncompressedMap() argument
322 status_t result = pAsset->openChunk(dataMap.get(), std::move(fd)); in createFromUncompressedMap()
328 (void) dataMap.release(); in createFromUncompressedMap()
336 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap, in createFromCompressedMap() argument
343 result = pAsset->openChunk(dataMap, uncompressedLen); in createFromCompressedMap()
353 /*static*/ std::unique_ptr<Asset> Asset::createFromCompressedMap(std::unique_ptr<FileMap> dataMap, in createFromCompressedMap() argument
358 status_t result = pAsset->openChunk(dataMap.get(), uncompressedLen); in createFromCompressedMap()
364 (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.h205 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode);
213 static std::unique_ptr<Asset> createFromUncompressedMap(std::unique_ptr<FileMap> dataMap,
222 static Asset* createFromCompressedMap(FileMap* dataMap,
225 static std::unique_ptr<Asset> createFromCompressedMap(std::unique_ptr<FileMap> dataMap,
269 status_t openChunk(FileMap* dataMap, base::unique_fd fd);
326 status_t openChunk(FileMap* dataMap, size_t uncompressedLen);
DStreamingZipInflater.h37 StreamingZipInflater(class FileMap* dataMap, size_t uncompSize);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDataFilterTest.kt155 val dataMap = mapOf(KEY to dataMain, KEY_ALT to dataGuest) in eq() constant
156 `when`(combineLatest.getData()).thenReturn(dataMap) in eq()