Home
last modified time | relevance | path

Searched refs:config_path (Results 1 – 15 of 15) 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",
246 def __init__(self, config_path): argument
255 config_mgr = config.AcloudConfigManager(config_path)
257 self.config_path = config_mgr.user_config_path
[all …]
/tools/test/connectivity/acts/framework/acts/
Dconfig_parser.py79 def _update_file_paths(config, config_path): argument
99 config_file = os.path.join(config_path, config_file)
107 def _validate_testbed_configs(testbed_configs, config_path): argument
120 _update_file_paths(config, config_path)
231 config_path, _ = os.path.split(utils.abs_path(test_config_path))
232 configs[keys.Config.key_config_path.value] = config_path
234 _validate_testbed_configs(testbeds, config_path)
Dtest_runner.py303 config_path = os.path.join(self.log_path, 'test_configs.json')
304 with open(config_path, 'a') as f:
/tools/acloud/internal/lib/
Dcvd_runtime_config.py106 def __init__(self, config_path=None, raw_data=None): argument
107 self._config_path = config_path
109 config_path)
110 self._config_dict = self._GetCuttlefishRuntimeConfig(config_path,
134 (self._instance_id, config_path))
212 def config_path(self): member in CvdRuntimeConfig
Dota_tools_test.py264 config_path = os.path.join(self._temp_dir, "misc_info.txt")
265 self._CreateFile(config_path, _INPUT_SYSTEM_QEMU_CONFIG)
277 self._ota.MkCombinedImg("/unit/test", config_path, _GetImage)
Dcvd_runtime_config_test.py96 self.assertEqual(fake_cvd_runtime_config.config_path,
105 self.assertEqual(fake_cvd_runtime_config_webrtc.config_path, None)
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py1203 config_path = os.path.join(
1205 if os.path.isfile(config_path):
1206 return config_path, mod_info.get(constants.MODULE_SRCS, [])
1209 config_path = os.path.join(android_root_dir, test_config)
1210 if os.path.isfile(config_path):
1211 return config_path, mod_info.get(constants.MODULE_SRCS, [])
1216 config_path = os.path.join(android_root_dir, test_config)
1217 config_name = os.path.splitext(os.path.basename(config_path))[0]
1218 if config_name == test_name and os.path.isfile(config_path):
1219 return config_path, info.get(constants.MODULE_SRCS, [])
/tools/acloud/public/
Dconfig.py92 config_path = os.path.join(os.path.expanduser("~"), ".config", "acloud")
94 if not os.path.exists(config_path):
95 os.makedirs(config_path)
96 return os.path.join(config_path, _DEFAULT_CONFIG_FILE)
/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/asuite/aidegen/lib/
Dproject_file_gen.py281 config_path = os.path.join(
283 if os.path.isfile(config_path):
286 templates.TEST_MAPPING_SCHEMAS_XML.format(SCHEMA_PATH=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/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.py425 self._cf_runtime_cfg.config_path)
428 cvd_env[constants.ENV_CUTTLEFISH_CONFIG_FILE] = self._cf_runtime_cfg.config_path
480 cvd_env[constants.ENV_CUTTLEFISH_CONFIG_FILE] = self._cf_runtime_cfg.config_path
Dinstance_test.py74 config_path="fake_config_path",