Lines Matching refs:rpa
130 static bool rpa_matches_irk(const RawAddress& rpa, const Octet16& irk) { in rpa_matches_irk() argument
133 rand[0] = rpa.address[2]; in rpa_matches_irk()
134 rand[1] = rpa.address[1]; in rpa_matches_irk()
135 rand[2] = rpa.address[0]; in rpa_matches_irk()
140 rand[0] = rpa.address[5]; in rpa_matches_irk()
141 rand[1] = rpa.address[4]; in rpa_matches_irk()
142 rand[2] = rpa.address[3]; in rpa_matches_irk()
155 bool btm_ble_addr_resolvable(const RawAddress& rpa, in btm_ble_addr_resolvable() argument
157 if (!BTM_BLE_IS_RESOLVE_BDA(rpa)) return false; in btm_ble_addr_resolvable()
163 if (rpa_matches_irk(rpa, p_dev_rec->ble.keys.irk)) { in btm_ble_addr_resolvable()
164 btm_ble_init_pseudo_addr(p_dev_rec, rpa); in btm_ble_addr_resolvable()
314 const RawAddress& rpa, in btm_ble_refresh_peer_resolvable_private_addr() argument
318 if (rpa.IsEmpty()) rra_dummy = true; in btm_ble_refresh_peer_resolvable_private_addr()
323 p_sec_rec->ble.cur_rand_addr = rpa; in btm_ble_refresh_peer_resolvable_private_addr()
352 p_acl->active_remote_addr = rpa; in btm_ble_refresh_peer_resolvable_private_addr()
356 p_acl->active_remote_addr = rpa; in btm_ble_refresh_peer_resolvable_private_addr()