Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp231 asset_manager_.SetApkAssets(apk_assets); in AddAssetPath()
240 asset_manager_.ForEachPackage([&package_map](const std::string& name, uint8_t id) -> bool { in GetAssignedPackageIds()
337 asset_manager_.ForEachPackage([&](const std::string& package_name, uint8_t id) -> bool { in FindByName()
344 auto real_res_id = asset_manager_.GetResourceId(real_name.to_string()); in FindByName()
354 auto flags = asset_manager_.GetResourceTypeSpecFlags(res_id.id); in FindByName()
370 s = LookupAttributeInTable(asset_manager_, res_id); in FindByName()
404 std::optional<ResourceName> maybe_name = GetResourceName(asset_manager_, id); in FindById()
409 auto flags = asset_manager_.GetResourceTypeSpecFlags(id.id); in FindById()
417 s = LookupAttributeInTable(asset_manager_, id); in FindById()
DSymbolTable.h206 return &asset_manager_; in GetAssetManager()
210 android::AssetManager2 asset_manager_;
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h551 return asset_manager_; in GetAssetManager()
555 return asset_manager_; in GetAssetManager()
572 AssetManager2* asset_manager_ = nullptr; variable
/frameworks/base/libs/androidfw/
DAssetManager2.cpp1409 Theme::Theme(AssetManager2* asset_manager) : asset_manager_(asset_manager) { in Theme()
1432 auto bag = asset_manager_->GetBag(resid); in ApplyStyle()
1481 asset_manager_ = am; in Rebase()
1514 return asset_manager_->ResolveReference(value); in ResolveAttributeReference()
1522 auto resolve_result = asset_manager_->ResolveReference(*result, true /* cache_value */); in ResolveAttributeReference()
1541 if (asset_manager_ == source.asset_manager_) { in SetTo()
1549 const auto src_assets = source.asset_manager_->GetApkAssets(); in SetTo()
1553 const auto dest_assets = asset_manager_->GetApkAssets(); in SetTo()
1567 const int src_package_id = source.asset_manager_->GetAssignedPackageId( in SetTo()
1569 const int dest_package_id = asset_manager_->GetAssignedPackageId(loaded_package.get()); in SetTo()
[all …]