Home
last modified time | relevance | path

Searched refs:addAssetPath (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DAssetManager2_bench.cpp52 assets.addAssetPath(path, nullptr /* cookie */, false /* appAsLib */, in BM_AssetManagerLoadAssetsOld()
75 assets.addAssetPath(path, nullptr /* cookie */, false /* appAsLib */, in BM_AssetManagerLoadFrameworkAssetsOld()
156 if (!assets.addAssetPath(String8((GetTestDataPath() + "/styles/styles.apk").data()), in BM_AssetManagerGetBagOld()
199 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /*cookie*/, false /*appAsLib*/, in BM_AssetManagerGetResourceLocalesOld()
237 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /*cookie*/, false /*appAsLib*/, in BM_AssetManagerSetConfigurationFrameworkOld()
DTheme_bench.cpp49 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /* cookie */, false /* appAsLib */, in BM_ThemeApplyStyleFrameworkOld()
84 assets.addAssetPath(String8(kFrameworkPath), nullptr /* cookie */, false /* appAsLib */, in BM_ThemeGetAttributeOld()
DBenchmarkHelpers.cpp29 if (!assetmanager.addAssetPath(String8(path.c_str()), nullptr /* cookie */, in GetResourceBenchmarkOld()
/frameworks/base/core/java/android/content/pm/
DFallbackCategoryProvider.java47 assets.addAssetPath("/system/framework/framework-res.apk"); in loadFallbacks()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java57 mAsset.addAssetPath("/system/framework/framework-res.apk"); in setUp()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesLocaleTest.java46 assertTrue(assets.addAssetPath(extractApkAndGetPath(rawApkId)) != 0); in createResourcesWithApk()
/frameworks/base/tools/split-select/
DMain.cpp127 if (!assetManager.addAssetPath(path, &cookie)) { in getAppInfo()
209 if (!assetManager.addAssetPath(path, &cookie)) { in extractSplitDescriptionsFromApk()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java132 assmgr.addAssetPath(archiveFilePath); in getAppSnippet()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager.h94 bool addAssetPath(const String8& path, int32_t* cookie,
/frameworks/base/cmds/idmap/
Dinspect.cpp211 if (!am.addAssetPath(String8(path), NULL)) { in parse_idmap_header()
/frameworks/base/libs/androidfw/
DAssetManager.cpp176 bool AssetManager::addAssetPath( in addAssetPath() function in AssetManager
372 return addAssetPath(path, NULL, false /* appAsLib */, true /* isSystemAsset */); in addDefaultAssets()
/frameworks/base/tools/aapt/
DAaptAssets.cpp1537 if (!mIncludedAssets.addAssetPath(includes[i], NULL)) { in buildIncludedResources()
1551 if (!mIncludedAssets.addAssetPath(featureOfBase, NULL)) { in buildIncludedResources()
DCommand.cpp195 if (!assets.addAssetPath(String8(zipFileName), NULL)) { in doList()
748 if (!assets.addAssetPath(assetPath, NULL)) { in doDump()
754 if (!assets.addAssetPath(String8(filename), &assetsCookie)) { in doDump()
DResourceTable.cpp1817 if (!featureAssetManager.addAssetPath(featureAfter, NULL)) { in addIncludedResources()
/frameworks/base/core/java/android/content/res/
DAssetManager.java403 public int addAssetPath(String path) { in addAssetPath() method in AssetManager
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java2962 am.addAssetPath(ai.publicSourceDir); in getResources()