Home
last modified time | relevance | path

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

/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DMetricsXmlSerializerTest.java42 private XmlSerializer xmlSerializer; field in MetricsXmlSerializerTest
49 xmlSerializer = factory.newSerializer(); in setUp()
50 xmlSerializer.setOutput(mByteArrayOutputStream, "utf-8"); in setUp()
52 this.mMetricsXmlSerializer = new MetricsXmlSerializer(xmlSerializer); in setUp()
56 xmlSerializer.startDocument("utf-8", true); in testSerialize_null()
58 xmlSerializer.endDocument(); in testSerialize_null()
64 xmlSerializer.startDocument("utf-8", true); in testSerialize_noData()
66 xmlSerializer.endDocument(); in testSerialize_noData()
75 xmlSerializer.startDocument("utf-8", true); in testSerialize()
77 xmlSerializer.endDocument(); in testSerialize()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DMetricsXmlSerializer.java31 public MetricsXmlSerializer(XmlSerializer xmlSerializer) { in MetricsXmlSerializer() argument
32 this.mXmlSerializer = xmlSerializer; in MetricsXmlSerializer()