Lines Matching refs:Asset
69 static Asset* const kExcludedAsset = (Asset*) 0xd000000d;
249 Asset* idmap = NULL; in addOverlayPath()
250 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { in addOverlayPath()
334 Asset* assets[2] = {NULL, NULL}; in createIdmap()
344 Asset::ACCESS_BUFFER, ap); in createIdmap()
435 Asset* AssetManager::open(const char* fileName, AccessMode mode) in open()
453 Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, in open()
468 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie) in openNonAsset()
482 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset()
493 Asset* AssetManager::openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) in openNonAsset()
504 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset()
522 Asset* pAsset = NULL; in getFileType()
529 pAsset = open(fileName, Asset::ACCESS_STREAMING); in getFileType()
545 Asset* ass = NULL; in appendPathToResTable()
550 Asset* idmap = openIdmapLocked(ap); in appendPathToResTable()
571 Asset::ACCESS_BUFFER, in appendPathToResTable()
602 Asset::ACCESS_BUFFER, in appendPathToResTable()
688 Asset* AssetManager::openIdmapLocked(const struct asset_path& ap) const in openIdmapLocked()
690 Asset* ass = NULL; in openIdmapLocked()
693 openAssetFromFileLocked(ap.idmap, Asset::ACCESS_BUFFER); in openIdmapLocked()
734 Asset* oass = const_cast<AssetManager*>(this)-> in addSystemOverlays()
736 Asset::ACCESS_BUFFER, in addSystemOverlays()
740 Asset* oidmap = openIdmapLocked(oap); in addSystemOverlays()
782 Asset* AssetManager::openNonAssetInPathLocked(const char* fileName, AccessMode mode, in openNonAssetInPathLocked()
785 Asset* pAsset = NULL; in openNonAssetInPathLocked()
895 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, in openAssetFromFileLocked()
898 Asset* pAsset = NULL; in openAssetFromFileLocked()
902 pAsset = Asset::createFromCompressedFile(pathName.string(), mode); in openAssetFromFileLocked()
905 pAsset = Asset::createFromFile(pathName.string(), mode); in openAssetFromFileLocked()
917 Asset* AssetManager::openAssetFromZipLocked(const ZipFileRO* pZipFile, in openAssetFromZipLocked()
920 Asset* pAsset = NULL; in openAssetFromZipLocked()
942 pAsset = Asset::createFromUncompressedMap(dataMap, mode); in openAssetFromZipLocked()
946 pAsset = Asset::createFromCompressedMap(dataMap, in openAssetFromZipLocked()
1479 Asset* AssetManager::SharedZip::getResourceTableAsset() in getResourceTableAsset()
1486 Asset* AssetManager::SharedZip::setResourceTableAsset(Asset* asset) in setResourceTableAsset()
1601 Asset* AssetManager::ZipSet::getZipResourceTableAsset(const String8& path) in getZipResourceTableAsset()
1612 Asset* AssetManager::ZipSet::setZipResourceTableAsset(const String8& path, in setZipResourceTableAsset()
1613 Asset* asset) in setZipResourceTableAsset()