/tools/acloud/public/ |
D | avd.py | 41 def __init__(self, instance_name, ip=None, time_info=None): argument 50 self._ip = ip 77 def ip(self): member in AndroidVirtualDevice 84 @ip.setter 85 def ip(self, value): member in AndroidVirtualDevice
|
D | device_driver.py | 232 ip = self._compute_client.GetInstanceIP(instance) 234 ip=ip, instance_name=instance)) 394 ip = (device.ip.internal if report_internal_ip 395 else device.ip.external) 397 "ip": ip, 402 ip_addr=ip,
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | chameleon_controller.py | 87 return [ChameleonDevice(ip) for ip in ips] 102 def __init__(self, ip="", port=9992): argument 103 self.ip = ip 106 self.address = "http://{}:{}".format(ip, self.port) 184 cmd = "scp root@{}:/{} {}".format(self.ip, source, destination)
|
D | fuchsia_device.py | 123 info = {"ip": fd.ip} 166 self.ip = fd_conf_data["ip"] 174 "FuchsiaDevice | %s" % self.ip) 176 if utils.is_valid_ipv4_address(self.ip): 177 self.address = "http://{}:{}".format(self.ip, self.port) 178 elif utils.is_valid_ipv6_address(self.ip): 179 self.address = "http://[{}]:{}".format(self.ip, self.port) 181 raise ValueError('Invalid IP: %s' % self.ip) 192 self.serial = re.sub('[.:%]', '_', self.ip) 308 ping_command = ['ping', '%s' % timeout_flag, '1', '-c', '1', self.ip] [all …]
|
D | iperf_client.py | 122 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 142 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 163 iperf_cmd = [str(iperf_binary), '-c', ip] + iperf_args.split(' ') 188 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 209 iperf_cmd = '{} -c {} {}'.format(iperf_binary, ip, iperf_args) 269 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument 293 iperf_cmd = '{} -c {} {}'.format(iperf_binary, ip, iperf_args)
|
/tools/acloud/public/actions/ |
D | common_operations.py | 100 ip = self._compute_client.GetInstanceIP(instance) 104 avd.AndroidVirtualDevice(ip=ip, instance_name=instance, 224 ip = (device.ip.internal if report_internal_ip 225 else device.ip.external) 227 "ip": ip, 236 ip_addr=ip,
|
D | remote_instance_cf_device_factory.py | 135 ip = ssh.IP(ip=self._avd_spec.remote_host) 137 ip=ip, 144 self._ssh, ip, self._avd_spec.host_user) 282 ip = self._compute_client.GetInstanceIP(instance) 283 self._ssh = ssh.Ssh(ip=ip,
|
/tools/acloud/internal/lib/ |
D | ssh.py | 163 def __init__(self, external=None, internal=None, ip=None): argument 171 self.external = external or ip 172 self.internal = internal or ip 184 def __init__(self, ip, user, ssh_private_key_path, argument 186 self._ip = ip.internal if report_internal_ip else ip.external
|
D | ssh_test.py | 60 ssh_object = ssh.Ssh(ip=self.FAKE_IP, 177 ssh_object = ssh.Ssh(ip=ssh.IP(external="1.1.1.1", internal="10.1.1.1"), 185 ssh_object = ssh.Ssh(ip=ssh.IP(external="1.1.1.1", internal="10.1.1.1"), 192 ssh_object = ssh.Ssh(ip=ssh.IP(ip="1.1.1.1"), 200 ssh_object = ssh.Ssh(ip=self.FAKE_IP,
|
D | cvd_compute_client_multi_stage.py | 135 def InitRemoteHost(self, ssh, ip, user): argument 148 self._ip = ip 204 self._ssh = Ssh(ip=self._ip, 417 ip = gcompute_client.ComputeClient.GetInstanceIP( 420 return ip 466 ip = gcompute_client.ComputeClient.GetInstanceIP( 468 logger.debug("'instance_ip': %s", ip.internal 469 if self._report_internal_ip else ip.external) 472 return ip
|
/tools/acloud/reconnect/ |
D | reconnect_test.py | 43 instance_object.ip = "1.1.1.1" 77 utils.AutoConnect.assert_called_with(ip_addr=instance_object.ip, 92 utils.AutoConnect.assert_called_with(ip_addr=instance_object.ip, 117 instance_object.ip = "1.1.1.1" 127 utils.AutoConnect.assert_called_with(ip_addr=instance_object.ip, 137 utils.AutoConnect.assert_called_with(ip_addr=instance_object.ip,
|
D | reconnect.py | 123 ip_addr=instance.ip, 136 constants.IP: instance.ip,
|
/tools/acloud/list/ |
D | instance.py | 193 def __init__(self, name, fullname, display, ip, status=None, adb_port=None, argument 201 self._ip = ip 258 def ip(self): member in Instance 342 name=name, fullname=fullname, display=display, ip="127.0.0.1", 486 name=name, fullname=fullname, display=display, ip="127.0.0.1", 594 ip = None 597 ip = access_config.get("natIP") 617 if ip: 618 forwarded_ports = self.GetAdbVncPortFromSSHTunnel(ip, avd_type) 644 name=name, fullname=fullname, display=display, ip=ip, status=status, [all …]
|
/tools/acloud/pull/ |
D | pull.py | 60 ssh = Ssh(ip=IP(ip=instance.ip),
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
D | socket_test_utils.py | 28 def open_android_socket(ad, domain, sock_type, ip, port): argument 41 fd_key = ad.droid.openSocket(domain, sock_type, ip, port) 112 def open_datagram_socket(ad, ip, port): argument 123 socket_key = ad.droid.openDatagramSocket(ip, port)
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiTetheringTest.py | 225 def _verify_ping(self, dut, ip, isIPv6=False): argument 236 self.log.info("Pinging %s from dut %s" % (ip, dut.serial)) 237 if isIPv6 or self._is_ipaddress_ipv6(ip): 238 return dut.droid.pingHost(ip, 5, "ping6") 239 return dut.droid.pingHost(ip) 291 for ip in ip_list: 292 ping_result = self._verify_ping(dut, ip) 294 (iface_name, ip, ping_result))
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | rpm_controller_utils.py | 133 def create_telnet_session(ip): argument 135 return RpmController(ip)
|
D | wifi_power_test_utils.py | 467 ip = '0.0.0.0' 469 ip = scapy.get_if_addr(interface_name) 470 if ip == '0.0.0.0': 474 'DHCP address assigned to %s as %s' % (interface_name, ip)) 475 return ip
|
/tools/test/connectivity/acts/tests/google/usb/ |
D | UsbTetheringFunctionsTest.py | 160 def can_ping(self, ip, extra_params='', count=10): argument 173 'ping -c {} {} {}'.format(count, extra_params, ip), 184 ip = '8.8.8.8' 187 ip, '-I {}'.format(interface), count=self.ping_count):
|
/tools/test/connectivity/acts/tests/google/net/ |
D | IpSecTest.py | 77 def _test_spi_allocate_release_req_spi(self, dut, ip): argument 79 self.log.info("IP addr: %s" % ip) 81 key = dut.droid.ipSecAllocateSecurityParameterIndex(ip, req_spi) 90 def _test_spi_allocate_release_random_spi(self, dut, ip): argument 91 self.log.info("IP addr: %s" % ip) 92 key = dut.droid.ipSecAllocateSecurityParameterIndex(ip)
|
/tools/acloud/ |
D | pylintrc | 18 good-names=e, f, logger, ip, main
|
/tools/acloud/delete/ |
D | delete.py | 201 ip=ssh_object.IP(ip=remote_host),
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceAvdInfo.java | 191 String ip = d.getString("ip"); in parseGceInfoFromString() local 196 HostAndPort.fromString(ip).withDefaultPort(remoteAdbPort), in parseGceInfoFromString()
|
/tools/acloud/create/ |
D | goldfish_local_image_local_instance.py | 215 result_report.AddDeviceBootFailure(inst.name, inst.ip, 220 result_report.AddDevice(inst.name, inst.ip, inst.adb_port,
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | CoexBaseTest.py | 218 ip = get_phone_ip(self.pri_ad) 221 self.iperf_client.start(ip, iperf_args, self.tag))
|