/tools/platform-compat/build/ |
D | process-compat-config-test.py | 23 import xml.dom.minidom 38 self.xml = io.BytesIO() 41 got = xml.dom.minidom.parseString(got).toprettyxml() 42 expected = xml.dom.minidom.parseString(expected).toprettyxml() 47 self.merger.write(self.xml) 48 self.assert_same_xml(self.xml.getvalue(), "<config />") 52 self.merger.write(self.xml) 53 …self.assert_same_xml(self.xml.getvalue(), '<config><compat-change id="1234" name="TEST_CHANGE" /><… 58 self.merger.write(self.xml) 59 self.assert_same_xml(self.xml.getvalue(), [all …]
|
D | process_compat_config.py | 25 import xml.etree.ElementTree as ET 39 with jar.open(info.filename, 'r') as xml: 40 yield XmlContent(xml, info.filename) 65 xml = ET.parse(xmlFile) 66 for child in xml.getroot(): 130 config.merge(xml_content.xml, "%s:%s" % (jar.name, xml_content.source)) 131 if args.xml: 132 for xml in args.xml: 133 config.merge(xml, xml.name)
|
/tools/ndkports/ |
D | .gitignore | 20 .idea/**/workspace.xml 21 .idea/**/tasks.xml 22 .idea/**/usage.statistics.xml 27 .idea/**/contentModel.xml 32 .idea/**/dataSources.local.xml 33 .idea/**/sqlDataSources.xml 34 .idea/**/dynamic.xml 35 .idea/**/uiDesigner.xml 36 .idea/**/dbnavigator.xml 39 .idea/**/gradle.xml [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | Xml.kt | 21 import org.xml.sax.ErrorHandler 22 import org.xml.sax.InputSource 23 import org.xml.sax.SAXParseException 27 import javax.xml.parsers.DocumentBuilder 28 import javax.xml.parsers.DocumentBuilderFactory 29 import javax.xml.parsers.ParserConfigurationException 45 fun parseDocument(xml: String, namespaceAware: Boolean, errorWriter: PrintWriter = PrintWriter(Syst… in parseDocument() 46 return parseDocument(StringReader(stripBom(xml)), namespaceAware, errorWriter) in parseDocument() 58 fun parseDocument(xml: Reader, namespaceAware: Boolean, errorWriter: PrintWriter = PrintWriter(Syst… in parseDocument() 59 val inputStream = InputSource(xml) in parseDocument()
|
/tools/asuite/aidegen/idea/ |
D | xml_gen_unittest.py | 25 from xml.etree import ElementTree 51 self.xml = xml_gen.XMLGenerator(self._TEST_DIR, self._XML_NAME) 52 common_util.file_generate(self.xml.xml_path, self._DEFAULT_XML) 53 self.xml.parse() 61 node = self.xml.xml_obj.getroot() 63 elements = self.xml.find_elements_by_name('a', 'b') 68 node = self.xml.xml_obj.getroot() 69 self.xml.append_node(node, '<a />') 76 self.xml.create_xml() 109 mock_xml_gen.return_value = self.xml [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/xml/ |
D | AbstractXmlParser.java | 16 package com.android.tradefed.util.xml; 20 import org.xml.sax.InputSource; 21 import org.xml.sax.SAXException; 22 import org.xml.sax.helpers.DefaultHandler; 27 import javax.xml.parsers.ParserConfigurationException; 28 import javax.xml.parsers.SAXParser; 29 import javax.xml.parsers.SAXParserFactory;
|
/tools/metalava/src/test/java/com/android/tools/metalava/apilevels/ |
D | ApiGeneratorTest.kt | 86 val xml = output.readText(UTF_8) in Extract API levels() constant 87 assertTrue(xml.contains("<class name=\"android/Manifest\$permission\" since=\"1\">")) in Extract API levels() 88 …assertTrue(xml.contains("<field name=\"BIND_CARRIER_MESSAGING_SERVICE\" since=\"22\" deprecated=\"… in Extract API levels() 89 assertTrue(xml.contains("<class name=\"android/pkg/MyTest\" since=\"36\"")) in Extract API levels() 90 assertFalse(xml.contains("<implements name=\"java/lang/annotation/Annotation\" removed=\"")) in Extract API levels() 91 assertFalse(xml.contains("<extends name=\"java/lang/Enum\" removed=\"")) in Extract API levels() 92 assertFalse(xml.contains("<method name=\"append(C)Ljava/lang/AbstractStringBuilder;\"")) in Extract API levels() 95 assertFalse(xml.contains("<extends name=\"android/icu/util/CECalendar\"")) in Extract API levels() 97 val document = XmlUtils.parseDocumentSilently(xml, false) in Extract API levels()
|
/tools/metalava/ |
D | .gitignore | 4 /.idea/modules.xml 5 /.idea/workspace.xml 7 /.idea/runConfigurations.xml 8 /.idea/usage.statistics.xml
|
/tools/platform-compat/java/android/processor/compat/changeid/ |
D | XmlWriter.java | 25 import javax.xml.parsers.DocumentBuilder; 26 import javax.xml.parsers.DocumentBuilderFactory; 27 import javax.xml.parsers.ParserConfigurationException; 28 import javax.xml.transform.Transformer; 29 import javax.xml.transform.TransformerException; 30 import javax.xml.transform.TransformerFactory; 31 import javax.xml.transform.dom.DOMSource; 32 import javax.xml.transform.stream.StreamResult;
|
/tools/tradefederation/contrib/src/com/android/regression/tests/ |
D | MetricsXmlParser.java | 24 import org.xml.sax.Attributes; 25 import org.xml.sax.SAXException; 26 import org.xml.sax.helpers.DefaultHandler; 36 import javax.xml.parsers.ParserConfigurationException; 37 import javax.xml.parsers.SAXParser; 38 import javax.xml.parsers.SAXParserFactory; 136 for (File xml : metricXmlFiles) { in parse() 137 try (InputStream is = new BufferedInputStream(new FileInputStream(xml))) { in parse() 140 throw new ParseException("Unable to parse " + xml.getPath(), e); in parse()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 44 import org.xml.sax.InputSource; 56 import javax.xml.xpath.XPath; 57 import javax.xml.xpath.XPathConstants; 58 import javax.xml.xpath.XPathExpressionException; 59 import javax.xml.xpath.XPathFactory; 705 private NodeList getXmlNodes(String xml, String xPathExpression) in getXmlNodes() argument 708 InputSource inputSource = new InputSource(new StringReader(xml)); in getXmlNodes() 714 private NodeList assertXmlContainsNode(String xml, String xPathExpression) in assertXmlContainsNode() argument 716 NodeList nodes = getXmlNodes(xml, xPathExpression); in assertXmlContainsNode() 718 String.format("XML '%s' returned null for xpath '%s'.", xml, xPathExpression), in assertXmlContainsNode() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | JUnitXmlParser.java | 23 import com.android.tradefed.util.xml.AbstractXmlParser; 27 import org.xml.sax.Attributes; 28 import org.xml.sax.SAXException; 29 import org.xml.sax.helpers.DefaultHandler;
|
/tools/test/connectivity/acts/ |
D | .gitignore | 44 nosetests.xml 45 coverage.xml
|
/tools/test/connectivity/tools/ |
D | .gitignore | 44 nosetests.xml 45 coverage.xml
|
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/ |
D | GameCoreConfigurationXmlParser.java | 22 import org.xml.sax.SAXException; 34 import javax.xml.parsers.DocumentBuilder; 35 import javax.xml.parsers.DocumentBuilderFactory; 36 import javax.xml.parsers.ParserConfigurationException;
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationXmlParser.java | 19 import org.xml.sax.Attributes; 20 import org.xml.sax.InputSource; 21 import org.xml.sax.SAXException; 22 import org.xml.sax.helpers.DefaultHandler; 34 import javax.xml.parsers.ParserConfigurationException; 35 import javax.xml.parsers.SAXParser; 36 import javax.xml.parsers.SAXParserFactory;
|
/tools/treble/split/ |
D | Android.bp | 39 "default_config.xml", 55 test_config: "test.xml",
|
/tools/tradefederation/core/tests/ |
D | OWNERS | 3 per-file *.java, *.xml = *
|
/tools/test/graphicsbenchmark/ |
D | README | 14 $ tradefed.sh run commandAndExit AndroidTest.xml 19 file named 'apk-info.xml' exists in --apk-dir, that file will be used as the apk-info.
|
D | Android.mk | 30 $(LOCAL_PATH)/AndroidTest.xml \ 31 $(LOCAL_PATH)/dist/certification-tests.xml \
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | SubprocessConfigBuilderTest.java | 36 import javax.xml.parsers.DocumentBuilder; 37 import javax.xml.parsers.DocumentBuilderFactory;
|
/tools/trebuchet/ |
D | .gitignore | 3 /.idea/workspace.xml
|
/tools/asuite/aidegen/lib/ |
D | xml_util.py | 19 from xml.etree import ElementTree
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_verify.txt | 5 by the APK (as declared using minSdkVersion in AndroidManifest.xml). Use 17 verified. By default, the value from AndroidManifest.xml
|
/tools/ndkports/src/main/kotlin/com/android/ndkports/ |
D | PrefabPackageBuilder.kt | 30 import org.redundent.kotlin.xml.xml in <lambda>() 170 .writeText(xml("manifest") { in <lambda>()
|