Searched refs:pb_package (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 425 static bool DeserializePackageFromPb(const pb::Package& pb_package, const ResStringPool& src_pool, in DeserializePackageFromPb() argument 431 ResourceTablePackage* pkg = out_table->FindOrCreatePackage(pb_package.package_name()); in DeserializePackageFromPb() 432 for (const pb::Type& pb_type : pb_package.type()) { in DeserializePackageFromPb() 446 pb_package.has_package_id() ? static_cast<uint8_t>(pb_package.package_id().id()) : 0u, in DeserializePackageFromPb() 516 ResourceId resid(pb_package.package_id().id(), pb_type.type_id().id(), in DeserializePackageFromPb() 581 for (const pb::Package& pb_package : pb_table.package()) { in DeserializeTableFromPb() local 582 if (!DeserializePackageFromPb(pb_package, source_pool, files, overlayables, out_table, in DeserializeTableFromPb()
|
D | ProtoSerialize.cpp | 361 pb::Package* pb_package = out_table->add_package(); in SerializeTableToPb() local 363 pb_package->mutable_package_id()->set_id(package.id.value()); in SerializeTableToPb() 365 pb_package->set_package_name(package.name); in SerializeTableToPb() 368 pb::Type* pb_type = pb_package->add_type(); in SerializeTableToPb()
|