Searched refs:kFrameworkPath (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/androidfw/tests/ |
D | Theme_bench.cpp | 26 constexpr const static char* kFrameworkPath = "/system/framework/framework-res.apk"; variable 31 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(kFrameworkPath); in BM_ThemeApplyStyleFramework() 49 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /* cookie */, false /* appAsLib */, in BM_ThemeApplyStyleFrameworkOld() 65 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(kFrameworkPath); in BM_ThemeGetAttribute() 84 assets.addAssetPath(String8(kFrameworkPath), nullptr /* cookie */, false /* appAsLib */, in BM_ThemeGetAttributeOld()
|
D | AssetManager2_bench.cpp | 36 constexpr const static char* kFrameworkPath = "/system/framework/framework-res.apk"; variable 62 std::string path = kFrameworkPath; in BM_AssetManagerLoadFrameworkAssets() 72 String8 path(kFrameworkPath); in BM_AssetManagerLoadFrameworkAssetsOld() 119 GetResourceBenchmark({kFrameworkPath}, &config, kStringOkId, state); in BM_AssetManagerGetResourceFrameworkLocale() 127 GetResourceBenchmarkOld({kFrameworkPath}, &config, kStringOkId, state); in BM_AssetManagerGetResourceFrameworkLocaleOld() 180 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(kFrameworkPath); in BM_AssetManagerGetResourceLocales() 199 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /*cookie*/, false /*appAsLib*/, in BM_AssetManagerGetResourceLocalesOld() 216 std::unique_ptr<const ApkAssets> apk = ApkAssets::Load(kFrameworkPath); in BM_AssetManagerSetConfigurationFramework() 237 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /*cookie*/, false /*appAsLib*/, in BM_AssetManagerSetConfigurationFrameworkOld()
|
D | AttributeResolution_bench.cpp | 35 constexpr const static char* kFrameworkPath = "/system/framework/framework-res.apk"; variable 83 std::unique_ptr<const ApkAssets> framework_apk = ApkAssets::Load(kFrameworkPath); in BM_ApplyStyleFramework()
|