HomeSort by relevance Sort by last modified time
    Searched refs:pbRef (Results 1 - 2 of 2) sorted by null

  /frameworks/base/tools/aapt2/proto/
TableProtoDeserializer.cpp 163 const pb::Reference& pbRef = pbItem.ref();
165 if (!deserializeReferenceFromPb(pbRef, ref.get())) {
339 bool deserializeReferenceFromPb(const pb::Reference& pbRef, Reference* outRef) {
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.has_symbol_idx())
    [all...]
TableProtoSerializer.cpp 178 void serializeReferenceToPb(const Reference& ref, pb::Reference* pbRef) {
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));

Completed in 50 milliseconds