Home
last modified time | relevance | path

Searched refs:config_path (Results 1 – 17 of 17) 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.py108 def __init__(self, config_path=None, raw_data=None): argument
109 if not config_path and not raw_data:
111 self._config_path = config_path
113 config_path)
114 self._config_dict = self._GetCuttlefishRuntimeConfig(config_path,
139 (self._instance_id, config_path))
218 def config_path(self): member in CvdRuntimeConfig
Dcvd_runtime_config_test.py96 self.assertEqual(fake_cvd_runtime_config.config_path,
105 self.assertEqual(fake_cvd_runtime_config_webrtc.config_path, None)
121 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.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/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.py1365 config_path = os.path.join(
1367 if os.path.isfile(config_path):
1368 return config_path, mod_info.get(constants.MODULE_SRCS, [])
1371 config_path = os.path.join(android_root_dir, test_config)
1372 if os.path.isfile(config_path):
1373 return config_path, mod_info.get(constants.MODULE_SRCS, [])
1378 config_path = os.path.join(android_root_dir, test_config)
1379 config_name = os.path.splitext(os.path.basename(config_path))[0]
1380 if config_name == test_name and os.path.isfile(config_path):
1381 return config_path, info.get(constants.MODULE_SRCS, [])
/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.py285 config_path = os.path.join(
287 if os.path.isfile(config_path):
290 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.py527 cvd_env[constants.ENV_CUTTLEFISH_CONFIG_FILE] = self._cf_runtime_cfg.config_path
598 self._cf_runtime_cfg.config_path)
Dinstance_test.py76 config_path="fake_config_path",
/tools/asuite/atest/
Datest.py830 config_path, _ = test_finder_utils.get_test_config_and_srcs(
832 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)