Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializer.java75 XmlSerializer xmlSerializer = Xml.newSerializer(); in serialize() local
76 xmlSerializer.setOutput(outputStream, OUTPUT_ENCODING); in serialize()
77 xmlSerializer.startDocument( in serialize()
80 xmlSerializer.startTag(NAMESPACE, TAG_KEY_CHAIN_SNAPSHOT); in serialize()
81 writeKeyChainSnapshotProperties(xmlSerializer, keyChainSnapshot); in serialize()
82 writeKeyChainProtectionParams(xmlSerializer, in serialize()
84 writeApplicationKeys(xmlSerializer, in serialize()
86 xmlSerializer.endTag(NAMESPACE, TAG_KEY_CHAIN_SNAPSHOT); in serialize()
87 xmlSerializer.endDocument(); in serialize()
91 XmlSerializer xmlSerializer, List<WrappedApplicationKey> wrappedApplicationKeys) in writeApplicationKeys() argument
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DTaskPersister.java360 final XmlSerializer xmlSerializer = new FastXmlSerializer(); in saveToXml() local
362 xmlSerializer.setOutput(stringWriter); in saveToXml()
364 if (DEBUG) xmlSerializer.setFeature( in saveToXml()
368 xmlSerializer.startDocument(null, true); in saveToXml()
370 xmlSerializer.startTag(null, TAG_TASK); in saveToXml()
371 task.saveToXml(xmlSerializer); in saveToXml()
372 xmlSerializer.endTag(null, TAG_TASK); in saveToXml()
374 xmlSerializer.endDocument(); in saveToXml()
375 xmlSerializer.flush(); in saveToXml()