Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp219 std::unique_ptr<Value> deserializeValueFromPb(const pb::Value& pbValue, in deserializeValueFromPb() argument
222 const bool isWeak = pbValue.has_weak() ? pbValue.weak() : false; in deserializeValueFromPb()
225 if (pbValue.has_item()) { in deserializeValueFromPb()
226 value = deserializeItemFromPb(pbValue.item(), config, pool); in deserializeValueFromPb()
231 } else if (pbValue.has_compound_value()) { in deserializeValueFromPb()
232 const pb::CompoundValue pbCompoundValue = pbValue.compound_value(); in deserializeValueFromPb()
335 deserializeItemCommon(pbValue, value.get()); in deserializeValueFromPb()
DTableProtoSerializer.cpp253 pb::Value* pbValue = pbConfigValue->mutable_value(); in serializeTableToPb() local
255 pbValue->mutable_source()); in serializeTableToPb()
257 pbValue->set_comment(util::utf16ToUtf8(configValue->value->getComment())); in serializeTableToPb()
261 pbValue->set_weak(true); in serializeTableToPb()
264 PbSerializerVisitor visitor(&sourcePool, &symbolPool, pbValue); in serializeTableToPb()