Home
last modified time | relevance | path

Searched refs:BT_TRANSPORT_LE (Results 1 – 25 of 45) sorted by relevance

12

/aosp12/system/bt/stack/l2cap/
H A Dl2c_ble.cc84 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
87 if (!p_lcb || !BTM_IsAclConnectionUp(rem_bda, BT_TRANSPORT_LE)) { in L2CA_UpdateBleConnParams()
92 if (p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_UpdateBleConnParams()
136 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_EnableUpdateBleConnParams()
147 if (p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_EnableUpdateBleConnParams()
191 if (BTM_IsAclConnectionUp(bda, BT_TRANSPORT_LE) && in l2cble_notify_le_connection()
195 btm_establish_continue_from_address(bda, BT_TRANSPORT_LE); in l2cble_notify_le_connection()
222 p_lcb = l2cu_allocate_lcb(bda, false, BT_TRANSPORT_LE); in l2cble_conn_comp()
252 p_lcb->transport = BT_TRANSPORT_LE; in l2cble_conn_comp()
1130 if (p_lcb->in_use && p_lcb->transport == BT_TRANSPORT_LE) { in l2c_ble_link_adjust_allocation()
[all …]
H A Dl2c_link.cc357 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_hci_disc_comp()
396 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp()
427 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp()
885 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_check_send_pkts()
921 (p_lcb->transport == BT_TRANSPORT_LE && in l2c_link_check_send_pkts()
965 (p_lcb->transport == BT_TRANSPORT_LE)) in l2c_link_check_send_pkts()
1204 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_process_num_completed_pkts()
1233 if ((p_lcb->transport == BT_TRANSPORT_LE) && in l2c_link_process_num_completed_pkts()
1242 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_process_num_completed_pkts()
1276 case BT_TRANSPORT_LE: in l2c_packets_completed()
[all …]
H A Dl2c_api.cc47 return BT_TRANSPORT_LE; in l2c_get_transport_from_fixed_cid()
468 if (!p_lcb->in_use || p_lcb->transport != BT_TRANSPORT_LE) continue; in L2CA_DeregisterLECoc()
529 p_lcb = l2cu_allocate_lcb(p_bd_addr, false, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq()
559 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in L2CA_ConnectLECocReq()
1173 transport = BT_TRANSPORT_LE; in L2CA_ConnectFixedChnl()
1183 if (transport == BT_TRANSPORT_LE) in L2CA_ConnectFixedChnl()
1233 if (transport == BT_TRANSPORT_LE) { in L2CA_ConnectFixedChnl()
1271 transport = BT_TRANSPORT_LE; in L2CA_SendFixedChnlData()
1299 if (transport == BT_TRANSPORT_LE) in L2CA_SendFixedChnlData()
1387 transport = BT_TRANSPORT_LE; in L2CA_RemoveFixedChnl()
[all …]
H A Dl2c_csm.cc201 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_closed()
224 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_closed()
273 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_closed()
368 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_orig_w4_sec_comp()
382 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_orig_w4_sec_comp()
520 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_term_w4_sec_comp()
609 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_w4_l2cap_connect_rsp()
782 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_w4_l2ca_connect_rsp()
833 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_w4_l2ca_connect_rsp()
1234 if (p_ccb->p_lcb->transport != BT_TRANSPORT_LE) { in l2c_csm_open()
[all …]
H A Dl2c_utils.cc86 if (transport == BT_TRANSPORT_LE) { in l2cu_allocate_lcb()
165 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_release_lcb()
203 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_release_lcb()
307 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_build_header()
317 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_build_header()
1103 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_send_peer_info_rsp()
1585 if (p_lcb->transport == BT_TRANSPORT_LE && in l2cu_release_ccb()
1596 if (p_lcb->transport == BT_TRANSPORT_LE && in l2cu_release_ccb()
2045 p_lcb->transport = BT_TRANSPORT_LE; in l2cu_create_conn_le()
2581 if (p_lcb->transport == BT_TRANSPORT_LE) p_lcb->peer_chnl_mask[0] = 0; in l2cu_process_fixed_disc_cback()
[all …]
H A Dl2c_main.cc141 if (p_lcb && p_lcb->transport == BT_TRANSPORT_LE && in l2c_rcv_acl_data()
217 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_rcv_acl_data()
260 if (p_lcb->transport == BT_TRANSPORT_LE) { in process_l2cap_cmd()
1014 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_data_write()
/aosp12/system/bt/stack/gap/
H A Dgap_conn.cc204 if (transport == BT_TRANSPORT_LE) { in GAP_ConnOpen()
250 if (transport == BT_TRANSPORT_LE) { in GAP_ConnOpen()
287 if (p_rem_bda && (transport == BT_TRANSPORT_LE)) { in GAP_ConnOpen()
321 if (p_ccb->transport == BT_TRANSPORT_LE) { in GAP_ConnClose()
439 if (p_ccb->transport == BT_TRANSPORT_LE) { in gap_try_write_queued_data()
617 if (p_ccb->transport == BT_TRANSPORT_LE) { in gap_connect_ind()
633 if (p_ccb->transport == BT_TRANSPORT_LE) { in gap_connect_ind()
715 p_ccb->transport != BT_TRANSPORT_LE) { in gap_connect_cfm()
728 if (p_ccb->transport == BT_TRANSPORT_LE) { in gap_connect_cfm()
999 if (p_ccb->transport == BT_TRANSPORT_LE) L2CA_DeregisterLECoc(p_ccb->psm); in gap_release_ccb()
/aosp12/system/bt/types/
H A Dbt_transport.h26 #define BT_TRANSPORT_LE 2 macro
33 case BT_TRANSPORT_LE: in bt_transport_text()
/aosp12/system/bt/stack/btm/
H A Dble_scanner_hci_interface.cc148 uint16_t acl_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in PeriodicAdvSyncTransfer()
165 uint16_t acl_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in PeriodicAdvSetInfoTransfer()
183 uint16_t acl_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in SetPeriodicAdvSyncTransferParams()
264 uint16_t acl_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in PeriodicAdvSyncTransfer()
280 uint16_t acl_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in PeriodicAdvSetInfoTransfer()
297 uint16_t acl_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in SetPeriodicAdvSyncTransferParams()
H A Dbtm_ble.cc538 if (transport == BT_TRANSPORT_LE) { in BTM_ReadConnectedTransportAddress()
641 } else if (BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE)) { in BTM_UseLeLink()
669 if (!BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE)) { in BTM_SetBleDataLength()
738 if (!BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE)) { in BTM_BleReadPhy()
754 uint16_t handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in BTM_BleReadPhy()
773 if (!BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE)) { in BTM_BleSetPhy()
784 uint16_t handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in BTM_BleSetPhy()
862 bool is_link_encrypted = BTM_IsEncrypted(bdaddr, BT_TRANSPORT_LE); in btm_ble_determine_security_act()
863 bool is_key_mitm = BTM_IsLinkKeyAuthed(bdaddr, BT_TRANSPORT_LE); in btm_ble_determine_security_act()
915 bool is_encrypted = BTM_IsEncrypted(bd_addr, BT_TRANSPORT_LE); in btm_ble_start_sec_check()
[all …]
H A Dbtm_ble_bgconn.cc180 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in background_connections_pending()
307 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in btm_execute_wl_dev_operation()
433 !BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE)) { in btm_ble_bgconn_cancel_if_disconnected()
H A Dbtm_dev.cc146 if (BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || in BTM_SecDeleteDevice()
237 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in btm_sec_alloc_dev()
/aosp12/system/bt/stack/gatt/
H A Dgatt_main.cc217 if (transport != BT_TRANSPORT_LE) { in gatt_connect()
377 transport == BT_TRANSPORT_LE) { in gatt_act_connect()
409 gatt_le_connect_cback(L2CAP_ATT_CID, address, false, 0xff, BT_TRANSPORT_LE); in on_connection_timed_out()
460 p_tcb = gatt_allocate_tcb_by_bdaddr(bd_addr, BT_TRANSPORT_LE); in gatt_le_connect_cback()
511 gatt_find_tcb_by_addr(p_dev_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in gatt_notify_phy_updated()
527 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(remote, BT_TRANSPORT_LE); in gatt_notify_conn_update()
545 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(remote_bda, BT_TRANSPORT_LE); in gatt_le_cong_cback()
572 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in gatt_le_data_ind()
H A Dgatt_attr.cc108 BT_TRANSPORT_LE); in gatt_profile_find_conn_id_by_bd_addr()
746 BT_TRANSPORT_LE); in gatt_cl_read_sr_supp_feat_req()
751 p_clcb = gatt_profile_clcb_alloc(conn_id, peer_bda, BT_TRANSPORT_LE); in gatt_cl_read_sr_supp_feat_req()
802 BT_TRANSPORT_LE); in gatt_profile_get_eatt_support()
H A Dgatt_auth.cc209 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in gatt_notify_enc_cmpl()
311 if (p_tcb->transport == BT_TRANSPORT_LE && in gatt_determine_sec_act()
/aosp12/system/bt/btif/src/
H A Dbtif_gatt_server.cc288 tBT_TRANSPORT transport = BT_TRANSPORT_LE; in btif_gatts_open_impl()
306 transport = BT_TRANSPORT_LE; in btif_gatts_open_impl()
310 if (transport_param == BT_TRANSPORT_LE) in btif_gatts_open_impl()
311 transport = BT_TRANSPORT_LE; in btif_gatts_open_impl()
H A Dbtif_gatt_client.cc295 tBT_TRANSPORT transport = (tBT_TRANSPORT)BT_TRANSPORT_LE; in btif_gattc_open_impl()
330 transport = BT_TRANSPORT_LE; in btif_gattc_open_impl()
334 if (transport_p == BT_TRANSPORT_LE) in btif_gattc_open_impl()
335 transport = BT_TRANSPORT_LE; in btif_gattc_open_impl()
H A Dbtif_gatt_util.cc64 BTM_IsEncrypted(bd_addr, BT_TRANSPORT_LE); in btif_gatt_is_link_encrypted()
/aosp12/system/bt/stack/acl/
H A Dbtm_acl.cc404 if (transport == BT_TRANSPORT_LE) { in btm_acl_created()
418 if (transport == BT_TRANSPORT_LE) { in btm_acl_created()
769 case BT_TRANSPORT_LE: in maybe_chain_more_commands_after_read_remote_version_complete()
1607 p_acl = internal_.btm_bda_to_acl(addr, BT_TRANSPORT_LE); in BTM_ReadRemoteVersion()
1672 p = internal_.btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadRSSI()
1715 if (dev_type == BT_DEVICE_TYPE_BLE) transport = BT_TRANSPORT_LE; in BTM_ReadFailedContactCounter()
1763 if (p->transport == BT_TRANSPORT_LE) { in BTM_ReadTxPower()
2080 if (transport == BT_TRANSPORT_LE) { in btm_remove_acl()
2258 tACL_CONN* p_acl = internal_.btm_bda_to_acl(bda, BT_TRANSPORT_LE); in acl_refresh_remote_address()
2284 tACL_CONN* p_acl = internal_.btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in acl_peer_supports_ble_connection_parameters_request()
[all …]
/aosp12/system/bt/bta/vc/
H A Ddevice.cc233 BTM_GetSecurityFlagsByTransport(address, &sec_flag, BT_TRANSPORT_LE); in IsEncryptionEnabled()
240 int result = BTM_SetEncryption(address, BT_TRANSPORT_LE, callback, nullptr, in EnableEncryption()
/aosp12/system/bt/stack/eatt/
H A Deatt_impl.h136 gatt_find_tcb_by_addr(eatt_dev->bda_, BT_TRANSPORT_LE); in eatt_l2cap_connect_ind()
333 gatt_find_tcb_by_addr(eatt_dev->bda_, BT_TRANSPORT_LE); in connect_eatt()
451 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(channel->bda_, BT_TRANSPORT_LE); in eatt_ind_ack_timeout()
459 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(channel->bda_, BT_TRANSPORT_LE); in eatt_ind_confirmation_timeout()
/aosp12/system/bt/bta/dm/
H A Dbta_dm_act.cc578 BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || in bta_dm_remove_device()
601 if (peer_device.transport == BT_TRANSPORT_LE) in bta_dm_remove_device()
604 other_transport = BT_TRANSPORT_LE; in bta_dm_remove_device()
622 BT_TRANSPORT_LE)); in bta_dm_remove_device()
1675 transport = BT_TRANSPORT_LE; in bta_dm_discover_device()
1697 (transport == BT_TRANSPORT_LE && in bta_dm_discover_device()
1752 if (transport == BT_TRANSPORT_LE) { in bta_dm_discover_device()
1942 if (bta_dm_search_cb.transport == BT_TRANSPORT_LE) { in bta_dm_remname_cback()
2403 if (transport == BT_TRANSPORT_LE) { in allocate_device_for()
2700 if (BTM_IsAclConnectionUp(remote_bd_addr, BT_TRANSPORT_LE) || in bta_dm_remove_sec_dev_entry()
[all …]
/aosp12/system/bt/bta/gatt/
H A Dbta_gattc_act.cc292 BT_TRANSPORT_LE); in bta_gattc_process_api_open_cancel()
385 GATT_INVALID_CONN_ID, BT_TRANSPORT_LE, 0); in bta_gattc_init_bk_conn()
395 GATT_INVALID_CONN_ID, BT_TRANSPORT_LE, 0); in bta_gattc_init_bk_conn()
407 p_data->client_if, p_data->remote_bda, BT_TRANSPORT_LE); in bta_gattc_init_bk_conn()
660 if (p_clcb->transport == BT_TRANSPORT_LE) in bta_gattc_start_discover_internal()
726 if (p_clcb->transport == BT_TRANSPORT_LE) in bta_gattc_disc_cmpl()
1136 bta_gattc_find_clcb_by_cif(gattc_if, bda, BT_TRANSPORT_LE); in bta_gattc_enc_cmpl_cback()
/aosp12/system/bt/service/
H A Dlogging_helpers.cc51 CASE_RETURN_TEXT(BT_TRANSPORT_LE); in BtTransportText()
/aosp12/system/bt/stack/srvc/
H A Dsrvc_dis.cc452 BT_TRANSPORT_LE); in DIS_ReadDISInfo()
458 return GATT_Connect(srvc_eng_cb.gatt_if, peer_bda, true, BT_TRANSPORT_LE, in DIS_ReadDISInfo()

12