Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DAsset.cpp136 _FileAsset* pAsset; in createFromFile() local
172 pAsset = new _FileAsset; in createFromFile()
173 result = pAsset->openChunk(fileName, fd, 0, length); in createFromFile()
175 delete pAsset; in createFromFile()
179 pAsset->mAccessMode = mode; in createFromFile()
180 return pAsset; in createFromFile()
193 _CompressedAsset* pAsset; in createFromCompressedFile() local
231 pAsset = new _CompressedAsset; in createFromCompressedFile()
232 result = pAsset->openChunk(fd, offset, method, uncompressedLen, in createFromCompressedFile()
235 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 …]