Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DAsset.cpp129 _FileAsset* pAsset; in createFromFile() local
165 pAsset = new _FileAsset; in createFromFile()
166 result = pAsset->openChunk(fileName, fd, 0, length); in createFromFile()
168 delete pAsset; in createFromFile()
172 pAsset->mAccessMode = mode; in createFromFile()
173 return pAsset; in createFromFile()
186 _CompressedAsset* pAsset; in createFromCompressedFile() local
224 pAsset = new _CompressedAsset; in createFromCompressedFile()
225 result = pAsset->openChunk(fd, offset, method, uncompressedLen, in createFromCompressedFile()
228 delete pAsset; in createFromCompressedFile()
[all …]
DAssetManager.cpp503 Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, mAssetPaths.itemAt(i)); in open() local
504 if (pAsset != NULL) { in open()
505 return pAsset != kExcludedAsset ? pAsset : NULL; in open()
536 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset() local
538 if (pAsset != NULL) { in openNonAsset()
540 return pAsset != kExcludedAsset ? pAsset : NULL; in openNonAsset()
561 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset() local
563 if (pAsset != NULL) { in openNonAsset()
564 return pAsset != kExcludedAsset ? pAsset : NULL; in openNonAsset()
579 Asset* pAsset = NULL; in getFileType() local
[all …]