Home
last modified time | relevance | path

Searched refs:pbType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp75 for (const pb::Type& pbType : pbPackage.types()) { in deserializeFromPb() local
76 const ResourceType* resType = parseResourceType(util::utf8ToUtf16(pbType.name())); in deserializeFromPb()
78 mDiag->error(DiagMessage(mSource) << "unknown type '" << pbType.name() << "'"); in deserializeFromPb()
84 for (const pb::Entry& pbEntry : pbType.entries()) { in deserializeFromPb()
111 if (pbType.has_id()) { in deserializeFromPb()
112 type->id = static_cast<uint8_t>(pbType.id()); in deserializeFromPb()
122 ResourceId resId(pbPackage.package_id(), pbType.id(), pbEntry.id()); in deserializeFromPb()
DTableProtoSerializer.cpp226 pb::Type* pbType = pbPackage->add_types(); in serializeTableToPb() local
228 pbType->set_id(type->id.value()); in serializeTableToPb()
230 pbType->set_name(util::utf16ToUtf8(toString(type->type))); in serializeTableToPb()
233 pb::Entry* pbEntry = pbType->add_entries(); in serializeTableToPb()
DProtoHelpers.cpp104 Reference::Type deserializeReferenceTypeFromPb(pb::Reference_Type pbType) { in deserializeReferenceTypeFromPb() argument
105 switch (pbType) { in deserializeReferenceTypeFromPb()
DProtoHelpers.h45 Reference::Type deserializeReferenceTypeFromPb(pb::Reference_Type pbType);