Lines Matching refs:bda
108 bool maybe_resolve_address(RawAddress* bda, tBLE_ADDR_TYPE* bda_type) { in maybe_resolve_address() argument
112 (peer_addr_type == BLE_ADDR_RANDOM && BTM_BLE_IS_RESOLVE_BDA(*bda)); in maybe_resolve_address()
120 is_in_security_db = btm_identity_addr_to_random_pseudo(bda, bda_type, true); in maybe_resolve_address()
126 tBTM_SEC_DEV_REC* match_rec = btm_ble_resolve_random_addr(*bda); in maybe_resolve_address()
131 match_rec->ble.cur_rand_addr = *bda; in maybe_resolve_address()
132 if (!btm_ble_init_pseudo_addr(match_rec, *bda)) { in maybe_resolve_address()
134 *bda = match_rec->ble.pseudo_addr; in maybe_resolve_address()
137 *bda = match_rec->bd_addr; in maybe_resolve_address()
153 RawAddress bda; in btm_ble_conn_complete() local
160 STREAM_TO_BDADDR(bda, p); in btm_ble_conn_complete()
176 bool is_in_security_db = maybe_resolve_address(&bda, &bda_type); in btm_ble_conn_complete()
180 &bda, handle, android::bluetooth::DIRECTION_UNKNOWN, in btm_ble_conn_complete()
185 tBLE_BD_ADDR address_with_type{.bda = bda, .type = bda_type}; in btm_ble_conn_complete()
199 &bda, handle, android::bluetooth::DIRECTION_UNKNOWN, in btm_ble_conn_complete()
204 tBLE_BD_ADDR address_with_type{.bda = bda, .type = bda_type}; in btm_ble_conn_complete()