Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp443 for (const pb::Entry& pb_entry : pb_type.entry()) { in DeserializePackageFromPb() local
444 ResourceEntry* entry = type->CreateEntry(pb_entry.name()); in DeserializePackageFromPb()
448 pb_entry.has_entry_id() ? static_cast<uint16_t>(pb_entry.entry_id().id()) : 0u); in DeserializePackageFromPb()
454 if (pb_entry.has_visibility()) { in DeserializePackageFromPb()
455 const pb::Visibility& pb_visibility = pb_entry.visibility(); in DeserializePackageFromPb()
475 if (pb_entry.has_allow_new()) { in DeserializePackageFromPb()
476 const pb::AllowNew& pb_allow_new = pb_entry.allow_new(); in DeserializePackageFromPb()
486 if (pb_entry.has_overlayable_item()) { in DeserializePackageFromPb()
488 pb::OverlayableItem pb_overlayable_item = pb_entry.overlayable_item(); in DeserializePackageFromPb()
493 pb_type.name().c_str(), pb_entry.name().c_str()); in DeserializePackageFromPb()
[all …]
DProtoSerialize.cpp286 android::StringPool* source_pool, pb::Entry* pb_entry, in SerializeOverlayableItemToPb() argument
308 pb::OverlayableItem* pb_overlayable_item = pb_entry->mutable_overlayable_item(); in SerializeOverlayableItemToPb()
375 pb::Entry* pb_entry = pb_type->add_entry(); in SerializeTableToPb() local
377 pb_entry->mutable_entry_id()->set_id(entry.id.value()); in SerializeTableToPb()
379 auto onObfuscate = [pb_entry, &entry](Obfuscator::Result obfuscatedResult, in SerializeTableToPb()
381 pb_entry->set_name(obfuscatedResult == Obfuscator::Result::Obfuscated in SerializeTableToPb()
391 pb::Visibility* pb_visibility = pb_entry->mutable_visibility(); in SerializeTableToPb()
401 pb::AllowNew* pb_allow_new = pb_entry->mutable_allow_new(); in SerializeTableToPb()
411 source_pool.get(), pb_entry, out_table); in SerializeTableToPb()
415 pb::StagedId* pb_staged_id = pb_entry->mutable_staged_id(); in SerializeTableToPb()
[all …]