/system/bt/stack/mcap/ |
mca_int.h | 232 typedef void (*tMCA_CCB_ACTION)(tMCA_CCB* p_ccb, tMCA_CCB_EVT* p_data); 256 tMCA_CCB* p_ccb; /* the associated control control block */ member in struct:__anon2503 268 typedef void (*tMCA_DCB_ACTION)(tMCA_DCB* p_ccb, tMCA_DCB_EVT* p_data); 280 extern void mca_ccb_event(tMCA_CCB* p_ccb, uint8_t event, tMCA_CCB_EVT* p_data); 283 extern void mca_ccb_rsp_tout(tMCA_CCB* p_ccb, tMCA_CCB_EVT* p_data); 284 extern void mca_ccb_dealloc(tMCA_CCB* p_ccb, tMCA_CCB_EVT* p_data); 285 extern tMCA_CL mca_ccb_to_hdl(tMCA_CCB* p_ccb); 287 extern bool mca_ccb_uses_mdl_id(tMCA_CCB* p_ccb, uint16_t mdl_id); 290 extern void mca_ccb_report_event(tMCA_CCB* p_ccb, uint8_t event, 292 extern void mca_ccb_free_msg(tMCA_CCB* p_ccb, tMCA_CCB_EVT* p_data) [all...] |
mca_dsm.cc | 144 tMCA_DCB* mca_dcb_alloc(tMCA_CCB* p_ccb, tMCA_DEP dep) { 146 tMCA_RCB* p_rcb = p_ccb->p_rcb; 152 i = mca_ccb_to_hdl(p_ccb) - 1; 158 p_dcb_tmp->p_ccb = p_ccb; 180 uint8_t mca_dep_free_mdl(tMCA_CCB* p_ccb, tMCA_DEP dep) { 182 tMCA_RCB* p_rcb = p_ccb->p_rcb; 190 i = mca_ccb_to_hdl(p_ccb) - 1; 218 tMCA_CCB* p_ccb = p_dcb->p_ccb; local [all...] |
mca_l2c.cc | 148 tMCA_CCB* p_ccb; local 159 p_ccb = mca_ccb_by_bd(handle, bd_addr); 160 if (p_ccb == NULL) { 162 p_ccb = mca_ccb_alloc(handle, bd_addr); 163 if (p_ccb != NULL) { 165 p_ccb->lcid = lcid; 166 p_tbl = mca_tc_tbl_calloc(p_ccb); 221 tMCA_CCB* p_ccb; local 231 if (((p_ccb = mca_ccb_by_bd(handle, bd_addr)) != NULL) && /* find the CCB */ 232 (p_ccb->status = 286 tMCA_CCB* p_ccb; local [all...] |
mca_main.cc | 113 tMCA_TC_TBL* mca_tc_tbl_calloc(tMCA_CCB* p_ccb) { 130 p_tbl->cb_idx = mca_ccb_to_hdl(p_ccb); 134 p_tbl->lcid = p_ccb->lcid; 135 mca_cb.tc.lcid_tbl[p_ccb->lcid - L2CAP_BASE_APPL_CID] = i; 273 tMCA_CCB* p_ccb; local 295 p_ccb = mca_ccb_by_hdl((tMCA_CL)p_tbl->cb_idx); 298 mca_ccb_event(p_ccb, MCA_CCB_LL_CLOSE_EVT, &mca_ccb_evt); 323 tMCA_CCB* p_ccb; local 342 p_ccb = mca_ccb_by_hdl((tMCA_CL)p_tbl->cb_idx); 345 mca_ccb_event(p_ccb, MCA_CCB_LL_OPEN_EVT, &mca_ccb_evt) 374 tMCA_CCB* p_ccb; local 409 tMCA_CCB* p_ccb; local 498 tMCA_CCB* p_ccb; local [all...] |
mca_dact.cc | 49 mca_ccb_report_event(p_dcb->p_ccb, MCA_CONG_CHG_EVT, &evt_data); 65 tMCA_CCB* p_ccb = p_dcb->p_ccb; local 73 mca_ccb_event(p_ccb, MCA_CCB_DL_OPEN_EVT, NULL); 74 mca_ccb_report_event(p_ccb, event, &evt_data);
|
/system/bt/stack/avdt/ |
avdt_ad.cc | 142 AvdtpTransportChannel* avdt_ad_tc_tbl_by_st(uint8_t type, AvdtpCcb* p_ccb, 148 if (p_ccb == NULL) { 157 ccb_idx = avdt_ccb_to_idx(p_ccb); 217 AvdtpTransportChannel* avdt_ad_tc_tbl_by_type(uint8_t type, AvdtpCcb* p_ccb, 222 uint8_t ccb_idx = avdt_ccb_to_idx(p_ccb); 248 AvdtpTransportChannel* avdt_ad_tc_tbl_alloc(AvdtpCcb* p_ccb) { 265 p_tbl->ccb_idx = avdt_ccb_to_idx(p_ccb); 302 AvdtpCcb* p_ccb; local 316 p_ccb = avdt_ccb_by_idx(p_tbl->ccb_idx); 317 avdt_ccb_event(p_ccb, AVDT_CCB_LL_CLOSE_EVT, NULL) 348 AvdtpCcb* p_ccb; local 409 AvdtpCcb* p_ccb; local 446 AvdtpCcb* p_ccb; local [all...] |
avdt_api.cc | 41 AvdtpCcb* p_ccb = (AvdtpCcb*)data; local 47 avdt_ccb_event(p_ccb, avdt_event, &avdt_ccb_evt); 51 AvdtpCcb* p_ccb = (AvdtpCcb*)data; local 57 avdt_ccb_event(p_ccb, avdt_event, &avdt_ccb_evt); 61 AvdtpCcb* p_ccb = (AvdtpCcb*)data; local 67 avdt_ccb_event(p_ccb, avdt_event, &avdt_ccb_evt); 258 AvdtpCcb* p_ccb; local 265 p_ccb = avdt_ccb_by_bd(bd_addr); 266 if (p_ccb == NULL) { 267 p_ccb = avdt_ccb_alloc_by_channel_index(bd_addr, channel_index) 305 AvdtpCcb* p_ccb = NULL; local 444 AvdtpCcb* p_ccb = NULL; local 961 AvdtpCcb* p_ccb = NULL; local 1010 AvdtpCcb* p_ccb = NULL; local 1045 AvdtpCcb* p_ccb; local 1073 AvdtpCcb* p_ccb; local [all...] |
avdt_scb.cc | [all...] |
/system/bt/stack/l2cap/ |
l2c_int.h | 602 extern void l2cu_enqueue_ccb(tL2C_CCB* p_ccb); 603 extern void l2cu_dequeue_ccb(tL2C_CCB* p_ccb); 604 extern void l2cu_change_pri_ccb(tL2C_CCB* p_ccb, tL2CAP_CHNL_PRIORITY priority); 607 extern void l2cu_release_ccb(tL2C_CCB* p_ccb); 616 extern void l2cu_send_peer_connect_req(tL2C_CCB* p_ccb); 617 extern void l2cu_send_peer_connect_rsp(tL2C_CCB* p_ccb, uint16_t result, 619 extern void l2cu_send_peer_config_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg); 620 extern void l2cu_send_peer_config_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg); 621 extern void l2cu_send_peer_config_rej(tL2C_CCB* p_ccb, uint8_t* p_data, 623 extern void l2cu_send_peer_disc_req(tL2C_CCB* p_ccb); [all...] |
/system/bt/stack/sdp/ |
sdp_utils.cc | 59 tCONN_CB* p_ccb; local 62 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { 63 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->connection_id == cid)) 64 return (p_ccb); 83 tCONN_CB* p_ccb; local 87 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { 88 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->p_db == p_db) 107 tCONN_CB* p_ccb; local [all...] |
sdp_api.cc | 117 tCONN_CB* p_ccb = sdpu_find_ccb_by_db(p_db); local 118 if (!p_ccb) return (false); 120 sdp_disconnect(p_ccb, SDP_CANCEL); 121 p_ccb->disc_state = SDP_DISC_WAIT_CANCEL; 137 tCONN_CB* p_ccb; local 140 p_ccb = sdp_conn_originate(p_bd_addr); 142 if (!p_ccb) return (false); 144 p_ccb->disc_state = SDP_DISC_WAIT_CONN; 145 p_ccb->p_db = p_db; 146 p_ccb->p_cb = p_cb 168 tCONN_CB* p_ccb; local 201 tCONN_CB* p_ccb; local [all...] |
sdpint.h | 227 extern void sdp_disconnect(tCONN_CB* p_ccb, uint16_t reason); 253 extern void sdpu_release_ccb(tCONN_CB* p_ccb); 258 extern void sdpu_build_n_send_error(tCONN_CB* p_ccb, uint16_t trans_num, 296 extern void sdp_server_handle_client_req(tCONN_CB* p_ccb, BT_HDR* p_msg); 298 #define sdp_server_handle_client_req(p_ccb, p_msg) 303 extern void sdp_disc_connected(tCONN_CB* p_ccb); 304 extern void sdp_disc_server_rsp(tCONN_CB* p_ccb, BT_HDR* p_msg);
|
/system/bt/stack/avct/ |
avct_int.h | 117 tAVCT_CCB* p_ccb; member in struct:__anon2119 126 tAVCT_CCB* p_ccb; member in union:__anon2120 207 extern void avct_ccb_dealloc(tAVCT_CCB* p_ccb, uint8_t event, uint16_t result, 209 extern uint8_t avct_ccb_to_idx(tAVCT_CCB* p_ccb);
|
avct_l2c.cc | 76 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 79 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { 80 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { 81 AVCT_TRACE_DEBUG("avct_l2c_is_ct control:x%x", p_ccb->cc.control); 82 if (p_ccb->cc.control & AVCT_PASSIVE) {
|
/system/bt/profile/avrcp/ |
avrcp_internal.h | 42 virtual uint16_t Open(uint8_t* p_handle, tAVRC_CONN_CB* p_ccb,
|
/system/bt/stack/include/ |
avrc_api.h | 289 * determined by the p_ccb->stream parameter. 291 * roles, as determined by the p_ccb->control parameter. 300 * p_ccb->company_id: Company Identifier. 302 * p_ccb->p_ctrl_cback: Pointer to the control callback 305 * p_ccb->p_msg_cback: Pointer to the message callback 308 * p_ccb->conn: AVCTP connection role. This is set to 312 * p_ccb->control: Control role. This is set to 331 extern uint16_t AVRC_Open(uint8_t* p_handle, tAVRC_CONN_CB* p_ccb,
|
/system/bt/stack/avrc/ |
avrc_api.cc | 930 * determined by the p_ccb->stream parameter [all...] |
/system/bt/btif/avrcp/ |
avrcp_service.cc | 74 uint16_t Open(uint8_t* p_handle, tAVRC_CONN_CB* p_ccb, 76 return AVRC_Open(p_handle, p_ccb, bd_addr);
|