Lines Matching refs:rpa
173 static bool rpa_matches_irk(const RawAddress& rpa, const Octet16& irk) { in rpa_matches_irk() argument
176 rand[0] = rpa.address[2]; in rpa_matches_irk()
177 rand[1] = rpa.address[1]; in rpa_matches_irk()
178 rand[2] = rpa.address[0]; in rpa_matches_irk()
183 rand[0] = rpa.address[5]; in rpa_matches_irk()
184 rand[1] = rpa.address[4]; in rpa_matches_irk()
185 rand[2] = rpa.address[3]; in rpa_matches_irk()
198 bool btm_ble_addr_resolvable(const RawAddress& rpa, in btm_ble_addr_resolvable() argument
200 if (!BTM_BLE_IS_RESOLVE_BDA(rpa)) return false; in btm_ble_addr_resolvable()
206 if (rpa_matches_irk(rpa, p_dev_rec->ble.keys.irk)) { in btm_ble_addr_resolvable()
207 btm_ble_init_pseudo_addr(p_dev_rec, rpa); in btm_ble_addr_resolvable()
357 const RawAddress& rpa, in btm_ble_refresh_peer_resolvable_private_addr() argument
361 if (rpa.IsEmpty()) rra_dummy = true; in btm_ble_refresh_peer_resolvable_private_addr()
366 p_sec_rec->ble.cur_rand_addr = rpa; in btm_ble_refresh_peer_resolvable_private_addr()
395 p_acl->active_remote_addr = rpa; in btm_ble_refresh_peer_resolvable_private_addr()
399 p_acl->active_remote_addr = rpa; in btm_ble_refresh_peer_resolvable_private_addr()