Home
last modified time | relevance | path

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

12

/system/bt/stack/l2cap/
Dl2c_ble.cc60 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq()
62 tACL_CONN* p_acl = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq()
76 btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE) != NULL)) { in L2CA_CancelBleConnectReq()
99 tACL_CONN* p_acl_cb = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
102 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
110 if (p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_UpdateBleConnParams()
162 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_EnableUpdateBleConnParams()
173 if (p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_EnableUpdateBleConnParams()
203 p_lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_LE); in L2CA_GetBleConnRole()
240 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_LE); in l2cble_notify_le_connection()
[all …]
Dl2c_link.cc378 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_hci_disc_comp()
419 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp()
452 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp()
697 (is_share_buffer || p_lcb->transport != BT_TRANSPORT_LE)) { in l2c_link_adjust_allocation()
745 (is_share_buffer || p_lcb->transport != BT_TRANSPORT_LE)) { in l2c_link_adjust_allocation()
989 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_check_send_pkts()
1020 (p_lcb->transport == BT_TRANSPORT_LE && in l2c_link_check_send_pkts()
1057 (p_lcb->transport == BT_TRANSPORT_LE)) in l2c_link_check_send_pkts()
1071 (p_lcb->transport == BT_TRANSPORT_LE))) && in l2c_link_check_send_pkts()
1085 (p_lcb->transport == BT_TRANSPORT_LE))) && in l2c_link_check_send_pkts()
[all …]
Dl2c_csm.cc158 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_closed()
183 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_closed()
240 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_closed()
316 ((p_ccb->p_lcb) && (p_ccb->p_lcb->transport == BT_TRANSPORT_LE)) ? "LE " in l2c_csm_orig_w4_sec_comp()
331 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_orig_w4_sec_comp()
345 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_orig_w4_sec_comp()
456 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_term_w4_sec_comp()
539 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_w4_l2cap_connect_rsp()
652 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in l2c_csm_w4_l2ca_connect_rsp()
682 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_w4_l2ca_connect_rsp()
[all …]
Dl2c_api.cc518 if (!p_lcb->in_use || p_lcb->transport != BT_TRANSPORT_LE) continue; in L2CA_DeregisterLECoc()
574 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq()
577 p_lcb = l2cu_allocate_lcb(p_bd_addr, false, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq()
605 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in L2CA_ConnectLECocReq()
655 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectLECocRsp()
1439 transport = BT_TRANSPORT_LE; in L2CA_ConnectFixedChnl()
1449 if (transport == BT_TRANSPORT_LE) in L2CA_ConnectFixedChnl()
1496 bool ret = ((transport == BT_TRANSPORT_LE) in L2CA_ConnectFixedChnl()
1535 transport = BT_TRANSPORT_LE; in L2CA_SendFixedChnlData()
1568 if (transport == BT_TRANSPORT_LE) in L2CA_SendFixedChnlData()
[all …]
Dl2c_utils.cc95 if (transport == BT_TRANSPORT_LE) { in l2cu_allocate_lcb()
160 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_release_lcb()
200 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_release_lcb()
328 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_build_header()
343 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_build_header()
1114 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_send_peer_info_rsp()
1629 if (p_lcb->transport == BT_TRANSPORT_LE && in l2cu_release_ccb()
1640 if (p_lcb->transport == BT_TRANSPORT_LE && in l2cu_release_ccb()
2127 p_lcb->transport = BT_TRANSPORT_LE; in l2cu_create_conn_le()
2675 if (p_lcb->transport == BT_TRANSPORT_LE && channel_id == L2CAP_SMP_BR_CID) in l2cu_process_fixed_chnl_resp()
[all …]
Dl2c_main.cc144 if (p_lcb && p_lcb->transport == BT_TRANSPORT_LE && in l2c_rcv_acl_data()
221 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_rcv_acl_data()
264 if (p_lcb->transport == BT_TRANSPORT_LE) return; in process_l2cap_cmd()
976 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_data_write()
/system/bt/stack/gatt/
Dgatt_main.cc196 if (transport != BT_TRANSPORT_LE) { in gatt_connect()
352 transport == BT_TRANSPORT_LE) { in gatt_act_connect()
384 gatt_le_connect_cback(L2CAP_ATT_CID, address, false, 0xff, BT_TRANSPORT_LE); in on_connection_timed_out()
433 p_tcb = gatt_allocate_tcb_by_bdaddr(bd_addr, BT_TRANSPORT_LE); in gatt_le_connect_cback()
482 gatt_find_tcb_by_addr(p_dev_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in gatt_notify_phy_updated()
502 gatt_find_tcb_by_addr(p_dev_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in gatt_notify_conn_update()
518 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(remote_bda, BT_TRANSPORT_LE); in gatt_le_cong_cback()
545 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in gatt_le_data_ind()
Dgatt_auth.cc211 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in gatt_notify_enc_cmpl()
319 if (p_tcb->transport == BT_TRANSPORT_LE && in gatt_determine_sec_act()
Dgatt_attr.cc91 BT_TRANSPORT_LE); in gatt_profile_find_conn_id_by_bd_addr()
680 p_clcb = gatt_profile_clcb_alloc(conn_id, peer_bda, BT_TRANSPORT_LE); in gatt_svc_read_supp_feat_req()
736 BT_TRANSPORT_LE); in gatt_profile_get_eatt_support()
Dgatt_api.cc583 if (p_tcb->transport != BT_TRANSPORT_LE) { in GATTC_ConfigureMTU()
918 BT_TRANSPORT_LE); in GATT_SetIdleTimeout()
1114 if (!is_direct && transport != BT_TRANSPORT_LE) { in GATT_Connect()
1184 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in GATT_CancelConnect()
/system/bt/stack/btm/
Dbtm_ble_addr.cc340 tACL_CONN* p_acl = btm_bda_to_acl(p_sec_rec->bd_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr()
342 p_acl = btm_bda_to_acl(p_sec_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr()
377 tACL_CONN* p = btm_bda_to_acl(pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_local_resolvable_private_addr()
Dbtm_ble.cc87 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice()
249 tACL_CONN* p_acl = btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadConnectionAddr()
286 return (p->transport == BT_TRANSPORT_LE); in BTM_IsBleConnection()
312 tACL_CONN* p = btm_bda_to_acl(pseudo_addr, BT_TRANSPORT_LE); in BTM_ReadRemoteConnectionAddr()
661 if (transport == BT_TRANSPORT_LE) { in BTM_ReadConnectedTransportAddress()
770 p = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_UseLeLink()
795 tACL_CONN* p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_SetBleDataLength()
868 tACL_CONN* p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_BleReadPhy()
920 tACL_CONN* p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_BleSetPhy()
1017 BTM_GetSecurityFlagsByTransport(bdaddr, &sec_flag, BT_TRANSPORT_LE); in btm_ble_determine_security_act()
[all …]
Dbtm_ble_bgconn.cc106 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in background_connections_pending()
167 !BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE)) { in btm_ble_bgconn_cancel_if_disconnected()
283 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in btm_execute_wl_dev_operation()
Dbtm_acl.cc225 if (transport == BT_TRANSPORT_LE) in btm_acl_created()
254 if (p_dev_rec && !(transport == BT_TRANSPORT_LE)) { in btm_acl_created()
279 if (p_dev_rec && transport == BT_TRANSPORT_LE) { in btm_acl_created()
380 if (p->transport == BT_TRANSPORT_LE) { in btm_acl_removed()
796 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_LE); in btm_use_preferred_conn_params()
872 if (p_acl_cb->transport == BT_TRANSPORT_LE) { in btm_read_remote_version_complete()
1850 p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadRSSI()
1892 if (dev_type == BT_DEVICE_TYPE_BLE) transport = BT_TRANSPORT_LE; in BTM_ReadFailedContactCounter()
1931 if (dev_type == BT_DEVICE_TYPE_BLE) transport = BT_TRANSPORT_LE; in BTM_ReadAutomaticFlushTimeout()
1975 if (p->transport == BT_TRANSPORT_LE) { in BTM_ReadTxPower()
Dbtm_dev.cc175 if (BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || in BTM_SecDeleteDevice()
267 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in btm_sec_alloc_dev()
Dbtm_sec.cc839 transport == BT_TRANSPORT_LE && in btm_sec_bond_by_transport()
865 if (transport == BT_TRANSPORT_LE) { in btm_sec_bond_by_transport()
990 transport = BTM_UseLeLink(bd_addr) ? BT_TRANSPORT_LE : BT_TRANSPORT_BR_EDR; in BTM_SecBond()
996 if ((transport == BT_TRANSPORT_LE && (dev_type & BT_DEVICE_TYPE_BLE) == 0) || in BTM_SecBond()
1152 (transport == BT_TRANSPORT_LE && in BTM_SetEncryption()
1200 if (transport == BT_TRANSPORT_LE) { in BTM_SetEncryption()
3734 if (p_acl && p_acl->transport == BT_TRANSPORT_LE) { in btm_sec_encrypt_change()
4224 (handle == p_dev_rec->hci_handle) ? BT_TRANSPORT_BR_EDR : BT_TRANSPORT_LE; in btm_sec_disconnected()
4279 if (transport == BT_TRANSPORT_LE) { in btm_sec_disconnected()
4315 p_dev_rec->sec_state = (transport == BT_TRANSPORT_LE) in btm_sec_disconnected()
[all …]
/system/bt/stack/gap/
Dgap_conn.cc212 if (transport == BT_TRANSPORT_LE) { in GAP_ConnOpen()
261 if (transport == BT_TRANSPORT_LE) { in GAP_ConnOpen()
312 if (p_rem_bda && (transport == BT_TRANSPORT_LE)) { in GAP_ConnOpen()
753 if (p_ccb->transport == BT_TRANSPORT_LE) { in gap_connect_ind()
843 p_ccb->transport != BT_TRANSPORT_LE) { in gap_connect_cfm()
859 if (p_ccb->transport == BT_TRANSPORT_LE) { in gap_connect_cfm()
1158 if (p_ccb->transport == BT_TRANSPORT_LE) L2CA_DeregisterLECoc(p_ccb->psm); in gap_release_ccb()
Dgap_ble.cc369 BT_TRANSPORT_LE)) in accept_client_operation()
372 if (!GATT_Connect(gatt_if, p_clcb->bda, true, BT_TRANSPORT_LE, true)) in accept_client_operation()
/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()
/system/bt/bta/dm/
Dbta_dm_act.cc470 L2CA_SetIdleTimeoutByBdAddr(RawAddress::kAny, 0, BT_TRANSPORT_LE); in bta_dm_disable()
636 BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || in bta_dm_remove_device()
659 if (peer_device.transport == BT_TRANSPORT_LE) in bta_dm_remove_device()
662 other_transport = BT_TRANSPORT_LE; in bta_dm_remove_device()
680 BT_TRANSPORT_LE)); in bta_dm_remove_device()
806 (transport == BT_TRANSPORT_LE)) || in bta_dm_remove_all_acl()
1929 transport = BT_TRANSPORT_LE; in bta_dm_discover_device()
1954 (transport == BT_TRANSPORT_LE && in bta_dm_discover_device()
2009 if (transport == BT_TRANSPORT_LE) { in bta_dm_discover_device()
2209 if (bta_dm_search_cb.transport == BT_TRANSPORT_LE) { in bta_dm_remname_cback()
[all …]
/system/bt/stack/include/
Dgatt_api.h343 #define GATT_TRANSPORT_LE BT_TRANSPORT_LE
345 #define GATT_TRANSPORT_LE_BR_EDR (BT_TRANSPORT_LE | BT_TRANSPORT_BR_EDR)
/system/bt/btif/src/
Dbtif_gatt_test.cc199 if (!GATT_Connect(test_cb.gatt_if, *params->bda1, true, BT_TRANSPORT_LE, in btif_gattc_test_command_impl()
/system/bt/service/
Dlow_energy_client.cc61 client_id_, bda, is_direct, BT_TRANSPORT_LE, false, PHY_LE_1M_MASK); in Connect()
/system/bt/main/shim/
Dl2c_api.cc284 (freg_.pL2CA_FixedConn_Cb)(cid_, address, true, 0, BT_TRANSPORT_LE); in on_channel_open()
308 freg_.pL2CA_FixedConn_Cb(cid_, remote, true, 0, BT_TRANSPORT_LE); in on_outgoing_connection_fail()
/system/bt/service/test/
Dlow_energy_client_unittest.cc268 kTestDirect, BT_TRANSPORT_LE)) in TEST_F()

12