/tools/acloud/setup/ |
D | gcp_setup_runner.py | 65 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/ |
D | cvd_runtime_config.py | 116 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
|
D | cvd_runtime_config_test.py | 126 self.assertEqual(fake_cvd_runtime_config.config_path, 135 self.assertEqual(fake_cvd_runtime_config_webrtc.config_path, None) 157 config_path=None,
|
D | ota_tools_test.py | 257 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/ |
D | config_parser.py | 78 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)
|
D | test_runner.py | 304 config_path = os.path.join(self.log_path, 'test_configs.json') 305 with open(config_path, 'a') as f:
|
/tools/acloud/public/ |
D | config.py | 90 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/ |
D | test_finder_utils.py | 1323 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/ |
D | local_mobly_runner.py | 303 _, 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/ |
D | ffx.py | 214 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/ |
D | bits_service.py | 148 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/ |
D | tcpdump.py | 26 def __init__(self, config_path, logger, base_configs=None): argument 32 config_path, logger, base_configs=base_configs)
|
D | tshark.py | 25 def __init__(self, config_path, logger, base_configs=None): argument 30 super().__init__(config_path, logger, base_configs=base_configs)
|
/tools/asuite/aidegen/lib/ |
D | project_file_gen.py | 286 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/ |
D | relay_tool.py | 45 def get_relay_device(config_path, testbed_name, device_name): argument 56 with open(config_path) as config_file:
|
/tools/acloud/list/ |
D | instance.py | 569 cvd_env[constants.ENV_CUTTLEFISH_CONFIG_FILE] = self._cf_runtime_cfg.config_path 638 self._cf_runtime_cfg.config_path)
|
D | instance_test.py | 80 config_path="fake_config_path",
|
/tools/asuite/atest/ |
D | atest_main.py | 935 config_path, _ = test_finder_utils.get_test_config_and_srcs( 937 atest_utils.perm_metrics(config_path, adb_root)
|
D | atest_utils.py | 1540 def perm_metrics(config_path, adb_root): argument 1548 options = get_config_preparer_options(config_path, _ROOT_PREPARER)
|