Home
last modified time | relevance | path

Searched refs:asset_manager (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DIdmap_test.cpp67 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/
DAndroid.bp49 "asset_manager.cpp",
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h558 explicit Theme(AssetManager2* asset_manager);
/frameworks/base/libs/androidfw/
DAssetManager2.cpp1354 Theme::Theme(AssetManager2* asset_manager) : asset_manager_(asset_manager) { in Theme() argument