Home
last modified time | relevance | path

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

/cts/common/util/tests/src/com/android/compatibility/common/util/
DMetricsXmlSerializerTest.java53 private XmlSerializer xmlSerializer; field in MetricsXmlSerializerTest
60 xmlSerializer = factory.newSerializer(); in setUp()
61 xmlSerializer.setOutput(mByteArrayOutputStream, "utf-8"); in setUp()
63 this.mMetricsXmlSerializer = new MetricsXmlSerializer(xmlSerializer); in setUp()
67 xmlSerializer.startDocument("utf-8", true); in testSerialize_null()
69 xmlSerializer.endDocument(); in testSerialize_null()
75 xmlSerializer.startDocument("utf-8", true); in testSerialize_noData()
77 xmlSerializer.endDocument(); in testSerialize_noData()
86 xmlSerializer.startDocument("utf-8", true); in testSerialize()
88 xmlSerializer.endDocument(); in testSerialize()
/cts/common/util/src/com/android/compatibility/common/util/
DMetricsXmlSerializer.java31 public MetricsXmlSerializer(XmlSerializer xmlSerializer) { in MetricsXmlSerializer() argument
32 this.mXmlSerializer = xmlSerializer; in MetricsXmlSerializer()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DDeviceInfoResultTest.java152 KXmlSerializer xmlSerializer = new KXmlSerializer(); in serialize() local
154 xmlSerializer.setOutput(serializedOutput); in serialize()
155 serializedInfo.serialize(xmlSerializer); in serialize()