Searched refs:mac_address (Results 1 – 13 of 13) sorted by relevance
/system/connectivity/dhcp_client/ |
D | device_info_unittest.cc | 78 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 …]
|
D | device_info.cc | 54 ByteString* mac_address, in GetDeviceInfo() argument 82 *mac_address = ByteString(ifr.ifr_hwaddr.sa_data, IFHWADDRLEN); in GetDeviceInfo()
|
D | device_info.h | 37 shill::ByteString* mac_address,
|
/system/connectivity/shill/cellular/ |
D | modem.cc | 122 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()
|
D | modem_unittest.cc | 253 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()
|
D | modem.h | 108 virtual bool GetDeviceParams(std::string* mac_address, int* interface_index);
|
/system/connectivity/shill/ |
D | device_info_unittest.cc | 507 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 …]
|
D | device_info.cc | 474 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 …]
|
D | link_monitor_unittest.cc | 161 MATCHER_P(IsMacAddress, mac_address, "") { 162 return mac_address.Equals(arg);
|
D | device_info.h | 113 ByteString* mac_address) const; 185 ByteString mac_address; member
|
D | device.cc | 1928 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/ |
D | crypto_util.cc | 305 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/ |
D | crypto_util.proto | 66 optional bytes mac_address = 4; field
|