Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 12 of 12) sorted by relevance

/tools/acloud/public/
Davd.py41 def __init__(self, instance_name, ip=None): argument
48 self._ip = ip
52 def ip(self): member in AndroidVirtualDevice
58 @ip.setter
59 def ip(self, value): member in AndroidVirtualDevice
Ddevice_driver.py222 ip = self._compute_client.GetInstanceIP(instance)
224 ip=ip, instance_name=instance))
405 device_dict = {"ip": device.ip,
/tools/test/connectivity/acts/framework/acts/controllers/
Dchameleon_controller.py87 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)
Daccess_point.py29 from acts.controllers.utils_lib.commands import ip
128 self._ip_cmd = ip.LinuxIpCommand(self.ssh)
/tools/test/connectivity/tools/lab/metrics/
Dnetwork_metric.py59 for ip in ips:
62 self.PING_COMMAND.format(ip), ignore_status=True).exit_status
63 ip_dict[ip] = stat == 0
/tools/test/connectivity/acts/tests/google/wifi/
DWifiTetheringTest.py217 def _verify_ping(self, dut, ip, isIPv6=False): argument
228 self.log.info("Pinging %s from dut %s" % (ip, dut.serial))
229 if isIPv6 or self._is_ipaddress_ipv6(ip):
230 return dut.droid.pingHost(ip, 5, "ping6")
231 return dut.droid.pingHost(ip)
283 for ip in ip_list:
284 ping_result = self._verify_ping(dut, ip)
286 (iface_name, ip, ping_result))
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_power_test_utils.py439 ip = '0.0.0.0'
440 while ip == '0.0.0.0':
441 ip = scapy.get_if_addr(intf)
442 log.info('DHCP address assigned to {} as {}'.format(intf, ip))
443 return ip
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiHelper.java311 final String ip = getIpAddress(); in hasValidIp() local
312 return ip != null && !ip.isEmpty() && !NULL_IP_ADDR.equals(ip); in hasValidIp()
/tools/test/connectivity/acts/tests/google/net/
DIpSecTest.py83 def _test_spi_allocate_release_req_spi(self, dut, ip): argument
85 self.log.info("IP addr: %s" % ip)
87 key = dut.droid.ipSecAllocateSecurityParameterIndex(ip, req_spi)
96 def _test_spi_allocate_release_random_spi(self, dut, ip): argument
97 self.log.info("IP addr: %s" % ip)
98 key = dut.droid.ipSecAllocateSecurityParameterIndex(ip)
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
DCoexBaseTest.py191 ip = get_phone_ip(self.pri_ad)
192 iperf_client = IPerfClient(server_port, ip, self.pri_ad.log_path)
/tools/acloud/internal/lib/
Dgcompute_client.py939 ip = instance["networkInterfaces"][0]["accessConfigs"][0][
941 if ip in ips:
942 ip_name_map[ip] = instance["name"]
/tools/test/connectivity/acts/tests/google/power/tel/lab/
DPowerTelTest.py139 self.ip = scapy.get_if_addr(self.user_params.get("interface", "eno1"))
140 self.log.info("Dest IP is %s", self.ip)
257 self.ad, self.ip, iperf_args)