Home | History | Annotate | Download | only in androidfw

Lines Matching refs:Asset

18 // Provide access to a read-only asset.
21 #define LOG_TAG "asset"
24 #include <androidfw/Asset.h>
50 static Asset* gHead = NULL;
51 static Asset* gTail = NULL;
53 int32_t Asset::getGlobalCount()
59 String8 Asset::getAssetAllocations()
63 Asset* cur = gHead;
79 Asset::Asset(void)
92 //ALOGI("Creating Asset %p #%d\n", this, gCount);
95 Asset::~Asset(void)
112 //ALOGI("Destroying Asset in %p #%d\n", this, gCount);
116 * Create a new Asset from a file on disk. There is a fair chance that
121 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode)
172 * Create a new Asset from a compressed file on disk. There is a fair chance
177 /*static*/ Asset* Asset::createFromCompressedFile(const char* fileName,
233 * Create a new Asset from part of an open file.
235 /*static*/ Asset* Asset::createFromFileSegment(int fd, off64_t offset,
251 * Create a new Asset from compressed data in an open file.
253 /*static*/ Asset* Asset::createFromCompressedData(int fd, off64_t offset,
272 * Create a new Asset from a memory mapping.
274 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap,
290 * Create a new Asset from compressed data in a memory mapping.
292 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap,
315 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn)
524 * Close the asset.
588 ALOGV("Asset %p allocating buffer size %d (smaller than threshold)", this, (int)allocLen);
819 * Close the asset.
884 * Success - now that we have the full asset in RAM we