Loading system/bta/ag/bta_ag_rfc.cc +6 −6 Original line number Diff line number Diff line Loading @@ -54,14 +54,14 @@ static void bta_ag_mgmt_cback_6(const tPORT_RESULT code, uint16_t port_handle); /* rfcomm callback function tables */ typedef tPORT_CALLBACK* tBTA_AG_PORT_CBACK; static const tBTA_AG_PORT_CBACK bta_ag_port_cback_tbl[] = {bta_ag_port_cback_1, bta_ag_port_cback_2, bta_ag_port_cback_3, bta_ag_port_cback_4, bta_ag_port_cback_5, bta_ag_port_cback_6}; static const tBTA_AG_PORT_CBACK bta_ag_port_cback_tbl[] = { bta_ag_port_cback_1, bta_ag_port_cback_2, bta_ag_port_cback_3, bta_ag_port_cback_4, bta_ag_port_cback_5, bta_ag_port_cback_6}; typedef tPORT_MGMT_CALLBACK* tBTA_AG_PORT_MGMT_CBACK; static const tBTA_AG_PORT_MGMT_CBACK bta_ag_mgmt_cback_tbl[] = {bta_ag_mgmt_cback_1, bta_ag_mgmt_cback_2, bta_ag_mgmt_cback_3, bta_ag_mgmt_cback_4, bta_ag_mgmt_cback_5, bta_ag_mgmt_cback_6}; static const tBTA_AG_PORT_MGMT_CBACK bta_ag_mgmt_cback_tbl[] = { bta_ag_mgmt_cback_1, bta_ag_mgmt_cback_2, bta_ag_mgmt_cback_3, bta_ag_mgmt_cback_4, bta_ag_mgmt_cback_5, bta_ag_mgmt_cback_6}; /******************************************************************************* * Loading system/bta/ar/bta_ar.cc +1 −1 Original line number Diff line number Diff line Loading @@ -27,8 +27,8 @@ #include <cstdint> #include "bta/include/bta_ar_api.h" #include "bta/ar/bta_ar_int.h" #include "bta/include/bta_ar_api.h" #include "bta/sys/bta_sys.h" #include "profile/avrcp/avrcp_sdp_service.h" #include "stack/include/avct_api.h" Loading system/bta/include/bta_pan_ci.h +0 −64 Original line number Diff line number Diff line Loading @@ -33,70 +33,6 @@ /***************************************************************************** * Function Declarations ****************************************************************************/ /******************************************************************************* * * Function bta_pan_ci_tx_ready * * Description This function sends an event to PAN indicating the phone is * ready for more data and PAN should call * bta_pan_co_tx_path(). * This function is used when the TX data path is configured * to use a pull interface. * * * Returns void * ******************************************************************************/ void bta_pan_ci_tx_ready(uint16_t handle); /******************************************************************************* * * Function bta_pan_ci_rx_ready * * Description This function sends an event to PAN indicating the phone * has data available to send to PAN and PAN should call * bta_pan_co_rx_path(). This function is used when the RX * data path is configured to use a pull interface. * * * Returns void * ******************************************************************************/ void bta_pan_ci_rx_ready(uint16_t handle); /******************************************************************************* * * Function bta_pan_ci_tx_flow * * Description This function is called to enable or disable data flow on * the TX path. The phone should call this function to * disable data flow when it is congested and cannot handle * any more data sent by bta_pan_co_tx_write(). * This function is used when the * TX data path is configured to use a push interface. * * * Returns void * ******************************************************************************/ void bta_pan_ci_tx_flow(uint16_t handle, bool enable); /******************************************************************************* * * Function bta_pan_ci_rx_writebuf * * Description This function is called to send data to the phone when * the RX path is configured to use a push interface with * zero copy. The function sends an event to PAN containing * the data buffer. The buffer will be freed by BTA; the * phone must not free the buffer. * * * Returns true if flow enabled * ******************************************************************************/ void bta_pan_ci_rx_writebuf(uint16_t handle, const RawAddress& src, const RawAddress& dst, uint16_t protocol, BT_HDR* p_buf, bool ext); /******************************************************************************* * Loading system/bta/pan/bta_pan_act.cc +0 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ using namespace bluetooth; #if (PAN_INCLUDED == TRUE) void bta_pan_sm_execute(tBTA_PAN_SCB* p_scb, uint16_t event, tBTA_PAN_DATA* p_data); /* RX and TX data flow mask */ #define BTA_PAN_RX_MASK 0x0F Loading system/bta/pan/bta_pan_api.cc +0 −4 Original line number Diff line number Diff line Loading @@ -35,10 +35,6 @@ #include "types/raw_address.h" static const tBTA_SYS_REG bta_pan_reg = {bta_pan_hdl_event, BTA_PanDisable}; void bta_pan_api_disable(tBTA_PAN_DATA* p_data); void bta_pan_api_enable(tBTA_PAN_DATA* p_data); void bta_pan_api_open(tBTA_PAN_DATA* p_data); void bta_pan_sm_execute(tBTA_PAN_SCB* p_scb, uint16_t event, tBTA_PAN_DATA* p_data); std::string user_service_name; /* Service name for PANU role */ std::string gn_service_name; /* Service name for GN role */ Loading Loading
system/bta/ag/bta_ag_rfc.cc +6 −6 Original line number Diff line number Diff line Loading @@ -54,14 +54,14 @@ static void bta_ag_mgmt_cback_6(const tPORT_RESULT code, uint16_t port_handle); /* rfcomm callback function tables */ typedef tPORT_CALLBACK* tBTA_AG_PORT_CBACK; static const tBTA_AG_PORT_CBACK bta_ag_port_cback_tbl[] = {bta_ag_port_cback_1, bta_ag_port_cback_2, bta_ag_port_cback_3, bta_ag_port_cback_4, bta_ag_port_cback_5, bta_ag_port_cback_6}; static const tBTA_AG_PORT_CBACK bta_ag_port_cback_tbl[] = { bta_ag_port_cback_1, bta_ag_port_cback_2, bta_ag_port_cback_3, bta_ag_port_cback_4, bta_ag_port_cback_5, bta_ag_port_cback_6}; typedef tPORT_MGMT_CALLBACK* tBTA_AG_PORT_MGMT_CBACK; static const tBTA_AG_PORT_MGMT_CBACK bta_ag_mgmt_cback_tbl[] = {bta_ag_mgmt_cback_1, bta_ag_mgmt_cback_2, bta_ag_mgmt_cback_3, bta_ag_mgmt_cback_4, bta_ag_mgmt_cback_5, bta_ag_mgmt_cback_6}; static const tBTA_AG_PORT_MGMT_CBACK bta_ag_mgmt_cback_tbl[] = { bta_ag_mgmt_cback_1, bta_ag_mgmt_cback_2, bta_ag_mgmt_cback_3, bta_ag_mgmt_cback_4, bta_ag_mgmt_cback_5, bta_ag_mgmt_cback_6}; /******************************************************************************* * Loading
system/bta/ar/bta_ar.cc +1 −1 Original line number Diff line number Diff line Loading @@ -27,8 +27,8 @@ #include <cstdint> #include "bta/include/bta_ar_api.h" #include "bta/ar/bta_ar_int.h" #include "bta/include/bta_ar_api.h" #include "bta/sys/bta_sys.h" #include "profile/avrcp/avrcp_sdp_service.h" #include "stack/include/avct_api.h" Loading
system/bta/include/bta_pan_ci.h +0 −64 Original line number Diff line number Diff line Loading @@ -33,70 +33,6 @@ /***************************************************************************** * Function Declarations ****************************************************************************/ /******************************************************************************* * * Function bta_pan_ci_tx_ready * * Description This function sends an event to PAN indicating the phone is * ready for more data and PAN should call * bta_pan_co_tx_path(). * This function is used when the TX data path is configured * to use a pull interface. * * * Returns void * ******************************************************************************/ void bta_pan_ci_tx_ready(uint16_t handle); /******************************************************************************* * * Function bta_pan_ci_rx_ready * * Description This function sends an event to PAN indicating the phone * has data available to send to PAN and PAN should call * bta_pan_co_rx_path(). This function is used when the RX * data path is configured to use a pull interface. * * * Returns void * ******************************************************************************/ void bta_pan_ci_rx_ready(uint16_t handle); /******************************************************************************* * * Function bta_pan_ci_tx_flow * * Description This function is called to enable or disable data flow on * the TX path. The phone should call this function to * disable data flow when it is congested and cannot handle * any more data sent by bta_pan_co_tx_write(). * This function is used when the * TX data path is configured to use a push interface. * * * Returns void * ******************************************************************************/ void bta_pan_ci_tx_flow(uint16_t handle, bool enable); /******************************************************************************* * * Function bta_pan_ci_rx_writebuf * * Description This function is called to send data to the phone when * the RX path is configured to use a push interface with * zero copy. The function sends an event to PAN containing * the data buffer. The buffer will be freed by BTA; the * phone must not free the buffer. * * * Returns true if flow enabled * ******************************************************************************/ void bta_pan_ci_rx_writebuf(uint16_t handle, const RawAddress& src, const RawAddress& dst, uint16_t protocol, BT_HDR* p_buf, bool ext); /******************************************************************************* * Loading
system/bta/pan/bta_pan_act.cc +0 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ using namespace bluetooth; #if (PAN_INCLUDED == TRUE) void bta_pan_sm_execute(tBTA_PAN_SCB* p_scb, uint16_t event, tBTA_PAN_DATA* p_data); /* RX and TX data flow mask */ #define BTA_PAN_RX_MASK 0x0F Loading
system/bta/pan/bta_pan_api.cc +0 −4 Original line number Diff line number Diff line Loading @@ -35,10 +35,6 @@ #include "types/raw_address.h" static const tBTA_SYS_REG bta_pan_reg = {bta_pan_hdl_event, BTA_PanDisable}; void bta_pan_api_disable(tBTA_PAN_DATA* p_data); void bta_pan_api_enable(tBTA_PAN_DATA* p_data); void bta_pan_api_open(tBTA_PAN_DATA* p_data); void bta_pan_sm_execute(tBTA_PAN_SCB* p_scb, uint16_t event, tBTA_PAN_DATA* p_data); std::string user_service_name; /* Service name for PANU role */ std::string gn_service_name; /* Service name for GN role */ Loading