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

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

Completed in 213 milliseconds