Lines Matching refs:package_group

225       PackageGroup* package_group = &package_groups_[idx];  in BuildDynamicRefTable()  local
226 package_group->packages_.emplace_back().loaded_package_ = package.get(); in BuildDynamicRefTable()
227 package_group->cookies_.push_back(apk_assets_cookies[apk_assets]); in BuildDynamicRefTable()
232 package_group->dynamic_ref_table->mEntries.replaceValueFor( in BuildDynamicRefTable()
292 for (const auto& package_group: package_groups_) { in DumpToLog() local
294 for (const auto& package : package_group.packages_) { in DumpToLog()
301 package_group.dynamic_ref_table->mAssignedPackageId) in DumpToLog()
305 if (package_group.dynamic_ref_table->mLookupTable[i] != 0) { in DumpToLog()
307 package_group.dynamic_ref_table->mLookupTable[i]); in DumpToLog()
336 for (const PackageGroup& package_group : package_groups_) { in GetDynamicRefTableForCookie() local
337 for (const ApkAssetsCookie& package_cookie : package_group.cookies_) { in GetDynamicRefTableForCookie()
339 return package_group.dynamic_ref_table; in GetDynamicRefTableForCookie()
358 const PackageGroup& package_group = package_groups_[idx]; in GetOverlayableMapForPackage() local
359 if (package_group.packages_.empty()) { in GetOverlayableMapForPackage()
363 const auto loaded_package = package_group.packages_[0].loaded_package_; in GetOverlayableMapForPackage()
463 for (const PackageGroup& package_group : package_groups_) { in GetNonSystemOverlays() local
465 for (const ConfiguredPackage& package : package_group.packages_) { in GetNonSystemOverlays()
474 for (const ConfiguredOverlay& overlay : package_group.overlays_) { in GetNonSystemOverlays()
494 for (const PackageGroup& package_group : package_groups_) { in GetResourceConfigurations() local
495 for (size_t i = 0; i < package_group.packages_.size(); i++) { in GetResourceConfigurations()
496 const ConfiguredPackage& package = package_group.packages_[i]; in GetResourceConfigurations()
503 const auto& apk_assets = GetApkAssets(package_group.cookies_[i]); in GetResourceConfigurations()
529 for (const PackageGroup& package_group : package_groups_) { in GetResourceLocales() local
530 for (size_t i = 0; i < package_group.packages_.size(); i++) { in GetResourceLocales()
531 const ConfiguredPackage& package = package_group.packages_[i]; in GetResourceLocales()
538 const auto& apk_assets = GetApkAssets(package_group.cookies_[i]); in GetResourceLocales()
667 const PackageGroup& package_group = package_groups_[package_idx]; in FindEntry() local
683 auto result = FindEntryInternal(package_group, type_idx, entry_idx, *desired_config, in FindEntry()
696 for (const auto& id_map : package_group.overlays_) { in FindEntry()
824 const PackageGroup& package_group, uint8_t type_idx, uint16_t entry_idx, in FindEntryInternal() argument
842 const size_t package_count = package_group.packages_.size(); in FindEntryInternal()
844 const ConfiguredPackage& loaded_package_impl = package_group.packages_[pi]; in FindEntryInternal()
846 const ApkAssetsCookie cookie = package_group.cookies_[pi]; in FindEntryInternal()
951 .dynamic_ref_table = package_group.dynamic_ref_table.get(), in FindEntryInternal()
1468 for (const PackageGroup& package_group : package_groups_) { in GetResourceId() local
1469 for (const ConfiguredPackage& package_impl : package_group.packages_) { in GetResourceId()
1489 return fix_package_id(*resid, package_group.dynamic_ref_table->mAssignedPackageId); in GetResourceId()
1559 for (auto& package_group : package_groups_) { in GetAssignedPackageId() local
1560 for (auto& package2 : package_group.packages_) { in GetAssignedPackageId()
1562 return package_group.dynamic_ref_table->mAssignedPackageId; in GetAssignedPackageId()
1579 for (const PackageGroup& package_group : package_groups_) { in ForEachPackage() local
1580 const auto loaded_package = package_group.packages_.front().loaded_package_; in ForEachPackage()
1583 package_group.dynamic_ref_table->mAssignedPackageId)) { in ForEachPackage()