Lines Matching refs:AssetManager
73 const char* AssetManager::RESOURCES_FILENAME = "resources.arsc";
74 const char* AssetManager::IDMAP_BIN = "/system/bin/idmap";
75 const char* AssetManager::OVERLAY_DIR = "/vendor/overlay";
76 const char* AssetManager::OVERLAY_THEME_DIR_PROPERTY = "ro.boot.vendor.overlay.theme";
77 const char* AssetManager::TARGET_PACKAGE_NAME = "android";
78 const char* AssetManager::TARGET_APK_PATH = "/system/framework/framework-res.apk";
79 const char* AssetManager::IDMAP_DIR = "/data/resource-cache";
134 int32_t AssetManager::getGlobalCount() { in getGlobalCount()
138 AssetManager::AssetManager() : in AssetManager() function in AssetManager
147 AssetManager::~AssetManager() { in ~AssetManager()
160 bool AssetManager::addAssetPath( in addAssetPath()
220 bool AssetManager::addOverlayPath(const String8& packagePath, int32_t* cookie) in addOverlayPath()
285 bool AssetManager::createIdmap(const char* targetApkPath, const char* overlayApkPath, in createIdmap()
320 bool AssetManager::addDefaultAssets() in addDefaultAssets()
331 int32_t AssetManager::nextAssetPath(const int32_t cookie) const in nextAssetPath()
338 String8 AssetManager::getAssetPath(const int32_t cookie) const in getAssetPath()
348 void AssetManager::setLocaleLocked(const char* locale) in setLocaleLocked()
358 void AssetManager::setConfiguration(const ResTable_config& config, const char* locale) in setConfiguration()
373 void AssetManager::getConfiguration(ResTable_config* outConfig) const in getConfiguration()
391 Asset* AssetManager::open(const char* fileName, AccessMode mode) in open()
423 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode, int32_t* outCookie) in openNonAsset()
448 Asset* AssetManager::openNonAsset(const int32_t cookie, const char* fileName, AccessMode mode) in openNonAsset()
475 FileType AssetManager::getFileType(const char* fileName) in getFileType()
494 bool AssetManager::appendPathToResTable(const asset_path& ap, bool appAsLib) const { in appendPathToResTable()
512 sharedRes = const_cast<AssetManager*>(this)-> in appendPathToResTable()
520 ass = const_cast<AssetManager*>(this)-> in appendPathToResTable()
524 ass = const_cast<AssetManager*>(this)-> in appendPathToResTable()
529 ass = const_cast<AssetManager*>(this)-> in appendPathToResTable()
549 sharedRes = const_cast<AssetManager*>(this)-> in appendPathToResTable()
555 ass = const_cast<AssetManager*>(this)-> in appendPathToResTable()
587 const ResTable* AssetManager::getResTable(bool required) const in getResTable()
625 void AssetManager::updateResourceParamsLocked() const in updateResourceParamsLocked()
642 Asset* AssetManager::openIdmapLocked(const struct asset_path& ap) const in openIdmapLocked()
646 ass = const_cast<AssetManager*>(this)-> in openIdmapLocked()
657 void AssetManager::addSystemOverlays(const char* pathOverlaysList, in addSystemOverlays()
688 Asset* oass = const_cast<AssetManager*>(this)-> in addSystemOverlays()
697 const_cast<AssetManager*>(this)->mAssetPaths.add(oap); in addSystemOverlays()
698 const_cast<AssetManager*>(this)->mZipSet.addOverlay(targetPackagePath, oap); in addSystemOverlays()
709 const ResTable& AssetManager::getResources(bool required) const in getResources()
715 bool AssetManager::isUpToDate() in isUpToDate()
721 void AssetManager::getLocales(Vector<String8>* locales, bool includeSystemLocales) const in getLocales()
736 Asset* AssetManager::openNonAssetInPathLocked(const char* fileName, AccessMode mode, in openNonAssetInPathLocked()
789 String8 AssetManager::createZipSourceNameLocked(const String8& zipFileName, in createZipSourceNameLocked()
805 String8 AssetManager::createPathNameLocked(const asset_path& ap, const char* rootDir) in createPathNameLocked()
816 ZipFileRO* AssetManager::getZipFileLocked(const asset_path& ap) in getZipFileLocked()
835 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, in openAssetFromFileLocked()
857 Asset* AssetManager::openAssetFromZipLocked(const ZipFileRO* pZipFile, in openAssetFromZipLocked()
906 AssetDir* AssetManager::openDir(const char* dirName) in openDir()
964 AssetDir* AssetManager::openNonAssetDir(const int32_t cookie, const char* dirName) in openNonAssetDir()
1013 bool AssetManager::scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, in scanAndMergeDirLocked()
1086 SortedVector<AssetDir::FileInfo>* AssetManager::scanDirLocked(const String8& path) in scanDirLocked()
1144 bool AssetManager::scanAndMergeZipLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, in scanAndMergeZipLocked()
1265 void AssetManager::mergeInfoLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, in mergeInfoLocked()
1360 Mutex AssetManager::SharedZip::gLock;
1361 DefaultKeyedVector<String8, wp<AssetManager::SharedZip> > AssetManager::SharedZip::gOpen;
1363 AssetManager::SharedZip::SharedZip(const String8& path, time_t modWhen) in SharedZip()
1377 sp<AssetManager::SharedZip> AssetManager::SharedZip::get(const String8& path, in get()
1395 ZipFileRO* AssetManager::SharedZip::getZip() in getZip()
1400 Asset* AssetManager::SharedZip::getResourceTableAsset() in getResourceTableAsset()
1407 Asset* AssetManager::SharedZip::setResourceTableAsset(Asset* asset) in setResourceTableAsset()
1423 ResTable* AssetManager::SharedZip::getResourceTable() in getResourceTable()
1429 ResTable* AssetManager::SharedZip::setResourceTable(ResTable* res) in setResourceTable()
1442 bool AssetManager::SharedZip::isUpToDate() in isUpToDate()
1448 void AssetManager::SharedZip::addOverlay(const asset_path& ap) in addOverlay()
1453 bool AssetManager::SharedZip::getOverlay(size_t idx, asset_path* out) const in getOverlay()
1462 AssetManager::SharedZip::~SharedZip() in ~SharedZip()
1488 AssetManager::ZipSet::~ZipSet(void) in ~ZipSet()
1498 void AssetManager::ZipSet::closeZip(int idx) in closeZip()
1507 ZipFileRO* AssetManager::ZipSet::getZip(const String8& path) in getZip()
1518 Asset* AssetManager::ZipSet::getZipResourceTableAsset(const String8& path) in getZipResourceTableAsset()
1529 Asset* AssetManager::ZipSet::setZipResourceTableAsset(const String8& path, in setZipResourceTableAsset()
1538 ResTable* AssetManager::ZipSet::getZipResourceTable(const String8& path) in getZipResourceTable()
1549 ResTable* AssetManager::ZipSet::setZipResourceTable(const String8& path, in setZipResourceTable()
1564 /*static*/ String8 AssetManager::ZipSet::getPathName(const char* zipPath) in getPathName()
1569 bool AssetManager::ZipSet::isUpToDate() in isUpToDate()
1580 void AssetManager::ZipSet::addOverlay(const String8& path, const asset_path& overlay) in addOverlay()
1587 bool AssetManager::ZipSet::getOverlay(const String8& path, size_t idx, asset_path* out) const in getOverlay()
1602 int AssetManager::ZipSet::getIndex(const String8& zip) const in getIndex()