Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DLoadedArsc.cpp361 for (const auto& loaded_package : packages_) { in GetPackageById() local
362 if (loaded_package->GetPackageId() == package_id) { in GetPackageById()
363 return loaded_package.get(); in GetPackageById()
373 std::unique_ptr<LoadedPackage> loaded_package(new LoadedPackage()); in Load() local
385 loaded_package->system_ = system; in Load()
387 loaded_package->package_id_ = dtohl(header->id); in Load()
388 if (loaded_package->package_id_ == 0 || in Load()
389 (loaded_package->package_id_ == kAppPackageId && load_as_shared_library)) { in Load()
391 loaded_package->dynamic_ = true; in Load()
396 loaded_package->package_id_ = loaded_idmap->TargetPackageId(); in Load()
[all …]
DAssetManager2.cpp156 const LoadedPackage* loaded_package = package.loaded_package_; in DumpToLog() local
157 base::StringAppendF(&list, "%s(%02x%s), ", loaded_package->GetPackageName().c_str(), in DumpToLog()
158 loaded_package->GetPackageId(), in DumpToLog()
159 (loaded_package->IsDynamic() ? " dynamic" : "")); in DumpToLog()
355 const LoadedPackage* loaded_package = loaded_package_impl.loaded_package_; in FindEntry() local
360 const TypeSpec* type_spec = loaded_package->GetTypeSpecByTypeIndex(type_idx); in FindEntry()
378 const bool package_is_overlay = loaded_package->IsOverlay(); in FindEntry()
400 best_package = loaded_package; in FindEntry()
428 best_package = loaded_package; in FindEntry()