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.cpp603 bool DeserializeCompiledFileFromPb(const pb::internal::CompiledFile& pb_file, in DeserializeCompiledFileFromPb() argument
606 if (!ResourceUtils::ParseResourceName(pb_file.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb()
608 error << "invalid resource name in compiled file header: " << pb_file.resource_name(); in DeserializeCompiledFileFromPb()
614 out_file->source.path = pb_file.source_path(); in DeserializeCompiledFileFromPb()
615 out_file->type = DeserializeFileReferenceTypeFromPb(pb_file.type()); in DeserializeCompiledFileFromPb()
618 if (!DeserializeConfigFromPb(pb_file.config(), &out_file->config, &config_error)) { in DeserializeCompiledFileFromPb()
625 for (const pb::internal::CompiledFile_Symbol& pb_symbol : pb_file.exported_symbol()) { in DeserializeCompiledFileFromPb()
629 << pb_file.resource_name(); in DeserializeCompiledFileFromPb()
991 const pb::FileReference& pb_file = pb_item.file(); in DeserializeItemFromPb() local
994 pb_file.path(), in DeserializeItemFromPb()
[all …]
DProtoDeserialize.h59 bool DeserializeCompiledFileFromPb(const pb::internal::CompiledFile& pb_file,
DProtoSerialize.cpp568 pb::FileReference* pb_file = out_value_->mutable_item()->mutable_file(); in Visit() local
569 pb_file->set_path(*file->path); in Visit()
570 pb_file->set_type(SerializeFileReferenceTypeToPb(file->type)); in Visit()