Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DMacRandomTest.py70 mac = ident_event["data"]["mac"]
71 dut.log.info("NMI=%s", mac)
72 if mac in mac_addresses:
73 mac_addresses[mac] = mac_addresses[mac] + 1
75 mac_addresses[mac] = 1
92 for mac in mac_addresses.keys():
93 if mac_addresses[mac] != 1:
95 (mac, mac_addresses[mac], mac_addresses))
DMacRandomNoLeakageTest.py74 for i, mac in enumerate(factory_mac_addresses):
75 wutils.verify_mac_not_found_in_pcap(ads[i], mac, pcaps)
78 for i, mac in enumerate(mac_addresses):
79 wutils.verify_mac_is_found_in_pcap(ads[i], mac, pcaps)
81 def transfer_mac_format(self, mac): argument
88 return re.sub(r"(?<=\w)(?=(?:\w\w)+$)", ":", mac.lower())
101 mac = self.transfer_mac_format(event["data"]["mac"])
102 dut.log.info("NMI=%s", mac)
114 aware_session = {"awareId": aware_id, "discId": disc_id, "mac": mac}
/tools/test/connectivity/acts/tests/google/wifi/aware/ota/
DServiceIdsTest.py74 mac = ident_event["data"]["mac"]
75 self.log.info("Source MAC Address of 'interesting' packets = %s", mac)
77 mac[0:2], mac[2:4], mac[4:6], mac[6:8], mac[8:10],
78 mac[10:12])
/tools/test/connectivity/acts/tests/google/wifi/
DWifiConnectedMacRandomizationTest.py120 def is_valid_randomized_mac_address(self, mac): argument
127 mac != self.dut_factory_mac,
129 first_byte = int(mac[:2], 16)
168 mac = self.get_current_mac_address(self.dut)
169 self.is_valid_randomized_mac_address(mac)
176 mac = self.get_current_mac_address(self.dut)
177 self.is_valid_randomized_mac_address(mac)
251 mac = self.get_current_mac_address(self.dut)
254 self.is_valid_randomized_mac_address(mac)
255 log = self.dut_softap.adb.shell(LOG_GREP.format(mac))
DWifiDppTest.py234 def gen_uri(self, device, info="DPP_TESTER", chan="81/1", mac=None): argument
253 if mac:
254 cmd += " mac=%s" % mac
507 mac = autils.get_mac_addr(self.helper_dev, "wlan0")
509 mac = None
516 uri_id = self.gen_uri(self.helper_dev, chan=responder_chan, mac=mac)
647 mac = autils.get_mac_addr(self.helper_dev, "wlan0")
649 mac = None
652 uri_id = self.gen_uri(self.helper_dev, mac=mac)
DWifiMacRandomizationTest.py239 def verify_mac_not_found_in_pcap(self, mac, packets): argument
242 if mac in pkt.summary():
247 def verify_mac_is_found_in_pcap(self, mac, packets): argument
250 if mac in pkt.summary():
253 "for device %s" % (mac, self.dut))
DWifiAutoUpdateTest.py327 for ssid, mac in self.pst_random_mac.items():
329 self.pre_random_mac[ssid] == mac,
331 (ssid, mac, self.pre_random_mac[ssid]))
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/rtt/
Drtt_test_utils.py238 def validate_aware_mac_result(range_result, mac, description): argument
250 mac1 = mac.replace(':', '').lower()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_power_test_utils.py410 mac = ad.droid.wifiGetConnectionInfo()["mac_address"]
412 return mac
Dwifi_test_utils.py2367 def verify_mac_not_found_in_pcap(ad, mac, packets): argument
2377 if mac in pkt.summary():
2379 "Packet = %s" % (ad.serial, mac, pkt.show()))
2381 def verify_mac_is_found_in_pcap(ad, mac, packets): argument
2390 if mac in pkt.summary():
2393 "for device %s" % (mac, ad.serial))
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py542 mac=RA_MULTICAST_ADDR, argument
559 mac, interval, count, lifetime, iface, rtt)
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
Daware_test_utils.py749 mac = event["data"]["mac"]
751 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.