OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:xmlSerializer
(Results
1 - 5
of
5
) sorted by null
/cts/common/util/tests/src/com/android/compatibility/common/util/
MetricsXmlSerializerTest.java
22
import org.xmlpull.v1.
XmlSerializer
;
53
private
XmlSerializer
xmlSerializer
;
60
xmlSerializer
= factory.newSerializer();
61
xmlSerializer
.setOutput(mByteArrayOutputStream, "utf-8");
63
this.mMetricsXmlSerializer = new MetricsXmlSerializer(
xmlSerializer
);
67
xmlSerializer
.startDocument("utf-8", true);
69
xmlSerializer
.endDocument();
75
xmlSerializer
.startDocument("utf-8", true);
77
xmlSerializer
.endDocument()
[
all
...]
/cts/common/util/src/com/android/compatibility/common/util/
MetricsXmlSerializer.java
19
import org.xmlpull.v1.
XmlSerializer
;
29
private final
XmlSerializer
mXmlSerializer;
31
public MetricsXmlSerializer(
XmlSerializer
xmlSerializer
) {
32
this.mXmlSerializer =
xmlSerializer
;
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DeviceInfoResultTest.java
152
KXmlSerializer
xmlSerializer
= new KXmlSerializer();
154
xmlSerializer
.setOutput(serializedOutput);
155
serializedInfo.serialize(
xmlSerializer
);
/frameworks/base/services/core/java/com/android/server/am/
TaskPersister.java
43
import org.xmlpull.v1.
XmlSerializer
;
282
final
XmlSerializer
xmlSerializer
= new FastXmlSerializer();
284
xmlSerializer
.setOutput(stringWriter);
286
if (DEBUG)
xmlSerializer
.setFeature(
290
xmlSerializer
.startDocument(null, true);
292
xmlSerializer
.startTag(null, TAG_TASK);
293
task.saveToXml(
xmlSerializer
);
294
xmlSerializer
.endTag(null, TAG_TASK);
296
xmlSerializer
.endDocument()
[
all
...]
/libcore/luni/src/test/java/libcore/xml/
XsltXPathConformanceTestSuite.java
64
import org.xmlpull.v1.
XmlSerializer
;
473
XmlSerializer
xmlSerializer
= xmlPullParserFactory.newSerializer();
474
xmlSerializer
.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);
475
xmlSerializer
.setOutput(writer);
476
emitNode(
xmlSerializer
, node);
477
xmlSerializer
.flush();
481
private void emitNode(
XmlSerializer
serializer, Node node) throws IOException {
526
private void emitAttributes(
XmlSerializer
serializer, Node node)
556
private void emitChildren(
XmlSerializer
serializer, Node node
[
all
...]
Completed in 2210 milliseconds