Lines Matching refs:Asset
83 static Asset* const kExcludedAsset = (Asset*) 0xd000000d;
216 Asset* manifestAsset = const_cast<AssetManager*>(this)->openNonAssetInPathLocked( in addAssetPath()
217 kAndroidManifest, Asset::ACCESS_BUFFER, ap); in addAssetPath()
260 Asset* idmap = NULL; in addOverlayPath()
261 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { in addOverlayPath()
323 Asset* ass = openNonAssetInPathLocked("resources.arsc", Asset::ACCESS_BUFFER, ap); in createIdmap()
499 Asset* AssetManager::open(const char* fileName, AccessMode mode) in open()
521 Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, mAssetPaths.itemAt(i)); in open()
536 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie) in openNonAsset()
554 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset()
565 Asset* AssetManager::openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) in openNonAsset()
579 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset()
597 Asset* pAsset = NULL; in getFileType()
604 pAsset = open(fileName, Asset::ACCESS_STREAMING); in getFileType()
619 Asset* ass = NULL; in appendPathToResTable()
624 Asset* idmap = openIdmapLocked(ap); in appendPathToResTable()
645 Asset::ACCESS_BUFFER, in appendPathToResTable()
676 Asset::ACCESS_BUFFER, in appendPathToResTable()
766 Asset* AssetManager::openIdmapLocked(const struct asset_path& ap) const in openIdmapLocked()
768 Asset* ass = NULL; in openIdmapLocked()
771 openAssetFromFileLocked(ap.idmap, Asset::ACCESS_BUFFER); in openIdmapLocked()
806 Asset* oass = const_cast<AssetManager*>(this)-> in addSystemOverlays()
808 Asset::ACCESS_BUFFER, in addSystemOverlays()
812 Asset* oidmap = openIdmapLocked(oap); in addSystemOverlays()
859 Asset* AssetManager::openNonAssetInPathLocked(const char* fileName, AccessMode mode, in openNonAssetInPathLocked()
862 Asset* pAsset = NULL; in openNonAssetInPathLocked()
916 Asset* AssetManager::openInPathLocked(const char* fileName, AccessMode mode, in openInPathLocked()
919 Asset* pAsset = NULL; in openInPathLocked()
945 Asset* AssetManager::openInLocaleVendorLocked(const char* fileName, AccessMode mode, in openInLocaleVendorLocked()
948 Asset* pAsset = NULL; in openInLocaleVendorLocked()
1131 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, in openAssetFromFileLocked()
1134 Asset* pAsset = NULL; in openAssetFromFileLocked()
1138 pAsset = Asset::createFromCompressedFile(pathName.string(), mode); in openAssetFromFileLocked()
1141 pAsset = Asset::createFromFile(pathName.string(), mode); in openAssetFromFileLocked()
1153 Asset* AssetManager::openAssetFromZipLocked(const ZipFileRO* pZipFile, in openAssetFromZipLocked()
1156 Asset* pAsset = NULL; in openAssetFromZipLocked()
1178 pAsset = Asset::createFromUncompressedMap(dataMap, mode); in openAssetFromZipLocked()
1182 pAsset = Asset::createFromCompressedMap(dataMap, in openAssetFromZipLocked()
1914 Asset* AssetManager::SharedZip::getResourceTableAsset() in getResourceTableAsset()
1920 Asset* AssetManager::SharedZip::setResourceTableAsset(Asset* asset) in setResourceTableAsset()
2038 Asset* AssetManager::ZipSet::getZipResourceTableAsset(const String8& path) in getZipResourceTableAsset()
2049 Asset* AssetManager::ZipSet::setZipResourceTableAsset(const String8& path, in setZipResourceTableAsset()
2050 Asset* asset) in setZipResourceTableAsset()