Lines Matching refs:package_group

116       PackageGroup* package_group = &package_groups_[idx];  in BuildDynamicRefTable()  local
119 package_group->packages_.push_back(ConfiguredPackage{package.get(), {}}); in BuildDynamicRefTable()
120 package_group->cookies_.push_back(static_cast<ApkAssetsCookie>(i)); in BuildDynamicRefTable()
125 package_group->dynamic_ref_table.mEntries.replaceValueFor( in BuildDynamicRefTable()
161 for (const auto& package_group: package_groups_) { in DumpToLog() local
163 for (const auto& package : package_group.packages_) { in DumpToLog()
170 package_group.dynamic_ref_table.mAssignedPackageId) in DumpToLog()
174 if (package_group.dynamic_ref_table.mLookupTable[i] != 0) { in DumpToLog()
176 package_group.dynamic_ref_table.mLookupTable[i]); in DumpToLog()
202 for (const PackageGroup& package_group : package_groups_) { in GetDynamicRefTableForCookie() local
203 for (const ApkAssetsCookie& package_cookie : package_group.cookies_) { in GetDynamicRefTableForCookie()
205 return &package_group.dynamic_ref_table; in GetDynamicRefTableForCookie()
224 const PackageGroup& package_group = package_groups_[idx]; in GetOverlayableMapForPackage() local
225 if (package_group.packages_.size() == 0) { in GetOverlayableMapForPackage()
229 const auto loaded_package = package_group.packages_[0].loaded_package_; in GetOverlayableMapForPackage()
247 for (const PackageGroup& package_group : package_groups_) { in GetResourceConfigurations() local
249 for (const ConfiguredPackage& package : package_group.packages_) { in GetResourceConfigurations()
271 for (const PackageGroup& package_group : package_groups_) { in GetResourceLocales() local
273 for (const ConfiguredPackage& package : package_group.packages_) { in GetResourceLocales()
404 const PackageGroup& package_group = package_groups_[package_idx]; in FindEntry() local
405 const size_t package_count = package_group.packages_.size(); in FindEntry()
423 const ConfiguredPackage& loaded_package_impl = package_group.packages_[pi]; in FindEntry()
425 ApkAssetsCookie cookie = package_group.cookies_[pi]; in FindEntry()
558 out_entry->dynamic_ref_table = &package_group.dynamic_ref_table; in FindEntry()
664 const PackageGroup& package_group = package_groups_[package_idx]; in GetResourceName() local
665 auto cookie_iter = std::find(package_group.cookies_.begin(), in GetResourceName()
666 package_group.cookies_.end(), cookie); in GetResourceName()
667 if (cookie_iter == package_group.cookies_.end()) { in GetResourceName()
671 long package_pos = std::distance(package_group.cookies_.begin(), cookie_iter); in GetResourceName()
672 const LoadedPackage* package = package_group.packages_[package_pos].loaded_package_; in GetResourceName()
1012 for (const PackageGroup& package_group : package_groups_) { in GetResourceId() local
1013 for (const ConfiguredPackage& package_impl : package_group.packages_) { in GetResourceId()
1029 return fix_package_id(resid, package_group.dynamic_ref_table.mAssignedPackageId); in GetResourceId()
1083 for (auto& package_group : package_groups_) { in GetAssignedPackageId() local
1084 for (auto& package2 : package_group.packages_) { in GetAssignedPackageId()
1086 return package_group.dynamic_ref_table.mAssignedPackageId; in GetAssignedPackageId()