Searched defs:assetmanager (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/libs/androidfw/tests/
H A DBenchmarkHelpers.cpp26 AssetManager assetmanager; local
28 if (!assetmanager.addAssetPath(String8(path.c_str()), nullptr /* cookie */,
36 assetmanager.setConfiguration(*config);
39 const ResTable& table = assetmanager.getResources(true);
H A DTheme_test.cpp57 AssetManager2 assetmanager; local
58 assetmanager.SetApkAssets({style_assets_.get()});
60 std::unique_ptr<Theme> theme = assetmanager.NewTheme();
62 EXPECT_EQ(&assetmanager, theme->GetAssetManager());
70 AssetManager2 assetmanager; local
71 assetmanager.SetApkAssets({style_assets_.get()});
73 std::unique_ptr<Theme> theme = assetmanager.NewTheme();
94 AssetManager2 assetmanager; local
95 assetmanager.SetApkAssets({style_assets_.get()});
97 std::unique_ptr<Theme> theme = assetmanager
127 AssetManager2 assetmanager; local
161 AssetManager2 assetmanager; local
195 AssetManager2 assetmanager; local
225 AssetManager2 assetmanager; local
[all...]
H A DAssetManager2_test.cpp86 AssetManager2 assetmanager; local
87 assetmanager.SetConfiguration(desired_config);
88 assetmanager.SetApkAssets({basic_assets_.get()});
95 assetmanager.GetResource(basic::R::string::test1, false /*may_be_bag*/,
116 AssetManager2 assetmanager; local
117 assetmanager.SetConfiguration(desired_config);
118 assetmanager.SetApkAssets({basic_assets_.get(), basic_de_fr_assets_.get()});
125 assetmanager.GetResource(basic::R::string::test1, false /*may_be_bag*/,
141 AssetManager2 assetmanager; local
145 assetmanager
189 AssetManager2 assetmanager; local
206 AssetManager2 assetmanager; local
229 AssetManager2 assetmanager; local
248 AssetManager2 assetmanager; local
306 AssetManager2 assetmanager; local
329 AssetManager2 assetmanager; local
357 AssetManager2 assetmanager; local
400 AssetManager2 assetmanager; local
419 AssetManager2 assetmanager; local
[all...]
H A DAssetManager2_bench.cpp100 AssetManager2 assetmanager; local
101 assetmanager.SetApkAssets(apk_assets_ptrs);
103 assetmanager.SetConfiguration(*config);
111 assetmanager.GetResource(resid, false /* may_be_bag */, 0u /* density_override */, &value,

Completed in 305 milliseconds