/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_bench.cpp | 53 assets.addAssetPath(path, nullptr /* cookie */, false /* appAsLib */, in BM_AssetManagerLoadAssetsOld() 76 assets.addAssetPath(path, nullptr /* cookie */, false /* appAsLib */, in BM_AssetManagerLoadFrameworkAssetsOld() 187 if (!assets.addAssetPath(String8((GetTestDataPath() + "/styles/styles.apk").data()), in BM_AssetManagerGetBagOld() 230 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /*cookie*/, false /*appAsLib*/, in BM_AssetManagerGetResourceLocalesOld()
|
D | Theme_bench.cpp | 49 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /* cookie */, false /* appAsLib */, in BM_ThemeApplyStyleFrameworkOld() 84 assets.addAssetPath(String8(kFrameworkPath), nullptr /* cookie */, false /* appAsLib */, in BM_ThemeGetAttributeOld()
|
D | BenchmarkHelpers.cpp | 28 if (!assetmanager.addAssetPath(String8(path.c_str()), nullptr /* cookie */, in GetResourceBenchmarkOld()
|
/frameworks/base/core/tests/benchmarks/src/android/content/res/ |
D | ResourcesBenchmark.java | 42 mAsset.addAssetPath("/system/framework/framework-res.apk"); in setUp()
|
/frameworks/base/core/java/android/content/pm/ |
D | FallbackCategoryProvider.java | 47 assets.addAssetPath("/system/framework/framework-res.apk"); in loadFallbacks()
|
D | PackageParser.java | 1231 int cookie = assets.addAssetPath(apkPath); in loadApkIntoAssetManager() 1658 int cookie = assets.addAssetPath(apkPath); in parseApkLite()
|
/frameworks/base/core/java/android/content/pm/split/ |
D | DefaultSplitAssetLoader.java | 53 if (assets.addAssetPath(apkPath) == 0) { in loadApkIntoAssetManager()
|
D | SplitAssetDependencyLoader.java | 79 if (assets.addAssetPath(assetPath) == 0) { in createAssetManagerWithPaths()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 45 assertTrue(assets.addAssetPath(extractApkAndGetPath(rawApkId)) != 0); in createResourcesWithApk()
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 127 if (!assetManager.addAssetPath(path, &cookie)) { in getAppInfo() 209 if (!assetManager.addAssetPath(path, &cookie)) { in extractSplitDescriptionsFromApk()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager.h | 90 bool addAssetPath(const String8& path, int32_t* cookie,
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 673 public final int addAssetPath(String path) { in addAssetPath() method in AssetManager 735 cookies[i] = addAssetPath(paths[i]); in addAssetPaths()
|
/frameworks/base/cmds/idmap/ |
D | inspect.cpp | 211 if (!am.addAssetPath(String8(path), NULL)) { in parse_idmap_header()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 215 return assets_.addAssetPath(android::String8(path.data(), path.size()), &cookie); in AddAssetPath()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 281 if (assets.addAssetPath(key.mResDir) == 0) { in createAssetManager() 289 if (assets.addAssetPath(splitResDir) == 0) { in createAssetManager()
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 160 bool AssetManager::addAssetPath( in addAssetPath() function in AssetManager 328 return addAssetPath(path, NULL, false /* appAsLib */, true /* isSystemAsset */); in addDefaultAssets()
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.cpp | 1536 if (!mIncludedAssets.addAssetPath(includes[i], NULL)) { in buildIncludedResources() 1550 if (!mIncludedAssets.addAssetPath(featureOfBase, NULL)) { in buildIncludedResources()
|
D | Command.cpp | 213 if (!assets.addAssetPath(String8(zipFileName), NULL)) { in doList() 760 if (!assets.addAssetPath(String8(filename), &assetsCookie)) { in doDump() 768 if (!assets.addAssetPath(assetPath, NULL)) { in doDump()
|
D | ResourceTable.cpp | 1820 if (!featureAssetManager.addAssetPath(featureAfter, NULL)) { in addIncludedResources()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 1598 am.addAssetPath(ai.publicSourceDir); in getResources()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 547 bool res = am->addAssetPath(String8(path8.c_str()), &cookie, appAsLib); in android_content_AssetManager_addAssetPath()
|