Searched refs:peerid (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Bluetooth/system/gd/security/record/ |
D | security_record_storage.cc | 55 std::array<uint8_t, 23> peerid; in SetLeData() local 56 std::copy_n(record->remote_irk->data(), record->remote_irk->size(), peerid.data()); in SetLeData() 57 peerid[16] = static_cast<uint8_t>(record->identity_address_->GetAddressType()); in SetLeData() 58 std::copy_n(record->identity_address_->GetAddress().data(), 6, peerid.data() + 17); in SetLeData() 60 common::ByteArray<23> byte_array(peerid); in SetLeData() 152 auto peerid = common::ByteArray<23>::FromString(*device.Le().GetPeerId()); in LoadSecurityRecords() local 154 std::copy_n(peerid->data(), record->remote_irk->size(), record->remote_irk->data()); in LoadSecurityRecords() 158 std::copy_n(peerid->data() + 16, 1, &idaddress_type); in LoadSecurityRecords() 159 std::copy_n(peerid->data() + 17, 6, idaddress.data()); in LoadSecurityRecords()
|