Home
last modified time | relevance | path

Searched refs:xml (Results 1 – 25 of 84) sorted by relevance

1234

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsReport.java87 XmlSerializer xml = Xml.newSerializer(); in getContents() local
88 xml.setOutput(outputStream, "utf-8"); in getContents()
89 xml.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); in getContents()
90 xml.startDocument("utf-8", true); in getContents()
92 xml.startTag(null, TEST_RESULTS_REPORT_TAG); in getContents()
93 xml.attribute(null, "report-version", Integer.toString(REPORT_VERSION)); in getContents()
94 xml.attribute(null, "creation-time", DATE_FORMAT.format(new Date())); in getContents()
96 xml.startTag(null, VERIFIER_INFO_TAG); in getContents()
97 xml.attribute(null, "version-name", Version.getVersionName(mContext)); in getContents()
98 xml.attribute(null, "version-code", Integer.toString(Version.getVersionCode(mContext))); in getContents()
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DHtmlReport.java27 import javax.xml.transform.Transformer;
28 import javax.xml.transform.TransformerException;
29 import javax.xml.transform.TransformerFactory;
30 import javax.xml.transform.stream.StreamResult;
31 import javax.xml.transform.stream.StreamSource;
DDexDepsXmlHandler.java19 import org.xml.sax.Attributes;
20 import org.xml.sax.SAXException;
21 import org.xml.sax.helpers.DefaultHandler;
DCtsApiCoverage.java19 import org.xml.sax.InputSource;
20 import org.xml.sax.SAXException;
21 import org.xml.sax.XMLReader;
22 import org.xml.sax.helpers.XMLReaderFactory;
32 import javax.xml.transform.TransformerException;
DCurrentXmlHandler.java19 import org.xml.sax.Attributes;
20 import org.xml.sax.SAXException;
21 import org.xml.sax.helpers.DefaultHandler;
/cts/tools/cts-java-scanner-doclet/src/com/android/cts/javascannerdoclet/
DCtsJavaScannerDoclet.java30 import javax.xml.parsers.DocumentBuilderFactory;
31 import javax.xml.parsers.ParserConfigurationException;
32 import javax.xml.transform.Transformer;
33 import javax.xml.transform.TransformerException;
34 import javax.xml.transform.TransformerFactory;
35 import javax.xml.transform.TransformerFactoryConfigurationError;
36 import javax.xml.transform.dom.DOMSource;
37 import javax.xml.transform.stream.StreamResult;
/cts/common/host-side/xml-plan-generator/
DAndroid.mk29 LOCAL_MODULE := compatibility-xml-plan-generator_v2
43 LOCAL_JAVA_LIBRARIES := compatibility-tradefed_v2 compatibility-xml-plan-generator_v2 junit
45 LOCAL_MODULE := compatibility-xml-plan-generator-tests_v2
/cts/build/
Dtest_deqp_package.mk21 cts_library_xml := $(CTS_TESTCASES_OUT)/com.drawelements.deqp.$(DEQP_API).xml
22 …y_xml): MUSTPASS_XML_FILE := external/deqp/android/cts/master/com.drawelements.deqp.$(DEQP_API).xml
26 $(cts_library_xml): external/deqp/android/cts/master/com.drawelements.deqp.$(DEQP_API).xml $(CTS_EX…
Dtest_gtest_package.mk29 cts_package_xml := $(CTS_TESTCASES_OUT)/$(LOCAL_PACKAGE_NAME).xml
33 $(cts_package_xml): PRIVATE_MANIFEST := $(LOCAL_PATH)/AndroidManifest.xml
Dtest_package.mk33 cts_package_xml := $(CTS_TESTCASES_OUT)/$(LOCAL_PACKAGE_NAME).xml
43 $(cts_package_xml): PRIVATE_MANIFEST := $(LOCAL_PATH)/AndroidManifest.xml
Dconfig.mk26 CTS_XML_GENERATOR := $(HOST_OUT_EXECUTABLES)/cts-xml-generator
38 CTS_MODULE_TEST_CONFIG := AndroidTest.xml
/cts/tests/tests/sax/src/android/sax/cts/
DElementTest.java20 import org.xml.sax.Attributes;
21 import org.xml.sax.InputSource;
22 import org.xml.sax.XMLReader;
35 import javax.xml.parsers.SAXParser;
36 import javax.xml.parsers.SAXParserFactory;
/cts/tools/utils/
Dandroid_api_description_splitter.py80 import xml.dom.minidom;
86 self.doc = xml.dom.minidom.parse(xmlfile)
106 if child.nodeType == xml.dom.minidom.Node.ELEMENT_NODE:
125 doc = xml.dom.minidom.Document()
Drerun.py19 from xml.dom import Node
20 from xml.dom import minidom
/cts/tests/tests/preference2/src/android/preference2/cts/
DPreferenceWithHeaders.java56 loadHeadersFromResource(R.xml.preference_headers, target); in onBuildHeaders()
63 addPreferencesFromResource(R.xml.preferences); in onCreate()
DPreferencesFromXml.java28 addPreferencesFromResource(R.xml.pref_cb); in onCreate()
/cts/tools/signature-tools/
Dsig-create107 javax.xml.parsers \
109 org.xml.sax \
110 org.xml.sax.ext \
111 org.xml.sax.helpers
Dsig-check110 javax.xml.parsers \
112 org.xml.sax \
113 org.xml.sax.ext \
114 org.xml.sax.helpers
/cts/
DCtsBuild.mk36 $(foreach name,$(1),$(CTS_TESTCASES_OUT)/$(name).xml)
44 $(foreach api,$(1),$(CTS_TESTCASES_OUT)/com.drawelements.deqp.$(api).xml)
/cts/tests/tests/nativeopengl/standalone/
D.gitignore2 build.xml
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLevelListDrawableTest.java113 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflate()
128 parser = getResourceParser(R.xml.level_list_missing_item_minlevel_maxlevel); in testInflate()
137 parser = getResourceParser(R.xml.level_list_missing_item_drawable); in testInflate()
146 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullParameters()
/cts/tools/cts-xml-generator/src/
DAndroid.mk27 LOCAL_MODULE := cts-xml-generator
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DCalibrationPreferenceActivity.java22 addPreferencesFromResource(R.xml.camera_fov_calibration_preferences); in onCreate()
/cts/suite/cts/utils/
Dget_csv_report.py21 from xml.dom import Node
22 from xml.dom import minidom
151 for xml in xmls.splitlines():
152 result = Result(xml)
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPlan.java22 import com.android.tradefed.util.xml.AbstractXmlParser;
25 import org.xml.sax.Attributes;
26 import org.xml.sax.SAXException;
27 import org.xml.sax.helpers.DefaultHandler;

1234