Home
last modified time | relevance | path

Searched refs:pb_file (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp581 bool DeserializeCompiledFileFromPb(const pb::internal::CompiledFile& pb_file, in DeserializeCompiledFileFromPb() argument
584 if (!ResourceUtils::ParseResourceName(pb_file.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb()
586 error << "invalid resource name in compiled file header: " << pb_file.resource_name(); in DeserializeCompiledFileFromPb()
592 out_file->source.path = pb_file.source_path(); in DeserializeCompiledFileFromPb()
593 out_file->type = DeserializeFileReferenceTypeFromPb(pb_file.type()); in DeserializeCompiledFileFromPb()
596 if (!DeserializeConfigFromPb(pb_file.config(), &out_file->config, &config_error)) { in DeserializeCompiledFileFromPb()
603 for (const pb::internal::CompiledFile_Symbol& pb_symbol : pb_file.exported_symbol()) { in DeserializeCompiledFileFromPb()
607 << pb_file.resource_name(); in DeserializeCompiledFileFromPb()
922 const pb::FileReference& pb_file = pb_item.file(); in DeserializeItemFromPb() local
925 pb_file.path(), StringPool::Context(StringPool::Context::kHighPriority, config))); in DeserializeItemFromPb()
[all …]
DProtoDeserialize.h60 bool DeserializeCompiledFileFromPb(const pb::internal::CompiledFile& pb_file,
DProtoSerialize.cpp483 pb::FileReference* pb_file = out_value_->mutable_item()->mutable_file(); in Visit() local
484 pb_file->set_path(*file->path); in Visit()
485 pb_file->set_type(SerializeFileReferenceTypeToPb(file->type)); in Visit()