Home
last modified time | relevance | path

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

123

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DTestReport.java77 XmlSerializer xml = Xml.newSerializer(); in getContents() local
79 xml.setOutput(outputStream, "utf-8"); in getContents()
80 xml.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); in getContents()
81 xml.startDocument("utf-8", true); in getContents()
83 xml.startTag(null, TEST_RESULTS_REPORT_TAG); in getContents()
84 xml.attribute(null, "report-version", Integer.toString(REPORT_VERSION)); in getContents()
85 xml.attribute(null, "creation-time", DATE_FORMAT.format(new Date())); in getContents()
87 xml.startTag(null, VERIFIER_INFO_TAG); in getContents()
88 xml.attribute(null, "version-name", Version.getVersionName(mContext)); in getContents()
89 xml.attribute(null, "version-code", Integer.toString(Version.getVersionCode(mContext))); in getContents()
[all …]
/cts/
DCtsCoverage.mk26 api_xml_description := $(coverage_out)/api.xml
35 cts-combined-xml-coverage-report := $(coverage_out)/combined-coverage.xml
66 $(cts-combined-xml-coverage-report): PRIVATE_TEST_CASES := $(foreach c, $(cts_verifier_apk) $(COMPA…
67 $(cts-combined-xml-coverage-report): PRIVATE_CTS_API_COVERAGE_EXE := $(cts_api_coverage_exe)
68 $(cts-combined-xml-coverage-report): PRIVATE_DEXDEPS_EXE := $(dexdeps_exe)
69 $(cts-combined-xml-coverage-report): PRIVATE_API_XML_DESC := $(api_xml_description)
70 $(cts-combined-xml-coverage-report) : $(android_cts_zip) $(cts_verifier_apk) $(cts_api_coverage_dep…
72 $(PRIVATE_TEST_CASES),xml)
83 .PHONY: cts-combined-xml-coverage
84 cts-combined-xml-coverage : $(cts-combined-xml-coverage-report)
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DProfileManager.java23 import org.xml.sax.Attributes;
24 import org.xml.sax.InputSource;
25 import org.xml.sax.SAXException;
26 import org.xml.sax.XMLReader;
27 import org.xml.sax.helpers.DefaultHandler;
38 import javax.xml.parsers.ParserConfigurationException;
39 import javax.xml.parsers.SAXParser;
40 import javax.xml.parsers.SAXParserFactory;
/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;
DCurrentXmlHandler.java19 import org.xml.sax.Attributes;
20 import org.xml.sax.SAXException;
21 import org.xml.sax.helpers.DefaultHandler;
DCtsApiCoverage.java32 import org.xml.sax.InputSource;
33 import org.xml.sax.SAXException;
34 import org.xml.sax.XMLReader;
35 import org.xml.sax.helpers.XMLReaderFactory;
49 import javax.xml.transform.TransformerException;
/cts/tests/tests/preference2/src/android/preference2/cts/
DPreferenceWithHeaders.java67 loadHeadersFromResource(R.xml.preference_headers, target); in onBuildHeaders()
74 addPreferencesFromResource(R.xml.preferences); in onCreate()
82 addPreferencesFromResource(R.xml.preferences2); in onCreate()
90 addPreferencesFromResource(R.xml.fragmented_preferences_inner); in onCreate()
DPreferencesFromXml.java28 addPreferencesFromResource(R.xml.pref_cb); in onCreate()
DPreferencesFromXmlNested.java28 addPreferencesFromResource(R.xml.pref_nested); in onCreate()
DPreferencesFromXmlRecycle.java28 addPreferencesFromResource(R.xml.pref_recycle); in onCreate()
/cts/tools/testng/src/com/android/cts/testng/
DSingleTestNGTestRunner.java20 import org.testng.xml.XmlClass;
21 import org.testng.xml.XmlInclude;
22 import org.testng.xml.XmlSuite;
23 import org.testng.xml.XmlTest;
/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
DDescriptionGenerator.java27 import javax.xml.parsers.DocumentBuilderFactory;
28 import javax.xml.parsers.ParserConfigurationException;
29 import javax.xml.transform.Transformer;
30 import javax.xml.transform.TransformerException;
31 import javax.xml.transform.TransformerFactory;
32 import javax.xml.transform.TransformerFactoryConfigurationError;
33 import javax.xml.transform.dom.DOMSource;
34 import javax.xml.transform.stream.StreamResult;
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DSingleTestNgTestExecutor.java22 import org.testng.xml.XmlClass;
23 import org.testng.xml.XmlInclude;
24 import org.testng.xml.XmlSuite;
25 import org.testng.xml.XmlTest;
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLevelListDrawableTest.java129 getResourceParser(R.xml.level_list_correct); in testInflateResources()
130 getResourceParser(R.xml.level_list_missing_item_drawable); in testInflateResources()
135 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflate()
150 parser = getResourceParser(R.xml.level_list_missing_item_minlevel_maxlevel); in testInflate()
162 XmlResourceParser parser = getResourceParser(R.xml.level_list_missing_item_drawable); in testInflateMissingContent()
169 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullResources()
177 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullParser()
184 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullAttrSet()
DStateListDrawableTest.java260 XmlResourceParser parser = getResourceParser(R.xml.selector_correct); in testInflate()
284 parser = getResourceParser(R.xml.selector_missing_selector_attrs); in testInflate()
302 parser = getResourceParser(R.xml.selector_missing_item_drawable); in testInflate()
312 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullResources()
319 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullParser()
326 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); in testInflateWithNullAttrSet()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DSubPlan.java19 import com.android.tradefed.util.xml.AbstractXmlParser;
22 import org.xml.sax.Attributes;
23 import org.xml.sax.SAXException;
24 import org.xml.sax.helpers.DefaultHandler;
/cts/tests/tests/appwidget/packages/launchermanifest/
DAndroid.mk29 $(LOCAL_PATH)/AndroidManifest-pinActivity.xml
52 $(LOCAL_PATH)/AndroidManifest-pinActivity.xml
/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/tests/tests/simpleperf/CtsSimpleperfDebugApp/
DAndroid.mk27 LOCAL_MANIFEST_FILE := AndroidManifest.xml
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DCalibrationPreferenceActivity.java22 addPreferencesFromResource(R.xml.camera_fov_calibration_preferences); in onCreate()
/cts/tests/tests/wrap/nowrap/
DAndroid.mk30 LOCAL_MANIFEST_FILE := AndroidManifest.xml

123