Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DLoadedArsc.cpp394 for (const auto& loaded_package : packages_) { in GetPackageById() local
395 if (loaded_package->GetPackageId() == package_id) { in GetPackageById()
396 return loaded_package.get(); in GetPackageById()
406 std::unique_ptr<LoadedPackage> loaded_package(new LoadedPackage()); in Load() local
418 loaded_package->system_ = system; in Load()
420 loaded_package->package_id_ = dtohl(header->id); in Load()
421 if (loaded_package->package_id_ == 0 || in Load()
422 (loaded_package->package_id_ == kAppPackageId && load_as_shared_library)) { in Load()
424 loaded_package->dynamic_ = true; in Load()
429 loaded_package->package_id_ = loaded_idmap->TargetPackageId(); in Load()
[all …]
DAssetManager2.cpp164 const LoadedPackage* loaded_package = package.loaded_package_; in DumpToLog() local
165 base::StringAppendF(&list, "%s(%02x%s), ", loaded_package->GetPackageName().c_str(), in DumpToLog()
166 loaded_package->GetPackageId(), in DumpToLog()
167 (loaded_package->IsDynamic() ? " dynamic" : "")); in DumpToLog()
229 const auto loaded_package = package_group.packages_[0].loaded_package_; in GetOverlayableMapForPackage() local
230 return &loaded_package->GetOverlayableMap(); in GetOverlayableMapForPackage()
424 const LoadedPackage* loaded_package = loaded_package_impl.loaded_package_; in FindEntry() local
429 const TypeSpec* type_spec = loaded_package->GetTypeSpecByTypeIndex(type_idx); in FindEntry()
447 const bool package_is_overlay = loaded_package->IsOverlay(); in FindEntry()
477 best_package = loaded_package; in FindEntry()
[all …]
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp254 for (const std::unique_ptr<const android::LoadedPackage>& loaded_package in IsPackageDynamic() local
256 if (packageId == loaded_package->GetPackageId() && loaded_package->IsDynamic()) { in IsPackageDynamic()
/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp336 const auto& loaded_package = packages[0]; in TEST() local
337 auto iter = loaded_package->begin(); in TEST()
338 auto end = loaded_package->end(); in TEST()