Home
last modified time | relevance | path

Searched refs:xml_file (Results 1 – 10 of 10) sorted by relevance

/tools/asuite/atest-py2/test_finders/
Dtest_finder_utils.py528 def get_targets_from_xml(xml_file, module_info): argument
540 xml_root = ET.parse(xml_file).getroot()
710 def get_plans_from_vts_xml(xml_file): argument
721 if not os.path.exists(xml_file):
723 'not exist' % xml_file)
725 xml_root = ET.parse(xml_file).getroot()
726 plans.add(xml_file)
734 xml_dir = os.path.dirname(xml_file)
741 def get_targets_from_vts_xml(xml_file, rel_out_dir, module_info): argument
763 xml_root = ET.parse(xml_file).getroot()
[all …]
Dtest_finder_utils_unittest.py336 xml_file = os.path.join(uc.TEST_DATA_DIR, constants.MODULE_CONFIG)
339 test_finder_utils.get_targets_from_xml(xml_file, mock_module_info),
350 xml_file = os.path.join(uc.TEST_DATA_DIR, VTS_XML)
353 test_finder_utils.get_targets_from_vts_xml(xml_file, '',
Dtf_integration_finder_unittest.py126 xml_file = os.path.join(uc.TEST_DATA_DIR, constants.MODULE_CONFIG)
127 xml_root = self.tf_finder._load_xml_file(xml_file)
/tools/asuite/aidegen/lib/
Dxml_util.py26 def parse_xml(xml_file): argument
36 return ElementTree.parse(xml_file)
40 common_util.read_file_content(xml_file),
41 constant.INVALID_XML.format(XML_FILE=xml_file))
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py655 def get_targets_from_xml(xml_file, module_info): argument
667 xml_root = ET.parse(xml_file).getroot()
840 def get_plans_from_vts_xml(xml_file): argument
851 if not os.path.exists(xml_file):
853 'not exist' % xml_file)
855 xml_root = ET.parse(xml_file).getroot()
856 plans.add(xml_file)
864 xml_dir = os.path.dirname(xml_file)
871 def get_targets_from_vts_xml(xml_file, rel_out_dir, module_info): argument
893 xml_root = ET.parse(xml_file).getroot()
[all …]
Dtest_finder_utils_unittest.py373 xml_file = os.path.join(uc.TEST_DATA_DIR,
377 test_finder_utils.get_targets_from_xml(xml_file, mock_module_info),
388 xml_file = os.path.join(uc.TEST_DATA_DIR, DALVIK_TEST_CONFIG)
391 test_finder_utils.get_targets_from_xml(xml_file, mock_module_info),
402 xml_file = os.path.join(uc.TEST_DATA_DIR, LIBCORE_TEST_CONFIG)
405 test_finder_utils.get_targets_from_xml(xml_file, mock_module_info),
416 xml_file = os.path.join(uc.TEST_DATA_DIR, VTS_XML)
419 test_finder_utils.get_targets_from_vts_xml(xml_file, '',
Dtf_integration_finder_unittest.py130 xml_file = os.path.join(uc.TEST_DATA_DIR,
132 xml_root = self.tf_finder._load_xml_file(xml_file)
/tools/asuite/aidegen/sdk/
Djdk_table.py108 xml_file = config_file
110 xml_file = self._DEFAULT_JDK_TABLE_XML
111 common_util.file_generate(xml_file, templates.JDK_TABLE_XML)
112 self._xml = xml_util.parse_xml(xml_file)
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlatency.py58 def parse_xml(xml_file): argument
69 root = ET.parse(xml_file).getroot()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/
Dgnss_test_utils.py313 xml_file = generate_gps_overlay_xml(ad)
316 ad.adb.push(xml_file, overlay_file)
319 xml_folder = os.path.abspath(os.path.join(xml_file, os.pardir))
343 xml_file = os.path.join(temp_path, "gps_overlay.xml")
356 xml.write(xml_file, xml_declaration=True, encoding="utf-8", method="xml")
357 return xml_file