Loading system/btif/src/btif_sock_l2cap.cc +1 −1 Original line number Diff line number Diff line Loading @@ -39,10 +39,10 @@ #include "btif_uid.h" #include "btif_util.h" #include "btm_api.h" #include "btm_int.h" #include "common/metrics.h" #include "l2c_api.h" #include "l2cdefs.h" #include "osi/include/osi.h" struct packet { struct packet *next, *prev; Loading system/stack/btm/btm_int.h +0 −2 Original line number Diff line number Diff line Loading @@ -162,8 +162,6 @@ extern bool btm_is_sco_active(uint16_t handle); extern void btm_remove_sco_links(const RawAddress& bda); extern bool btm_is_sco_active_by_bdaddr(const RawAddress& remote_bda); extern void btm_read_def_esco_mode(enh_esco_params_t* p_parms); extern uint16_t btm_find_scb_by_handle(uint16_t handle); extern void btm_sco_flush_sco_data(uint16_t sco_inx); /* Internal functions provided by btm_devctl.cc Loading system/stack/btm/btm_sco.cc +0 −41 Original line number Diff line number Diff line Loading @@ -847,31 +847,6 @@ void btm_sco_connected(uint8_t hci_status, const RawAddress* bda, #endif } /******************************************************************************* * * Function btm_find_scb_by_handle * * Description Look through all active SCO connection for a match based on * the HCI handle. * * Returns index to matched SCO connection CB, or BTM_MAX_SCO_LINKS if * no match. * ******************************************************************************/ uint16_t btm_find_scb_by_handle(uint16_t handle) { int xx; tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++) { if ((p->state == SCO_ST_CONNECTED) && (p->hci_handle == handle)) { return (xx); } } /* If here, no match found */ return (xx); } /******************************************************************************* * * Function BTM_RemoveSco Loading Loading @@ -1245,22 +1220,6 @@ void BTM_EScoConnRsp(uint16_t sco_inx, uint8_t hci_status, #endif } /******************************************************************************* * * Function btm_read_def_esco_mode * * Description This function copies the current default esco settings into * the return buffer. * * Returns tBTM_SCO_TYPE * ******************************************************************************/ void btm_read_def_esco_mode(enh_esco_params_t* p_parms) { #if (BTM_MAX_SCO_LINKS > 0) *p_parms = btm_cb.sco_cb.def_esco_parms; #endif } /******************************************************************************* * * Function btm_esco_proc_conn_chg Loading system/stack/l2cap/l2c_utils.cc +0 −3 Original line number Diff line number Diff line Loading @@ -23,15 +23,12 @@ ******************************************************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "bt_common.h" #include "bt_types.h" #include "bt_utils.h" #include "btm_api.h" #include "btm_int.h" #include "btu.h" #include "device/include/controller.h" #include "hci/include/btsnoop.h" #include "hcidefs.h" Loading Loading
system/btif/src/btif_sock_l2cap.cc +1 −1 Original line number Diff line number Diff line Loading @@ -39,10 +39,10 @@ #include "btif_uid.h" #include "btif_util.h" #include "btm_api.h" #include "btm_int.h" #include "common/metrics.h" #include "l2c_api.h" #include "l2cdefs.h" #include "osi/include/osi.h" struct packet { struct packet *next, *prev; Loading
system/stack/btm/btm_int.h +0 −2 Original line number Diff line number Diff line Loading @@ -162,8 +162,6 @@ extern bool btm_is_sco_active(uint16_t handle); extern void btm_remove_sco_links(const RawAddress& bda); extern bool btm_is_sco_active_by_bdaddr(const RawAddress& remote_bda); extern void btm_read_def_esco_mode(enh_esco_params_t* p_parms); extern uint16_t btm_find_scb_by_handle(uint16_t handle); extern void btm_sco_flush_sco_data(uint16_t sco_inx); /* Internal functions provided by btm_devctl.cc Loading
system/stack/btm/btm_sco.cc +0 −41 Original line number Diff line number Diff line Loading @@ -847,31 +847,6 @@ void btm_sco_connected(uint8_t hci_status, const RawAddress* bda, #endif } /******************************************************************************* * * Function btm_find_scb_by_handle * * Description Look through all active SCO connection for a match based on * the HCI handle. * * Returns index to matched SCO connection CB, or BTM_MAX_SCO_LINKS if * no match. * ******************************************************************************/ uint16_t btm_find_scb_by_handle(uint16_t handle) { int xx; tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++) { if ((p->state == SCO_ST_CONNECTED) && (p->hci_handle == handle)) { return (xx); } } /* If here, no match found */ return (xx); } /******************************************************************************* * * Function BTM_RemoveSco Loading Loading @@ -1245,22 +1220,6 @@ void BTM_EScoConnRsp(uint16_t sco_inx, uint8_t hci_status, #endif } /******************************************************************************* * * Function btm_read_def_esco_mode * * Description This function copies the current default esco settings into * the return buffer. * * Returns tBTM_SCO_TYPE * ******************************************************************************/ void btm_read_def_esco_mode(enh_esco_params_t* p_parms) { #if (BTM_MAX_SCO_LINKS > 0) *p_parms = btm_cb.sco_cb.def_esco_parms; #endif } /******************************************************************************* * * Function btm_esco_proc_conn_chg Loading
system/stack/l2cap/l2c_utils.cc +0 −3 Original line number Diff line number Diff line Loading @@ -23,15 +23,12 @@ ******************************************************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "bt_common.h" #include "bt_types.h" #include "bt_utils.h" #include "btm_api.h" #include "btm_int.h" #include "btu.h" #include "device/include/controller.h" #include "hci/include/btsnoop.h" #include "hcidefs.h" Loading