Searched defs:pbRef (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/proto/
H A DTableProtoSerializer.cpp178 void serializeReferenceToPb(const Reference& ref, pb::Reference* pbRef) { argument
180 pbRef->set_id(ref.id.value().id);
185 pbRef->set_symbol_idx(static_cast<uint32_t>(symbolRef.getIndex()));
188 pbRef->set_private_(ref.privateReference);
189 pbRef->set_type(serializeReferenceTypeToPb(ref.referenceType));
H A DTableProtoDeserializer.cpp163 const pb::Reference& pbRef = pbItem.ref(); local
165 if (!deserializeReferenceFromPb(pbRef, ref.get())) {
339 bool deserializeReferenceFromPb(const pb::Reference& pbRef, Reference* outRef) { argument
340 outRef->referenceType = deserializeReferenceTypeFromPb(pbRef.type());
341 outRef->privateReference = pbRef.private_();
343 if (!pbRef.has_id() && !pbRef.has_symbol_idx()) {
347 if (pbRef.has_id()) {
348 outRef->id = ResourceId(pbRef.id());
351 if (pbRef
[all...]

Completed in 363 milliseconds