Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.h35 std::unique_ptr<Value> DeserializeValueFromPb(const pb::Value& pb_value,
DProtoDeserialize.cpp690 std::unique_ptr<Value> DeserializeValueFromPb(const pb::Value& pb_value, in DeserializeValueFromPb() argument
696 if (pb_value.has_item()) { in DeserializeValueFromPb()
697 value = DeserializeItemFromPb(pb_value.item(), src_pool, config, value_pool, files, out_error); in DeserializeValueFromPb()
702 } else if (pb_value.has_compound_value()) { in DeserializeValueFromPb()
703 const pb::CompoundValue& pb_compound_value = pb_value.compound_value(); in DeserializeValueFromPb()
808 LOG(FATAL) << "unknown value: " << (int)pb_value.value_case(); in DeserializeValueFromPb()
814 value->SetWeak(pb_value.weak()); in DeserializeValueFromPb()
815 DeserializeItemMetaDataFromPb(pb_value, src_pool, value.get()); in DeserializeValueFromPb()