• Home
  • Raw
  • Download

Lines Matching refs:AssetManager

76 const char* AssetManager::RESOURCES_FILENAME = "resources.arsc";
77 const char* AssetManager::IDMAP_BIN = "/system/bin/idmap";
78 const char* AssetManager::OVERLAY_DIR = "/vendor/overlay";
79 const char* AssetManager::TARGET_PACKAGE_NAME = "android";
80 const char* AssetManager::TARGET_APK_PATH = "/system/framework/framework-res.apk";
81 const char* AssetManager::IDMAP_DIR = "/data/resource-cache";
136 int32_t AssetManager::getGlobalCount() in getGlobalCount()
141 AssetManager::AssetManager(CacheMode cacheMode) in AssetManager() function in AssetManager
153 AssetManager::~AssetManager(void) in ~AssetManager()
168 bool AssetManager::addAssetPath( in addAssetPath()
229 bool AssetManager::addOverlayPath(const String8& packagePath, int32_t* cookie) in addOverlayPath()
294 bool AssetManager::createIdmap(const char* targetApkPath, const char* overlayApkPath, in createIdmap()
317 bool AssetManager::addDefaultAssets() in addDefaultAssets()
328 int32_t AssetManager::nextAssetPath(const int32_t cookie) const in nextAssetPath()
335 String8 AssetManager::getAssetPath(const int32_t cookie) const in getAssetPath()
351 void AssetManager::setLocale(const char* locale) in setLocale()
366 void AssetManager::setLocaleLocked(const char* locale) in setLocaleLocked()
423 void AssetManager::setVendor(const char* vendor) in setVendor()
436 void AssetManager::setConfiguration(const ResTable_config& config, const char* locale) in setConfiguration()
451 void AssetManager::getConfiguration(ResTable_config* outConfig) const in getConfiguration()
481 Asset* AssetManager::open(const char* fileName, AccessMode mode) in open()
518 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie) in openNonAsset()
547 Asset* AssetManager::openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) in openNonAsset()
577 FileType AssetManager::getFileType(const char* fileName) in getFileType()
595 bool AssetManager::appendPathToResTable(const asset_path& ap, bool appAsLib) const { in appendPathToResTable()
613 sharedRes = const_cast<AssetManager*>(this)-> in appendPathToResTable()
621 ass = const_cast<AssetManager*>(this)-> in appendPathToResTable()
625 ass = const_cast<AssetManager*>(this)-> in appendPathToResTable()
630 ass = const_cast<AssetManager*>(this)-> in appendPathToResTable()
650 sharedRes = const_cast<AssetManager*>(this)-> in appendPathToResTable()
656 ass = const_cast<AssetManager*>(this)-> in appendPathToResTable()
688 const ResTable* AssetManager::getResTable(bool required) const in getResTable()
708 const_cast<AssetManager*>(this)->loadFileNameCacheLocked(); in getResTable()
730 void AssetManager::updateResourceParamsLocked() const in updateResourceParamsLocked()
747 Asset* AssetManager::openIdmapLocked(const struct asset_path& ap) const in openIdmapLocked()
751 ass = const_cast<AssetManager*>(this)-> in openIdmapLocked()
762 void AssetManager::addSystemOverlays(const char* pathOverlaysList, in addSystemOverlays()
787 Asset* oass = const_cast<AssetManager*>(this)-> in addSystemOverlays()
796 const_cast<AssetManager*>(this)->mAssetPaths.add(oap); in addSystemOverlays()
797 const_cast<AssetManager*>(this)->mZipSet.addOverlay(targetPackagePath, oap); in addSystemOverlays()
803 const ResTable& AssetManager::getResources(bool required) const in getResources()
809 bool AssetManager::isUpToDate() in isUpToDate()
815 void AssetManager::getLocales(Vector<String8>* locales, bool includeSystemLocales) const in getLocales()
840 Asset* AssetManager::openNonAssetInPathLocked(const char* fileName, AccessMode mode, in openNonAssetInPathLocked()
897 Asset* AssetManager::openInPathLocked(const char* fileName, AccessMode mode, in openInPathLocked()
926 Asset* AssetManager::openInLocaleVendorLocked(const char* fileName, AccessMode mode, in openInLocaleVendorLocked()
1045 String8 AssetManager::createZipSourceNameLocked(const String8& zipFileName, in createZipSourceNameLocked()
1061 String8 AssetManager::createPathNameLocked(const asset_path& ap, const char* locale, in createPathNameLocked()
1073 String8 AssetManager::createPathNameLocked(const asset_path& ap, const char* rootDir) in createPathNameLocked()
1093 ZipFileRO* AssetManager::getZipFileLocked(const asset_path& ap) in getZipFileLocked()
1112 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, in openAssetFromFileLocked()
1134 Asset* AssetManager::openAssetFromZipLocked(const ZipFileRO* pZipFile, in openAssetFromZipLocked()
1187 AssetDir* AssetManager::openDir(const char* dirName) in openDir()
1250 AssetDir* AssetManager::openNonAssetDir(const int32_t cookie, const char* dirName) in openNonAssetDir()
1302 bool AssetManager::scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, in scanAndMergeDirLocked()
1432 SortedVector<AssetDir::FileInfo>* AssetManager::scanDirLocked(const String8& path) in scanDirLocked()
1490 bool AssetManager::scanAndMergeZipLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, in scanAndMergeZipLocked()
1611 void AssetManager::mergeInfoLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, in mergeInfoLocked()
1717 void AssetManager::loadFileNameCacheLocked(void) in loadFileNameCacheLocked()
1751 void AssetManager::fncScanLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, in fncScanLocked()
1774 bool AssetManager::fncScanAndMergeDirLocked( in fncScanAndMergeDirLocked()
1840 void AssetManager::purgeFileNameCacheLocked(void) in purgeFileNameCacheLocked()
1853 Mutex AssetManager::SharedZip::gLock;
1854 DefaultKeyedVector<String8, wp<AssetManager::SharedZip> > AssetManager::SharedZip::gOpen;
1856 AssetManager::SharedZip::SharedZip(const String8& path, time_t modWhen) in SharedZip()
1870 sp<AssetManager::SharedZip> AssetManager::SharedZip::get(const String8& path, in get()
1888 ZipFileRO* AssetManager::SharedZip::getZip() in getZip()
1893 Asset* AssetManager::SharedZip::getResourceTableAsset() in getResourceTableAsset()
1899 Asset* AssetManager::SharedZip::setResourceTableAsset(Asset* asset) in setResourceTableAsset()
1915 ResTable* AssetManager::SharedZip::getResourceTable() in getResourceTable()
1921 ResTable* AssetManager::SharedZip::setResourceTable(ResTable* res) in setResourceTable()
1934 bool AssetManager::SharedZip::isUpToDate() in isUpToDate()
1940 void AssetManager::SharedZip::addOverlay(const asset_path& ap) in addOverlay()
1945 bool AssetManager::SharedZip::getOverlay(size_t idx, asset_path* out) const in getOverlay()
1954 AssetManager::SharedZip::~SharedZip() in ~SharedZip()
1980 AssetManager::ZipSet::ZipSet(void) in ZipSet()
1987 AssetManager::ZipSet::~ZipSet(void) in ~ZipSet()
1997 void AssetManager::ZipSet::closeZip(int idx) in closeZip()
2006 ZipFileRO* AssetManager::ZipSet::getZip(const String8& path) in getZip()
2017 Asset* AssetManager::ZipSet::getZipResourceTableAsset(const String8& path) in getZipResourceTableAsset()
2028 Asset* AssetManager::ZipSet::setZipResourceTableAsset(const String8& path, in setZipResourceTableAsset()
2037 ResTable* AssetManager::ZipSet::getZipResourceTable(const String8& path) in getZipResourceTable()
2048 ResTable* AssetManager::ZipSet::setZipResourceTable(const String8& path, in setZipResourceTable()
2063 /*static*/ String8 AssetManager::ZipSet::getPathName(const char* zipPath) in getPathName()
2068 bool AssetManager::ZipSet::isUpToDate() in isUpToDate()
2079 void AssetManager::ZipSet::addOverlay(const String8& path, const asset_path& overlay) in addOverlay()
2086 bool AssetManager::ZipSet::getOverlay(const String8& path, size_t idx, asset_path* out) const in getOverlay()
2101 int AssetManager::ZipSet::getIndex(const String8& zip) const in getIndex()