Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_capture.py119 def _create_interface(self, iface, mode): argument
125 self.ssh.run('ifconfig wlan%s down' % iface[-1], ignore_status=True)
126 self.ssh.run('iw dev %s del' % iface, ignore_status=True)
128 % (iface[-1], iface, mode), ignore_status=True)
129 self.ssh.run('ip link set %s up' % iface, ignore_status=True)
130 result = self.ssh.run('iw dev %s info' % iface, ignore_status=True)
131 if result.stderr or iface not in result.stdout:
132 raise PacketCaptureError('Failed to configure interface %s' % iface)
134 def _cleanup_interface(self, iface): argument
136 self.ssh.run('iw dev %s del' % iface, ignore_status=True)
[all …]
Daccess_point.py247 for iface in self.wlan:
248 WLAN_DOWN = 'ifconfig {} down'.format(iface)
253 for iface in bridge_interfaces:
254 BRIDGE_DOWN = 'ifconfig {} down'.format(iface)
255 BRIDGE_DEL = 'brctl delbr {}'.format(iface)
531 for iface in bridge_interfaces:
532 BRIDGE_DOWN = 'ifconfig {} down'.format(iface)
533 BRIDGE_DEL = 'brctl delbr {}'.format(iface)
610 iface, argument
628 mac, interval, count, lifetime, iface, rtt)
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.py107 for iface in interfaces_phy:
108 IW_LIST_FREQ = 'iwlist %s freq' % iface
111 wlan_2g = iface
113 wlan_5g = iface
134 for iface in interfaces_eth:
135 network_status = self.check_ping(iface)
137 wan = iface
161 for iface in interfaces_eth:
162 LAN_CHECK = 'ifconfig %s' % iface
165 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/openwrt_lib/
Dwireless_config.py31 iface=NET_IFACE, argument
44 self.iface = iface
Dwireless_settings_applier.py104 (config.name, config.iface))
/tools/test/connectivity/acts_tests/tests/google/net/
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)
Dsendra.py9 def send(dstmac, interval, count, lifetime, iface, rtt): argument
25 scapy.sendp(ra, iface=iface)
DUsbTetheringTest.py53 self.iface = nutils.wait_for_new_iface(iflist_before)
54 self.real_hwaddr = get_if_raw_hwaddr(self.iface)
DSocketKeepaliveTest.py110 iface = link_prop["InterfaceName"]
111 self.log.info("Iface: %s" % iface)
112 self.dut_ip = self.dut.droid.connectivityGetIPv4Addresses(iface)[0]
/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibilityCheck.kt232 for (iface in old.interfaceTypes()) { in compare() constant
233 val qualifiedName = iface.asClass()?.qualifiedName() ?: continue in compare()
236 … Issues.REMOVED_INTERFACE, new, "${describe(old, capitalize = true)} no longer implements $iface" in compare()
241 for (iface in new.filteredInterfaceTypes(filterReference)) { in compare() constant
242 val qualifiedName = iface.asClass()?.qualifiedName() ?: continue in compare()
245 Issues.ADDED_INTERFACE, new, "Added interface $iface to class ${describe(old)}" in compare()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt104 fun mapClassToInterface(classInfo: TextClassItem, iface: String) { in mapClassToInterface()
108 mClassToInterface[classInfo]?.add(iface) in mapClassToInterface()
111 fun implementsInterface(classInfo: TextClassItem, iface: String): Boolean { in implementsInterface()
112 return mClassToInterface[classInfo]?.contains(iface) ?: false in implementsInterface()
/tools/platform-compat/java/android/compat/testing/
DClasspaths.java33 import org.jf.dexlib2.iface.ClassDef;
34 import org.jf.dexlib2.iface.MultiDexContainer;
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
DWifiBaseTest.py753 for iface in phy_ifaces:
754 if '2g_' in iface or '5g_' in iface or 'xg_' in iface: