Home
last modified time | relevance | path

Searched refs:loaded_package (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/androidfw/
DLoadedArsc.cpp415 for (const auto& loaded_package : packages_) { in GetPackageById() local
416 if (loaded_package->GetPackageId() == package_id) { in GetPackageById()
417 return loaded_package.get(); in GetPackageById()
426 std::unique_ptr<LoadedPackage> loaded_package(new LoadedPackage()); in Load() local
439 loaded_package->property_flags_ |= PROPERTY_SYSTEM; in Load()
443 loaded_package->property_flags_ |= PROPERTY_LOADER; in Load()
449 loaded_package->property_flags_ |= PROPERTY_OVERLAY | PROPERTY_DYNAMIC; in Load()
452 loaded_package->package_id_ = dtohl(header->id); in Load()
453 if (loaded_package->package_id_ == 0 || in Load()
454 (loaded_package->package_id_ == kAppPackageId && (property_flags & PROPERTY_DYNAMIC) != 0)) { in Load()
[all …]
DAssetManager2.cpp259 const LoadedPackage* loaded_package = package.loaded_package_; in DumpToLog() local
260 base::StringAppendF(&list, "%s(%02x%s), ", loaded_package->GetPackageName().c_str(), in DumpToLog()
261 loaded_package->GetPackageId(), in DumpToLog()
262 (loaded_package->IsDynamic() ? " dynamic" : "")); in DumpToLog()
325 const auto loaded_package = package_group.packages_[0].loaded_package_; in GetOverlayableMapForPackage() local
326 return &loaded_package->GetOverlayableMap(); in GetOverlayableMapForPackage()
343 const auto& loaded_package = loaded_packages[0]; in GetOverlayablesToString() local
344 if (loaded_package->GetPackageName() == package_name) { in GetOverlayablesToString()
345 package_id = GetAssignedPackageId(loaded_package.get()); in GetOverlayablesToString()
362 const LoadedPackage* loaded_package = package.loaded_package_; in GetOverlayablesToString() local
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h327 const auto loaded_package = package_group.packages_.front().loaded_package_;
328 if ((loaded_package->GetPropertyFlags() & excluded_property_flags) == 0U
329 && !func(loaded_package->GetPackageName(),
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp255 for (const std::unique_ptr<const android::LoadedPackage>& loaded_package in IsPackageDynamic() local
257 if (package_name == loaded_package->GetPackageName() && loaded_package->IsDynamic()) { in IsPackageDynamic()
/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp317 const auto& loaded_package = packages[0]; in TEST() local
318 auto iter = loaded_package->begin(); in TEST()
319 auto end = loaded_package->end(); in TEST()