Searched refs:xmlSerializer (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotSerializer.java | 74 XmlSerializer xmlSerializer = Xml.newSerializer(); in serialize() local 75 xmlSerializer.setOutput(outputStream, OUTPUT_ENCODING); in serialize() 76 xmlSerializer.startDocument( in serialize() 79 xmlSerializer.startTag(NAMESPACE, TAG_KEY_CHAIN_SNAPSHOT); in serialize() 80 writeKeyChainSnapshotProperties(xmlSerializer, keyChainSnapshot); in serialize() 81 writeKeyChainProtectionParams(xmlSerializer, in serialize() 83 writeApplicationKeys(xmlSerializer, in serialize() 85 xmlSerializer.endTag(NAMESPACE, TAG_KEY_CHAIN_SNAPSHOT); in serialize() 86 xmlSerializer.endDocument(); in serialize() 90 XmlSerializer xmlSerializer, List<WrappedApplicationKey> wrappedApplicationKeys) in writeApplicationKeys() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPersister.java | 519 final XmlSerializer xmlSerializer = new FastXmlSerializer(); in saveToXml() local 521 xmlSerializer.setOutput(stringWriter); in saveToXml() 524 xmlSerializer.setFeature( in saveToXml() 529 xmlSerializer.startDocument(null, true); in saveToXml() 531 xmlSerializer.startTag(null, TAG_TASK); in saveToXml() 532 task.saveToXml(xmlSerializer); in saveToXml() 533 xmlSerializer.endTag(null, TAG_TASK); in saveToXml() 535 xmlSerializer.endDocument(); in saveToXml() 536 xmlSerializer.flush(); in saveToXml()
|