Home
last modified time | relevance | path

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

/system/connectivity/wificond/
Dlogging_utils.cpp31 string LoggingUtils::GetMacString(const array<uint8_t, ETH_ALEN>& mac_address) { in GetMacString() argument
33 for (const uint8_t& b : mac_address) { in GetMacString()
35 if (&b != &mac_address.back()) { in GetMacString()
Dap_interface_impl.cpp85 const array<uint8_t, ETH_ALEN>& mac_address) { in OnStationEvent() argument
88 << LoggingUtils::GetMacString(mac_address) in OnStationEvent()
93 << LoggingUtils::GetMacString(mac_address) in OnStationEvent()
Dlogging_utils.h35 static std::string GetMacString(const std::array<uint8_t, ETH_ALEN>& mac_address);
Dap_interface_impl.h68 const std::array<uint8_t, ETH_ALEN>& mac_address);
Dserver.cpp133 interface.mac_address, in createClientInterface()
205 << LoggingUtils::GetMacString(iface.mac_address) << endl; in dump()
/system/connectivity/wificond/tests/integration/
Dclient_interface_test.cpp86 vector<uint8_t> mac_address; in TEST() local
87 EXPECT_TRUE(client_interface->getMacAddress(&mac_address).isOk()); in TEST()
88 EXPECT_TRUE(mac_address.size() == 6); in TEST()
/system/connectivity/wificond/net/
Dnetlink_utils.h39 const std::array<uint8_t, ETH_ALEN>& mac_address) in InterfaceInfo()
42 mac_address(mac_address) {} in InterfaceInfo()
48 std::array<uint8_t, ETH_ALEN> mac_address; member
203 const std::array<uint8_t, ETH_ALEN>& mac_address,
Dnetlink_manager.cpp538 array<uint8_t, ETH_ALEN> mac_address; in BroadcastHandler() local
539 if (!packet->GetAttributeValue(NL80211_ATTR_MAC, &mac_address)) { in BroadcastHandler()
544 handler->second(NEW_STATION, mac_address); in BroadcastHandler()
546 handler->second(DEL_STATION, mac_address); in BroadcastHandler()
Dnetlink_manager.h119 const std::array<uint8_t, ETH_ALEN>& mac_address)> OnStationEventHandler;
Dnetlink_utils.cpp478 const array<uint8_t, ETH_ALEN>& mac_address, in GetStationInfo() argument
488 NL80211_ATTR_MAC, mac_address)); in GetStationInfo()
/system/connectivity/wificond/tests/
Dnl80211_attribute_unittest.cpp142 std::vector<uint8_t> mac_address( in TEST() local
145 NL80211Attr<std::vector<uint8_t>> byte_vector_attr(1, mac_address); in TEST()
146 EXPECT_EQ(byte_vector_attr.GetValue(), mac_address); in TEST()
Dnetlink_utils_unittest.cpp390 EXPECT_EQ(if_mac_addr, interfaces[0].mac_address); in TEST_F()
429 EXPECT_EQ(if_mac_addr, interfaces[0].mac_address); in TEST_F()
479 EXPECT_EQ(if_mac_addr_p2p, interfaces[0].mac_address); in TEST_F()
483 EXPECT_EQ(if_mac_addr, interfaces[1].mac_address); in TEST_F()