Home
last modified time | relevance | path

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

/system/connectivity/dhcp_client/
Ddevice_info_unittest.cc78 ByteString mac_address; in TEST_F() local
91 &mac_address, in TEST_F()
95 ElementsAreArray(mac_address.GetConstData(), in TEST_F()
100 ByteString mac_address; in TEST_F() local
103 &mac_address, in TEST_F()
108 ByteString mac_address; in TEST_F() local
112 &mac_address, in TEST_F()
117 ByteString mac_address; in TEST_F() local
123 &mac_address, in TEST_F()
128 ByteString mac_address; in TEST_F() local
[all …]
Ddevice_info.cc54 ByteString* mac_address, in GetDeviceInfo() argument
82 *mac_address = ByteString(ifr.ifr_hwaddr.sa_data, IFHWADDRLEN); in GetDeviceInfo()
Ddevice_info.h37 shill::ByteString* mac_address,
/system/connectivity/shill/cellular/
Dmodem.cc122 string mac_address; in CreateDeviceFromModemProperties() local
125 GetDeviceParams(&mac_address, &interface_index); in CreateDeviceFromModemProperties()
130 if (mac_address.empty()) { in CreateDeviceFromModemProperties()
144 mac_address = kFakeDevAddress; in CreateDeviceFromModemProperties()
154 device_ = ConstructCellular(link_name_, mac_address, interface_index); in CreateDeviceFromModemProperties()
165 bool Modem::GetDeviceParams(string* mac_address, int* interface_index) { in GetDeviceParams() argument
179 *mac_address = address_bytes.HexEncode(); in GetDeviceParams()
Dmodem_unittest.cc253 string mac_address; in TEST_F() local
258 EXPECT_FALSE(modem_->GetDeviceParams(&mac_address, &interface_index)); in TEST_F()
264 EXPECT_FALSE(modem_->GetDeviceParams(&mac_address, &interface_index)); in TEST_F()
269 EXPECT_FALSE(modem_->GetDeviceParams(&mac_address, &interface_index)); in TEST_F()
276 EXPECT_TRUE(modem_->GetDeviceParams(&mac_address, &interface_index)); in TEST_F()
278 EXPECT_EQ(kAddressAsString, mac_address); in TEST_F()
Dmodem.h108 virtual bool GetDeviceParams(std::string* mac_address, int* interface_index);
/system/connectivity/shill/
Ddevice_info_unittest.cc507 device_info_.infos_[kTestDeviceIndex].mac_address = in TEST_F()
513 EXPECT_TRUE(device_info_.infos_[kTestDeviceIndex].mac_address.IsEmpty()); in TEST_F()
1035 ByteString mac_address = in TEST_F() local
1037 EXPECT_TRUE(mac_address.IsEmpty()); in TEST_F()
1048 ByteString mac_address = in TEST_F() local
1050 EXPECT_TRUE(mac_address.IsEmpty()); in TEST_F()
1067 ByteString mac_address = in TEST_F() local
1069 EXPECT_TRUE(mac_address.IsEmpty()); in TEST_F()
1103 ByteString mac_address = in TEST_F() local
1106 ElementsAreArray(mac_address.GetData(), sizeof(kMacAddress))); in TEST_F()
[all …]
Ddevice_info.cc474 infos_[interface_index].mac_address.Clear(); in CreateDevice()
515 infos_[interface_index].mac_address.Clear(); in CreateDevice()
664 infos_[dev_index].mac_address = msg.GetAttribute(IFLA_ADDRESS); in AddLinkMsgHandler()
666 base::ToLowerASCII(infos_[dev_index].mac_address.HexEncode()); in AddLinkMsgHandler()
668 << infos_[dev_index].mac_address.HexEncode(); in AddLinkMsgHandler()
716 if (!info->mac_address.IsEmpty()) { in GetMACAddress()
717 *address = info->mac_address; in GetMACAddress()
754 ByteString* mac_address) const { in GetMACAddressOfPeer()
802 CHECK(mac_address); in GetMACAddressOfPeer()
803 *mac_address = peer_address; in GetMACAddressOfPeer()
[all …]
Dlink_monitor_unittest.cc161 MATCHER_P(IsMacAddress, mac_address, "") {
162 return mac_address.Equals(arg);
Ddevice_info.h113 ByteString* mac_address) const;
185 ByteString mac_address; member
Ddevice.cc1928 ByteString mac_address; in ResolvePeerMacAddress() local
1931 &mac_address)) { in ResolvePeerMacAddress()
1933 vector<uint8_t>(mac_address.GetConstData(), in ResolvePeerMacAddress()
1934 mac_address.GetConstData() + in ResolvePeerMacAddress()
1935 mac_address.GetLength())); in ResolvePeerMacAddress()
/system/connectivity/shill/shims/
Dcrypto_util.cc305 for (size_t i = 0; i < message.mac_address().length(); ++i) { in VerifyCredentials()
306 const char c = message.mac_address()[i]; in VerifyCredentials()
/system/connectivity/shill/shims/protos/
Dcrypto_util.proto66 optional bytes mac_address = 4; field