Home
last modified time | relevance | path

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

/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.py558 def get_targets_from_xml(xml_file, module_info): argument
570 if not os.path.isfile(xml_file):
572 xml_root = ET.parse(xml_file).getroot()
746 def get_plans_from_vts_xml(xml_file): argument
757 if not os.path.exists(xml_file):
759 '%s: The xml file doesnot exist' % xml_file
762 xml_root = ET.parse(xml_file).getroot()
763 plans.add(xml_file)
771 xml_dir = os.path.dirname(xml_file)
778 def get_targets_from_vts_xml(xml_file, rel_out_dir, module_info): argument
[all …]
Dtest_finder_utils_unittest.py405 xml_file = os.path.join(uc.TEST_DATA_DIR, constants.MODULE_CONFIG + '.data')
408 test_finder_utils.get_targets_from_xml(xml_file, mock_module_info),
421 xml_file = os.path.join(uc.TEST_DATA_DIR, DALVIK_TEST_CONFIG)
424 test_finder_utils.get_targets_from_xml(xml_file, mock_module_info),
437 xml_file = os.path.join(uc.TEST_DATA_DIR, LIBCORE_TEST_CONFIG)
440 test_finder_utils.get_targets_from_xml(xml_file, mock_module_info),
455 xml_file = os.path.join(uc.TEST_DATA_DIR, VTS_XML)
459 xml_file, '', mock_module_info
Dtf_integration_finder_unittest.py147 xml_file = os.path.join(uc.TEST_DATA_DIR, constants.MODULE_CONFIG + '.data')
148 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.py369 xml_file = generate_gps_overlay_xml(ad)
372 ad.adb.push(xml_file, overlay_file)
375 xml_folder = os.path.abspath(os.path.join(xml_file, os.pardir))
399 xml_file = os.path.join(temp_path, "gps_overlay.xml")
412 xml.write(xml_file, xml_declaration=True, encoding="utf-8", method="xml")
413 return xml_file