Home
last modified time | relevance | path

Searched defs:p_ccb (Results 1 – 25 of 37) sorted by relevance

12

/system/bt/stack/avdt/
Davdt_ccb_act.cc50 static void avdt_ccb_clear_ccb(AvdtpCcb* p_ccb) { in avdt_ccb_clear_ccb()
79 void avdt_ccb_chan_open(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chan_open()
94 void avdt_ccb_chan_close(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chan_close()
110 void avdt_ccb_chk_close(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chk_close()
144 void avdt_ccb_hdl_discover_cmd(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data) { in avdt_ccb_hdl_discover_cmd()
184 void avdt_ccb_hdl_discover_rsp(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data) { in avdt_ccb_hdl_discover_rsp()
207 void avdt_ccb_hdl_getcap_cmd(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data) { in avdt_ccb_hdl_getcap_cmd()
236 void avdt_ccb_hdl_getcap_rsp(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data) { in avdt_ccb_hdl_getcap_rsp()
259 void avdt_ccb_hdl_start_cmd(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data) { in avdt_ccb_hdl_start_cmd()
290 void avdt_ccb_hdl_start_rsp(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data) { in avdt_ccb_hdl_start_rsp()
[all …]
Davdt_ccb.cc367 void avdt_ccb_event(AvdtpCcb* p_ccb, uint8_t event, tAVDT_CCB_EVT* p_data) { in avdt_ccb_event()
411 AvdtpCcb* p_ccb = &avdtp_cb.ccb[0]; in avdt_ccb_by_bd() local
442 AvdtpCcb* p_ccb = &avdtp_cb.ccb[0]; in avdt_ccb_alloc() local
464 AvdtpCcb* p_ccb = &avdtp_cb.ccb[channel_index]; in avdt_ccb_alloc_by_channel_index() local
497 void avdt_ccb_dealloc(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_dealloc()
514 uint8_t avdt_ccb_to_idx(AvdtpCcb* p_ccb) { in avdt_ccb_to_idx()
530 AvdtpCcb* p_ccb; in avdt_ccb_by_idx() local
Davdt_ad.cc143 AvdtpTransportChannel* avdt_ad_tc_tbl_by_st(uint8_t type, AvdtpCcb* p_ccb, in avdt_ad_tc_tbl_by_st()
215 AvdtpTransportChannel* avdt_ad_tc_tbl_by_type(uint8_t type, AvdtpCcb* p_ccb, in avdt_ad_tc_tbl_by_type()
246 AvdtpTransportChannel* avdt_ad_tc_tbl_alloc(AvdtpCcb* p_ccb) { in avdt_ad_tc_tbl_alloc()
299 AvdtpCcb* p_ccb; in avdt_ad_tc_close_ind() local
345 AvdtpCcb* p_ccb; in avdt_ad_tc_open_ind() local
406 AvdtpCcb* p_ccb; in avdt_ad_tc_cong_ind() local
443 AvdtpCcb* p_ccb; in avdt_ad_tc_data_ind() local
483 uint8_t avdt_ad_write_req(uint8_t type, AvdtpCcb* p_ccb, AvdtpScb* p_scb, in avdt_ad_write_req()
510 void avdt_ad_open_req(uint8_t type, AvdtpCcb* p_ccb, AvdtpScb* p_scb, in avdt_ad_open_req()
579 void avdt_ad_close_req(uint8_t type, AvdtpCcb* p_ccb, AvdtpScb* p_scb) { in avdt_ad_close_req()
Davdt_l2c.cc71 AvdtpCcb* p_ccb = NULL; in avdt_sec_check_complete_term() local
101 AvdtpCcb* p_ccb = NULL; in avdt_sec_check_complete_orig() local
129 AvdtpCcb* p_ccb; in avdt_l2c_connect_ind_cback() local
229 AvdtpCcb* p_ccb; in avdt_l2c_connect_cfm_cback() local
Davdt_api.cc45 AvdtpCcb* p_ccb = (AvdtpCcb*)data; in avdt_ccb_idle_ccb_timer_timeout() local
55 AvdtpCcb* p_ccb = (AvdtpCcb*)data; in avdt_ccb_ret_ccb_timer_timeout() local
65 AvdtpCcb* p_ccb = (AvdtpCcb*)data; in avdt_ccb_rsp_ccb_timer_timeout() local
249 AvdtpCcb* p_ccb; in AVDT_DiscoverReq() local
298 AvdtpCcb* p_ccb = NULL; in avdt_get_cap_req() local
443 AvdtpCcb* p_ccb = NULL; in AVDT_OpenReq() local
904 AvdtpCcb* p_ccb = NULL; in AVDT_ConnectReq() local
952 AvdtpCcb* p_ccb = NULL; in AVDT_DisconnectReq() local
982 AvdtpCcb* p_ccb; in AVDT_GetL2CapChannel() local
/system/bt/stack/sdp/
Dsdp_main.cc119 tCONN_CB* p_ccb = sdpu_allocate_ccb(); in sdp_connect_ind() local
131 tCONN_CB* p_ccb = sdpu_find_ccb_by_cid(l2cap_cid); in sdp_on_l2cap_error() local
148 tCONN_CB* p_ccb; in sdp_connect_cfm() local
177 tCONN_CB* p_ccb; in sdp_config_ind() local
215 tCONN_CB* p_ccb; in sdp_config_cfm() local
249 tCONN_CB* p_ccb; in sdp_disconnect_ind() local
289 tCONN_CB* p_ccb; in sdp_data_ind() local
322 tCONN_CB* p_ccb; in sdp_conn_originate() local
368 void sdp_disconnect(tCONN_CB* p_ccb, tSDP_REASON reason) { in sdp_disconnect()
397 tCONN_CB* p_ccb = (tCONN_CB*)data; in sdp_conn_timer_timeout() local
Dsdp_discovery.cc120 static void sdp_snd_service_search_req(tCONN_CB* p_ccb, uint8_t cont_len, in sdp_snd_service_search_req()
181 void sdp_disc_connected(tCONN_CB* p_ccb) { in sdp_disc_connected()
206 void sdp_disc_server_rsp(tCONN_CB* p_ccb, BT_HDR* p_msg) { in sdp_disc_server_rsp()
267 static void process_service_search_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, in process_service_search_rsp()
340 static bool sdp_copy_raw_data(tCONN_CB* p_ccb, bool offset) { in sdp_copy_raw_data()
393 static void process_service_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, in process_service_attr_rsp()
521 static void process_service_search_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, in process_service_search_attr_rsp()
686 static uint8_t* save_attr_seq(tCONN_CB* p_ccb, uint8_t* p, uint8_t* p_msg_end) { in save_attr_seq()
Dsdp_server.cc107 void sdp_server_handle_client_req(tCONN_CB* p_ccb, BT_HDR* p_msg) { in sdp_server_handle_client_req()
181 static void process_service_search(tCONN_CB* p_ccb, uint16_t trans_num, in process_service_search()
309 static void process_service_attr_req(tCONN_CB* p_ccb, uint16_t trans_num, in process_service_attr_req()
543 static void process_service_search_attr_req(tCONN_CB* p_ccb, uint16_t trans_num, in process_service_search_attr_req()
/system/bt/stack/l2cap/
Dl2c_csm.cc60 static void l2c_csm_send_connect_rsp(tL2C_CCB* p_ccb) { in l2c_csm_send_connect_rsp()
65 static void l2c_csm_send_config_req(tL2C_CCB* p_ccb) { in l2c_csm_send_config_req()
79 static void l2c_csm_send_config_rsp_ok(tL2C_CCB* p_ccb) { in l2c_csm_send_config_rsp_ok()
85 static void l2c_csm_send_disconnect_rsp(tL2C_CCB* p_ccb) { in l2c_csm_send_disconnect_rsp()
89 static void l2c_csm_indicate_connection_open(tL2C_CCB* p_ccb) { in l2c_csm_indicate_connection_open()
112 void l2c_csm_execute(tL2C_CCB* p_ccb, tL2CEVT event, void* p_data) { in l2c_csm_execute()
176 static void l2c_csm_closed(tL2C_CCB* p_ccb, tL2CEVT event, void* p_data) { in l2c_csm_closed()
346 static void l2c_csm_orig_w4_sec_comp(tL2C_CCB* p_ccb, tL2CEVT event, in l2c_csm_orig_w4_sec_comp()
445 static void l2c_csm_term_w4_sec_comp(tL2C_CCB* p_ccb, tL2CEVT event, in l2c_csm_term_w4_sec_comp()
577 static void l2c_csm_w4_l2cap_connect_rsp(tL2C_CCB* p_ccb, tL2CEVT event, in l2c_csm_w4_l2cap_connect_rsp()
[all …]
Dl2c_fcr.cc164 void l2c_fcr_start_timer(tL2C_CCB* p_ccb) { in l2c_fcr_start_timer()
191 void l2c_fcr_stop_timer(tL2C_CCB* p_ccb) { in l2c_fcr_stop_timer()
206 void l2c_fcr_cleanup(tL2C_CCB* p_ccb) { in l2c_fcr_cleanup()
266 bool l2c_fcr_is_flow_controlled(tL2C_CCB* p_ccb) { in l2c_fcr_is_flow_controlled()
290 static void prepare_I_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf, in prepare_I_frame()
386 void l2c_fcr_send_S_frame(tL2C_CCB* p_ccb, uint16_t function_code, in l2c_fcr_send_S_frame()
470 void l2c_fcr_proc_pdu(tL2C_CCB* p_ccb, BT_HDR* p_buf) { in l2c_fcr_proc_pdu()
677 void l2c_lcc_proc_pdu(tL2C_CCB* p_ccb, BT_HDR* p_buf) { in l2c_lcc_proc_pdu()
777 void l2c_fcr_proc_tout(tL2C_CCB* p_ccb) { in l2c_fcr_proc_tout()
804 void l2c_fcr_proc_ack_tout(tL2C_CCB* p_ccb) { in l2c_fcr_proc_ack_tout()
[all …]
Dl2c_main.cc149 tL2C_CCB* p_ccb = NULL; in l2c_rcv_acl_data() local
357 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd() local
376 for (tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; in process_l2cap_cmd() local
404 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in process_l2cap_cmd() local
438 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd() local
610 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd() local
724 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd() local
750 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd() local
771 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd() local
841 for (tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; in process_l2cap_cmd() local
[all …]
Dl2c_utils.cc150 tL2C_CCB* p_ccb; in l2cu_release_lcb() local
400 void l2cu_send_peer_connect_req(tL2C_CCB* p_ccb) { in l2cu_send_peer_connect_req()
436 void l2cu_send_peer_connect_rsp(tL2C_CCB* p_ccb, uint16_t result, in l2cu_send_peer_connect_rsp()
510 void l2cu_send_credit_based_reconfig_req(tL2C_CCB* p_ccb, in l2cu_send_credit_based_reconfig_req()
563 void l2cu_send_peer_config_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { in l2cu_send_peer_config_req()
664 void l2cu_send_peer_config_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { in l2cu_send_peer_config_rsp()
754 void l2cu_send_peer_config_rej(tL2C_CCB* p_ccb, uint8_t* p_data, in l2cu_send_peer_config_rej()
871 void l2cu_send_peer_disc_req(tL2C_CCB* p_ccb) { in l2cu_send_peer_disc_req()
1158 void l2cu_enqueue_ccb(tL2C_CCB* p_ccb) { in l2cu_enqueue_ccb()
1238 void l2cu_dequeue_ccb(tL2C_CCB* p_ccb) { in l2cu_dequeue_ccb()
[all …]
Dl2c_api.cc164 tL2C_CCB* p_ccb; in L2CA_Deregister() local
331 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in L2CA_ConnectReq() local
470 tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; in L2CA_DeregisterLECoc() local
540 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in L2CA_ConnectLECocReq() local
605 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(NULL, lcid); in L2CA_GetPeerLECocConfig() local
655 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, p_lcb->pending_lead_cid); in L2CA_ConnectCreditBasedRsp() local
754 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in L2CA_ConnectCreditBasedReq() local
815 tL2C_CCB* p_ccb; in L2CA_ReconfigCreditBasedConnsReq() local
887 tL2C_CCB* p_ccb; in L2CA_DisconnectReq() local
1026 tL2C_CCB* p_ccb; in L2CA_SetTxPriority() local
[all …]
Dl2c_link.cc145 tL2C_CCB* p_ccb; in l2c_link_hci_conn_comp() local
277 tL2C_CCB* p_ccb; in l2c_link_sec_comp2() local
343 tL2C_CCB* p_ccb; in l2c_link_hci_disc_comp() local
462 tL2C_CCB* p_ccb; in l2c_link_timeout() local
549 tL2C_CCB* p_ccb; in l2c_info_resp_timer_timeout() local
727 tL2C_CCB* p_ccb = l2cb.ccb_pool + xx; in l2c_link_adjust_chnl_allocation() local
834 for (tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; in l2c_link_check_power_mode() local
1388 tL2C_CCB* p_ccb; in l2cu_get_next_channel_in_rr() local
1483 tL2C_CCB* p_ccb; in l2cu_get_next_buffer_to_send() local
Dl2c_ble.cc202 for (tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; in l2cble_notify_le_connection() local
421 tL2C_CCB *p_ccb = NULL, *temp_p_ccb = NULL; in l2cble_process_sig_cmd() local
1313 void l2cble_credit_based_conn_req(tL2C_CCB* p_ccb) { in l2cble_credit_based_conn_req()
1339 void l2cble_credit_based_conn_res(tL2C_CCB* p_ccb, uint16_t result) { in l2cble_credit_based_conn_res()
1361 void l2cble_send_flow_control_credit(tL2C_CCB* p_ccb, uint16_t credit_value) { in l2cble_send_flow_control_credit()
1383 void l2cble_send_peer_disc_req(tL2C_CCB* p_ccb) { in l2cble_send_peer_disc_req()
/system/bt/stack/gap/
Dgap_conn.cc165 tGAP_CCB* p_ccb; in GAP_ConnOpen() local
314 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); in GAP_ConnClose() local
355 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); in GAP_ConnReadData() local
410 tGAP_CCB* p_ccb; in GAP_GetRxQueueCnt() local
432 static bool gap_try_write_queued_data(tGAP_CCB* p_ccb) { in gap_try_write_queued_data()
472 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); in GAP_ConnWriteData() local
512 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); in GAP_ConnGetRemoteAddr() local
538 tGAP_CCB* p_ccb; in GAP_ConnGetRemMtuSize() local
559 tGAP_CCB* p_ccb; in GAP_ConnGetL2CAPCid() local
578 tGAP_CCB* p_ccb = gap_find_ccb_by_cid(l2cap_cid); in gap_tx_complete_ind() local
[all …]
/system/bt/stack/avct/
Davct_ccb.cc43 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_ccb_alloc() local
74 void avct_ccb_dealloc(tAVCT_CCB* p_ccb, uint8_t event, uint16_t result, in avct_ccb_dealloc()
105 uint8_t avct_ccb_to_idx(tAVCT_CCB* p_ccb) { in avct_ccb_to_idx()
121 tAVCT_CCB* p_ccb; in avct_ccb_by_idx() local
Davct_api.cc122 tAVCT_CCB* p_ccb; in AVCT_CreateConn() local
181 tAVCT_CCB* p_ccb; in AVCT_RemoveConn() local
222 tAVCT_CCB* p_ccb; in AVCT_CreateBrowse() local
285 tAVCT_CCB* p_ccb; in AVCT_RemoveBrowse() local
317 tAVCT_CCB* p_ccb = avct_ccb_by_idx(handle); in AVCT_GetBrowseMtu() local
338 tAVCT_CCB* p_ccb; in AVCT_GetPeerMtu() local
375 tAVCT_CCB* p_ccb; in AVCT_MsgReq() local
Davct_bcb_act.cc156 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_open_ind() local
221 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_open_fail() local
242 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_close_ind() local
272 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_close_cfm() local
381 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_cong_ind() local
507 tAVCT_CCB* p_ccb; in avct_bcb_msg_ind() local
587 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_dealloc() local
659 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_get_last_ccb_index() local
Davct_lcb_act.cc218 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_ind() local
263 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_fail() local
286 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_ind() local
315 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_cfm() local
419 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_cong_ind() local
590 tAVCT_CCB* p_ccb; in avct_lcb_msg_ind() local
Davct_lcb.cc302 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_dealloc() local
359 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_has_pid() local
381 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_last_ccb() local
/system/bt/test/mock/
Dmock_stack_l2cap_utils.cc57 bool l2cu_is_ccb_active(tL2C_CCB* p_ccb) { in l2cu_is_ccb_active()
124 uint8_t l2cu_process_peer_cfg_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { in l2cu_process_peer_cfg_req()
129 void l2cu_adjust_out_mps(tL2C_CCB* p_ccb) { in l2cu_adjust_out_mps()
132 void l2cu_change_pri_ccb(tL2C_CCB* p_ccb, tL2CAP_CHNL_PRIORITY priority) { in l2cu_change_pri_ccb()
135 void l2cu_check_channel_congestion(tL2C_CCB* p_ccb) { in l2cu_check_channel_congestion()
144 void l2cu_dequeue_ccb(tL2C_CCB* p_ccb) { mock_function_count_map[__func__]++; } in l2cu_dequeue_ccb()
146 void l2cu_disconnect_chnl(tL2C_CCB* p_ccb) { in l2cu_disconnect_chnl()
149 void l2cu_enqueue_ccb(tL2C_CCB* p_ccb) { mock_function_count_map[__func__]++; } in l2cu_enqueue_ccb()
159 void l2cu_process_our_cfg_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { in l2cu_process_our_cfg_req()
162 void l2cu_process_our_cfg_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { in l2cu_process_our_cfg_rsp()
[all …]
Dmock_stack_sdp_main.cc47 void sdp_disconnect(tCONN_CB* p_ccb, uint16_t reason) { in sdp_disconnect()
Dmock_stack_l2cap_ble.cc158 void l2cble_credit_based_conn_req(tL2C_CCB* p_ccb) { in l2cble_credit_based_conn_req()
162 void l2cble_credit_based_conn_res(tL2C_CCB* p_ccb, uint16_t result) { in l2cble_credit_based_conn_res()
166 void l2cble_send_flow_control_credit(tL2C_CCB* p_ccb, uint16_t credit_value) { in l2cble_send_flow_control_credit()
171 void l2cble_send_peer_disc_req(tL2C_CCB* p_ccb) { in l2cble_send_peer_disc_req()
/system/bt/stack/test/common/
Dmock_stack_avdt_msg.cc31 void avdt_msg_send_rsp(AvdtpCcb* p_ccb, uint8_t sig_id, tAVDT_MSG* p_params) { in avdt_msg_send_rsp()
48 void avdt_msg_ind(AvdtpCcb* p_ccb, BT_HDR* p_buf) { in avdt_msg_ind()
52 void avdt_msg_send_rej(AvdtpCcb* p_ccb, uint8_t sig_id, tAVDT_MSG* p_params) { in avdt_msg_send_rej()
58 void avdt_msg_send_cmd(AvdtpCcb* p_ccb, void* p_scb, uint8_t sig_id, in avdt_msg_send_cmd()
76 bool avdt_msg_send(AvdtpCcb* p_ccb, BT_HDR* p_msg) { in avdt_msg_send()

12