/tools/acloud/public/actions/ |
D | common_operations.py | 117 avd.AndroidVirtualDevice(ip=ip, instance_name=instance, 138 self._compute_client.WaitForBoot(device.instance_name, boot_timeout_secs) 140 failures[device.instance_name] = e 165 device.instance_name, port, output_file) 167 instance=device.instance_name, port=port) 168 file_name = "%s_serial_%s.log" % (device.instance_name, port) 284 "instance_name": device.instance_name 323 if device.instance_name in logs: 324 device_dict[constants.LOGS] = logs[device.instance_name] 329 if device.instance_name in failures: [all …]
|
D | remote_host_gf_device_factory_test.py | 162 instance_name = factory.CreateInstance() 164 self.assertEqual(self._X86_64_INSTANCE_NAME, instance_name) 169 self.assertEqual({instance_name: self._LOGS}, factory.GetLogs()) 230 instance_name = factory.CreateInstance() 232 self.assertEqual(self._ARM64_INSTANCE_NAME, instance_name)
|
D | remote_host_gf_device_factory.py | 182 instance_name = goldfish_utils.FormatRemoteHostInstanceName( 202 self._logs[instance_name] = self._GetEmulatorLogs() 208 self._failures[instance_name] = e 212 return instance_name
|
/tools/acloud/public/ |
D | device_driver.py | 235 ip=ip, instance_name=instance)) 249 instance_names = [device.instance_name for device in self._devices] 265 self._compute_client.WaitForBoot(device.instance_name) 267 failures[device.instance_name] = e 326 for instance_name in instance_names: 328 instance=instance_name, port=port) 329 file_name = "%s.log" % instance_name 399 "instance_name": device.instance_name 414 if device.instance_name in failures: 416 r.AddError(str(failures[device.instance_name])) [all …]
|
D | avd.py | 41 def __init__(self, instance_name, ip=None, time_info=None, stage=None, argument 55 self._instance_name = instance_name 96 def instance_name(self): member in AndroidVirtualDevice
|
D | report.py | 188 def AddDevice(self, instance_name, ip_address, adb_port, vnc_port, argument 204 device = {constants.INSTANCE_NAME: instance_name} 227 def AddDeviceBootFailure(self, instance_name, ip_address, adb_port, argument 242 self.AddDevice(instance_name, ip_address, adb_port, vnc_port,
|
/tools/acloud/pull/ |
D | pull.py | 68 def PullLogs(ssh, log_files, instance_name): argument 80 download_folder = _GetDownloadLogFolder(instance_name) 201 if args.instance_name: 203 cfg, [args.instance_name])
|
D | pull_test.py | 149 args.instance_name = "instance_1" 163 args.instance_name = None
|
/tools/acloud/public/acloud_kernel/ |
D | kernel_swapper.py | 51 def __init__(self, cfg, instance_name): argument 62 self._instance_name = instance_name 64 self._target_ip = self._compute_client.GetInstanceIP(instance_name)
|
D | acloud_kernel.py | 81 k_swapper = kernel_swapper.KernelSwapper(cfg, args.instance_name)
|
/tools/netsim/rust/common/src/util/ |
D | os_utils.rs | 147 let mut instance_name = String::new(); in get_instance_name() localVariable 150 instance_name.push_str(&format!("{instance}_")); in get_instance_name() 154 instance_name.push_str("connector_"); in get_instance_name() 156 instance_name in get_instance_name() 160 pub fn redirect_std_stream(instance_name: &str) -> anyhow::Result<()> { in redirect_std_stream()
|
/tools/acloud/powerwash/ |
D | powerwash.py | 84 if args.instance_name: 86 cfg, [args.instance_name])
|
/tools/acloud/internal/lib/ |
D | android_compute_client_test.py | 112 instance_name = "gce-x86-userdebug-2345-abcd" 133 self.android_compute_client.CreateInstance(instance_name, self.IMAGE, 138 instance_name, self.IMAGE, self.MACHINE_TYPE,
|
D | goldfish_utils_test.py | 199 instance_name = goldfish_utils.FormatRemoteHostInstanceName( 201 self.assertEqual(self._INSTANCE_NAME, instance_name) 203 instance_name = goldfish_utils.FormatRemoteHostInstanceName( 205 self.assertEqual(self._INSTANCE_NAME_WITHOUT_INFO, instance_name)
|
D | goldfish_utils.py | 268 def ParseRemoteHostConsoleAddress(instance_name): argument 278 match = _REMOTE_HOST_INSTANCE_NAME_PATTERN.fullmatch(instance_name)
|
D | utils.py | 1205 instance_name = device.get("instance_name") 1207 instance_details = "" if not instance_name else "(%s[%s])" % ( 1208 instance_name, instance_ip)
|
D | gcompute_client.py | 1024 for instance_name in set(instances): 1025 requests[instance_name] = action(instance=instance_name)
|
D | cvd_utils.py | 636 def ParseRemoteHostAddress(instance_name): argument 646 match = _REMOTE_HOST_INSTANCE_NAME_PATTERN.fullmatch(instance_name)
|
/tools/acloud/restart/ |
D | restart.py | 97 if args.instance_name: 99 cfg, [args.instance_name])
|
D | restart_test.py | 42 args.instance_name = "instance_1" 58 args.instance_name = None
|
/tools/acloud/delete/ |
D | delete_test.py | 181 instance_name = "host-goldfish-192.0.2.1-5554-123456-sdk_x86_64-sdk" 184 delete.DeleteHostGoldfishInstance(mock_cfg, instance_name, 194 "name": instance_name, 203 delete.DeleteHostGoldfishInstance(mock_cfg, instance_name,
|
D | delete.py | 375 instance_name = instances[0] 378 oxygen_client.OxygenClient.ReleaseDevice(instance_name, ip, 382 delete_report, [instance_name], failed=[],
|
/tools/acloud/reconnect/ |
D | reconnect.py | 101 def AddPublicSshRsaToInstance(cfg, user, instance_name): argument 117 instance_name)
|
/tools/acloud/create/ |
D | local_image_local_instance.py | 315 instance_name = instance.GetLocalInstanceName(local_instance_id) 334 instance_name, constants.LOCALHOST, None, None, error=err_msg, 347 result_report.AddDevice(instance_name, constants.LOCALHOST, 364 instance_name, constants.LOCALHOST, None, None, error=err_msg,
|
/tools/acloud/list/ |
D | instance_test.py | 451 instance_name = "local-instance-1" 457 device_serial, instance_name, elapsed_time, webrtc_device_id)) 464 device_serial, instance_name, elapsed_time, webrtc_device_id))
|