MCPcopy Create free account
hub / github.com/CyanogenMod/android_frameworks_base / editAttribute

Method editAttribute

tools/aapt/XMLNode.cpp:721–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719}
720
721XMLNode::attribute_entry* XMLNode::editAttribute(const String16& ns,
722 const String16& name)
723{
724 for (size_t i=0; i<mAttributes.size(); i++) {
725 attribute_entry * ae = &mAttributes.editItemAt(i);
726 if (ae->ns == ns && ae->name == name) {
727 return ae;
728 }
729 }
730
731 return NULL;
732}
733
734const String16& XMLNode::getCData() const
735{

Callers 2

fullyQualifyClassNameFunction · 0.80
massageManifestFunction · 0.80

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected