Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 18 of 18) sorted by relevance

/tools/test/connectivity/acts_tests/tests/google/net/
DUsbTetheringTest.py44 self.iface = nutils.wait_for_new_iface(iflist_before)
66 resp = sr1(icmp, timeout=2, iface=self.iface)
81 resp = sr1(icmpv6, timeout=2, iface=self.iface)
98 resp = sr1(dnsqr, timeout=2, iface=self.iface)
113 resp = sr1(tcp, timeout=2, iface=self.iface)
128 resp = sr1(tcp_ipv6, timeout=2, iface=self.iface)
144 / TCP(dport=80, flags="S"), timeout=2, iface=self.iface)
148 resp = sr1(req, timeout=2, iface=self.iface)
171 self.real_hwaddr = get_if_raw_hwaddr(self.iface)
Dsendra.py9 def send(dstmac, interval, count, lifetime, iface, rtt): argument
25 scapy.sendp(ra, iface=iface)
DDhcpServerTest.py48 self.iface = self._wait_for_new_iface(iflist_before)
49 self.real_hwaddr = get_if_raw_hwaddr(self.iface)
65 conf.route.add(host=self.server_addr, dev=self.iface, gw="0.0.0.0")
140 sniff(iface=self.iface, filter='arp', prn=self._handle_arp, store=0,
154 iface=self.iface, verbose=False)
888 resp = srp1(packet, iface=self.iface, timeout=10, verbose=False)
898 sendp(packet, iface=self.iface, verbose=False)
DSocketKeepaliveTest.py110 iface = link_prop["InterfaceName"]
111 self.log.info("Iface: %s" % iface)
112 self.dut_ip = self.dut.droid.connectivityGetIPv4Addresses(iface)[0]
/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_capture.py120 def _create_interface(self, iface, mode): argument
126 self.ssh.run('ifconfig wlan%s down' % iface[-1],
128 self.ssh.run('iw dev %s del' % iface, ignore_status=True)
130 (iface[-1], iface, mode),
132 self.ssh.run('ip link set %s up' % iface, ignore_status=True)
133 result = self.ssh.run('iw dev %s info' % iface, ignore_status=True)
134 if result.stderr or iface not in result.stdout:
136 iface)
138 def _cleanup_interface(self, iface): argument
140 self.ssh.run('iw dev %s del' % iface, ignore_status=True)
[all …]
Dopenwrt_ap.py350 def enable_80211r(self, iface, md): argument
365 if iface == OpenWrtWifiSetting.IFACE_2G:
370 elif iface == OpenWrtWifiSetting.IFACE_5G:
378 "uci set wireless.@wifi-iface[{}].ieee80211r='1'".format(iface))
381 .format(iface))
384 .format(iface, md))
391 "uci get wireless.@wifi-iface[{}].ieee80211r".format(iface)).stdout
Daccess_point.py280 for iface in self.wlan:
286 for iface in bridge_interfaces:
623 for iface in bridge_interfaces:
699 iface, argument
Dpacket_sender.py129 scapy.sendp(self.packet, iface=self.interface, verbose=0)
180 scapy.sendp(packet, iface=self.interface, verbose=0)
202 packet, iface=self.interface, timeout=interval, verbose=0)
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dap_get_interface.py109 for iface in interfaces_phy:
110 IW_LIST_FREQ = 'iwlist %s freq' % iface
113 wlan_2g = iface
115 wlan_5g = iface
140 for iface in interfaces_eth:
141 network_status = self.check_ping(iface)
143 wan = iface
167 for iface in interfaces_eth:
168 LAN_CHECK = 'ifconfig %s' % iface
171 lan = iface
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiScannerTests.config4 …"radio0": {"settings": {"channel": 1}, "wifi-iface" : [{"ssid": "Test_1", "key": "hahahaha", "encr…
6 …"radio1": {"settings": {"channel": 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "en…
10 …"radio0": {"settings": {"channel": 6}, "wifi-iface" : [{"ssid": "Test_6", "key": "hahahaha", "encr…
12 …"radio1": {"settings": {"channel": 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "en…
16 …"radio0": {"settings": {"channel": 10}, "wifi-iface" : [{"ssid": "Test_10", "key": "hahahaha", "en…
18 …"radio1": {"settings": {"channel": 44}, "wifi-iface" : [{"ssid": "Test_44", "key": "hahahaha", "en…
22 …"radio0": {"settings": {"channel": 11}, "wifi-iface" : [{"ssid": "Test_11", "key": "hahahaha", "en…
24 …"radio1": {"settings": {"channel": 149}, "wifi-iface" : [{"ssid": "Test_149", "key": "hahahaha", "…
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/
Dwlan_controller.py113 for iface in net_ifaces:
116 iface_mac = utils.mac_address_list_to_str(iface['mac'])
121 wlan_ifaces_by_mac[iface_mac]['netstack_id'] = iface['id']
126 iface['name']] = wlan_ifaces_by_mac[iface_mac]
/tools/test/connectivity/acts/framework/acts/controllers/openwrt_lib/
Dwireless_config.py31 iface=NET_IFACE, argument
44 self.iface = iface
Dwireless_settings_applier.py111 (config.name, config.iface))
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt103 fun mapClassToInterface(classInfo: TextClassItem, iface: String) { in mapClassToInterface()
108 if (!it.contains(iface)) it.add(iface) in mapClassToInterface()
112 fun implementsInterface(classInfo: TextClassItem, iface: String): Boolean { in implementsInterface()
113 return mClassToInterface[classInfo]?.contains(iface) ?: false in implementsInterface()
/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibilityCheck.kt234 for (iface in old.interfaceTypes()) { in compare() constant
235 val qualifiedName = iface.asClass()?.qualifiedName() ?: continue in compare()
238 … Issues.REMOVED_INTERFACE, new, "${describe(old, capitalize = true)} no longer implements $iface" in compare()
243 for (iface in new.filteredInterfaceTypes(filterReference)) { in compare() constant
244 val qualifiedName = iface.asClass()?.qualifiedName() ?: continue in compare()
247 Issues.ADDED_INTERFACE, new, "Added interface $iface to class ${describe(old)}" in compare()
/tools/platform-compat/java/android/compat/testing/
DClasspaths.java43 import org.jf.dexlib2.iface.ClassDef;
44 import org.jf.dexlib2.iface.MultiDexContainer;
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
DWifiBaseTest.py817 for iface in phy_ifaces:
818 if '2g_' in iface or '5g_' in iface or 'xg_' in iface:
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dnet_test_utils.py613 def enable_iface(iface): argument
624 result = job.run("sudo ifconfig %s up" % (iface), ignore_status=True)