/system/bt/stack/l2cap/ |
D | l2c_ble.c | 76 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq() 108 tACL_CONN *p_acl_cb = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams() 111 p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams() 122 if (p_lcb->transport != BT_TRANSPORT_LE) in L2CA_UpdateBleConnParams() 161 p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_LE); in L2CA_EnableUpdateBleConnParams() 175 if (p_lcb->transport != BT_TRANSPORT_LE) in L2CA_EnableUpdateBleConnParams() 209 if ((p_lcb = l2cu_find_lcb_by_bd_addr (bd_addr, BT_TRANSPORT_LE)) != NULL) in L2CA_GetBleConnRole() 237 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr (bda, BT_TRANSPORT_LE); in l2cble_use_preferred_conn_params() 283 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr (bda, BT_TRANSPORT_LE); in l2cble_notify_le_connection() 284 tACL_CONN *p_acl = btm_bda_to_acl(bda, BT_TRANSPORT_LE) ; in l2cble_notify_le_connection() [all …]
|
D | l2c_link.c | 399 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_hci_disc_comp() 439 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_hci_disc_comp() 1086 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_check_send_pkts() 1119 || (p_lcb->transport == BT_TRANSPORT_LE && in l2c_link_check_send_pkts() 1169 && (p_lcb->transport == BT_TRANSPORT_LE)) in l2c_link_check_send_pkts() 1184 (l2cb.controller_le_xmit_window != 0 && (p_lcb->transport == BT_TRANSPORT_LE))) in l2c_link_check_send_pkts() 1205 (l2cb.controller_le_xmit_window != 0 && (p_lcb->transport == BT_TRANSPORT_LE))) in l2c_link_check_send_pkts() 1249 … ((p_lcb->transport == BT_TRANSPORT_LE) && (p_buf->len <= controller->get_acl_packet_size_ble())) in l2c_link_send_to_lower() 1258 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_send_to_lower() 1268 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_send_to_lower() [all …]
|
D | l2c_csm.c | 172 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_closed() 198 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_closed() 261 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_closed() 361 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_orig_w4_sec_comp() 376 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_orig_w4_sec_comp() 517 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_term_w4_sec_comp() 603 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_w4_l2cap_connect_rsp() 724 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_w4_l2ca_connect_rsp() 765 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_csm_w4_l2ca_connect_rsp() 1151 if (p_ccb->p_lcb->transport != BT_TRANSPORT_LE) in l2c_csm_open() [all …]
|
D | l2c_api.c | 432 if (!p_lcb->in_use || p_lcb->transport != BT_TRANSPORT_LE) in L2CA_DeregisterLECoc() 488 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq() 492 p_lcb = l2cu_allocate_lcb(p_bd_addr, FALSE, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq() 495 || (l2cu_create_conn(p_lcb, BT_TRANSPORT_LE) == FALSE) ) in L2CA_ConnectLECocReq() 521 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in L2CA_ConnectLECocReq() 568 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectLECocRsp() 1702 transport = BT_TRANSPORT_LE; in L2CA_ConnectFixedChnl() 1714 if (transport == BT_TRANSPORT_LE) in L2CA_ConnectFixedChnl() 1806 transport = BT_TRANSPORT_LE; in L2CA_SendFixedChnlData() 1840 if (transport == BT_TRANSPORT_LE) in L2CA_SendFixedChnlData() [all …]
|
D | l2c_main.c | 141 if (p_lcb && p_lcb->transport == BT_TRANSPORT_LE && p_lcb->link_state != LST_DISCONNECTING) in l2c_rcv_acl_data() 236 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_rcv_acl_data() 287 if (p_lcb->transport == BT_TRANSPORT_LE) in process_l2cap_cmd() 918 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2c_data_write()
|
D | l2c_utils.c | 83 if (transport == BT_TRANSPORT_LE) in l2cu_allocate_lcb() 167 if (p_lcb->transport == BT_TRANSPORT_LE) in l2cu_release_lcb() 229 if (p_lcb->transport == BT_TRANSPORT_LE) in l2cu_release_lcb() 373 if (p_lcb->transport == BT_TRANSPORT_LE) in l2cu_build_header() 391 if (p_lcb->transport == BT_TRANSPORT_LE) in l2cu_build_header() 1188 if (p_lcb->transport == BT_TRANSPORT_LE) in l2cu_send_peer_info_rsp() 2295 if (transport == BT_TRANSPORT_LE) in l2cu_create_conn() 2301 p_lcb->transport = BT_TRANSPORT_LE; in l2cu_create_conn() 2960 if (p_lcb->transport == BT_TRANSPORT_LE) in l2cu_process_fixed_disc_cback() 3422 if (p_ccb->p_lcb->transport == BT_TRANSPORT_LE) in l2cu_get_next_channel_in_rr() [all …]
|
/system/bt/stack/gap/ |
D | gap_conn.c | 171 if (transport == BT_TRANSPORT_LE) in GAP_ConnOpen() 206 if (transport == BT_TRANSPORT_LE) in GAP_ConnOpen() 277 if (p_rem_bda && (transport == BT_TRANSPORT_LE)) in GAP_ConnOpen() 763 if (p_ccb->transport == BT_TRANSPORT_LE) in gap_connect_ind() 859 if ( (p_ccb->con_flags & GAP_CCB_FLAGS_SEC_DONE) == 0 && p_ccb->transport != BT_TRANSPORT_LE) in gap_connect_cfm() 877 if (p_ccb->transport == BT_TRANSPORT_LE) in gap_connect_cfm() 1232 if(p_ccb->transport == BT_TRANSPORT_LE) in gap_release_ccb()
|
D | gap_ble.c | 707 if (GATT_GetConnIdIfConnected(gap_cb.gatt_if, peer_bda, &p_clcb->conn_id, BT_TRANSPORT_LE)) in gap_ble_accept_cl_operation() 711 if (!GATT_Connect(gap_cb.gatt_if, p_clcb->bda, TRUE, BT_TRANSPORT_LE)) in gap_ble_accept_cl_operation()
|
/system/bt/stack/btm/ |
D | btm_ble_addr.c | 515 tACL_CONN *p_acl = btm_bda_to_acl(p_sec_rec->bd_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr() 517 p_acl = btm_bda_to_acl(p_sec_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr() 562 tACL_CONN *p = btm_bda_to_acl(pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_local_resolvable_private_addr()
|
D | btm_ble.c | 89 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice() 273 tACL_CONN *p_acl = btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadConnectionAddr() 311 return (p->transport == BT_TRANSPORT_LE); in BTM_IsBleConnection() 335 tACL_CONN *p = btm_bda_to_acl (pseudo_addr, BT_TRANSPORT_LE); in BTM_ReadRemoteConnectionAddr() 688 if (transport == BT_TRANSPORT_LE) in BTM_ReadConnectedTransportAddress() 796 else if ((p = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE)) != NULL) in BTM_UseLeLink() 819 tACL_CONN *p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_SetBleDataLength() 909 BTM_GetSecurityFlagsByTransport(bdaddr, &sec_flag, BT_TRANSPORT_LE); in btm_ble_determine_security_act() 969 (*p_callback) (bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_MODE_UNSUPPORTED); in btm_ble_start_sec_check() 983 p_callback(bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_SUCCESS); in btm_ble_start_sec_check() [all …]
|
D | btm_dev.c | 182 if (BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || in BTM_SecDeleteDevice() 280 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_LE); in btm_sec_alloc_dev()
|
D | btm_acl.c | 251 if (transport == BT_TRANSPORT_LE) in btm_acl_created() 286 if (p_dev_rec && !(transport == BT_TRANSPORT_LE)) in btm_acl_created() 314 if (p_dev_rec && transport == BT_TRANSPORT_LE) in btm_acl_created() 428 if (p->transport == BT_TRANSPORT_LE) in btm_acl_removed() 935 if (p_acl_cb->transport == BT_TRANSPORT_LE) in btm_read_remote_version_complete() 1994 transport = BT_TRANSPORT_LE; in BTM_ReadRSSI() 2102 if (p->transport == BT_TRANSPORT_LE) in BTM_ReadTxPower()
|
D | btm_sec.c | 1003 ||((p_dev_rec->ble_hci_handle != BTM_SEC_INVALID_HANDLE) && transport == BT_TRANSPORT_LE in btm_sec_bond_by_transport() 1035 if (transport == BT_TRANSPORT_LE) in btm_sec_bond_by_transport() 1166 if ((transport == BT_TRANSPORT_LE && (dev_type & BT_DEVICE_TYPE_BLE) == 0) || in BTM_SecBondByTransport() 1195 transport = BT_TRANSPORT_LE; in BTM_SecBond() 1375 || (transport == BT_TRANSPORT_LE && p_dev_rec->ble_hci_handle == BTM_SEC_INVALID_HANDLE) in BTM_SetEncryption() 1426 if (transport == BT_TRANSPORT_LE) in BTM_SetEncryption() 4246 if (p_acl && p_acl->transport == BT_TRANSPORT_LE) in btm_sec_encrypt_change() 4749 transport = (handle == p_dev_rec->hci_handle) ? BT_TRANSPORT_BR_EDR: BT_TRANSPORT_LE; in btm_sec_disconnected() 4797 if (transport == BT_TRANSPORT_LE) in btm_sec_disconnected() 4814 p_dev_rec->sec_state = (transport == BT_TRANSPORT_LE) ? in btm_sec_disconnected() [all …]
|
D | btm_ble_bgconn.c | 96 const bool connected = BTM_IsAclConnectionUp(connection->address.address, BT_TRANSPORT_LE); in background_connections_pending_cb()
|
/system/bt/stack/gatt/ |
D | gatt_main.c | 203 if (transport == BT_TRANSPORT_LE) in gatt_connect() 386 transport == BT_TRANSPORT_LE ) in gatt_act_connect() 483 if ((p_tcb = gatt_allocate_tcb_by_bdaddr(bd_addr, BT_TRANSPORT_LE)) != NULL) in gatt_le_connect_cback() 557 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(remote_bda, BT_TRANSPORT_LE); in gatt_le_cong_cback() 586 if ((p_tcb = gatt_find_tcb_by_addr (bd_addr, BT_TRANSPORT_LE)) != NULL && in gatt_le_data_ind()
|
D | gatt_auth.c | 235 if ((p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE)) != NULL) in gatt_notify_enc_cmpl() 370 if (p_tcb->transport == BT_TRANSPORT_LE && in gatt_determine_sec_act()
|
D | gatt_api.c | 785 if (p_tcb->transport != BT_TRANSPORT_LE) in GATTC_ConfigureMTU() 1162 GATT_LINK_IDLE_TIMEOUT_WHEN_NO_APP, BT_TRANSPORT_LE); in GATT_SetIdleTimeout() 1378 if (transport == BT_TRANSPORT_LE) in GATT_Connect() 1426 p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in GATT_CancelConnect()
|
D | gatt_attr.c | 77 GATT_GetConnIdIfConnected (gatt_cb.gatt_if, remote_bda, &conn_id, BT_TRANSPORT_LE); in gatt_profile_find_conn_id_by_bd_addr()
|
D | gatt_utils.c | 2010 p_tcb = gatt_find_tcb_by_addr(bda, BT_TRANSPORT_LE); in gatt_cancel_open() 2534 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in gatt_remove_bg_dev_for_app() 2756 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in gatt_update_auto_connect_dev()
|
/system/bt/stack/srvc/ |
D | srvc_dis.c | 468 GATT_GetConnIdIfConnected(srvc_eng_cb.gatt_if, peer_bda, &conn_id, BT_TRANSPORT_LE); in DIS_ReadDISInfo() 475 return GATT_Connect(srvc_eng_cb.gatt_if, peer_bda, TRUE, BT_TRANSPORT_LE); in DIS_ReadDISInfo()
|
/system/bt/stack/include/ |
D | gatt_api.h | 333 #define GATT_TRANSPORT_LE BT_TRANSPORT_LE 335 #define GATT_TRANSPORT_LE_BR_EDR (BT_TRANSPORT_LE|BT_TRANSPORT_BR_EDR)
|
/system/bt/bta/dm/ |
D | bta_dm_act.c | 472 L2CA_SetIdleTimeoutByBdAddr((UINT8 *)BT_BD_ANY, 0, BT_TRANSPORT_LE); in bta_dm_disable() 715 if (BTM_IsAclConnectionUp(p_dev->bd_addr, BT_TRANSPORT_LE) || in bta_dm_remove_device() 738 if(bta_dm_cb.device_list.peer_device[i].transport == BT_TRANSPORT_LE) in bta_dm_remove_device() 741 other_transport = BT_TRANSPORT_LE; in bta_dm_remove_device() 757 BTM_ReadConnectedTransportAddress(other_address, BT_TRANSPORT_LE)))) in bta_dm_remove_device() 917 ((link_type == BTA_DM_LINK_TYPE_LE) && (transport == BT_TRANSPORT_LE)) || in bta_dm_remove_all_acl() 2240 transport = BT_TRANSPORT_LE; in bta_dm_discover_device() 2330 if (transport == BT_TRANSPORT_LE) in bta_dm_discover_device() 2552 if (bta_dm_search_cb.transport == BT_TRANSPORT_LE ) in bta_dm_remname_cback() 3232 if (p_data->acl_change.transport == BT_TRANSPORT_LE) in bta_dm_acl_change() [all …]
|
/system/bt/btif/src/ |
D | btif_gatt_test.c | 243 if ( !GATT_Connect(test_cb.gatt_if, params->bda1->address, TRUE, BT_TRANSPORT_LE) ) in btif_gattc_test_command_impl()
|
/system/bt/bta/hh/ |
D | bta_hh_le.c | 1233 BTM_GetSecurityFlagsByTransport(p_cb->addr, &sec_flag, BT_TRANSPORT_LE); in bta_hh_start_security() 2446 BTM_GetSecurityFlagsByTransport(p_cb->addr, &sec_flag, BT_TRANSPORT_LE); in bta_hh_le_add_dev_bg_conn() 2698 BTM_GetSecurityFlagsByTransport(p_dev_cb->addr, &sec_flag, BT_TRANSPORT_LE); in bta_hh_le_register_scpp_notif()
|
/system/bt/service/ |
D | low_energy_client.cpp | 345 BT_TRANSPORT_LE); in Connect()
|