Home
last modified time | relevance | path

Searched refs:test_config (Results 1 – 25 of 28) sorted by relevance

12

/tools/treble/build/sandbox/
Dconfig_test.py92 with tempfile.NamedTemporaryFile('w+t') as test_config:
93 test_config.write(_TEST_CONFIG_XML)
94 test_config.flush()
95 cfg = config.factory(test_config.name)
109 with tempfile.NamedTemporaryFile('w+t') as test_config:
110 test_config.write(_TEST_CONFIG_XML)
111 test_config.flush()
112 cfg = config.factory(test_config.name)
138 with tempfile.NamedTemporaryFile('w+t') as test_config:
139 test_config.write(_TEST_CONFIG_XML)
[all …]
Doverlay_test.py127 with tempfile.NamedTemporaryFile('w+t') as test_config:
128 test_config.write(
139 test_config.flush()
141 cfg=config.factory(test_config.name),
152 with tempfile.NamedTemporaryFile('w+t') as test_config, \
154 test_config.write(
165 test_config.flush()
174 cfg=config.factory(test_config.name),
183 with tempfile.NamedTemporaryFile('w+t') as test_config:
184 test_config.write(
[all …]
Dbuild_android_sandboxed_test.py163 with tempfile.NamedTemporaryFile('w+t') as test_config:
164 test_config.write(TEST_CONFIG_XML)
165 test_config.flush()
177 config_file=test_config.name)
/tools/treble/split/
Dmanifest_split_test.py31 with tempfile.NamedTemporaryFile('w+t') as test_config:
32 test_config.write("""
40 test_config.flush()
42 [test_config.name])
44 'remove1': test_config.name,
45 'remove2': test_config.name
48 'add1': test_config.name,
49 'add2': test_config.name
/tools/asuite/atest/test_finders/
Dmodule_finder.py485 for test_config in test_configs:
486 test_config_path = os.path.join(self.root_dir, test_config)
495 data={constants.TI_REL_CONFIG: test_config,
579 test_config, test_srcs = test_finder_utils.get_test_config_and_srcs(
581 if test_config:
583 test_config)
896 for test_config in test_configs:
898 os.path.basename(test_config))[0]
904 test_config),
905 data={constants.TI_REL_CONFIG: test_config,
[all …]
Dtest_finder_utils.py640 for test_config in mod.get(constants.MODULE_TEST_CONFIG, []):
644 if test_config:
1370 test_config = test_configs[0]
1371 config_path = os.path.join(android_root_dir, test_config)
1377 for test_config in test_configs:
1378 config_path = os.path.join(android_root_dir, test_config)
Dmodule_finder_unittest.py1103 test_config = 'test_config'
1105 _mock_get_conf_srcs.return_value = test_config, test_srcs
1121 test_config = 'test_config'
1123 _mock_get_conf_srcs.return_value = test_config, test_srcs
1141 test_config = 'test_config'
1143 _mock_get_conf_srcs.return_value = test_config, test_srcs
/tools/test/connectivity/acts/framework/acts/controllers/cellular_lib/
DBaseSimulation.py72 self, simulator, log, dut, test_config, calibration_table, argument
96 if self.KEY_CALIBRATION not in test_config:
103 self.calibration_required = test_config.get(self.KEY_CALIBRATION,
107 if self.KEY_ATTACH_RETRIES not in test_config:
113 self.attach_retries = test_config.get(self.KEY_ATTACH_RETRIES,
117 if self.KEY_ATTACH_TIMEOUT not in test_config:
123 self.attach_timeout = test_config.get(self.KEY_ATTACH_TIMEOUT,
DLteSimulation.py415 self, simulator, log, dut, test_config, calibration_table, argument
430 simulator, log, dut, test_config, calibration_table, nr_mode)
448 if self.KEY_FREQ_BANDS not in test_config:
453 self.freq_bands = test_config.get(self.KEY_FREQ_BANDS, True)
DGsmSimulation.py57 def __init__(self, simulator, log, dut, test_config, calibration_table): argument
83 super().__init__(simulator, log, dut, test_config, calibration_table)
DUmtsSimulation.py90 def __init__(self, simulator, log, dut, test_config, calibration_table): argument
116 super().__init__(simulator, log, dut, test_config, calibration_table)
/tools/asuite/atest/
Datest_utils.py1295 def get_android_junit_config_filters(test_config): argument
1304 xml_root = ET.parse(test_config).getroot()
1315 def get_config_parameter(test_config): argument
1324 xml_root = ET.parse(test_config).getroot()
1335 def get_config_device(test_config): argument
1344 xml_root = ET.parse(test_config).getroot()
1351 def get_mainline_param(test_config): argument
1360 xml_root = ET.parse(test_config).getroot()
1397 def get_config_gtest_args(test_config): argument
1408 xml_root = ET.parse(test_config).getroot()
[all …]
Dmodule_info.py456 for test_config in mod_info.get(constants.MODULE_TEST_CONFIG, []):
457 if os.path.isfile(os.path.join(self.root_dir, test_config)):
622 for test_config in mod_info.get(constants.MODULE_TEST_CONFIG, []):
626 os.path.join(self.root_dir, test_config))
DAndroid.bp216 test_config: "atest_unittests.xml",
231 test_config: "atest_integration_tests.xml",
Datest.py850 test_config, _ = test_finder_utils.get_test_config_and_srcs(
852 if test_config:
853 devices = atest_utils.get_config_device(test_config)
/tools/asuite/atest-py2/test_finders/
Dmodule_finder.py213 test_config = ''
216 test_config = test_config_list[0]
217 if not self.module_info.is_auto_gen_test_config(module_name) and test_config != '':
218 return test_config
371 test_config = self._get_module_test_config(module_name)
372 test_config_path = os.path.join(self.root_dir, test_config)
381 data={constants.TI_REL_CONFIG: test_config,
/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py866 test_config, _ = test_finder_utils.get_test_config_and_srcs(
868 if test_config:
869 parameters = atest_utils.get_config_parameter(test_config)
885 test_config, _ = test_finder_utils.get_test_config_and_srcs(
887 if test_config:
888 parameters = atest_utils.get_config_parameter(test_config)
901 test_config, _ = test_finder_utils.get_test_config_and_srcs(
903 if test_config:
905 test_config)
/tools/dexter/dexter/
Ddexter_tests.py72 for test_name, test_config in sorted(test_cases.iteritems()):
73 for input_pattern in test_config['input']:
80 cmd = '%s %s %s' % (args.cmd, test_config['args'], input)
/tools/asuite/atest-py2/
Dmodule_info.py240 for test_config in mod_info.get(constants.MODULE_TEST_CONFIG, []):
241 if os.path.isfile(os.path.join(self.root_dir, test_config)):
DAndroid.bp67 // test_config: "atest_unittests.xml",
/tools/test/connectivity/acts/framework/acts/
Dconfig_parser.py40 def _validate_test_config(test_config): argument
52 if k not in test_config:
Dtest_runner.py65 def execute_one_test_class(test_class, test_config, test_identifier): argument
84 tr = TestRunner(test_config, test_identifier)
/tools/asuite/plugin_lib/
DAndroid.bp58 test_config: "plugin_lib_unittests.xml",
/tools/asuite/aidegen/
DAndroid.bp95 test_config: "aidegen_unittests.xml",
/tools/treble/build/
DAndroid.bp65 test_config: "test.xml",

12