Home
last modified time | relevance | path

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

12

/system/bt/types/
Dbt_transport.h26 #define BT_TRANSPORT_LE 2 macro
33 case BT_TRANSPORT_LE: in bt_transport_text()
/system/bt/stack/l2cap/
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()
168 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_LE); in L2CA_GetBleConnRole()
185 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_LE); in l2cble_notify_le_connection()
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()
218 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_LE); in l2cble_conn_comp()
[all …]
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()
622 (is_share_buffer || p_lcb->transport != BT_TRANSPORT_LE)) { in l2c_link_adjust_allocation()
670 (is_share_buffer || p_lcb->transport != BT_TRANSPORT_LE)) { in l2c_link_adjust_allocation()
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()
987 (p_lcb->transport == BT_TRANSPORT_LE))) && in l2c_link_check_send_pkts()
1005 (p_lcb->transport == BT_TRANSPORT_LE))) && in l2c_link_check_send_pkts()
[all …]
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()
526 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq()
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()
646 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectCreditBasedRsp()
736 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectCreditBasedReq()
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()
[all …]
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()
353 ((p_ccb->p_lcb) && (p_ccb->p_lcb->transport == BT_TRANSPORT_LE)) in l2c_csm_orig_w4_sec_comp()
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()
469 if (p_ccb->p_lcb->transport != BT_TRANSPORT_LE) { in l2c_csm_term_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()
757 if (p_ccb->p_lcb && p_ccb->p_lcb->transport != BT_TRANSPORT_LE) { in l2c_csm_w4_l2ca_connect_rsp()
[all …]
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()
2542 if (p_lcb->transport == BT_TRANSPORT_LE && channel_id == L2CAP_SMP_BR_CID) in l2cu_process_fixed_chnl_resp()
[all …]
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()
/system/bt/stack/gap/
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()
/system/bt/stack/btm/
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()
Dbtm_ble.cc72 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice()
538 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()
681 uint16_t hci_handle = BTM_GetHCIConnHandle(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()
[all …]
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()
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()
/system/bt/stack/gatt/
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()
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()
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()
/system/bt/btif/src/
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()
Dbtif_gatt_util.cc64 BTM_IsEncrypted(bd_addr, BT_TRANSPORT_LE); in btif_gatt_is_link_encrypted()
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()
/system/bt/bta/vc/
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()
/system/bt/service/
Dlogging_helpers.cc51 CASE_RETURN_TEXT(BT_TRANSPORT_LE); in BtTransportText()
/system/bt/stack/acl/
Dbtm_acl.cc404 if (transport == BT_TRANSPORT_LE) { in btm_acl_created()
418 if (transport == BT_TRANSPORT_LE) { in btm_acl_created()
759 case BT_TRANSPORT_LE: in maybe_chain_more_commands_after_read_remote_version_complete()
1597 p_acl = internal_.btm_bda_to_acl(addr, BT_TRANSPORT_LE); in BTM_ReadRemoteVersion()
1662 p = internal_.btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadRSSI()
1705 if (dev_type == BT_DEVICE_TYPE_BLE) transport = BT_TRANSPORT_LE; in BTM_ReadFailedContactCounter()
1753 if (p->transport == BT_TRANSPORT_LE) { in BTM_ReadTxPower()
2070 if (transport == BT_TRANSPORT_LE) { in btm_remove_acl()
2248 tACL_CONN* p_acl = internal_.btm_bda_to_acl(bda, BT_TRANSPORT_LE); in acl_refresh_remote_address()
2274 tACL_CONN* p_acl = internal_.btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in acl_peer_supports_ble_connection_parameters_request()
[all …]
/system/bt/stack/eatt/
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()
/system/bt/bta/dm/
Dbta_dm_act.cc419 L2CA_SetIdleTimeoutByBdAddr(RawAddress::kAny, 0, BT_TRANSPORT_LE); in bta_dm_disable()
574 BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || in bta_dm_remove_device()
597 if (peer_device.transport == BT_TRANSPORT_LE) in bta_dm_remove_device()
600 other_transport = BT_TRANSPORT_LE; in bta_dm_remove_device()
618 BT_TRANSPORT_LE)); in bta_dm_remove_device()
1673 transport = BT_TRANSPORT_LE; in bta_dm_discover_device()
1695 (transport == BT_TRANSPORT_LE && in bta_dm_discover_device()
1750 if (transport == BT_TRANSPORT_LE) { in bta_dm_discover_device()
1937 if (bta_dm_search_cb.transport == BT_TRANSPORT_LE) { in bta_dm_remname_cback()
2398 if (transport == BT_TRANSPORT_LE) { in allocate_device_for()
[all …]
/system/bt/bta/gatt/
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()
/system/bt/stack/srvc/
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