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.cpp586 bool DeserializeCompiledFileFromPb(const pb::internal::CompiledFile& pb_file, in DeserializeCompiledFileFromPb() argument
589 if (!ResourceUtils::ParseResourceName(pb_file.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb()
591 error << "invalid resource name in compiled file header: " << pb_file.resource_name(); in DeserializeCompiledFileFromPb()
597 out_file->source.path = pb_file.source_path(); in DeserializeCompiledFileFromPb()
598 out_file->type = DeserializeFileReferenceTypeFromPb(pb_file.type()); in DeserializeCompiledFileFromPb()
601 if (!DeserializeConfigFromPb(pb_file.config(), &out_file->config, &config_error)) { in DeserializeCompiledFileFromPb()
608 for (const pb::internal::CompiledFile_Symbol& pb_symbol : pb_file.exported_symbol()) { in DeserializeCompiledFileFromPb()
612 << pb_file.resource_name(); in DeserializeCompiledFileFromPb()
930 const pb::FileReference& pb_file = pb_item.file(); in DeserializeItemFromPb() local
933 pb_file.path(), StringPool::Context(StringPool::Context::kHighPriority, config))); in DeserializeItemFromPb()
[all …]
DProtoDeserialize.h60 bool DeserializeCompiledFileFromPb(const pb::internal::CompiledFile& pb_file,
DProtoSerialize.cpp504 pb::FileReference* pb_file = out_value_->mutable_item()->mutable_file(); in Visit() local
505 pb_file->set_path(*file->path); in Visit()
506 pb_file->set_type(SerializeFileReferenceTypeToPb(file->type)); in Visit()