Home
last modified time | relevance | path

Searched refs:config_path (Results 1 – 19 of 19) sorted by relevance

/tools/acloud/setup/
Dgcp_setup_runner.py65 def UpdateConfigFile(config_path, item, value): argument
86 if os.path.isfile(config_path):
87 with open(config_path, "r") as cfg_file:
96 with open(config_path, "w") as cfg_file:
100 def SetupSSHKeys(config_path, private_key_path, public_key_path): argument
117 UpdateConfigFile(config_path, "ssh_private_key_path",
119 UpdateConfigFile(config_path, "ssh_public_key_path",
245 def __init__(self, config_path): argument
254 config_mgr = config.AcloudConfigManager(config_path)
256 self.config_path = config_mgr.user_config_path
[all …]
/tools/acloud/internal/lib/
Dcvd_runtime_config.py116 def __init__(self, config_path=None, raw_data=None): argument
117 if not config_path and not raw_data:
119 self._config_path = config_path
121 config_path)
122 self._config_dict = self._GetCuttlefishRuntimeConfig(config_path,
148 (self._instance_id, config_path))
231 def config_path(self): member in CvdRuntimeConfig
Dcvd_runtime_config_test.py126 self.assertEqual(fake_cvd_runtime_config.config_path,
135 self.assertEqual(fake_cvd_runtime_config_webrtc.config_path, None)
157 config_path=None,
Dota_tools_test.py257 config_path = os.path.join(self._temp_dir, "misc_info.txt")
258 self._CreateFile(config_path, _INPUT_SYSTEM_QEMU_CONFIG)
270 self._ota.MkCombinedImg("/unit/test", config_path, _GetImage)
/tools/test/connectivity/acts/framework/acts/
Dconfig_parser.py78 def _update_file_paths(config, config_path): argument
98 config_file = os.path.join(config_path, config_file)
106 def _validate_testbed_configs(testbed_configs, config_path): argument
119 _update_file_paths(config, config_path)
230 config_path, _ = os.path.split(utils.abs_path(test_config_path))
231 configs[keys.Config.key_config_path.value] = config_path
233 _validate_testbed_configs(testbeds, config_path)
Dtest_runner.py304 config_path = os.path.join(self.log_path, 'test_configs.json')
305 with open(config_path, 'a') as f:
/tools/acloud/public/
Dconfig.py90 config_path = os.path.join(os.path.expanduser("~"), ".config", "acloud")
92 if not os.path.exists(config_path):
93 os.makedirs(config_path)
94 return os.path.join(config_path, _DEFAULT_CONFIG_FILE)
97 def GetUserConfigPath(config_path): argument
108 if config_path:
109 return config_path
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py1323 config_path = os.path.join(
1325 if os.path.isfile(config_path):
1326 return config_path, mod_info.get(constants.MODULE_SRCS, [])
1329 config_path = os.path.join(android_root_dir, test_config)
1330 if os.path.isfile(config_path):
1331 return config_path, mod_info.get(constants.MODULE_SRCS, [])
1336 config_path = os.path.join(android_root_dir, test_config)
1337 config_name = os.path.splitext(os.path.basename(config_path))[0]
1338 if config_name == test_name and os.path.isfile(config_path):
1339 return config_path, info.get(constants.MODULE_SRCS, [])
/tools/test/mobly_extensions/scripts/
Dlocal_mobly_runner.py303 _, config_path = tempfile.mkstemp(prefix='mobly_config_')
305 with open(config_path, 'w') as f:
307 _tempfiles.append(config_path)
308 return config_path
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dffx.py214 config_path = os.path.join(target_dir, "ffx_config.json")
215 with open(config_path, 'w', encoding="utf-8") as f:
219 "user": config_path,
/tools/test/connectivity/acts/framework/acts/controllers/bits_lib/
Dbits_service.py148 config_path = os.path.join(
151 with open(config_path, 'w') as f:
160 config_path]
/tools/test/connectivity/acts/framework/acts/controllers/sniffer_lib/local/
Dtcpdump.py26 def __init__(self, config_path, logger, base_configs=None): argument
32 config_path, logger, base_configs=base_configs)
Dtshark.py25 def __init__(self, config_path, logger, base_configs=None): argument
30 super().__init__(config_path, logger, base_configs=base_configs)
/tools/asuite/aidegen/lib/
Dproject_file_gen.py286 config_path = os.path.join(
288 if os.path.isfile(config_path):
291 templates.TEST_MAPPING_SCHEMAS_XML.format(SCHEMA_PATH=config_path))
/tools/test/connectivity/acts_tests/tests/google/bt/
Drelay_tool.py45 def get_relay_device(config_path, testbed_name, device_name): argument
56 with open(config_path) as config_file:
/tools/acloud/list/
Dinstance.py569 cvd_env[constants.ENV_CUTTLEFISH_CONFIG_FILE] = self._cf_runtime_cfg.config_path
638 self._cf_runtime_cfg.config_path)
Dinstance_test.py80 config_path="fake_config_path",
/tools/asuite/atest/
Datest_main.py935 config_path, _ = test_finder_utils.get_test_config_and_srcs(
937 atest_utils.perm_metrics(config_path, adb_root)
Datest_utils.py1540 def perm_metrics(config_path, adb_root): argument
1548 options = get_config_preparer_options(config_path, _ROOT_PREPARER)