Home
last modified time | relevance | path

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

12

/system/bt/stack/l2cap/
Dl2c_ble.cc59 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq()
61 tACL_CONN* p_acl = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq()
75 btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE) != NULL)) { in L2CA_CancelBleConnectReq()
98 tACL_CONN* p_acl_cb = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
101 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
109 if (p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_UpdateBleConnParams()
156 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_EnableUpdateBleConnParams()
167 if (p_lcb->transport != BT_TRANSPORT_LE) { in L2CA_EnableUpdateBleConnParams()
197 p_lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_LE); in L2CA_GetBleConnRole()
234 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_LE); in l2cble_notify_le_connection()
[all …]
Dl2c_link.cc372 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_hci_disc_comp()
413 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp()
446 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp()
979 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_check_send_pkts()
1010 (p_lcb->transport == BT_TRANSPORT_LE && in l2c_link_check_send_pkts()
1047 (p_lcb->transport == BT_TRANSPORT_LE)) in l2c_link_check_send_pkts()
1061 (p_lcb->transport == BT_TRANSPORT_LE))) && in l2c_link_check_send_pkts()
1075 (p_lcb->transport == BT_TRANSPORT_LE))) && in l2c_link_check_send_pkts()
1114 ((p_lcb->transport == BT_TRANSPORT_LE) && in l2c_link_send_to_lower()
1117 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_send_to_lower()
[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.cc478 if (!p_lcb->in_use || p_lcb->transport != BT_TRANSPORT_LE) continue; in L2CA_DeregisterLECoc()
530 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq()
533 p_lcb = l2cu_allocate_lcb(p_bd_addr, false, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq()
561 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) { in L2CA_ConnectLECocReq()
606 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectLECocRsp()
1685 transport = BT_TRANSPORT_LE; in L2CA_ConnectFixedChnl()
1695 if (transport == BT_TRANSPORT_LE) in L2CA_ConnectFixedChnl()
1747 bool ret = ((transport == BT_TRANSPORT_LE) in L2CA_ConnectFixedChnl()
1782 transport = BT_TRANSPORT_LE; in L2CA_SendFixedChnlData()
1815 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()
1112 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2cu_send_peer_info_rsp()
1627 if (p_lcb->transport == BT_TRANSPORT_LE && in l2cu_release_ccb()
1638 if (p_lcb->transport == BT_TRANSPORT_LE && in l2cu_release_ccb()
2128 p_lcb->transport = BT_TRANSPORT_LE; in l2cu_create_conn_le()
2689 if (p_lcb->transport == BT_TRANSPORT_LE && channel_id == L2CAP_SMP_BR_CID) in l2cu_process_fixed_chnl_resp()
[all …]
Dl2c_main.cc140 if (p_lcb && p_lcb->transport == BT_TRANSPORT_LE && in l2c_rcv_acl_data()
220 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_rcv_acl_data()
263 if (p_lcb->transport == BT_TRANSPORT_LE) return; in process_l2cap_cmd()
975 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_data_write()
/system/bt/stack/gatt/
Dgatt_main.cc203 if (transport != BT_TRANSPORT_LE) { in gatt_connect()
359 transport == BT_TRANSPORT_LE) { in gatt_act_connect()
391 gatt_le_connect_cback(L2CAP_ATT_CID, address, false, 0xff, BT_TRANSPORT_LE); in on_connection_timed_out()
440 p_tcb = gatt_allocate_tcb_by_bdaddr(bd_addr, BT_TRANSPORT_LE); in gatt_le_connect_cback()
489 gatt_find_tcb_by_addr(p_dev_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in gatt_notify_phy_updated()
509 gatt_find_tcb_by_addr(p_dev_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in gatt_notify_conn_update()
525 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(remote_bda, BT_TRANSPORT_LE); in gatt_le_cong_cback()
552 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_api.cc583 if (p_tcb->transport != BT_TRANSPORT_LE) { in GATTC_ConfigureMTU()
917 BT_TRANSPORT_LE); in GATT_SetIdleTimeout()
1113 if (!is_direct && transport != BT_TRANSPORT_LE) { in GATT_Connect()
1183 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in GATT_CancelConnect()
Dgatt_attr.cc86 BT_TRANSPORT_LE); in gatt_profile_find_conn_id_by_bd_addr()
/system/bt/stack/btm/
Dbtm_ble.cc80 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice()
217 tACL_CONN* p_acl = btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadConnectionAddr()
251 return (p->transport == BT_TRANSPORT_LE); in BTM_IsBleConnection()
273 tACL_CONN* p = btm_bda_to_acl(pseudo_addr, BT_TRANSPORT_LE); in BTM_ReadRemoteConnectionAddr()
636 if (transport == BT_TRANSPORT_LE) { in BTM_ReadConnectedTransportAddress()
732 p = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_UseLeLink()
754 tACL_CONN* p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_SetBleDataLength()
824 tACL_CONN* p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_BleReadPhy()
908 tACL_CONN* p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_BleSetPhy()
1005 BTM_GetSecurityFlagsByTransport(bdaddr, &sec_flag, BT_TRANSPORT_LE); in btm_ble_determine_security_act()
[all …]
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()
385 p_acl = btm_bda_to_acl(p_sec_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr()
420 tACL_CONN* p = btm_bda_to_acl(pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_local_resolvable_private_addr()
Dbtm_ble_bgconn.cc98 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in background_connections_pending()
159 !BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE)) { in btm_ble_bgconn_cancel_if_disconnected()
278 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in btm_execute_wl_dev_operation()
Dbtm_acl.cc223 if (transport == BT_TRANSPORT_LE) in btm_acl_created()
252 if (p_dev_rec && !(transport == BT_TRANSPORT_LE)) { in btm_acl_created()
277 if (p_dev_rec && transport == BT_TRANSPORT_LE) { in btm_acl_created()
378 if (p->transport == BT_TRANSPORT_LE) { in btm_acl_removed()
824 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(bda, BT_TRANSPORT_LE); in btm_use_preferred_conn_params()
899 if (p_acl_cb->transport == BT_TRANSPORT_LE) { in btm_read_remote_version_complete()
1966 p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadRSSI()
2008 if (dev_type == BT_DEVICE_TYPE_BLE) transport = BT_TRANSPORT_LE; in BTM_ReadFailedContactCounter()
2047 if (dev_type == BT_DEVICE_TYPE_BLE) transport = BT_TRANSPORT_LE; in BTM_ReadAutomaticFlushTimeout()
2124 if (p->transport == BT_TRANSPORT_LE) { in BTM_ReadTxPower()
Dbtm_dev.cc169 if (BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || in BTM_SecDeleteDevice()
261 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in btm_sec_alloc_dev()
Dbtm_sec.cc912 transport == BT_TRANSPORT_LE && in btm_sec_bond_by_transport()
938 if (transport == BT_TRANSPORT_LE) { in btm_sec_bond_by_transport()
1061 if ((transport == BT_TRANSPORT_LE && (dev_type & BT_DEVICE_TYPE_BLE) == 0) || in BTM_SecBondByTransport()
1089 if (BTM_UseLeLink(bd_addr)) transport = BT_TRANSPORT_LE; in BTM_SecBond()
1255 (transport == BT_TRANSPORT_LE && in BTM_SetEncryption()
1303 if (transport == BT_TRANSPORT_LE) { in BTM_SetEncryption()
3994 if (p_acl && p_acl->transport == BT_TRANSPORT_LE) { in btm_sec_encrypt_change()
4481 (handle == p_dev_rec->hci_handle) ? BT_TRANSPORT_BR_EDR : BT_TRANSPORT_LE; in btm_sec_disconnected()
4536 if (transport == BT_TRANSPORT_LE) { in btm_sec_disconnected()
4572 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()
247 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_DEREGISTER_COC(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/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/bta/dm/
Dbta_dm_act.cc468 L2CA_SetIdleTimeoutByBdAddr(RawAddress::kAny, 0, BT_TRANSPORT_LE); in bta_dm_disable()
634 BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || in bta_dm_remove_device()
657 if (peer_device.transport == BT_TRANSPORT_LE) in bta_dm_remove_device()
660 other_transport = BT_TRANSPORT_LE; in bta_dm_remove_device()
678 BT_TRANSPORT_LE)); in bta_dm_remove_device()
804 (transport == BT_TRANSPORT_LE)) || in bta_dm_remove_all_acl()
1927 transport = BT_TRANSPORT_LE; in bta_dm_discover_device()
2004 if (transport == BT_TRANSPORT_LE) { in bta_dm_discover_device()
2204 if (bta_dm_search_cb.transport == BT_TRANSPORT_LE) { in bta_dm_remname_cback()
2732 if (transport == BT_TRANSPORT_LE) bta_dm_cb.device_list.le_count++; in bta_dm_acl_change()
[all …]
/system/bt/btif/src/
Dbtif_gatt_test.cc205 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/service/test/
Dlow_energy_client_unittest.cc268 kTestDirect, BT_TRANSPORT_LE)) in TEST_F()
/system/bt/bta/jv/
Dbta_jv_api.cc106 BTM_GetSecurityFlagsByTransport(bd_addr, &le_flags, BT_TRANSPORT_LE)) { in BTA_JvIsEncrypted()

12