Home
last modified time | relevance | path

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

12

/tools/acloud/public/
Dconfig_test.py121 self.config_file = mock.MagicMock()
123 self.config_file.read.return_value = self.INTERNAL_CONFIG
125 self.config_file, internal_config_pb2.InternalConfig)
126 self.config_file.read.return_value = self.USER_CONFIG
128 self.config_file, user_config_pb2.UserConfig)
134 self.config_file.read.return_value = self.USER_CONFIG
136 self.config_file, user_config_pb2.UserConfig)
175 config_specify = config.AcloudConfigManager(self.config_file)
176 self.config_file.read.return_value = self.USER_CONFIG
177 self.assertEqual(config_specify.user_config_path, self.config_file)
[all …]
Dconfig.py108 config_mgr = AcloudConfigManager(args.config_file)
373 with open(self._internal_config_path) as config_file:
375 config_file, internal_config_pb2.InternalConfig)
381 with open(self.user_config_path, "r") as config_file:
383 config_file, user_config_pb2.UserConfig)
390 with open(self.user_config_path, "r") as config_file:
392 config_file, user_config_pb2.UserConfig)
398 def LoadConfigFromProtocolBuffer(config_file, message_type): argument
411 text_format.Merge(config_file.read(), config)
/tools/test/connectivity/acts/framework/acts/
Dconfig_parser.py96 config_file = config[file_path_key]
97 if type(config_file) is str:
98 if not os.path.isfile(config_file):
99 config_file = os.path.join(config_path, config_file)
100 if not os.path.isfile(config_file):
103 "config file.", config_file)
104 config[file_path_key] = config_file
/tools/treble/build/sandbox/
Dbuild_android_sandboxed.py27 max_cpus, build_goals, config_file=None, argument
52 if config_file:
53 cfg = config.Config(config_file)
89 overlay_config=config_file,
200 config_file=args['config_file'],
Dnsjail.py192 config_file = os.path.join(script_dir, 'nsjail.cfg')
217 '--config', config_file]
Dbuild_android_sandboxed_test.py177 config_file=test_config.name)
/tools/aadevtools/avd/
Dset_avds_force_cold_boot.sh86 config_file="$avd_dir/config.ini"
87 getValue "myAvdId" "AvdId" $config_file
89 getValue "myAvdTagId" "tag.id" $config_file
96 setForceColdBoot $forceColdBoot $forceFastBoot $config_file
Dpatch_all_avds.sh80 config_file="$avd_dir/config.ini"
81 getValue "MY_AVD_ID" "AvdId" $config_file
83 getValue "MY_TAG_ID" "tag.id" $config_file
/tools/acloud/setup/
Dsetup.py44 _UpdateConfig(args.config_file, args.update_config[0], args.update_config[1])
58 gcp_runner = gcp_setup_runner.GcpTaskRunner(args.config_file)
122 def _UpdateConfig(config_file, field, value): argument
130 config_mgr = config.AcloudConfigManager(config_file)
/tools/treble/split/
Dmanifest_split_test.py299 tempfile.NamedTemporaryFile('w+t') as config_file, \
380 config_file.write("""
384 config_file.flush()
390 [config_file.name], repo_list_file.name, 'build-target.ninja',
441 config_file.name)
456 tempfile.NamedTemporaryFile('w+t') as config_file, \
Dmanifest_split.py142 for config_file in config_files:
143 root = ET.parse(config_file).getroot()
146 c.attrib["name"]: config_file for c in root.findall("remove_project")
150 {c.attrib["name"]: config_file for c in root.findall("add_project")})
/tools/acloud/public/actions/
Dremote_instance_cf_device_factory_test.py64 args.config_file = ""
104 args.config_file = ""
149 args.config_file = ""
184 args.config_file = ""
213 args.config_file = ""
273 args.config_file = ""
335 args.config_file = ""
Dremote_instance_fvp_device_factory_test.py64 args.config_file = ""
/tools/asuite/atest-py2/test_finders/
Dmodule_finder.py100 config_file = os.path.join(self.root_dir,
115 vts_xmls.add(config_file)
118 for config_file in vts_xmls:
121 config_file, vts_out_dir, self.module_info)
180 config_file = os.path.join(self.root_dir, rel_config)
181 targets = test_finder_utils.get_targets_from_xml(config_file,
Dtf_integration_finder.py78 config_file = os.path.join(self.root_dir, rel_config)
79 xml_root = self._load_xml_file(config_file)
/tools/asuite/aidegen/sdk/
Djdk_table.py90 def __init__(self, config_file, jdk_content, jdk_path, argument
102 self._config_file = config_file
107 if os.path.exists(config_file):
108 xml_file = config_file
/tools/asuite/atest/test_finders/
Dmodule_finder.py120 config_file = os.path.join(self.root_dir,
135 vts_xmls.add(config_file)
138 for config_file in vts_xmls:
141 config_file, vts_out_dir, self.module_info)
219 config_file = os.path.join(self.root_dir, rel_config)
220 targets = test_finder_utils.get_targets_from_xml(config_file,
Dtf_integration_finder.py87 config_file = os.path.join(self.root_dir, rel_config)
88 xml_root = self._load_xml_file(config_file)
/tools/test/connectivity/acts_tests/tests/google/bt/
Drelay_tool.py56 with open(config_path) as config_file:
57 config = json.load(config_file)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dwifi_performance_test_utils.py1389 def push_config(dut, config_file): argument
1403 def push_config_qcom(dut, config_file): argument
1407 dut.push_system_file(config_file, dst_file)
1411 def push_config_brcm(dut, config_file): argument
1414 dut.push_system_file(config_file, dst_file)
/tools/acloud/public/acloud_kernel/
Dacloud_kernel.py77 config_mgr = config.AcloudConfigManager(args.config_file)
/tools/acloud/create/
Dcreate.py176 gcp_setup = gcp_setup_runner.GcpTaskRunner(args.config_file)
Dcreate_test.py88 args.args.config_file = "fake_path"
/tools/acloud/internal/lib/
Dcvd_compute_client_test.py153 args.config_file = ""
Dcvd_compute_client_multi_stage_test.py103 self.args.config_file = ""

12