Home
last modified time | relevance | path

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

/tools/acloud/public/
Dconfig_test.py114 self.config_file = mock.MagicMock()
119 self.config_file.read.return_value = self.USER_CONFIG
121 self.config_file, user_config_pb2.UserConfig)
159 config_specify = config.AcloudConfigManager(self.config_file)
160 self.config_file.read.return_value = self.USER_CONFIG
161 self.assertEqual(config_specify.user_config_path, self.config_file)
197 self.config_file.read.return_value = self.INTERNAL_CONFIG
199 self.config_file, internal_config_pb2.InternalConfig)
258 self.config_file.read.return_value = "malformed text"
261 self.config_file, internal_config_pb2.InternalConfig)
[all …]
Dconfig.py108 config_mgr = AcloudConfigManager(args.config_file)
359 with open(self._internal_config_path) as config_file:
361 config_file, internal_config_pb2.InternalConfig)
367 with open(self.user_config_path, "r") as config_file:
369 config_file, user_config_pb2.UserConfig)
376 with open(self.user_config_path, "r") as config_file:
378 config_file, user_config_pb2.UserConfig)
384 def LoadConfigFromProtocolBuffer(config_file, message_type): argument
397 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/split/
Dmanifest_split_test.py258 tempfile.NamedTemporaryFile('w+t') as config_file, \
339 config_file.write("""
343 config_file.flush()
349 [config_file.name], repo_list_file.name, 'build-target.ninja',
400 config_file.name)
415 tempfile.NamedTemporaryFile('w+t') as config_file, \
Dmanifest_split.py98 def read_config(config_file): argument
107 root = ET.parse(config_file).getroot()
438 for config_file in config_files:
439 config_remove_projects, config_add_projects = read_config(config_file)
441 remove_projects.setdefault(project, []).append(config_file)
443 add_projects.setdefault(project, []).append(config_file)
/tools/acloud/public/actions/
Dremote_instance_cf_device_factory_test.py63 args.config_file = ""
101 args.config_file = ""
144 args.config_file = ""
177 args.config_file = ""
204 args.config_file = ""
256 args.config_file = ""
Dremote_instance_fvp_device_factory_test.py62 args.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.py187 config_file = os.path.join(script_dir, 'nsjail.cfg')
212 '--config', config_file]
Dbuild_android_sandboxed_test.py177 config_file=test_config.name)
/tools/asuite/atest/test_finders/
Dmodule_finder.py102 config_file = os.path.join(self.root_dir,
117 vts_xmls.add(config_file)
120 for config_file in vts_xmls:
123 config_file, vts_out_dir, self.module_info)
182 config_file = os.path.join(self.root_dir, rel_config)
183 targets = test_finder_utils.get_targets_from_xml(config_file,
Dtf_integration_finder.py80 config_file = os.path.join(self.root_dir, rel_config)
81 xml_root = self._load_xml_file(config_file)
/tools/tradefederation/core/atest/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/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/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/test/connectivity/acts_tests/tests/google/bt/
Drelay_tool.py56 with open(config_path) as config_file:
57 config = json.load(config_file)
/tools/acloud/public/acloud_kernel/
Dacloud_kernel.py77 config_mgr = config.AcloudConfigManager(args.config_file)
/tools/acloud/create/
Dcreate_test.py87 args.args.config_file = "fake_path"
Dcreate.py176 gcp_setup = gcp_setup_runner.GcpTaskRunner(args.config_file)
Davd_spec_test.py42 self.args.config_file = ""
/tools/acloud/internal/lib/
Dcvd_compute_client_test.py151 args.config_file = ""
Dcvd_compute_client_multi_stage_test.py100 self.args.config_file = ""