Searched refs:mac_address (Results 1 - 12 of 12) sorted by path
/system/connectivity/dhcp_client/ |
H A D | device_info.cc | 54 ByteString* mac_address, 82 *mac_address = ByteString(ifr.ifr_hwaddr.sa_data, IFHWADDRLEN); 53 GetDeviceInfo(const std::string& interface_name, ByteString* mac_address, unsigned int* interface_index ) argument
|
H A D | device_info.h | 37 shill::ByteString* mac_address,
|
H A D | device_info_unittest.cc | 78 ByteString mac_address; local 91 &mac_address, 95 ElementsAreArray(mac_address.GetConstData(), 100 ByteString mac_address; local 103 &mac_address, 108 ByteString mac_address; local 112 &mac_address, 117 ByteString mac_address; local 123 &mac_address, 128 ByteString mac_address; local [all...] |
/system/connectivity/shill/cellular/ |
H A D | modem.cc | 122 string mac_address; local 125 GetDeviceParams(&mac_address, &interface_index); 130 if (mac_address.empty()) { 144 mac_address = kFakeDevAddress; 154 device_ = ConstructCellular(link_name_, mac_address, interface_index); 165 bool Modem::GetDeviceParams(string* mac_address, int* interface_index) { argument 179 *mac_address = address_bytes.HexEncode();
|
H A D | modem.h | 104 // Find the |mac_address| and |interface_index| for the kernel 106 // |mac_address| and |interface_index| were found. Modifies 108 virtual bool GetDeviceParams(std::string* mac_address, int* interface_index);
|
H A D | modem_unittest.cc | 253 string mac_address; local 258 EXPECT_FALSE(modem_->GetDeviceParams(&mac_address, &interface_index)); 264 EXPECT_FALSE(modem_->GetDeviceParams(&mac_address, &interface_index)); 269 EXPECT_FALSE(modem_->GetDeviceParams(&mac_address, &interface_index)); 276 EXPECT_TRUE(modem_->GetDeviceParams(&mac_address, &interface_index)); 278 EXPECT_EQ(kAddressAsString, mac_address);
|
/system/connectivity/shill/ |
H A D | device.cc | 1928 ByteString mac_address; local 1931 &mac_address)) { 1933 vector<uint8_t>(mac_address.GetConstData(), 1934 mac_address.GetConstData() + 1935 mac_address.GetLength()));
|
H A D | device_info.cc | 474 infos_[interface_index].mac_address.Clear(); 515 infos_[interface_index].mac_address.Clear(); 664 infos_[dev_index].mac_address = msg.GetAttribute(IFLA_ADDRESS); 666 base::ToLowerASCII(infos_[dev_index].mac_address.HexEncode()); 668 << infos_[dev_index].mac_address.HexEncode(); 714 // |mac_address| from RTNL is not used for some devices, in which case it will 716 if (!info->mac_address.IsEmpty()) { 717 *address = info->mac_address; 754 ByteString* mac_address) const { 802 CHECK(mac_address); [all...] |
H A D | device_info.h | 109 // Returns true and populates |mac_address| on success, otherwise returns 113 ByteString* mac_address) const; 185 ByteString mac_address; member in struct:shill::DeviceInfo::Info
|
H A D | device_info_unittest.cc | 507 device_info_.infos_[kTestDeviceIndex].mac_address = 513 EXPECT_TRUE(device_info_.infos_[kTestDeviceIndex].mac_address.IsEmpty()); 1035 ByteString mac_address = local 1037 EXPECT_TRUE(mac_address.IsEmpty()); 1048 ByteString mac_address = local 1050 EXPECT_TRUE(mac_address.IsEmpty()); 1067 ByteString mac_address = local 1069 EXPECT_TRUE(mac_address.IsEmpty()); 1103 ByteString mac_address = local 1106 ElementsAreArray(mac_address 1114 ByteString mac_address; local 1131 ByteString mac_address; local 1151 ByteString mac_address; local 1168 ByteString mac_address; local 1226 ByteString mac_address; local [all...] |
H A D | link_monitor_unittest.cc | 161 MATCHER_P(IsMacAddress, mac_address, "") { 162 return mac_address.Equals(arg);
|
/system/connectivity/shill/shims/ |
H A D | crypto_util.cc | 305 for (size_t i = 0; i < message.mac_address().length(); ++i) { 306 const char c = message.mac_address()[i];
|
Completed in 131 milliseconds