Home
last modified time | relevance | path

Searched refs:p_acl (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_addr.cc383 tACL_CONN* p_acl = btm_bda_to_acl(p_sec_rec->bd_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr() local
384 if (p_acl == NULL) in btm_ble_refresh_peer_resolvable_private_addr()
385 p_acl = btm_bda_to_acl(p_sec_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr()
387 if (p_acl != NULL) { in btm_ble_refresh_peer_resolvable_private_addr()
391 p_acl->active_remote_addr_type = p_sec_rec->ble.identity_addr_type; in btm_ble_refresh_peer_resolvable_private_addr()
392 p_acl->active_remote_addr = p_sec_rec->ble.identity_addr; in btm_ble_refresh_peer_resolvable_private_addr()
394 p_acl->active_remote_addr_type = BLE_ADDR_RANDOM; in btm_ble_refresh_peer_resolvable_private_addr()
395 p_acl->active_remote_addr = rpa; in btm_ble_refresh_peer_resolvable_private_addr()
398 p_acl->active_remote_addr_type = rra_type; in btm_ble_refresh_peer_resolvable_private_addr()
399 p_acl->active_remote_addr = rpa; in btm_ble_refresh_peer_resolvable_private_addr()
[all …]
Dbtm_ble.cc217 tACL_CONN* p_acl = btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadConnectionAddr() local
219 if (p_acl == NULL) { in BTM_ReadConnectionAddr()
223 local_conn_addr = p_acl->conn_addr; in BTM_ReadConnectionAddr()
224 *p_addr_type = p_acl->conn_addr_type; in BTM_ReadConnectionAddr()
227 p_acl->conn_addr_type, p_acl->conn_addr.address[0]); in BTM_ReadConnectionAddr()
754 tACL_CONN* p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_SetBleDataLength() local
757 if (p_acl == NULL) { in BTM_SetBleDataLength()
770 if (!HCI_LE_DATA_LEN_EXT_SUPPORTED(p_acl->peer_le_features)) { in BTM_SetBleDataLength()
783 btsnd_hcic_ble_set_data_length(p_acl->hci_handle, tx_pdu_length, tx_time); in BTM_SetBleDataLength()
824 tACL_CONN* p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_BleReadPhy() local
[all …]
Dbtm_sco.cc244 tACL_CONN* p_acl; in btm_send_connect_request() local
267 p_acl = &btm_cb.acl_db[acl_index]; in btm_send_connect_request()
268 if (!HCI_EDR_ESCO_2MPS_SUPPORTED(p_acl->peer_lmp_feature_pages[0])) { in btm_send_connect_request()
273 if (!HCI_EDR_ESCO_3MPS_SUPPORTED(p_acl->peer_lmp_feature_pages[0])) { in btm_send_connect_request()
282 if (BTM_BothEndsSupportSecureConnections(p_acl->remote_addr)) { in btm_send_connect_request()
439 tACL_CONN* p_acl; in BTM_CreateSco() local
532 p_acl = btm_bda_to_acl(*remote_bda, BT_TRANSPORT_BR_EDR); in BTM_CreateSco()
533 if (p_acl && p_acl->switch_role_state != BTM_ACL_SWKEY_STATE_IDLE) { in BTM_CreateSco()
Dbtm_pm.cc840 tACL_CONN* p_acl = NULL; in btm_pm_proc_ssr_evt() local
854 p_acl = &btm_cb.acl_db[xx]; in btm_pm_proc_ssr_evt()
863 if (p_acl) { in btm_pm_proc_ssr_evt()
864 (*btm_cb.pm_reg_db[yy].cback)(p_acl->remote_addr, BTM_PM_STS_SSR, in btm_pm_proc_ssr_evt()
Dbtm_sec.cc3944 tACL_CONN* p_acl = NULL; in btm_sec_encrypt_change() local
3989 if (acl_idx != MAX_L2CAP_LINKS) p_acl = &btm_cb.acl_db[acl_idx]; in btm_sec_encrypt_change()
3991 if (p_acl != NULL) in btm_sec_encrypt_change()
3992 btm_sec_check_pending_enc_req(p_dev_rec, p_acl->transport, encr_enable); in btm_sec_encrypt_change()
3994 if (p_acl && p_acl->transport == BT_TRANSPORT_LE) { in btm_sec_encrypt_change()
/system/bt/stack/l2cap/
Dl2c_ble.cc61 tACL_CONN* p_acl = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq() local
62 if (p_acl) { in L2CA_CancelBleConnectReq()
235 tACL_CONN* p_acl = btm_bda_to_acl(bda, BT_TRANSPORT_LE); in l2cble_notify_le_connection() local
238 if (p_lcb != NULL && p_acl != NULL && p_lcb->link_state != LST_CONNECTED) { in l2cble_notify_le_connection()
240 btm_establish_continue(p_acl); in l2cble_notify_le_connection()