Lines Matching refs:Attribute
28 static bool nameIsJavaClassName(xml::Element* el, xml::Attribute* attr,
47 << "attribute 'android:name' in <"
55 if (xml::Attribute* attr = el->findAttribute(xml::kSchemaAndroid, u"name")) {
62 if (xml::Attribute* attr = el->findAttribute(xml::kSchemaAndroid, u"name")) {
66 << "<" << el->name << "> is missing attribute 'android:name'");
71 xml::Attribute* attr = el->findAttribute({}, u"package");
73 diag->error(DiagMessage(el->lineNumber) << "<manifest> tag is missing 'package' attribute");
77 << "attribute 'package' in <manifest> tag must not be a reference");
81 << "attribute 'package' in <manifest> tag is not a valid Java package name: '"
121 el->attributes.push_back(xml::Attribute{
130 el->attributes.push_back(xml::Attribute{
147 el->attributes.push_back(xml::Attribute{
155 el->attributes.push_back(xml::Attribute{
168 if (xml::Attribute* attr = el->findAttribute(xml::kSchemaAndroid, u"targetPackage")) {
227 for (xml::Attribute& attr : el->attributes) {
243 xml::Attribute* attr = manifestEl->findAttribute({}, u"package");