Home
last modified time | relevance | path

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

/tools/platform-compat/java/android/processor/compat/changeid/
DXmlWriter.java85 Element newElement = mDocument.createElement(XML_CHANGE_ELEMENT); in addChange() local
86 newElement.setAttribute(XML_NAME_ATTR, change.name); in addChange()
87 newElement.setAttribute(XML_ID_ATTR, change.id.toString()); in addChange()
89 newElement.setAttribute(XML_DISABLED_ATTR, "true"); in addChange()
92 newElement.setAttribute(XML_LOGGING_ATTR, "true"); in addChange()
95 newElement.setAttribute(XML_ENABLED_AFTER_ATTR, change.enabledAfter.toString()); in addChange()
98 newElement.setAttribute(XML_ENABLED_SINCE_ATTR, change.enabledSince.toString()); in addChange()
101 newElement.setAttribute(XML_DESCRIPTION_ATTR, change.description); in addChange()
104 newElement.setAttribute(XML_OVERRIDABLE_ATTR, "true"); in addChange()
114 newElement.appendChild(metaData); in addChange()
[all …]