Lines Matching defs:Asset

24 #include <androidfw/Asset.h>
53 static Asset* gHead = NULL;
54 static Asset* gTail = NULL;
56 void Asset::registerAsset(Asset* asset)
70 ALOGI("Creating Asset %p #%d\n", asset, gCount);
74 void Asset::unregisterAsset(Asset* asset)
93 ALOGI("Destroying Asset in %p #%d\n", asset, gCount);
97 int32_t Asset::getGlobalCount()
103 String8 Asset::getAssetAllocations()
107 Asset* cur = gHead;
123 Asset::Asset(void)
129 * Create a new Asset from a file on disk. There is a fair chance that
134 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode)
185 * Create a new Asset from a compressed file on disk. There is a fair chance
190 /*static*/ Asset* Asset::createFromCompressedFile(const char* fileName,
246 * Create a new Asset from part of an open file.
248 /*static*/ Asset* Asset::createFromFileSegment(int fd, off64_t offset,
264 * Create a new Asset from compressed data in an open file.
266 /*static*/ Asset* Asset::createFromCompressedData(int fd, off64_t offset,
285 * Create a new Asset from a memory mapping.
287 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap,
302 /*static*/ std::unique_ptr<Asset> Asset::createFromUncompressedMap(std::unique_ptr<FileMap> dataMap,
319 * Create a new Asset from compressed data in a memory mapping.
321 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap,
336 /*static*/ std::unique_ptr<Asset> Asset::createFromCompressedMap(std::unique_ptr<FileMap> dataMap,
359 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn)
402 // Register the Asset with the global list here after it is fully constructed and its
414 // Unregister the Asset from the global list here before it is destructed and while its vtable
639 ALOGV("Asset %p allocating buffer size %d (smaller than threshold)", this, (int)allocLen);
733 // Register the Asset with the global list here after it is fully constructed and its
745 // Unregister the Asset from the global list here before it is destructed and while its vtable