Home
last modified time | relevance | path

Searched refs:instance_name (Results 1 – 25 of 27) sorted by relevance

12

/tools/acloud/public/actions/
Dcommon_operations.py117 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 …]
Dremote_host_gf_device_factory_test.py162 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)
Dremote_host_gf_device_factory.py182 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/
Ddevice_driver.py235 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 …]
Davd.py41 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
Dreport.py188 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/
Dpull.py68 def PullLogs(ssh, log_files, instance_name): argument
80 download_folder = _GetDownloadLogFolder(instance_name)
201 if args.instance_name:
203 cfg, [args.instance_name])
Dpull_test.py149 args.instance_name = "instance_1"
163 args.instance_name = None
/tools/acloud/public/acloud_kernel/
Dkernel_swapper.py51 def __init__(self, cfg, instance_name): argument
62 self._instance_name = instance_name
64 self._target_ip = self._compute_client.GetInstanceIP(instance_name)
Dacloud_kernel.py81 k_swapper = kernel_swapper.KernelSwapper(cfg, args.instance_name)
/tools/netsim/rust/common/src/util/
Dos_utils.rs147 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/
Dpowerwash.py84 if args.instance_name:
86 cfg, [args.instance_name])
/tools/acloud/internal/lib/
Dandroid_compute_client_test.py112 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,
Dgoldfish_utils_test.py199 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)
Dgoldfish_utils.py268 def ParseRemoteHostConsoleAddress(instance_name): argument
278 match = _REMOTE_HOST_INSTANCE_NAME_PATTERN.fullmatch(instance_name)
Dutils.py1205 instance_name = device.get("instance_name")
1207 instance_details = "" if not instance_name else "(%s[%s])" % (
1208 instance_name, instance_ip)
Dgcompute_client.py1024 for instance_name in set(instances):
1025 requests[instance_name] = action(instance=instance_name)
Dcvd_utils.py636 def ParseRemoteHostAddress(instance_name): argument
646 match = _REMOTE_HOST_INSTANCE_NAME_PATTERN.fullmatch(instance_name)
/tools/acloud/restart/
Drestart.py97 if args.instance_name:
99 cfg, [args.instance_name])
Drestart_test.py42 args.instance_name = "instance_1"
58 args.instance_name = None
/tools/acloud/delete/
Ddelete_test.py181 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,
Ddelete.py375 instance_name = instances[0]
378 oxygen_client.OxygenClient.ReleaseDevice(instance_name, ip,
382 delete_report, [instance_name], failed=[],
/tools/acloud/reconnect/
Dreconnect.py101 def AddPublicSshRsaToInstance(cfg, user, instance_name): argument
117 instance_name)
/tools/acloud/create/
Dlocal_image_local_instance.py315 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/
Dinstance_test.py451 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))

12