Home
last modified time | relevance | path

Searched refs:address_bytes (Results 1 – 4 of 4) sorted by relevance

/system/connectivity/shill/net/
Dip_address.cc165 ByteString address_bytes(GetAddressLength(family)); in GetAddressMaskFromPrefix() local
166 unsigned char* address_ptr = address_bytes.GetData(); in GetAddressMaskFromPrefix()
183 return IPAddress(family, address_bytes); in GetAddressMaskFromPrefix()
286 ByteString address_bytes(address()); in MaskWith() local
287 address_bytes.BitwiseAnd(b.address()); in MaskWith()
289 return IPAddress(family(), address_bytes); in MaskWith()
297 ByteString address_bytes(address()); in MergeWith() local
298 address_bytes.BitwiseOr(b.address()); in MergeWith()
300 return IPAddress(family(), address_bytes); in MergeWith()
/system/connectivity/shill/cellular/
Dmodem.cc173 ByteString address_bytes; in GetDeviceParams() local
175 &address_bytes)) { in GetDeviceParams()
179 *mac_address = address_bytes.HexEncode(); in GetDeviceParams()
/system/connectivity/shill/
Ddevice.cc1959 vector<uint8_t> address_bytes; in MakeHardwareAddressFromString() local
1960 base::HexStringToBytes(address_nosep, &address_bytes); in MakeHardwareAddressFromString()
1961 if (address_bytes.size() != kHardwareAddressLength) { in MakeHardwareAddressFromString()
1964 return address_bytes; in MakeHardwareAddressFromString()
1969 const vector<uint8_t>& address_bytes) { in MakeStringFromHardwareAddress() argument
1970 CHECK_EQ(kHardwareAddressLength, address_bytes.size()); in MakeStringFromHardwareAddress()
1972 address_bytes[0], address_bytes[1], address_bytes[2], in MakeStringFromHardwareAddress()
1973 address_bytes[3], address_bytes[4], address_bytes[5]); in MakeStringFromHardwareAddress()
/system/connectivity/shill/wimax/
Dwimax_provider.cc348 ByteString address_bytes; in CreateDevice() local
349 if (!device_info->GetMACAddress(index, &address_bytes)) { in CreateDevice()
354 string address = address_bytes.HexEncode(); in CreateDevice()