Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DMacRandomTest.py73 mac = ident_event["data"]["mac"]
74 dut.log.info("NMI=%s", mac)
75 if mac in mac_addresses:
76 mac_addresses[mac] = mac_addresses[mac] + 1
78 mac_addresses[mac] = 1
95 for mac in mac_addresses.keys():
96 if mac_addresses[mac] != 1:
98 (mac, mac_addresses[mac], mac_addresses))
DMacRandomNoLeakageTest.py75 for mac in factory_mac_addresses:
76 wutils.verify_mac_not_found_in_pcap(mac, pcaps)
79 for mac in mac_addresses:
80 wutils.verify_mac_is_found_in_pcap(mac, pcaps)
82 def transfer_mac_format(self, mac): argument
89 return re.sub(r"(?<=\w)(?=(?:\w\w)+$)", ":", mac.lower())
102 mac = self.transfer_mac_format(event["data"]["mac"])
103 dut.log.info("NMI=%s", mac)
115 aware_session = {"awareId": aware_id, "discId": disc_id, "mac": mac}
/tools/test/connectivity/acts/tests/google/wifi/aware/ota/
DServiceIdsTest.py77 mac = ident_event["data"]["mac"]
78 self.log.info("Source MAC Address of 'interesting' packets = %s", mac)
80 mac[0:2], mac[2:4], mac[4:6], mac[6:8], mac[8:10],
81 mac[10:12])
/tools/test/connectivity/acts/tests/google/wifi/
DWifiConnectedMacRandomizationTest.py121 def is_valid_randomized_mac_address(self, mac): argument
128 mac != self.dut_factory_mac,
130 first_byte = int(mac[:2], 16)
169 mac = self.get_current_mac_address(self.dut)
170 self.is_valid_randomized_mac_address(mac)
177 mac = self.get_current_mac_address(self.dut)
178 self.is_valid_randomized_mac_address(mac)
252 mac = self.get_current_mac_address(self.dut)
255 self.is_valid_randomized_mac_address(mac)
256 log = self.dut_softap.adb.shell(LOG_GREP.format(mac))
DWifiDppTest.py161 def gen_uri(self, device, info="DPP_TESTER", chan="81/1", mac=None): argument
180 if mac:
181 cmd += " mac=%s" % mac
418 mac = autils.get_mac_addr(self.helper_dev, "wlan0")
420 mac = None
427 uri_id = self.gen_uri(self.helper_dev, chan=responder_chan, mac=mac)
535 mac = autils.get_mac_addr(self.helper_dev, "wlan0")
537 mac = None
540 uri_id = self.gen_uri(self.helper_dev, mac=mac)
DWifiMacRandomizationTest.py241 def verify_mac_not_found_in_pcap(self, mac, packets): argument
244 if mac in pkt.summary():
248 def verify_mac_is_found_in_pcap(self, mac, packets): argument
251 if mac in pkt.summary():
254 % mac)
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_test_utils.py2060 def verify_mac_not_found_in_pcap(mac, packets): argument
2069 if mac in pkt.summary():
2071 "Packet = %s" % (mac, pkt.show()))
2073 def verify_mac_is_found_in_pcap(mac, packets): argument
2081 if mac in pkt.summary():
2083 asserts.fail("Did not find MAC = %s in packet sniffer." % mac)
Dwifi_power_test_utils.py399 mac = ad.droid.wifiGetConnectionInfo()["mac_address"]
401 return mac
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/rtt/
Drtt_test_utils.py232 def validate_aware_mac_result(range_result, mac, description): argument
244 mac1 = mac.replace(':', '').lower()
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py436 def send_ra(self, iface, mac=RA_MULTICAST_ADDR, interval=1, count=None, argument
450 mac, interval, count, lifetime, iface, rtt)
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
Daware_test_utils.py727 mac = event["data"]["mac"]
729 return id, mac
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DSM_PTS_INSTRUCTIONS215 8. More testcases will pass until the next mac address rotation.