Searched refs:ElementTree (Results 1 – 22 of 22) sorted by relevance
/tools/asuite/aidegen/sdk/ |
D | jdk_table_unittest.py | 25 from xml.etree import ElementTree 58 @mock.patch.object(ElementTree, 'parse') 83 self.jdk_table_xml._xml = ElementTree.parse(tmp_file) 91 self.jdk_table_xml._xml = ElementTree.parse(tmp_file) 99 self.jdk_table_xml._xml = ElementTree.parse(tmp_file) 115 test_result = ElementTree.tostring(self.jdk_table_xml._xml.getroot()) 138 self.jdk_table_xml._xml = ElementTree.parse(tmp_file) 140 test_result = ElementTree.tostring(self.jdk_table_xml._xml.getroot()) 144 @mock.patch.object(ElementTree.ElementTree, 'write') 173 self.jdk_table_xml._xml = ElementTree.fromstring(xml_str) [all …]
|
D | jdk_table.py | 37 from xml.etree import ElementTree 160 ElementTree.tostring(self._xml.getroot()), '') 222 node = ElementTree.fromstring(new_config) 255 ElementTree.tostring(self._xml.getroot()), '')
|
/tools/asuite/aidegen/lib/ |
D | xml_util_unittest.py | 21 from xml.etree import ElementTree 34 @mock.patch.object(ElementTree, 'parse') 37 mock_parse.return_value = ElementTree.ElementTree() 40 mock_parse.side_effect = ElementTree.ParseError()
|
D | xml_util.py | 19 from xml.etree import ElementTree 36 return ElementTree.parse(xml_file) 37 except ElementTree.ParseError as err:
|
D | ide_util_unittest.py | 27 from xml.etree import ElementTree 273 @mock.patch.object(ElementTree.ElementTree, 'write') 276 @mock.patch.object(ElementTree, 'parse') 277 @mock.patch.object(ElementTree.ElementTree, 'getroot') 289 mock_parse.return_value = ElementTree.ElementTree() 290 mock_root.return_value = ElementTree.fromstring( 295 mock_root.return_value = ElementTree.fromstring(self._TEST_XML_CONTENT)
|
D | common_util.py | 34 from xml.etree import ElementTree 691 ElementTree.tostring(root)).toprettyxml(indent)
|
D | common_util_unittest.py | 23 from xml.etree import ElementTree 363 root = ElementTree.fromstring(self._TEST_XML_CONTENT)
|
D | ide_util.py | 40 from xml.etree import ElementTree 277 ElementTree.fromstring(_TEST_MAPPING_TYPE))
|
/tools/asuite/aidegen/idea/ |
D | xml_gen.py | 38 from xml.etree import ElementTree 107 parent.append(ElementTree.fromstring(node_str)) 108 except ElementTree.ParseError as xml_err:
|
D | xml_gen_unittest.py | 25 from xml.etree import ElementTree 62 ElementTree.SubElement(node, 'a', attrib={'name': 'b'})
|
/tools/platform-compat/build/ |
D | process_compat_config.py | 25 import xml.etree.ElementTree as ET 56 self.tree = ET.ElementTree() 101 new_tree = ET.ElementTree()
|
/tools/treble/split/ |
D | manifest_split_test.py | 22 import xml.etree.ElementTree as ET 179 ET.ElementTree(ET.fromstring(manifest_contents)), input_projects, 189 manifest = ET.ElementTree(ET.fromstring('<manifest></manifest>'))
|
D | manifest_split.py | 70 import xml.etree.ElementTree as ET
|
/tools/tradefederation/core/atest/test_finders/ |
D | tf_integration_finder.py | 23 import xml.etree.ElementTree as ElementTree namespace 95 tree = ElementTree.parse(path)
|
D | test_finder_utils.py | 27 import xml.etree.ElementTree as ET
|
/tools/asuite/atest/test_finders/ |
D | tf_integration_finder.py | 25 import xml.etree.ElementTree as ElementTree namespace 97 tree = ElementTree.parse(path)
|
D | test_finder_utils.py | 30 import xml.etree.ElementTree as ET
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | contest.py | 19 from xml.etree import ElementTree 241 xml_tree = ElementTree.ElementTree()
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 29 import xml.etree.ElementTree 171 tree = xml.etree.ElementTree.parse(filename)
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | latency.py | 36 import xml.etree.ElementTree as ET
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | bluetooth_pts_device.py | 57 import xml.etree.ElementTree as ET 60 from xml.etree.ElementTree import Element
|
/tools/treble/build/sandbox/ |
D | overlay.py | 29 import xml.etree.ElementTree as ET
|