Lines Matching refs:Asset
18 // Asset management class. AssetManager objects are thread-safe.
23 #include <androidfw/Asset.h>
53 class Asset; // fwd decl for things that include Asset.h first
62 * The purpose of the AssetManager is to create Asset objects. To do
67 * The asset hierarchy may be examined like a filesystem, using
76 //CACHE_SCAN, // scan full(!) asset hierarchy at init() time
88 * added asset path will be examined first when searching for assets,
93 * newly-added asset source.
104 * Iterate over the asset paths in this manager. (Previously
113 * Return an asset path in the manager. 'which' must be between 0 and
135 typedef Asset::AccessMode AccessMode; // typing shortcut
138 * Open an asset.
144 * be freed by calling Asset::close().
146 Asset* open(const char* fileName, AccessMode mode);
149 * Open a non-asset file as an asset.
151 * This is for opening files that are included in an asset package
156 Asset* openNonAsset(const char* fileName, AccessMode mode);
159 * Explicit non-asset file. The file explicitly named by the cookie (the
162 Asset* openNonAsset(void* cookie, const char* fileName, AccessMode mode);
165 * Open a directory within the asset hierarchy.
168 * locale-specific, and generic assets stored loosely or in asset
177 * Open a directory within a particular path of the asset manager.
180 * locale-specific, and generic assets stored loosely or in asset
189 * Get the type of a file in the asset hierarchy. They will either
217 * Get the known locales for this asset manager object.
229 Asset* openInPathLocked(const char* fileName, AccessMode mode,
231 Asset* openNonAssetInPathLocked(const char* fileName, AccessMode mode,
233 Asset* openInLocaleVendorLocked(const char* fileName, AccessMode mode,
242 Asset* openAssetFromFileLocked(const String8& fileName, AccessMode mode);
243 Asset* openAssetFromZipLocked(const ZipFileRO* pZipFile,
273 Asset* openIdmapLocked(const struct asset_path& ap) const;
283 Asset* getResourceTableAsset();
284 Asset* setResourceTableAsset(Asset* asset);
302 Asset* mResourceTableAsset;
327 Asset* getZipResourceTableAsset(const String8& path);
328 Asset* setZipResourceTableAsset(const String8& path, Asset* asset);