Home
last modified time | relevance | path

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

/tools/treble/build/sandbox/
Dconfig_test.py91 with tempfile.NamedTemporaryFile('w+t') as test_config:
92 test_config.write(_TEST_CONFIG_XML)
93 test_config.flush()
94 cfg = config.factory(test_config.name)
108 with tempfile.NamedTemporaryFile('w+t') as test_config:
109 test_config.write(_TEST_CONFIG_XML)
110 test_config.flush()
111 cfg = config.factory(test_config.name)
137 with tempfile.NamedTemporaryFile('w+t') as test_config:
138 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
DAndroid.bp93 test_config: "test.xml",
/tools/test/connectivity/acts/framework/acts/controllers/cellular_lib/
DBaseSimulation.py96 def __init__(self, simulator, log, dut, test_config, calibration_table): argument
118 if self.KEY_CALIBRATION not in test_config:
125 self.calibration_required = test_config.get(self.KEY_CALIBRATION,
129 if self.KEY_ATTACH_RETRIES not in test_config:
135 self.attach_retries = test_config.get(self.KEY_ATTACH_RETRIES,
139 if self.KEY_ATTACH_TIMEOUT not in test_config:
145 self.attach_timeout = test_config.get(self.KEY_ATTACH_TIMEOUT,
DLteSimulation.py454 def __init__(self, simulator, log, dut, test_config, calibration_table): argument
469 super().__init__(simulator, log, dut, test_config, calibration_table)
475 if self.KEY_TBS_PATTERN not in test_config:
479 self.primary_config.tbs_pattern_on = test_config.get(
483 if self.KEY_DL_256_QAM not in test_config:
488 self.dl_256_qam = test_config.get(self.KEY_DL_256_QAM, False)
504 if self.KEY_UL_64_QAM not in test_config:
509 self.ul_64_qam = test_config.get(self.KEY_UL_64_QAM, False)
DLteCaSimulation.py74 def __init__(self, simulator, log, dut, test_config, calibration_table): argument
90 super().__init__(simulator, log, dut, test_config, calibration_table)
103 if self.KEY_FREQ_BANDS not in test_config:
108 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.py92 def __init__(self, simulator, log, dut, test_config, calibration_table): argument
118 super().__init__(simulator, log, dut, test_config, calibration_table)
/tools/asuite/atest/test_finders/
Dmodule_finder.py467 for test_config in test_configs:
468 test_config_path = os.path.join(self.root_dir, test_config)
477 data={constants.TI_REL_CONFIG: test_config,
561 test_config, test_srcs = test_finder_utils.get_test_config_and_srcs(
563 if test_config:
565 test_config)
871 for test_config in test_configs:
873 os.path.basename(test_config))[0]
879 test_config),
880 data={constants.TI_REL_CONFIG: test_config,
Dtest_finder_utils.py583 for test_config in mod.get(constants.MODULE_TEST_CONFIG, []):
587 if test_config:
1208 test_config = test_configs[0]
1209 config_path = os.path.join(android_root_dir, test_config)
1215 for test_config in test_configs:
1216 config_path = os.path.join(android_root_dir, test_config)
Dmodule_finder_unittest.py1067 test_config = 'test_config'
1069 _mock_get_conf_srcs.return_value = test_config, test_srcs
1085 test_config = 'test_config'
1087 _mock_get_conf_srcs.return_value = test_config, test_srcs
1105 test_config = 'test_config'
1107 _mock_get_conf_srcs.return_value = test_config, test_srcs
/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,
Dtest_finder_utils.py517 for test_config in mod.get(constants.MODULE_TEST_CONFIG, []):
518 if os.path.isfile(os.path.join(root_dir, test_config)):
/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py939 test_config, _ = test_finder_utils.get_test_config_and_srcs(
941 if test_config:
942 parameters = atest_utils.get_config_parameter(test_config)
958 test_config, _ = test_finder_utils.get_test_config_and_srcs(
960 if test_config:
961 parameters = atest_utils.get_config_parameter(test_config)
/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/atest/
DAndroid.bp214 test_config: "atest_unittests.xml",
229 test_config: "atest_integration_tests.xml",
Datest_utils.py1160 def get_android_junit_config_filters(test_config): argument
1169 xml_root = ET.parse(test_config).getroot()
1180 def get_config_parameter(test_config): argument
1189 xml_root = ET.parse(test_config).getroot()
/tools/asuite/plugin_lib/
DAndroid.bp58 test_config: "plugin_lib_unittests.xml",
/tools/treble/build/
DAndroid.bp65 test_config: "test.xml",
/tools/acloud/
DAndroid.bp121 test_config: "acloud_unittest.xml",