Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/src/com/android/tradefed/util/xml/
DAndroidManifestWriter.java16 package com.android.tradefed.util.xml;
24 import org.xml.sax.SAXException;
25 import org.xml.sax.helpers.DefaultHandler;
30 import javax.xml.parsers.DocumentBuilder;
31 import javax.xml.parsers.DocumentBuilderFactory;
32 import javax.xml.parsers.ParserConfigurationException;
33 import javax.xml.transform.Result;
34 import javax.xml.transform.Source;
35 import javax.xml.transform.Transformer;
36 import javax.xml.transform.TransformerConfigurationException;
[all …]
DAbstractXmlParser.java16 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/tradefederation/core/src/com/android/tradefed/util/
DMetricsXmlParser.java25 import org.xml.sax.Attributes;
26 import org.xml.sax.SAXException;
27 import org.xml.sax.helpers.DefaultHandler;
37 import javax.xml.parsers.ParserConfigurationException;
38 import javax.xml.parsers.SAXParser;
39 import javax.xml.parsers.SAXParserFactory;
137 for (File xml : metricXmlFiles) { in parse()
138 try (InputStream is = new BufferedInputStream(new FileInputStream(xml))) { in parse()
141 throw new ParseException("Unable to parse " + xml.getPath(), e); in parse()
DEmmaXmlReportParser.java33 import javax.xml.parsers.DocumentBuilder;
34 import javax.xml.parsers.DocumentBuilderFactory;
35 import javax.xml.parsers.ParserConfigurationException;
36 import javax.xml.xpath.XPath;
37 import javax.xml.xpath.XPathConstants;
38 import javax.xml.xpath.XPathExpression;
39 import javax.xml.xpath.XPathExpressionException;
40 import javax.xml.xpath.XPathFactory;
91 org.xml.sax.SAXException e) { in parseXmlFile()
/tools/metalava/
D.gitignore4 /.idea/modules.xml
5 /.idea/workspace.xml
7 /.idea/usage.statistics.xml
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java40 import org.xml.sax.InputSource;
49 import javax.xml.xpath.XPath;
50 import javax.xml.xpath.XPathConstants;
51 import javax.xml.xpath.XPathExpressionException;
52 import javax.xml.xpath.XPathFactory;
265 private NodeList getXmlNodes(String xml, String xPathExpression) in getXmlNodes() argument
268 InputSource inputSource = new InputSource(new StringReader(xml)); in getXmlNodes()
274 private NodeList assertXmlContainsNode(String xml, String xPathExpression) in assertXmlContainsNode() argument
276 NodeList nodes = getXmlNodes(xml, xPathExpression); in assertXmlContainsNode()
278 String.format("XML '%s' returned null for xpath '%s'.", xml, xPathExpression), in assertXmlContainsNode()
[all …]
/tools/metalava/src/test/java/com/android/tools/metalava/apilevels/
DApiGeneratorTest.kt71 val xml = output.readText(UTF_8) in Extract API levels() constant
72 Truth.assertThat(xml).contains("<class name=\"android/Manifest\$permission\" since=\"1\">") in Extract API levels()
73 Truth.assertThat(xml) in Extract API levels()
76 val document = XmlUtils.parseDocumentSilently(xml, false) in Extract API levels()
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
DXmlDefsParser.java18 import com.android.tradefed.util.xml.AbstractXmlParser;
20 import org.xml.sax.Attributes;
21 import org.xml.sax.SAXException;
22 import org.xml.sax.helpers.DefaultHandler;
DXmlDefsTest.java34 import com.android.tradefed.util.xml.AbstractXmlParser.ParseException;
/tools/metalava/stub-annotations/
D.gitignore4 /.idea/modules.xml
5 /.idea/workspace.xml
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DPackageManagerOTATestUtils.java31 import javax.xml.parsers.DocumentBuilder;
32 import javax.xml.parsers.DocumentBuilderFactory;
33 import javax.xml.xpath.XPath;
34 import javax.xml.xpath.XPathConstants;
35 import javax.xml.xpath.XPathExpression;
36 import javax.xml.xpath.XPathFactory;
/tools/tradefederation/core/src/com/android/tradefed/util/net/
DXmlRpcHelper.java19 import com.android.tradefed.util.xml.AbstractXmlParser;
20 import com.android.tradefed.util.xml.AbstractXmlParser.ParseException;
23 import org.xml.sax.Attributes;
24 import org.xml.sax.SAXException;
25 import org.xml.sax.helpers.DefaultHandler;
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DGTestXmlResultParser.java28 import org.xml.sax.SAXException;
29 import org.xml.sax.helpers.DefaultHandler;
38 import javax.xml.parsers.DocumentBuilder;
39 import javax.xml.parsers.DocumentBuilderFactory;
40 import javax.xml.parsers.ParserConfigurationException;
/tools/test/connectivity/tools/
D.gitignore44 nosetests.xml
45 coverage.xml
/tools/test/connectivity/acts/
D.gitignore44 nosetests.xml
45 coverage.xml
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationXmlParser.java21 import org.xml.sax.Attributes;
22 import org.xml.sax.InputSource;
23 import org.xml.sax.SAXException;
24 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/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_verify.txt5 by the APK (as declared using minSdkVersion in AndroidManifest.xml). Use
17 verified. By default, the value from AndroidManifest.xml
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DGLBenchmarkTest.java35 import org.xml.sax.SAXException;
43 import javax.xml.parsers.DocumentBuilder;
44 import javax.xml.parsers.DocumentBuilderFactory;
45 import javax.xml.parsers.ParserConfigurationException;
/tools/tradefederation/core/tests/src/com/android/tradefed/util/xml/
DAndroidManifestWriterTest.java17 package com.android.tradefed.util.xml;
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DAndroidBinXmlParser.java85 public AndroidBinXmlParser(ByteBuffer xml) throws XmlParserException { in AndroidBinXmlParser() argument
86 xml.order(ByteOrder.LITTLE_ENDIAN); in AndroidBinXmlParser()
89 while (xml.hasRemaining()) { in AndroidBinXmlParser()
90 Chunk chunk = Chunk.get(xml); in AndroidBinXmlParser()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/testdefs/
DXmlDefsParserTest.java18 import com.android.tradefed.util.xml.AbstractXmlParser.ParseException;
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DJUnitXmlParserTest.java24 import com.android.tradefed.util.xml.AbstractXmlParser.ParseException;
/tools/tradefederation/core/
DAndroid.mk48 LOCAL_JAVACFLAGS += --add-modules=java.xml.bind
/tools/apksig/
DREADME.md50 inspecting the APK's AndroidManifest.xml. This behavior can be overridden by specifying the range
/tools/tradefederation/core/atest/
DREADME.md166 …ooglesource.com/platform/tools/tradefederation/contrib/+/master/res/config/example/reboot.xml))<br>
167 …roid.googlesource.com/platform/tools/tradefederation/+/master/res/config/native-benchmark.xml))<br>
188 `atest tools/tradefederation/contrib/res/config/example/reboot.xml`

12