Home
last modified time | relevance | path

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

/frameworks/base/core/tests/benchmarks/src/android/content/res/
DResourcesBenchmark.java42 mAsset.addAssetPath("/system/framework/framework-res.apk"); in setUp()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesLocaleTest.java45 assertTrue(assets.addAssetPath(extractApkAndGetPath(rawApkId)) != 0); in createResourcesWithApk()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp138 bool AssetManagerSymbolSource::addAssetPath(const StringPiece& path) { in addAssetPath() function in aapt::AssetManagerSymbolSource
140 return mAssets.addAssetPath(android::String8(path.data(), path.size()), &cookie); in addAssetPath()
DSymbolTable.h158 bool addAssetPath(const StringPiece& path);
/frameworks/base/tools/split-select/
DMain.cpp127 if (!assetManager.addAssetPath(path, &cookie)) { in getAppInfo()
209 if (!assetManager.addAssetPath(path, &cookie)) { in extractSplitDescriptionsFromApk()
/frameworks/base/core/java/android/content/res/
DAssetManager.java646 public final int addAssetPath(String path) { in addAssetPath() method in AssetManager
708 cookies[i] = addAssetPath(paths[i]); in addAssetPaths()
/frameworks/base/include/androidfw/
DAssetManager.h103 bool addAssetPath(const String8& path, int32_t* cookie,
/frameworks/base/cmds/idmap/
Dinspect.cpp210 if (!am.addAssetPath(String8(path), NULL)) { in parse_idmap_header()
/frameworks/base/core/java/android/app/
DResourcesManager.java252 if (assets.addAssetPath(key.mResDir) == 0) { in createAssetManager()
259 if (assets.addAssetPath(splitResDir) == 0) { in createAssetManager()
/frameworks/base/tools/aapt/
DAaptAssets.cpp1536 if (!mIncludedAssets.addAssetPath(includes[i], NULL)) { in buildIncludedResources()
1550 if (!mIncludedAssets.addAssetPath(featureOfBase, NULL)) { in buildIncludedResources()
DCommand.cpp213 if (!assets.addAssetPath(String8(zipFileName), NULL)) { in doList()
721 if (!assets.addAssetPath(String8(filename), &assetsCookie)) { in doDump()
DResourceTable.cpp1809 if (!featureAssetManager.addAssetPath(featureAfter, NULL)) { in addIncludedResources()
/frameworks/base/libs/androidfw/
DAssetManager.cpp168 bool AssetManager::addAssetPath( in addAssetPath() function in AssetManager
325 return addAssetPath(path, NULL, false /* appAsLib */, true /* isSystemAsset */); in addDefaultAssets()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java1384 am.addAssetPath(ai.publicSourceDir); in getResources()
/frameworks/base/tools/aapt2/link/
DLink.cpp568 if (!assetSource->addAssetPath(path)) { in loadSymbolsFromIncludePaths()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp548 bool res = am->addAssetPath(String8(path8.c_str()), &cookie, appAsLib); in android_content_AssetManager_addAssetPath()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java898 int cookie = assets.addAssetPath(apkPath); in loadApkIntoAssetManager()
1313 int cookie = assets.addAssetPath(apkPath); in parseApkLite()