Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DLoadedArsc.cpp446 for (const auto& loaded_package : packages_) { in GetPackageById() local
447 if (loaded_package->GetPackageId() == package_id) { in GetPackageById()
448 return loaded_package.get(); in GetPackageById()
458 std::unique_ptr<LoadedPackage> loaded_package(new LoadedPackage(optimize_name_lookups)); in Load() local
471 loaded_package->property_flags_ |= PROPERTY_SYSTEM; in Load()
475 loaded_package->property_flags_ |= PROPERTY_LOADER; in Load()
481 loaded_package->property_flags_ |= PROPERTY_OVERLAY | PROPERTY_DYNAMIC; in Load()
484 loaded_package->package_id_ = dtohl(header->id); in Load()
485 if (loaded_package->package_id_ == 0 || in Load()
486 (loaded_package->package_id_ == kAppPackageId && (property_flags & PROPERTY_DYNAMIC) != 0)) { in Load()
[all …]
DAssetManager2.cpp295 const LoadedPackage* loaded_package = package.loaded_package_; in DumpToLog() local
296 base::StringAppendF(&list, "%s(%02x%s), ", loaded_package->GetPackageName().c_str(), in DumpToLog()
297 loaded_package->GetPackageId(), in DumpToLog()
298 (loaded_package->IsDynamic() ? " dynamic" : "")); in DumpToLog()
363 const auto loaded_package = package_group.packages_[0].loaded_package_; in GetOverlayableMapForPackage() local
364 return &loaded_package->GetOverlayableMap(); in GetOverlayableMapForPackage()
386 const auto& loaded_package = loaded_packages[0]; in GetOverlayablesToString() local
387 if (loaded_package->GetPackageName() == package_name) { in GetOverlayablesToString()
388 package_id = GetAssignedPackageId(loaded_package.get()); in GetOverlayablesToString()
405 const LoadedPackage* loaded_package = package.loaded_package_; in GetOverlayablesToString() local
[all …]
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp249 for (const std::unique_ptr<const android::LoadedPackage>& loaded_package in IsPackageDynamic() local
251 if (package_name == loaded_package->GetPackageName() && loaded_package->IsDynamic()) { in IsPackageDynamic()
/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp261 const auto& loaded_package = packages[0]; in TEST() local
262 auto iter = loaded_package->begin(); in TEST()
263 auto end = loaded_package->end(); in TEST()