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

/frameworks/base/core/tests/benchmarks/src/android/content/res/
H A DResourcesBenchmark.java42 mAsset.addAssetPath("/system/framework/framework-res.apk");
/frameworks/base/core/tests/coretests/src/android/content/res/
H A DResourcesLocaleTest.java45 assertTrue(assets.addAssetPath(extractApkAndGetPath(rawApkId)) != 0);
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.h158 bool addAssetPath(const StringPiece& path);
H A DSymbolTable.cpp138 bool AssetManagerSymbolSource::addAssetPath(const StringPiece& path) { function in class:aapt::AssetManagerSymbolSource
140 return mAssets.addAssetPath(android::String8(path.data(), path.size()), &cookie);
/frameworks/base/tools/split-select/
H A DMain.cpp127 if (!assetManager.addAssetPath(path, &cookie)) {
209 if (!assetManager.addAssetPath(path, &cookie)) {
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java646 public final int addAssetPath(String path) { method in class:AssetManager
696 * {@link #addAssetPath(String)} for more information. Returns array of
708 cookies[i] = addAssetPath(paths[i]);
/frameworks/base/cmds/idmap/
H A Dinspect.cpp210 if (!am.addAssetPath(String8(path), NULL)) {
/frameworks/base/include/androidfw/
H A DAssetManager.h103 bool addAssetPath(const String8& path, int32_t* cookie,
115 * added via addAssetPath() and addDefaultAssets().) On first call,
/frameworks/base/core/java/android/app/
H A DResourcesManager.java252 if (assets.addAssetPath(key.mResDir) == 0) {
259 if (assets.addAssetPath(splitResDir) == 0) {
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp168 bool AssetManager::addAssetPath( function in class:AssetManager
325 return addAssetPath(path, NULL, false /* appAsLib */, true /* isSystemAsset */);
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp1536 if (!mIncludedAssets.addAssetPath(includes[i], NULL)) {
1550 if (!mIncludedAssets.addAssetPath(featureOfBase, NULL)) {
H A DCommand.cpp213 if (!assets.addAssetPath(String8(zipFileName), NULL)) {
721 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
H A DResourceTable.cpp1809 if (!featureAssetManager.addAssetPath(featureAfter, NULL)) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerShellCommand.java1384 am.addAssetPath(ai.publicSourceDir);
/frameworks/base/tools/aapt2/link/
H A DLink.cpp568 if (!assetSource->addAssetPath(path)) {
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp548 bool res = am->addAssetPath(String8(path8.c_str()), &cookie, appAsLib);
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java896 // already exists in the AssetManager, addAssetPath will only return the cookie
898 int cookie = assets.addAssetPath(apkPath);
1313 int cookie = assets.addAssetPath(apkPath);

Completed in 6373 milliseconds