Searched refs:peerid (Results 1 – 1 of 1) sorted by relevance
/system/bt/gd/security/record/ |
D | security_record_storage.cc | 51 std::array<uint8_t, 23> peerid; in SetLeData() local 52 std::copy_n(record->remote_irk->data(), record->remote_irk->size(), peerid.data()); in SetLeData() 53 peerid[16] = static_cast<uint8_t>(record->identity_address_->GetAddressType()); in SetLeData() 54 std::copy_n(record->identity_address_->GetAddress().data(), 6, peerid.data() + 17); in SetLeData() 56 common::ByteArray<23> byte_array(peerid); in SetLeData() 145 auto peerid = common::ByteArray<23>::FromString(*device.Le().GetPeerId()); in LoadSecurityRecords() local 147 std::copy_n(peerid->data(), record->remote_irk->size(), record->remote_irk->data()); in LoadSecurityRecords() 151 std::copy_n(peerid->data() + 16, 1, &idaddress_type); in LoadSecurityRecords() 152 std::copy_n(peerid->data() + 17, 6, idaddress.data()); in LoadSecurityRecords()
|