/system/bt/stack/l2cap/ |
D | l2c_link.c | 68 p_lcb = l2cu_find_lcb_by_bd_addr (bd_addr, BT_TRANSPORT_BR_EDR); in l2c_link_hci_conn_req() 73 p_lcb = l2cu_allocate_lcb (bd_addr, FALSE, BT_TRANSPORT_BR_EDR); in l2c_link_hci_conn_req() 172 p_lcb = l2cu_find_lcb_by_bd_addr (ci.bd_addr, BT_TRANSPORT_BR_EDR); in l2c_link_hci_conn_comp() 206 p_lcb->link_role, BT_TRANSPORT_BR_EDR); in l2c_link_hci_conn_comp() 208 btm_acl_created (ci.bd_addr, NULL, NULL, handle, p_lcb->link_role, BT_TRANSPORT_BR_EDR); in l2c_link_hci_conn_comp() 282 l2cu_create_conn(p_lcb, BT_TRANSPORT_BR_EDR); in l2c_link_hci_conn_comp() 375 tBT_TRANSPORT transport = BT_TRANSPORT_BR_EDR; in l2c_link_hci_disc_comp() 423 if (p_lcb->transport == BT_TRANSPORT_BR_EDR) in l2c_link_hci_disc_comp() 468 p_lcb->remote_bd_addr, FALSE, p_lcb->disc_reason, BT_TRANSPORT_BR_EDR); in l2c_link_hci_disc_comp() 505 l2cu_create_conn(p_lcb, BT_TRANSPORT_BR_EDR); in l2c_link_hci_disc_comp() [all …]
|
D | l2c_api.c | 266 if ((p_lcb = l2cu_find_lcb_by_bd_addr (p_bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_ErtmConnectReq() 269 if ( ((p_lcb = l2cu_allocate_lcb (p_bd_addr, FALSE, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_ErtmConnectReq() 271 || (l2cu_create_conn(p_lcb, BT_TRANSPORT_BR_EDR) == FALSE) ) in L2CA_ErtmConnectReq() 712 if ((p_lcb = l2cu_find_lcb_by_bd_addr (p_bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_ErtmConnectRsp() 945 if ((p_lcb = l2cu_find_lcb_by_bd_addr (p_bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_Ping() 948 if ((p_lcb = l2cu_allocate_lcb (p_bd_addr, FALSE, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_Ping() 953 if (l2cu_create_conn(p_lcb, BT_TRANSPORT_BR_EDR) == FALSE) in L2CA_Ping() 1024 if ((p_lcb = l2cu_find_lcb_by_bd_addr (p_bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_Echo() 1254 if ((p_lcb = l2cu_allocate_lcb (p_bd_addr, FALSE, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_LocalLoopbackReq() 1502 p_lcb = l2cu_find_lcb_by_bd_addr (bd_addr, BT_TRANSPORT_BR_EDR); in L2CA_SetFlushTimeout() [all …]
|
D | l2c_ucd.c | 349 if (((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_UcdDiscover() 417 if (((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_UcdDataWrite() 427 if (((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_UcdDataWrite() 497 if (((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_UcdSetIdleTimeout() 528 if ((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_UCDSetTxPriority() 576 if ((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in l2c_ucd_connect() 579 if ( ((p_lcb = l2cu_allocate_lcb (rem_bda, FALSE, BT_TRANSPORT_BR_EDR)) == NULL) in l2c_ucd_connect() 580 || (l2cu_create_conn(p_lcb, BT_TRANSPORT_BR_EDR) == FALSE) ) in l2c_ucd_connect()
|
D | l2c_utils.c | 119 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr (p_bd_addr, BT_TRANSPORT_BR_EDR); in l2cu_update_lcb_4_bonding() 158 if (p_lcb->transport == BT_TRANSPORT_BR_EDR) in l2cu_release_lcb() 207 btm_acl_removed (p_lcb->remote_bd_addr, BT_TRANSPORT_BR_EDR); in l2cu_release_lcb() 2562 if ((p_lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) in l2cu_set_acl_priority() 2636 p_lcb = l2cu_find_lcb_by_bd_addr (p_bda, BT_TRANSPORT_BR_EDR); in l2cu_resubmit_pending_sec_req() 2884 if (p_lcb->transport == BT_TRANSPORT_BR_EDR) in l2cu_process_fixed_chnl_resp() 2900 if (p_lcb->transport == BT_TRANSPORT_BR_EDR && in l2cu_process_fixed_chnl_resp() 2917 p_lcb->remote_bd_addr, TRUE, 0, BT_TRANSPORT_BR_EDR); in l2cu_process_fixed_chnl_resp() 2927 p_lcb->remote_bd_addr, FALSE, p_lcb->disc_reason, BT_TRANSPORT_BR_EDR); in l2cu_process_fixed_chnl_resp() 2978 p_lcb->remote_bd_addr, FALSE, p_lcb->disc_reason, BT_TRANSPORT_BR_EDR); in l2cu_process_fixed_disc_cback() [all …]
|
/system/bt/stack/btm/ |
D | btm_acl.c | 272 if (transport == BT_TRANSPORT_BR_EDR) in btm_acl_created() 571 if ((p = btm_bda_to_acl(remote_bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) in BTM_GetRole() 632 if ((p = btm_bda_to_acl(remote_bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) in BTM_SwitchRole() 850 if ((p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR)) != NULL) in BTM_SetLinkPolicy() 1218 if (p_acl_cb->transport == BT_TRANSPORT_BR_EDR) in btm_establish_continue() 1278 tACL_CONN *p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_GetLinkSuperTout() 1302 tACL_CONN *p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_SetLinkSuperTout() 1456 tACL_CONN *p = btm_bda_to_acl(p_bda, BT_TRANSPORT_BR_EDR); in btm_acl_role_changed() 1675 tACL_CONN *p = btm_bda_to_acl(addr, BT_TRANSPORT_BR_EDR); in btm_get_max_packet_size() 1733 tACL_CONN *p = btm_bda_to_acl(addr, BT_TRANSPORT_BR_EDR); in BTM_ReadRemoteVersion() [all …]
|
D | btm_dev.c | 84 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddDevice() 183 BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_BR_EDR)) in BTM_SecDeleteDevice() 282 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in btm_sec_alloc_dev()
|
D | btm_sec.c | 375 if (transport == BT_TRANSPORT_BR_EDR) in BTM_GetSecurityFlagsByTransport() 1000 if ( ((p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) && transport == BT_TRANSPORT_BR_EDR in btm_sec_bond_by_transport() 1118 BTM_ReadRemoteDeviceName(bd_addr, NULL, BT_TRANSPORT_BR_EDR); in btm_sec_bond_by_transport() 1167 (transport == BT_TRANSPORT_BR_EDR && (dev_type & BT_DEVICE_TYPE_BREDR) == 0)) in BTM_SecBondByTransport() 1192 tBT_TRANSPORT transport = BT_TRANSPORT_BR_EDR; in BTM_SecBond() 1373 (transport == BT_TRANSPORT_BR_EDR && p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE) in BTM_SetEncryption() 1388 if (transport == BT_TRANSPORT_BR_EDR && in BTM_SetEncryption() 2115 …tBT_TRANSPORT transport = BT_TRANSPORT_BR_EDR; /* should check PSM range in LE connection oriented… in btm_sec_l2cap_access_req() 3001 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(p_dev_rec->bd_addr, BT_TRANSPORT_BR_EDR); in btm_sec_dd_create_conn() 3009 … if (!p_lcb && (p_lcb = l2cu_allocate_lcb (p_dev_rec->bd_addr, TRUE, BT_TRANSPORT_BR_EDR)) == NULL) in btm_sec_dd_create_conn() [all …]
|
D | btm_sco.c | 597 …if ((!remote_bda) || ((acl_handle = BTM_GetHCIConnHandle (remote_bda, BT_TRANSPORT_BR_EDR)) == 0xF… 693 p_acl = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); 751 … ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)) 785 … ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)) 818 (BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)
|
D | btm_pm.c | 447 && p->transport == BT_TRANSPORT_BR_EDR in btm_pm_find_acl_ind() 836 if ((p_lcb = l2cu_find_lcb_by_bd_addr(p->remote_addr, BT_TRANSPORT_BR_EDR)) != NULL) in btm_pm_proc_mode_change()
|
D | btm_ble.c | 88 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice() 672 if (transport == BT_TRANSPORT_BR_EDR) in BTM_ReadConnectedTransportAddress() 792 if ((p = btm_bda_to_acl(bd_addr, BT_TRANSPORT_BR_EDR)) != NULL) in BTM_UseLeLink()
|
D | btm_int.h | 50 #define BTM_ACL_IS_CONNECTED(bda) (btm_bda_to_acl (bda, BT_TRANSPORT_BR_EDR) != NULL)
|
/system/bt/stack/gap/ |
D | gap_conn.c | 194 if (transport == BT_TRANSPORT_BR_EDR) in GAP_ConnOpen() 267 if (p_rem_bda && (transport == BT_TRANSPORT_BR_EDR)) in GAP_ConnOpen() 752 if (p_ccb->transport == BT_TRANSPORT_BR_EDR) in gap_connect_ind() 760 if (p_ccb->transport == BT_TRANSPORT_BR_EDR) in gap_connect_ind() 780 if (p_ccb->transport == BT_TRANSPORT_BR_EDR) in gap_connect_ind() 869 if (p_ccb->transport == BT_TRANSPORT_BR_EDR) in gap_connect_cfm() 1229 if (p_ccb->transport == BT_TRANSPORT_BR_EDR) in gap_release_ccb()
|
/system/bt/stack/smp/ |
D | smp_l2c.c | 100 if (transport == BT_TRANSPORT_BR_EDR || memcmp(bd_addr, dummy_bda, BD_ADDR_LEN) == 0) in smp_connect_callback() 251 if (transport != BT_TRANSPORT_BR_EDR) in smp_br_connect_callback()
|
/system/bt/stack/avdt/ |
D | avdt_l2c.c | 207 tACL_CONN *p_acl_cb = btm_bda_to_acl(bd_addr, BT_TRANSPORT_BR_EDR); in avdt_l2c_connect_ind_cback() 335 … tACL_CONN *p_acl_cb = btm_bda_to_acl(p_ccb->peer_addr, BT_TRANSPORT_BR_EDR); in avdt_l2c_connect_cfm_cback()
|
/system/bt/test/suite/adapter/ |
D | adapter_unittest.cpp | 163 EXPECT_EQ(bt_interface()->create_bond(&bdaddr, BT_TRANSPORT_BR_EDR), in TEST_F()
|
/system/bt/bta/dm/ |
D | bta_dm_act.c | 471 L2CA_SetIdleTimeoutByBdAddr((UINT8 *)BT_BD_ANY, 0, BT_TRANSPORT_BR_EDR); in bta_dm_disable() 526 tBT_TRANSPORT transport = BT_TRANSPORT_BR_EDR; in bta_dm_disable_timer_cback() 716 BTM_IsAclConnectionUp(p_dev->bd_addr, BT_TRANSPORT_BR_EDR)) in bta_dm_remove_device() 726 UINT8 transport = BT_TRANSPORT_BR_EDR; in bta_dm_remove_device() 739 other_transport = BT_TRANSPORT_BR_EDR; in bta_dm_remove_device() 756 (!other_transport && (BTM_ReadConnectedTransportAddress(other_address, BT_TRANSPORT_BR_EDR) || in bta_dm_remove_device() 905 tBT_TRANSPORT transport = BT_TRANSPORT_BR_EDR; in bta_dm_remove_all_acl() 918 ((link_type == BTA_DM_LINK_TYPE_BR_EDR) && (transport == BT_TRANSPORT_BR_EDR))) in bta_dm_remove_all_acl() 2230 tBT_TRANSPORT transport = BT_TRANSPORT_BR_EDR; in bta_dm_discover_device() 2315 if (BTM_IsAclConnectionUp(bta_dm_search_cb.peer_bdaddr, BT_TRANSPORT_BR_EDR)) in bta_dm_discover_device() [all …]
|
/system/bt/stack/include/ |
D | gatt_api.h | 334 #define GATT_TRANSPORT_BR_EDR BT_TRANSPORT_BR_EDR 335 #define GATT_TRANSPORT_LE_BR_EDR (BT_TRANSPORT_LE|BT_TRANSPORT_BR_EDR)
|
D | bt_types.h | 505 #define BT_TRANSPORT_BR_EDR 1 macro
|
/system/bt/stack/gatt/ |
D | gatt_main.c | 445 if (transport == BT_TRANSPORT_BR_EDR) in gatt_le_connect_cback() 619 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_BR_EDR); in gatt_l2cif_connect_ind_cback() 627 if ((p_tcb = gatt_allocate_tcb_by_bdaddr(bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) in gatt_l2cif_connect_ind_cback()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_act.c | 144 L2CA_SetIdleTimeoutByBdAddr(bta_hf_client_cb.scb.peer_addr, 0, BT_TRANSPORT_BR_EDR); in bta_hf_client_start_close()
|
/system/bt/stack/hid/ |
D | hidh_conn.c | 146 L2CA_SetIdleTimeoutByBdAddr(hh_cb.devices[dhandle].addr, 0, BT_TRANSPORT_BR_EDR); in hidh_conn_disconnect() 897 if (!BTM_IsAclConnectionUp(hh_cb.devices[dhandle].addr, BT_TRANSPORT_BR_EDR)) in hidh_conn_snd_data()
|
/system/bt/bta/ag/ |
D | bta_ag_act.c | 698 L2CA_SetIdleTimeoutByBdAddr(p_scb->peer_addr, 0, BT_TRANSPORT_BR_EDR); in bta_ag_start_close()
|
/system/bt/bta/include/ |
D | bta_api.h | 202 #define BTA_TRANSPORT_BR_EDR BT_TRANSPORT_BR_EDR
|
/system/bt/btif/src/ |
D | btif_dm.c | 794 BTM_GetSecurityFlagsByTransport(bda, &flags, BT_TRANSPORT_BR_EDR); in btif_dm_get_connection_state()
|