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->FindOrCreateEntry(pb_entry.name()); in DeserializePackageFromPb()
445 if (pb_entry.has_entry_id()) { in DeserializePackageFromPb()
446 entry->id = static_cast<uint16_t>(pb_entry.entry_id().id()); in DeserializePackageFromPb()
450 if (pb_entry.has_visibility()) { in DeserializePackageFromPb()
451 const pb::Visibility& pb_visibility = pb_entry.visibility(); in DeserializePackageFromPb()
470 if (pb_entry.has_allow_new()) { in DeserializePackageFromPb()
471 const pb::AllowNew& pb_allow_new = pb_entry.allow_new(); in DeserializePackageFromPb()
481 if (pb_entry.has_overlayable_item()) { in DeserializePackageFromPb()
483 pb::OverlayableItem pb_overlayable_item = pb_entry.overlayable_item(); in DeserializePackageFromPb()
[all …]
DProtoSerialize.cpp277 StringPool* source_pool, pb::Entry* pb_entry, in SerializeOverlayableItemToPb() argument
297 pb::OverlayableItem* pb_overlayable_item = pb_entry->mutable_overlayable_item(); in SerializeOverlayableItemToPb()
350 pb::Entry* pb_entry = pb_type->add_entry(); in SerializeTableToPb() local
352 pb_entry->mutable_entry_id()->set_id(entry->id.value()); in SerializeTableToPb()
354 pb_entry->set_name(entry->name); in SerializeTableToPb()
357 pb::Visibility* pb_visibility = pb_entry->mutable_visibility(); in SerializeTableToPb()
364 pb::AllowNew* pb_allow_new = pb_entry->mutable_allow_new(); in SerializeTableToPb()
372 pb_entry, out_table); in SerializeTableToPb()
376 pb::ConfigValue* pb_config_value = pb_entry->add_config_value(); in SerializeTableToPb()
569 pb::Style_Entry* pb_entry = pb_style->add_entry(); in Visit() local
[all …]