Home
last modified time | relevance | path

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

/cts/tests/tests/util/src/android/util/cts/
DXmlEncodingTest.java57 final String sourceStr = "<" + TAG_TEST + "><" + TAG_SON + " " + ATT_NAME + "=\"" + STR_ABC field in XmlEncodingTest
76 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_US_ASCII)), in testValueOf()
108 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_UTF_8)), in testValueOf()
140 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_UTF_16)), in testValueOf()
172 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_ISO_8859_1)), in testValueOf()
DXmlTest.java84 final String sourceStr = "<" + TAG_TEST + "><" + TAG_SON + " " + ATT_NAME + "=\"" + STR_ABC field in XmlTest
189 for (int i = 0; i < sourceStr.length(); i++) { in testParseReaderContentHander()
191 dout.write(sourceStr.charAt(i)); in testParseReaderContentHander()
239 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_US_ASCII)), in testParseInputStreamEncodingContentHandler()
271 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_UTF_8)), in testParseInputStreamEncodingContentHandler()
303 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_UTF_16)), in testParseInputStreamEncodingContentHandler()
335 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_ISO_8859_1)), in testParseInputStreamEncodingContentHandler()