Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp225 asset_manager_.SetApkAssets(apk_assets_); in AddAssetPath()
234 asset_manager_.ForEachPackage([&package_map](const std::string& name, uint8_t id) -> bool { in GetAssignedPackageIds()
332 asset_manager_.ForEachPackage([&](const std::string& package_name, uint8_t id) -> bool { in FindByName()
339 auto real_res_id = asset_manager_.GetResourceId(real_name.to_string()); in FindByName()
349 auto flags = asset_manager_.GetResourceTypeSpecFlags(res_id.id); in FindByName()
365 s = LookupAttributeInTable(asset_manager_, res_id); in FindByName()
399 std::optional<ResourceName> maybe_name = GetResourceName(asset_manager_, id); in FindById()
404 auto flags = asset_manager_.GetResourceTypeSpecFlags(id.id); in FindById()
412 s = LookupAttributeInTable(asset_manager_, id); in FindById()
DSymbolTable.h206 return &asset_manager_; in GetAssetManager()
211 android::AssetManager2 asset_manager_; variable
/frameworks/base/libs/androidfw/
DAssetManager2.cpp1620 Theme::Theme(AssetManager2* asset_manager) : asset_manager_(asset_manager) { in Theme()
1628 auto bag = asset_manager_->GetBag(resid); in ApplyStyle()
1679 asset_manager_ = am; in Rebase()
1710 return asset_manager_->ResolveReference(value); in ResolveAttributeReference()
1718 auto resolve_result = asset_manager_->ResolveReference(*result, true /* cache_value */); in ResolveAttributeReference()
1738 if (asset_manager_ == source.asset_manager_) { in SetTo()
1746 auto op_src = source.asset_manager_->StartOperation(); in SetTo()
1747 auto op_dst = asset_manager_->StartOperation(); in SetTo()
1749 for (size_t i = 0; i < source.asset_manager_->GetApkAssetsCount(); i++) { in SetTo()
1750 const auto& src_asset = source.asset_manager_->GetApkAssets(i); in SetTo()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h589 return asset_manager_; in GetAssetManager()
593 return asset_manager_; in GetAssetManager()
610 AssetManager2* asset_manager_ = nullptr; variable