/system/bt/stack/l2cap/ |
l2c_csm.cc | 41 static void l2c_csm_closed(tL2C_CCB* p_ccb, uint16_t event, void* p_data); 42 static void l2c_csm_orig_w4_sec_comp(tL2C_CCB* p_ccb, uint16_t event, 44 static void l2c_csm_term_w4_sec_comp(tL2C_CCB* p_ccb, uint16_t event, 46 static void l2c_csm_w4_l2cap_connect_rsp(tL2C_CCB* p_ccb, uint16_t event, 48 static void l2c_csm_w4_l2ca_connect_rsp(tL2C_CCB* p_ccb, uint16_t event, 50 static void l2c_csm_config(tL2C_CCB* p_ccb, uint16_t event, void* p_data); 51 static void l2c_csm_open(tL2C_CCB* p_ccb, uint16_t event, void* p_data); 52 static void l2c_csm_w4_l2cap_disconnect_rsp(tL2C_CCB* p_ccb, uint16_t event, 54 static void l2c_csm_w4_l2ca_disconnect_rsp(tL2C_CCB* p_ccb, uint16_t event, 68 void l2c_csm_execute(tL2C_CCB* p_ccb, uint16_t event, void* p_data) [all...] |
l2c_utils.cc | 141 tL2C_CCB* p_ccb; local 184 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; 185 p_ccb = p_lcb->ccb_queue.p_first_ccb) { 186 l2cu_release_ccb(p_ccb); 432 void l2cu_send_peer_connect_req(tL2C_CCB* p_ccb) { 437 p_ccb->p_lcb->id++; 438 l2cu_adj_id(p_ccb->p_lcb, L2CAP_ADJ_ID); 440 p_ccb->local_id = p_ccb->p_lcb->id 1376 tL2C_CCB* p_ccb; local 1649 tL2C_CCB* p_ccb; local 2312 tL2C_CCB* p_ccb; local 2428 tL2C_CCB* p_ccb; local 2538 tL2C_CCB* p_ccb; local 3058 tL2C_CCB* p_ccb = NULL; local 3093 tL2C_CCB* p_ccb; local 3191 tL2C_CCB* p_ccb; local 3233 tL2C_CCB* p_ccb; local [all...] |
l2c_fcr.cc | 89 static bool process_reqseq(tL2C_CCB* p_ccb, uint16_t ctrl_word); 90 static void process_s_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf, uint16_t ctrl_word); 91 static void process_i_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf, uint16_t ctrl_word, 93 static bool retransmit_i_frames(tL2C_CCB* p_ccb, uint8_t tx_seq); 94 static void prepare_I_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf, 96 static void process_stream_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf); 97 static bool do_sar_reassembly(tL2C_CCB* p_ccb, BT_HDR* p_buf, 101 static void l2c_fcr_collect_ack_delay(tL2C_CCB* p_ccb, uint8_t num_bufs_acked); 169 void l2c_fcr_start_timer(tL2C_CCB* p_ccb) { 170 CHECK(p_ccb != NULL) [all...] |
l2c_main.cc | 147 tL2C_CCB* p_ccb = NULL; local 149 p_ccb = l2cu_find_ccb_by_cid(p_lcb, rcv_cid); 150 if (!p_ccb) { 206 p_ccb = p_lcb->p_fixed_ccbs[rcv_cid - L2CAP_FIRST_FIXED_CHNL]; 208 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) 209 l2c_fcr_proc_pdu(p_ccb, p_msg); 217 if (!p_ccb) { 223 l2c_lcc_proc_pdu(p_ccb, p_msg); 226 --p_ccb->remote_credit_count; 229 if (p_ccb->remote_credit_count <= L2CAP_LE_CREDIT_THRESHOLD) 347 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); local 392 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); local 414 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); local 529 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); local 619 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); local 644 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); local 662 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); local 869 tL2C_CCB* p_ccb = (tL2C_CCB*)data; local 875 tL2C_CCB* p_ccb = (tL2C_CCB*)data; local 901 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(NULL, cid); local [all...] |
l2c_api.cc | 125 tL2C_CCB* p_ccb; local 136 p_ccb = p_lcb->ccb_queue.p_first_ccb; 137 if ((p_ccb == NULL) || (p_lcb->link_state == LST_DISCONNECTING)) { 141 if ((p_ccb->in_use) && 142 ((p_ccb->chnl_state == CST_W4_L2CAP_DISCONNECT_RSP) || 143 (p_ccb->chnl_state == CST_W4_L2CA_DISCONNECT_RSP))) { 147 if (p_ccb->p_rcb == p_rcb) { 148 l2c_csm_execute(p_ccb, L2CEVT_L2CA_DISCONNECT_REQ, NULL); 301 tL2C_CCB* p_ccb; local 337 p_ccb = l2cu_allocate_ccb(p_lcb, 0) 484 tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; local 548 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); local 618 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); local 665 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(NULL, lcid); local 746 tL2C_CCB* p_ccb; local 824 tL2C_CCB* p_ccb; local 873 tL2C_CCB* p_ccb; local 916 tL2C_CCB* p_ccb; local 943 tL2C_CCB* p_ccb; local 1101 tL2C_CCB* p_ccb; local 1238 tL2C_CCB* p_ccb; local 1312 tL2C_CCB* p_ccb; local 1355 tL2C_CCB* p_ccb; local 1391 tL2C_CCB* p_ccb; local 1421 tL2C_CCB* p_ccb; local 1609 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(NULL, lcid); local 1889 tL2C_CCB* p_ccb; local 2002 tL2C_CCB* p_ccb; local 2044 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(NULL, lcid); local 2118 tL2C_CCB* p_ccb; local 2175 tL2C_CCB* p_ccb; local [all...] |
l2c_ble.cc | 244 tL2C_CCB* p_ccb; local 256 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; 257 p_ccb = p_ccb->p_next_ccb) { 258 if (p_ccb->chnl_state == CST_CLOSED) 259 l2c_csm_execute(p_ccb, L2CEVT_LP_CONNECT_CFM, NULL); 592 tL2C_CCB *p_ccb = NULL, *temp_p_ccb = NULL; local 676 p_ccb = l2cu_find_ccb_by_remote_cid(p_lcb, rcid); 677 if (p_ccb) { [all...] |
l2c_link.cc | 150 tL2C_CCB* p_ccb; local 210 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; 211 p_ccb = p_ccb->p_next_ccb) { 212 l2c_csm_execute(p_ccb, L2CEVT_LP_CONNECT_CFM, &ci); 237 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb;) { 238 tL2C_CCB* pn = p_ccb->p_next_ccb; 240 l2c_csm_execute(p_ccb, L2CEVT_LP_CONNECT_CFM_NEG, &ci) 284 tL2C_CCB* p_ccb; local 344 tL2C_CCB* p_ccb; local 476 tL2C_CCB* p_ccb; local 503 tL2C_CCB* p_ccb; local 613 tL2C_CCB* p_ccb; local 791 tL2C_CCB* p_ccb = l2cb.ccb_pool + xx; local 915 tL2C_CCB* p_ccb; local [all...] |
/system/bt/stack/gap/ |
gap_conn.cc | 103 static void gap_release_ccb(tGAP_CCB* p_ccb); 104 static void gap_checks_con_flags(tGAP_CCB* p_ccb); 174 tGAP_CCB* p_ccb; local 180 p_ccb = gap_allocate_ccb(); 181 if (p_ccb == NULL) return (GAP_INVALID_HANDLE); 184 p_ccb->transport = transport; 187 p_ccb->service_id = service_id; 192 if (*p_rem_bda != RawAddress::kAny) p_ccb->rem_addr_specified = true; 194 p_ccb->rem_dev_address = *p_rem_bda; 201 if (!p_ccb->rem_addr_specified && !is_server) 339 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); local 375 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); local 430 tGAP_CCB* p_ccb; local 466 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); local 521 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); local 562 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); local 597 tGAP_CCB* p_ccb; local 622 tGAP_CCB* p_ccb = gap_find_ccb_by_handle(gap_handle); local 648 tGAP_CCB* p_ccb; local 669 tGAP_CCB* p_ccb; local 688 tGAP_CCB* p_ccb = gap_find_ccb_by_cid(l2cap_cid); local 699 tGAP_CCB* p_ccb = gap_find_ccb_by_cid(l2cap_cid); local 721 tGAP_CCB* p_ccb; local 808 tGAP_CCB* p_ccb = (tGAP_CCB*)p_ref_data; local 836 tGAP_CCB* p_ccb; local 891 tGAP_CCB* p_ccb; local 935 tGAP_CCB* p_ccb; local 967 tGAP_CCB* p_ccb; local 991 tGAP_CCB* p_ccb; local 1027 tGAP_CCB* p_ccb = gap_find_ccb_by_cid(lcid); \/* Find CCB based on CID *\/ local 1052 tGAP_CCB* p_ccb; local 1076 tGAP_CCB* p_ccb; local 1100 tGAP_CCB* p_ccb; local [all...] |
/system/bt/stack/avct/ |
avct_ccb.cc | 43 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 46 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { 47 if (!p_ccb->allocated) { 48 p_ccb->allocated = AVCT_ALOC_LCB; 49 memcpy(&p_ccb->cc, p_cc, sizeof(tAVCT_CC)); 57 p_ccb = NULL; 60 return p_ccb; 74 void avct_ccb_dealloc(tAVCT_CCB* p_ccb, uint8_t event, uint16_t result, 76 tAVCT_CTRL_CBACK* p_cback = p_ccb->cc.p_ctrl_cback; 78 AVCT_TRACE_DEBUG("avct_ccb_dealloc %d", avct_ccb_to_idx(p_ccb)); 121 tAVCT_CCB* p_ccb; local [all...] |
avct_api.cc | 135 tAVCT_CCB* p_ccb; local 141 p_ccb = avct_ccb_alloc(p_cc); 142 if (p_ccb == NULL) { 146 *p_handle = avct_ccb_to_idx(p_ccb); 156 avct_ccb_dealloc(p_ccb, AVCT_NO_EVT, 0, NULL); 162 avct_ccb_dealloc(p_ccb, AVCT_NO_EVT, 0, NULL); 168 p_ccb->p_lcb = p_lcb; 171 avct_lcb_evt.p_ccb = p_ccb; 194 tAVCT_CCB* p_ccb; local 235 tAVCT_CCB* p_ccb; local 298 tAVCT_CCB* p_ccb; local 330 tAVCT_CCB* p_ccb = avct_ccb_by_idx(handle); local 351 tAVCT_CCB* p_ccb; local 388 tAVCT_CCB* p_ccb; local [all...] |
avct_bcb_act.cc | 139 p_data->p_ccb->p_bcb = NULL; 140 (*p_data->p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_data->p_ccb), 159 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 164 for (int idx = 0; idx < AVCT_NUM_CONN; idx++, p_ccb++) { 166 if (p_ccb->allocated) { 168 if (p_ccb->p_bcb == p_bcb) { 170 p_ccb_bind = p_ccb; 171 p_ccb->cc.p_ctrl_cback(avct_ccb_to_idx(p_ccb), AVCT_BROWSE_CONN_CFM_EVT 224 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 245 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 275 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 384 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 510 tAVCT_CCB* p_ccb; local 590 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 662 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local [all...] |
avct_lcb_act.cc | 193 avct_ccb_dealloc(p_data->p_ccb, AVCT_DISCONNECT_CFM_EVT, 0, NULL); 210 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 214 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { 216 if (p_ccb->allocated) { 218 if (p_ccb->p_lcb == p_lcb) { 221 p_ccb->cc.p_ctrl_cback(avct_ccb_to_idx(p_ccb), AVCT_CONNECT_CFM_EVT, 0, 225 else if ((p_ccb->p_lcb == NULL) && (p_ccb->cc.role == AVCT_ACP) && 226 (avct_lcb_has_pid(p_lcb, p_ccb->cc.pid) == NULL)) 255 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 278 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 307 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 414 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 585 tAVCT_CCB* p_ccb; local [all...] |
avct_lcb.cc | 81 typedef void (*tAVCT_LCB_ACTION)(tAVCT_LCB* p_ccb, tAVCT_LCB_EVT* p_data); 301 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 302 for (size_t i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { 303 if (p_ccb->allocated && p_ccb->p_lcb == p_lcb) { 358 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local 361 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { 362 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb) && (p_ccb->cc.pid == pid)) 380 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; local [all...] |
/system/bt/stack/avdt/ |
avdt_ccb_act.cc | 49 static void avdt_ccb_clear_ccb(AvdtpCcb* p_ccb) { 53 p_ccb->cong = false; 54 p_ccb->ret_count = 0; 57 osi_free_and_reset((void**)&p_ccb->p_curr_msg); 60 osi_free_and_reset((void**)&p_ccb->p_rx_msg); 63 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->rsp_q)) != NULL) 78 void avdt_ccb_chan_open(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { 79 BTM_SetOutService(p_ccb->peer_addr, BTM_SEC_SERVICE_AVDTP, AVDT_CHAN_SIG); 80 avdt_ad_open_req(AVDT_CHAN_SIG, p_ccb, NULL, AVDT_INT); 94 void avdt_ccb_chan_close(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) [all...] |
avdt_ccb.cc | 367 void avdt_ccb_event(AvdtpCcb* p_ccb, uint8_t event, tAVDT_CCB_EVT* p_data) { 373 AVDT_TRACE_EVENT("%s: CCB ccb=%d event=%s state=%s p_ccb=%p", __func__, 374 avdt_ccb_to_idx(p_ccb), avdt_ccb_evt_str[event], 375 avdt_ccb_st_str[p_ccb->state], p_ccb); 379 state_table = avdt_ccb_st_tbl[p_ccb->state]; 382 if (p_ccb->state != state_table[event][AVDT_CCB_NEXT_STATE]) { 383 p_ccb->state = state_table[event][AVDT_CCB_NEXT_STATE]; 390 avdt_ccb_evt_str[event], avdt_ccb_st_str[p_ccb->state], 393 (*avdtp_cb.p_ccb_act[action])(p_ccb, p_data) 411 AvdtpCcb* p_ccb = &avdtp_cb.ccb[0]; local 442 AvdtpCcb* p_ccb = &avdtp_cb.ccb[0]; local 464 AvdtpCcb* p_ccb = &avdtp_cb.ccb[channel_index]; local 530 AvdtpCcb* p_ccb; local [all...] |
avdt_l2c.cc | 79 AvdtpCcb* p_ccb = NULL; local 84 p_ccb = avdt_ccb_by_bd(*bd_addr); 86 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_SEC_ACP); 97 avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid; 130 AvdtpCcb* p_ccb = NULL; local 135 if (bd_addr) p_ccb = avdt_ccb_by_bd(*bd_addr); 136 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_SEC_INT); 167 AvdtpCcb* p_ccb; local 174 p_ccb = avdt_ccb_by_bd(bd_addr); 175 if (p_ccb == NULL) 283 AvdtpCcb* p_ccb; local [all...] |
avdt_scb_act.cc | 206 avdt_ad_open_req(AVDT_CHAN_MEDIA, p_scb->p_ccb, p_scb, AVDT_INT); 522 AvdtpCcb* p_ccb = avdt_ccb_by_idx(p_data->msg.config_cmd.hdr.ccb_idx); local 523 if (p_scb->p_ccb != p_ccb) { 525 "%s: mismatch in AVDTP SCB/CCB state: (p_scb->p_ccb=%p != " 526 "p_ccb=%p): " 528 __func__, p_scb->p_ccb, p_ccb, p_scb, p_scb->ScbHandle(), 542 p_scb->p_ccb ? p_scb->p_ccb->peer_addr : RawAddress::kEmpty 701 AvdtpCcb* p_ccb = p_scb->p_ccb; local 1228 AvdtpCcb* p_ccb = avdt_ccb_by_idx(p_data->msg.config_cmd.hdr.ccb_idx); local 1425 AvdtpCcb* p_ccb; local [all...] |
avdt_int.h | 422 p_ccb(nullptr), 449 * - p_ccb 453 AvdtpCcb* p_ccb_saved = p_ccb; 471 p_ccb = nullptr; 495 AvdtpCcb* p_ccb; // CCB associated with this SCB member in class:AvdtpScb 735 typedef void (*tAVDT_CCB_ACTION)(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 817 extern void avdt_ccb_event(AvdtpCcb* p_ccb, uint8_t event, 823 extern void avdt_ccb_dealloc(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 824 extern uint8_t avdt_ccb_to_idx(AvdtpCcb* p_ccb); 828 extern void avdt_ccb_chan_open(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data) [all...] |
avdt_msg.cc | [all...] |
/system/bt/stack/mcap/ |
mca_cact.cc | 49 void mca_ccb_rsp_tout(tMCA_CCB* p_ccb, UNUSED_ATTR tMCA_CCB_EVT* p_data) { 52 mca_ccb_report_event(p_ccb, MCA_RSP_TOUT_IND_EVT, &evt_data); 64 void mca_ccb_report_event(tMCA_CCB* p_ccb, uint8_t event, tMCA_CTRL* p_data) { 65 if (p_ccb && p_ccb->p_rcb && p_ccb->p_rcb->p_cback) 66 (*p_ccb->p_rcb->p_cback)(mca_rcb_to_handle(p_ccb->p_rcb), 67 mca_ccb_to_hdl(p_ccb), event, p_data); 79 void mca_ccb_free_msg(UNUSED_ATTR tMCA_CCB* p_ccb, tMCA_CCB_EVT* p_data) [all...] |
mca_csm.cc | 137 void mca_stop_timer(tMCA_CCB* p_ccb) { alarm_cancel(p_ccb->mca_ccb_timer); } 150 void mca_ccb_event(tMCA_CCB* p_ccb, uint8_t event, tMCA_CCB_EVT* p_data) { 154 MCA_TRACE_EVENT("CCB ccb=%d event=%s state=%s", mca_ccb_to_hdl(p_ccb), 155 mca_ccb_evt_str[event], mca_ccb_st_str[p_ccb->state]); 158 state_table = mca_ccb_st_tbl[p_ccb->state - 1]; 161 p_ccb->state = state_table[event][MCA_CCB_NEXT_STATE]; 166 (*mca_ccb_action[action])(p_ccb, p_data); 182 tMCA_CCB* p_ccb = NULL; local 193 p_ccb = p_ccb_tmp 213 tMCA_CCB* p_ccb = NULL; local 298 tMCA_CCB* p_ccb = NULL; local [all...] |
mca_api.cc | 50 tMCA_CCB* p_ccb = (tMCA_CCB*)data; local 52 mca_ccb_event(p_ccb, MCA_CCB_RSP_TOUT_EVT, NULL); 308 tMCA_CCB* p_ccb; local 312 p_ccb = mca_ccb_by_bd(handle, bd_addr); 313 if (p_ccb == NULL) 314 p_ccb = mca_ccb_alloc(handle, bd_addr); 320 if (p_ccb) { 321 p_ccb->ctrl_vpsm = 324 if (p_ccb->ctrl_vpsm) { 326 p_ccb->ctrl_vpsm, BTM_SEC_PROTO_MCA, MCA_CTRL_TCID) 358 tMCA_CCB* p_ccb = mca_ccb_by_hdl(mcl); local 390 tMCA_CCB* p_ccb = mca_ccb_by_hdl(mcl); local 461 tMCA_CCB* p_ccb = mca_ccb_by_hdl(mcl); local 549 tMCA_CCB* p_ccb = mca_ccb_by_hdl(mcl); local 610 tMCA_CCB* p_ccb = mca_ccb_by_hdl(mcl); local 669 tMCA_CCB* p_ccb = mca_ccb_by_hdl(mcl); local 714 tMCA_CCB* p_ccb = mca_ccb_by_hdl(mcl); local 757 tMCA_CCB* p_ccb = mca_ccb_by_hdl(mcl); local [all...] |
/system/bt/stack/sdp/ |
sdp_server.cc | 54 static void process_service_search(tCONN_CB* p_ccb, uint16_t trans_num, 58 static void process_service_attr_req(tCONN_CB* p_ccb, uint16_t trans_num, 62 static void process_service_search_attr_req(tCONN_CB* p_ccb, uint16_t trans_num, 115 void sdp_server_handle_client_req(tCONN_CB* p_ccb, BT_HDR* p_msg) { 122 alarm_set_on_mloop(p_ccb->sdp_conn_timer, SDP_INACT_TIMEOUT_MS, 123 sdp_conn_timer_timeout, p_ccb); 128 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_REQ_SYNTAX, 140 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_REQ_SYNTAX, 147 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_PDU_SIZE, 154 process_service_search(p_ccb, trans_num, param_len, p_req, p_req_end) [all...] |
sdp_discovery.cc | 49 static void process_service_search_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, 51 static void process_service_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, 53 static void process_service_search_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, 55 static uint8_t* save_attr_seq(tCONN_CB* p_ccb, uint8_t* p, uint8_t* p_msg_end); 122 static void sdp_snd_service_search_req(tCONN_CB* p_ccb, uint8_t cont_len, 134 UINT16_TO_BE_STREAM(p, p_ccb->transaction_id); 135 p_ccb->transaction_id++; 144 &p_ccb->p_db->uuid_filters[p_ccb->cur_uuid_idx]); 146 p = sdpu_build_uuid_seq(p, p_ccb->p_db->num_uuid_filters [all...] |
sdp_main.cc | 170 tCONN_CB* p_ccb; local 173 p_ccb = sdpu_allocate_ccb(); 174 if (p_ccb == NULL) return; 177 p_ccb->con_state = SDP_STATE_CFG_SETUP; 180 p_ccb->device_address = bd_addr; 181 p_ccb->connection_id = l2cap_cid; 206 p_ccb->connection_id); 225 tCONN_CB* p_ccb; local 229 p_ccb = sdpu_find_ccb_by_cid(l2cap_cid); 230 if (p_ccb == NULL) 297 tCONN_CB* p_ccb; local 388 tCONN_CB* p_ccb; local 441 tCONN_CB* p_ccb; local 483 tCONN_CB* p_ccb; local 516 tCONN_CB* p_ccb; local 634 tCONN_CB* p_ccb; local 667 tCONN_CB* p_ccb = (tCONN_CB*)data; local [all...] |