Lines Matching refs:package

98     for (const std::unique_ptr<const LoadedPackage>& package : loaded_arsc->GetPackages()) {  in BuildDynamicRefTable()  local
101 if (package->IsDynamic()) { in BuildDynamicRefTable()
104 package_id = package->GetPackageId(); in BuildDynamicRefTable()
114 ref_table.mAppAsLib = package->IsDynamic() && package->GetPackageId() == 0x7f; in BuildDynamicRefTable()
119 package_group->packages_.push_back(ConfiguredPackage{package.get(), {}}); in BuildDynamicRefTable()
123 for (const DynamicPackageEntry& entry : package->GetDynamicPackageMap()) { in BuildDynamicRefTable()
163 for (const auto& package : package_group.packages_) { in DumpToLog() local
164 const LoadedPackage* loaded_package = package.loaded_package_; in DumpToLog()
249 for (const ConfiguredPackage& package : package_group.packages_) { in GetResourceConfigurations() local
250 if (exclude_system && package.loaded_package_->IsSystem()) { in GetResourceConfigurations()
255 if (exclude_system && package.loaded_package_->IsOverlay() && found_system_package) { in GetResourceConfigurations()
261 package.loaded_package_->CollectConfigurations(exclude_mipmap, &configurations); in GetResourceConfigurations()
273 for (const ConfiguredPackage& package : package_group.packages_) { in GetResourceLocales() local
274 if (exclude_system && package.loaded_package_->IsSystem()) { in GetResourceLocales()
279 if (exclude_system && package.loaded_package_->IsOverlay() && found_system_package) { in GetResourceLocales()
285 package.loaded_package_->CollectLocales(merge_equivalent_languages, &locales); in GetResourceLocales()
605 const LoadedPackage* package = in GetLastResourceResolution() local
608 if (package != nullptr) { in GetLastResourceResolution()
611 package->GetPackageName(), in GetLastResourceResolution()
672 const LoadedPackage* package = package_group.packages_[package_pos].loaded_package_; in GetResourceName() local
675 package->GetPackageName(), in GetResourceName()
1014 const LoadedPackage* package = package_impl.loaded_package_; in GetResourceId() local
1015 if (package_name != package->GetPackageName()) { in GetResourceId()
1020 uint32_t resid = package->FindEntryByName(type16, entry16); in GetResourceId()
1025 resid = package->FindEntryByName(kAttrPrivate16, entry16); in GetResourceId()
1082 uint8_t AssetManager2::GetAssignedPackageId(const LoadedPackage* package) { in GetAssignedPackageId() argument
1085 if (package2.loaded_package_ == package) { in GetAssignedPackageId()
1163 std::unique_ptr<Package>& package = packages_[package_idx]; in ApplyStyle() local
1164 if (package == nullptr) { in ApplyStyle()
1165 package.reset(new Package()); in ApplyStyle()
1168 last_package = package.get(); in ApplyStyle()
1215 const Package* package = packages_[package_idx].get(); in GetAttribute() local
1216 if (package != nullptr) { in GetAttribute()
1219 const ThemeType* type = package->types[type_idx].get(); in GetAttribute()
1273 for (std::unique_ptr<Package>& package : packages_) { in Clear()
1274 package.reset(); in Clear()
1288 const Package *package = o.packages_[p].get(); in SetTo() local
1289 if (package == nullptr) { in SetTo()
1300 for (size_t t = 0; t < package->types.size(); t++) { in SetTo()
1301 const ThemeType *type = package->types[t].get(); in SetTo()
1369 const Package *package = o.packages_[p].get(); in SetTo() local
1370 if (package == nullptr) { in SetTo()
1374 for (size_t t = 0; t < package->types.size(); t++) { in SetTo()
1375 const ThemeType *type = package->types[t].get(); in SetTo()
1490 auto& package = packages_[p]; in Dump() local
1491 if (package == nullptr) { in Dump()
1495 for (int t = 0; t < package->types.size(); t++) { in Dump()
1496 auto& type = package->types[t]; in Dump()