Searched refs:asset_manager (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/androidfw/tests/ |
D | Idmap_test.cpp | 67 std::string GetStringFromApkAssets(const AssetManager2& asset_manager, in GetStringFromApkAssets() argument 69 auto assets = asset_manager.GetApkAssets(); in GetStringFromApkAssets() 77 AssetManager2 asset_manager; in TEST_F() local 78 asset_manager.SetApkAssets({system_assets_.get(), overlayable_assets_.get(), in TEST_F() 81 auto value = asset_manager.GetResource(overlayable::R::string::overlayable5); in TEST_F() 85 ASSERT_EQ("Overlay One", GetStringFromApkAssets(asset_manager, *value)); in TEST_F() 89 AssetManager2 asset_manager; in TEST_F() local 90 asset_manager.SetApkAssets({system_assets_.get(), overlayable_assets_.get(), in TEST_F() 93 auto value = asset_manager.GetResource(overlayable::R::string::overlayable10); in TEST_F() 97 ASSERT_EQ("yes", GetStringFromApkAssets(asset_manager, *value)); in TEST_F() [all …]
|
/frameworks/base/native/android/ |
D | Android.bp | 49 "asset_manager.cpp",
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager2.h | 558 explicit Theme(AssetManager2* asset_manager);
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 1354 Theme::Theme(AssetManager2* asset_manager) : asset_manager_(asset_manager) { in Theme() argument
|