Home
last modified time | relevance | path

Searched refs:pAsset (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/androidfw/
DAsset.cpp151 _FileAsset* pAsset; in createFromFd() local
182 pAsset = new _FileAsset; in createFromFd()
183 result = pAsset->openChunk(fileName, fd, 0, length); in createFromFd()
185 delete pAsset; in createFromFd()
189 pAsset->mAccessMode = mode; in createFromFd()
190 return pAsset; in createFromFd()
203 _CompressedAsset* pAsset; in createFromCompressedFile() local
241 pAsset = new _CompressedAsset; in createFromCompressedFile()
242 result = pAsset->openChunk(fd, offset, method, uncompressedLen, in createFromCompressedFile()
245 delete pAsset; in createFromCompressedFile()
[all …]
DAssetManager.cpp453 Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, in open() local
455 if (pAsset != NULL) { in open()
456 return pAsset != kExcludedAsset ? pAsset : NULL; in open()
482 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset() local
484 if (pAsset != NULL) { in openNonAsset()
486 return pAsset != kExcludedAsset ? pAsset : NULL; in openNonAsset()
504 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset() local
506 if (pAsset != NULL) { in openNonAsset()
507 return pAsset != kExcludedAsset ? pAsset : NULL; in openNonAsset()
522 Asset* pAsset = NULL; in getFileType() local
[all …]