Lines Matching refs:assets

42     AssetManager2 assets;  in BM_AssetManagerLoadAssets()  local
43 assets.SetApkAssets({apk}); in BM_AssetManagerLoadAssets()
51 AssetManager assets; in BM_AssetManagerLoadAssetsOld() local
52 assets.addAssetPath(path, nullptr /* cookie */, false /* appAsLib */, in BM_AssetManagerLoadAssetsOld()
56 assets.getResources(true); in BM_AssetManagerLoadAssetsOld()
65 AssetManager2 assets; in BM_AssetManagerLoadFrameworkAssets() local
66 assets.SetApkAssets({apk}); in BM_AssetManagerLoadFrameworkAssets()
74 AssetManager assets; in BM_AssetManagerLoadFrameworkAssetsOld() local
75 assets.addAssetPath(path, nullptr /* cookie */, false /* appAsLib */, in BM_AssetManagerLoadFrameworkAssetsOld()
79 assets.getResources(true); in BM_AssetManagerLoadFrameworkAssetsOld()
138 AssetManager2 assets; in BM_AssetManagerGetBag() local
139 assets.SetApkAssets({apk}); in BM_AssetManagerGetBag()
142 auto bag = assets.GetBag(app::R::style::StyleTwo); in BM_AssetManagerGetBag()
159 AssetManager assets; in BM_AssetManagerGetBagOld() local
160 if (!assets.addAssetPath(String8((GetTestDataPath() + "/styles/styles.apk").data()), in BM_AssetManagerGetBagOld()
166 const ResTable& table = assets.getResources(true); in BM_AssetManagerGetBagOld()
190 AssetManager2 assets; in BM_AssetManagerGetResourceLocales() local
191 assets.SetApkAssets({apk}); in BM_AssetManagerGetResourceLocales()
195 assets.GetResourceLocales(false /*exclude_system*/, true /*merge_equivalent_languages*/); in BM_AssetManagerGetResourceLocales()
202 AssetManager assets; in BM_AssetManagerGetResourceLocalesOld() local
203 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /*cookie*/, false /*appAsLib*/, in BM_AssetManagerGetResourceLocalesOld()
209 const ResTable& table = assets.getResources(true); in BM_AssetManagerGetResourceLocalesOld()
226 AssetManager2 assets; in BM_AssetManagerSetConfigurationFramework() local
227 assets.SetApkAssets({apk}); in BM_AssetManagerSetConfigurationFramework()
234 assets.SetConfiguration(config); in BM_AssetManagerSetConfigurationFramework()
240 AssetManager assets; in BM_AssetManagerSetConfigurationFrameworkOld() local
241 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /*cookie*/, false /*appAsLib*/, in BM_AssetManagerSetConfigurationFrameworkOld()
247 const ResTable& table = assets.getResources(true); in BM_AssetManagerSetConfigurationFrameworkOld()
254 assets.setConfiguration(config); in BM_AssetManagerSetConfigurationFrameworkOld()