Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceParser.cpp349 if (Maybe<StringPiece16> maybeType = xml::findNonEmptyAttribute(parser, u"type")) { in parseResource() local
350 resourceType = maybeType.value().toString(); in parseResource()
577 Maybe<StringPiece16> maybeType = xml::findNonEmptyAttribute(parser, u"type"); in parsePublic() local
578 if (!maybeType) { in parsePublic()
583 const ResourceType* parsedType = parseResourceType(maybeType.value()); in parsePublic()
586 << "invalid resource type '" << maybeType.value() << "' in <public>"); in parsePublic()
615 Maybe<StringPiece16> maybeType = xml::findNonEmptyAttribute(parser, u"type"); in parsePublicGroup() local
616 if (!maybeType) { in parsePublicGroup()
622 const ResourceType* parsedType = parseResourceType(maybeType.value()); in parsePublicGroup()
625 << "invalid resource type '" << maybeType.value() << "' in <public-group>"); in parsePublicGroup()
[all …]