Home | History | Annotate | Download | only in androidfw

Lines Matching refs:AssetManager

27 #include <androidfw/AssetManager.h>
136 * AssetManager
140 int32_t AssetManager::getGlobalCount()
145 AssetManager::AssetManager(CacheMode cacheMode)
151 //ALOGI("Creating AssetManager %p #%d\n", this, count);
155 AssetManager::~AssetManager(void)
158 //ALOGI("Destroying AssetManager in %p #%d\n", this, count);
168 bool AssetManager::addAssetPath(const String8& path, void** cookie)
242 bool AssetManager::isIdmapStaleLocked(const String8& originalPath, const String8& overlayPath,
295 bool AssetManager::getZipEntryCrcLocked(const String8& zipPath, const char* entryFilename,
314 bool AssetManager::createIdmapFileLocked(const String8& originalPath, const String8& overlayPath,
386 bool AssetManager::addDefaultAssets()
397 void* AssetManager::nextAssetPath(void* cookie) const
404 String8 AssetManager::getAssetPath(void* cookie) const
420 void AssetManager::setLocale(const char* locale)
426 void AssetManager::setLocaleLocked(const char* locale)
445 void AssetManager::setVendor(const char* vendor)
458 void AssetManager::setConfiguration(const ResTable_config& config, const char* locale)
482 void AssetManager::getConfiguration(ResTable_config* outConfig) const
512 Asset* AssetManager::open(const char* fileName, AccessMode mode)
516 LOG_FATAL_IF(mAssetPaths.size() == 0, "No assets added to AssetManager");
549 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode)
553 LOG_FATAL_IF(mAssetPaths.size() == 0, "No assets added to AssetManager");
577 Asset* AssetManager::openNonAsset(void* cookie, const char* fileName, AccessMode mode)
583 LOG_FATAL_IF(mAssetPaths.size() == 0, "No assets added to AssetManager");
608 FileType AssetManager::getFileType(const char* fileName)
626 const ResTable* AssetManager::getResTable(bool required) const
642 LOG_FATAL_IF(mAssetPaths.size() == 0, "No assets added to AssetManager");
646 const_cast<AssetManager*>(this)->loadFileNameCacheLocked();
661 sharedRes = const_cast<AssetManager*>(this)->
665 ass = const_cast<AssetManager*>(this)->
669 ass = const_cast<AssetManager*>(this)->
674 ass = const_cast<AssetManager*>(this)->
686 sharedRes = const_cast<AssetManager*>(this)->
692 Asset* ass = const_cast<AssetManager*>(this)->
729 void AssetManager::updateResourceParamsLocked() const
754 Asset* AssetManager::openIdmapLocked(const struct asset_path& ap) const
758 ass = const_cast<AssetManager*>(this)->
769 const ResTable& AssetManager::getResources(bool required) const
775 bool AssetManager::isUpToDate()
781 void AssetManager::getLocales(Vector<String8>* locales) const
796 Asset* AssetManager::openNonAssetInPathLocked(const char* fileName, AccessMode mode,
855 Asset* AssetManager::openInPathLocked(const char* fileName, AccessMode mode,
884 Asset* AssetManager::openInLocaleVendorLocked(const char* fileName, AccessMode mode,
1005 String8 AssetManager::createZipSourceNameLocked(const String8& zipFileName,
1021 String8 AssetManager::createPathNameLocked(const asset_path& ap, const char* locale,
1033 String8 AssetManager::createPathNameLocked(const asset_path& ap, const char* rootDir)
1053 ZipFileRO* AssetManager::getZipFileLocked(const asset_path& ap)
1072 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName,
1094 Asset* AssetManager::openAssetFromZipLocked(const ZipFileRO* pZipFile,
1149 AssetDir* AssetManager::openDir(const char* dirName)
1156 LOG_FATAL_IF(mAssetPaths.size() == 0, "No assets added to AssetManager");
1212 AssetDir* AssetManager::openNonAssetDir(void* cookie, const char* dirName)
1219 LOG_FATAL_IF(mAssetPaths.size() == 0, "No assets added to AssetManager");
1264 bool AssetManager::scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo,
1394 SortedVector<AssetDir::FileInfo>* AssetManager::scanDirLocked(const String8& path)
1452 bool AssetManager::scanAndMergeZipLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo,
1568 AssetManager::mergeInfoLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo,
1674 void AssetManager::loadFileNameCacheLocked(void)
1708 void AssetManager::fncScanLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo,
1731 bool AssetManager::fncScanAndMergeDirLocked(
1796 void AssetManager::purgeFileNameCacheLocked(void)
1804 * AssetManager::SharedZip
1809 Mutex AssetManager::SharedZip::gLock;
1810 DefaultKeyedVector<String8, wp<AssetManager::SharedZip> > AssetManager::SharedZip::gOpen;
1812 AssetManager::SharedZip::SharedZip(const String8& path, time_t modWhen)
1826 sp<AssetManager::SharedZip> AssetManager::SharedZip::get(const String8& path)
1840 ZipFileRO* AssetManager::SharedZip::getZip()
1845 Asset* AssetManager::SharedZip::getResourceTableAsset()
1851 Asset* AssetManager::SharedZip::setResourceTableAsset(Asset* asset)
1867 ResTable* AssetManager::SharedZip::getResourceTable()
1873 ResTable* AssetManager::SharedZip::setResourceTable(ResTable* res)
1886 bool AssetManager::SharedZip::isUpToDate()
1892 AssetManager::SharedZip::~SharedZip()
1909 * AssetManager::ZipSet
1916 AssetManager::ZipSet::ZipSet(void)
1923 AssetManager::ZipSet::~ZipSet(void)
1933 void AssetManager::ZipSet::closeZip(int idx)
1942 ZipFileRO* AssetManager::ZipSet::getZip(const String8& path)
1953 Asset* AssetManager::ZipSet::getZipResourceTableAsset(const String8& path)
1964 Asset* AssetManager::ZipSet::setZipResourceTableAsset(const String8& path,
1973 ResTable* AssetManager::ZipSet::getZipResourceTable(const String8& path)
1984 ResTable* AssetManager::ZipSet::setZipResourceTable(const String8& path,
1999 /*static*/ String8 AssetManager::ZipSet::getPathName(const char* zipPath)
2004 bool AssetManager::ZipSet::isUpToDate()
2021 int AssetManager::ZipSet::getIndex(const String8& zip) const