Loading system/stack/btm/btm_sco.cc +0 −20 Original line number Diff line number Diff line Loading @@ -1551,26 +1551,6 @@ void BTM_EScoConnRsp(uint16_t sco_inx, uint8_t hci_status, } } /******************************************************************************* * * Function btm_is_sco_active * * Description This function is called to see if a SCO handle is already in * use. * * Returns bool * ******************************************************************************/ bool btm_is_sco_active(uint16_t handle) { uint16_t xx; tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++) { if (handle == p->hci_handle && p->state == SCO_ST_CONNECTED) return (true); } return (false); } /******************************************************************************* * * Function BTM_GetNumScoLinks Loading system/stack/include/sco_hci_link_interface.h +0 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,6 @@ struct tBTM_ESCO_DATA; bool btm_is_sco_active(uint16_t handle); void btm_sco_chk_pend_unpark(tHCI_STATUS hci_status, uint16_t hci_handle); void btm_sco_conn_req(const RawAddress& bda, const DEV_CLASS& dev_class, uint8_t link_type); Loading system/test/mock/mock_stack_btm_sco.cc +0 −4 Original line number Diff line number Diff line Loading @@ -34,10 +34,6 @@ bool BTM_IsScoActiveByBdaddr(const RawAddress& /* remote_bda */) { inc_func_call_count(__func__); return false; } bool btm_is_sco_active(uint16_t /* handle */) { inc_func_call_count(__func__); return false; } bool btm_sco_removed(uint16_t /* hci_handle */, tHCI_REASON /* reason */) { inc_func_call_count(__func__); return false; Loading Loading
system/stack/btm/btm_sco.cc +0 −20 Original line number Diff line number Diff line Loading @@ -1551,26 +1551,6 @@ void BTM_EScoConnRsp(uint16_t sco_inx, uint8_t hci_status, } } /******************************************************************************* * * Function btm_is_sco_active * * Description This function is called to see if a SCO handle is already in * use. * * Returns bool * ******************************************************************************/ bool btm_is_sco_active(uint16_t handle) { uint16_t xx; tSCO_CONN* p = &btm_cb.sco_cb.sco_db[0]; for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++) { if (handle == p->hci_handle && p->state == SCO_ST_CONNECTED) return (true); } return (false); } /******************************************************************************* * * Function BTM_GetNumScoLinks Loading
system/stack/include/sco_hci_link_interface.h +0 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,6 @@ struct tBTM_ESCO_DATA; bool btm_is_sco_active(uint16_t handle); void btm_sco_chk_pend_unpark(tHCI_STATUS hci_status, uint16_t hci_handle); void btm_sco_conn_req(const RawAddress& bda, const DEV_CLASS& dev_class, uint8_t link_type); Loading
system/test/mock/mock_stack_btm_sco.cc +0 −4 Original line number Diff line number Diff line Loading @@ -34,10 +34,6 @@ bool BTM_IsScoActiveByBdaddr(const RawAddress& /* remote_bda */) { inc_func_call_count(__func__); return false; } bool btm_is_sco_active(uint16_t /* handle */) { inc_func_call_count(__func__); return false; } bool btm_sco_removed(uint16_t /* hci_handle */, tHCI_REASON /* reason */) { inc_func_call_count(__func__); return false; Loading