HomeSort by relevance Sort by last modified time
    Searched full:p_ccb (Results 1 - 25 of 41) sorted by null

1 2

  /external/bluetooth/bluedroid/stack/avct/
avct_ccb.c 44 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
47 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++)
49 if (!p_ccb->allocated)
51 p_ccb->allocated = AVCT_ALOC_LCB;
52 memcpy(&p_ccb->cc, p_cc, sizeof(tAVCT_CC));
61 p_ccb = NULL;
64 return p_ccb;
78 void avct_ccb_dealloc(tAVCT_CCB *p_ccb, UINT8 event, UINT16 result, BD_ADDR bd_addr)
80 tAVCT_CTRL_CBACK *p_cback = p_ccb->cc.p_ctrl_cback;
82 AVCT_TRACE_DEBUG("avct_ccb_dealloc %d", avct_ccb_to_idx(p_ccb));
130 tAVCT_CCB *p_ccb; local
    [all...]
avct_api.c 136 tAVCT_CCB *p_ccb; local
142 if ((p_ccb = avct_ccb_alloc(p_cc)) == NULL)
149 *p_handle = avct_ccb_to_idx(p_ccb);
160 avct_ccb_dealloc(p_ccb, AVCT_NO_EVT, 0, NULL);
167 avct_ccb_dealloc(p_ccb, AVCT_NO_EVT, 0, NULL);
174 p_ccb->p_lcb = p_lcb;
176 avct_lcb_event(p_lcb, AVCT_LCB_UL_BIND_EVT, (tAVCT_LCB_EVT *) &p_ccb);
199 tAVCT_CCB *p_ccb; local
204 if ((p_ccb = avct_ccb_by_idx(handle)) == NULL)
209 else if (p_ccb->p_lcb == NULL
241 tAVCT_CCB *p_ccb; local
318 tAVCT_CCB *p_ccb; local
353 tAVCT_CCB *p_ccb; local
378 tAVCT_CCB *p_ccb; local
416 tAVCT_CCB *p_ccb; local
    [all...]
avct_lcb_act.c 200 avct_ccb_dealloc(p_data->p_ccb, AVCT_DISCONNECT_CFM_EVT, 0, NULL);
218 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
222 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++)
225 if (p_ccb->allocated)
228 if (p_ccb->p_lcb == p_lcb)
232 p_ccb->cc.p_ctrl_cback(avct_ccb_to_idx(p_ccb), AVCT_CONNECT_CFM_EVT,
236 else if ((p_ccb->p_lcb == NULL) && (p_ccb->cc.role == AVCT_ACP) &&
237 (avct_lcb_has_pid(p_lcb, p_ccb->cc.pid) == NULL)
269 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
295 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
331 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
459 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
659 tAVCT_CCB *p_ccb; local
    [all...]
  /external/bluetooth/bluedroid/stack/gap/
gap_conn.c 44 static void gap_release_ccb (tGAP_CCB *p_ccb);
126 tGAP_CCB *p_ccb; local
133 if ((p_ccb = gap_allocate_ccb()) == NULL)
141 p_ccb->rem_addr_specified = TRUE;
143 memcpy (&p_ccb->rem_dev_address[0], p_rem_bda, BD_ADDR_LEN);
152 if (!p_ccb->rem_addr_specified && !is_server)
154 gap_release_ccb (p_ccb);
161 p_ccb->cfg = *p_cfg;
163 p_ccb->p_callback = p_cb;
179 if ((p_ccb->psm = L2CA_REGISTER (psm, &gap_cb.conn.reg_info, AMP_AUTOSWITCH_ALLOWED|AMP_USE_AMP_IF_POSSIBLE)) (…)
255 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle); local
294 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle); local
359 tGAP_CCB *p_ccb; local
400 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle); local
439 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle); local
507 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle); local
587 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle); local
625 tGAP_CCB *p_ccb; local
653 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle); local
685 tGAP_CCB *p_ccb; local
707 tGAP_CCB *p_ccb; local
730 tGAP_CCB *p_ccb; local
804 tGAP_CCB *p_ccb = (tGAP_CCB *)p_ref_data; local
838 tGAP_CCB *p_ccb; local
882 tGAP_CCB *p_ccb; local
932 tGAP_CCB *p_ccb; local
970 tGAP_CCB *p_ccb; local
997 tGAP_CCB *p_ccb; local
1035 tGAP_CCB *p_ccb; local
1083 tGAP_CCB *p_ccb; local
1109 tGAP_CCB *p_ccb; local
1137 tGAP_CCB *p_ccb; local
1237 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (p_msg->layer_specific); local
    [all...]
  /external/bluetooth/bluedroid/stack/l2cap/
l2c_csm.c 42 static void l2c_csm_closed (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
43 static void l2c_csm_orig_w4_sec_comp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
44 static void l2c_csm_term_w4_sec_comp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
45 static void l2c_csm_w4_l2cap_connect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
46 static void l2c_csm_w4_l2ca_connect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
47 static void l2c_csm_config (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
48 static void l2c_csm_open (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
49 static void l2c_csm_w4_l2cap_disconnect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
50 static void l2c_csm_w4_l2ca_disconnect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
65 void l2c_csm_execute (tL2C_CCB *p_ccb, UINT16 event, void *p_data
    [all...]
l2c_ucd.c 267 tL2C_CCB *p_ccb; local
297 p_ccb = l2cb.ccb_pool;
300 if (( p_ccb->in_use )
301 &&( p_ccb->local_cid == L2CAP_CONNECTIONLESS_CID ))
303 l2cu_release_ccb (p_ccb);
305 p_ccb++;
329 tL2C_CCB *p_ccb; local
347 ||((p_ccb = l2cu_find_ccb_by_cid (p_lcb, L2CAP_CONNECTIONLESS_CID)) == NULL))
366 if (!p_ccb)
368 p_ccb = l2cu_find_ccb_by_cid (p_lcb, L2CAP_CONNECTIONLESS_CID)
395 tL2C_CCB *p_ccb; local
485 tL2C_CCB *p_ccb; local
518 tL2C_CCB *p_ccb; local
557 tL2C_CCB *p_ccb; local
906 tL2C_CCB *p_ccb; local
    [all...]
l2c_fcr.c 89 static BOOLEAN process_reqseq (tL2C_CCB *p_ccb, UINT16 ctrl_word);
90 static void process_s_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word);
91 static void process_i_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word, BOOLEAN delay_ack);
92 static BOOLEAN retransmit_i_frames (tL2C_CCB *p_ccb, UINT8 tx_seq);
93 static void prepare_I_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf, BOOLEAN is_retransmission);
94 static void process_stream_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf);
95 static BOOLEAN do_sar_reassembly (tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word);
98 static BOOLEAN l2c_corrupt_the_fcr_packet (tL2C_CCB *p_ccb, BT_HDR *p_buf,
100 static BOOLEAN l2c_bypass_sframe_packet (tL2C_CCB *p_ccb);
104 static void l2c_fcr_collect_ack_delay (tL2C_CCB *p_ccb, UINT8 num_bufs_acked)
2427 tL2C_CCB *p_ccb = NULL; local
2522 tL2C_CCB *p_ccb = l2cu_find_ccb_by_cid (NULL, cid); local
2584 tL2C_CCB *p_ccb = l2cu_find_ccb_by_cid (NULL, cid); local
    [all...]
l2c_utils.c 130 tL2C_CCB *p_ccb; local
200 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; p_ccb = p_lcb->ccb_queue.p_first_ccb)
202 l2cu_release_ccb (p_ccb);
469 void l2cu_send_peer_connect_req (tL2C_CCB *p_ccb)
475 p_ccb->p_lcb->id++;
476 l2cu_adj_id(p_ccb->p_lcb, L2CAP_ADJ_ID);
478 p_ccb->local_id = p_ccb->p_lcb->id
1464 tL2C_CCB *p_ccb; local
1754 tL2C_CCB *p_ccb; local
2449 tL2C_CCB *p_ccb; local
2571 tL2C_CCB *p_ccb; local
2689 tL2C_CCB *p_ccb; local
3028 tL2C_CCB *p_ccb = NULL; local
3091 tL2C_CCB *p_ccb; local
3197 tL2C_CCB *p_ccb; local
3243 tL2C_CCB *p_ccb; local
    [all...]
l2c_main.c 125 tL2C_CCB *p_ccb = NULL; local
197 if ((p_ccb = l2cu_find_ccb_by_cid (p_lcb, rcv_cid)) == NULL)
276 p_ccb = p_lcb->p_fixed_ccbs[rcv_cid - L2CAP_FIRST_FIXED_CHNL];
278 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE)
279 l2c_fcr_proc_pdu (p_ccb, p_msg);
290 if (p_ccb == NULL)
295 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE)
296 l2c_csm_execute (p_ccb, L2CEVT_L2CAP_DATA, p_msg);
300 if ((p_ccb->chnl_state == CST_OPEN) || (p_ccb->chnl_state == CST_CONFIG)
326 tL2C_CCB *p_ccb; local
957 tL2C_CCB *p_ccb; local
    [all...]
l2c_link.c 159 tL2C_CCB *p_ccb; local
224 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; p_ccb = p_ccb->p_next_ccb)
226 l2c_csm_execute (p_ccb, L2CEVT_LP_CONNECT_CFM, &ci);
253 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; )
255 tL2C_CCB *pn = p_ccb->p_next_ccb;
257 l2c_csm_execute (p_ccb, L2CEVT_LP_CONNECT_CFM_NEG, &ci)
297 tL2C_CCB *p_ccb; local
363 tL2C_CCB *p_ccb; local
490 tL2C_CCB *p_ccb; local
522 tL2C_CCB *p_ccb; local
649 tL2C_CCB *p_ccb; local
830 tL2C_CCB *p_ccb; local
1063 tL2C_CCB *p_ccb; local
    [all...]
l2c_api.c 124 tL2C_CCB *p_ccb; local
137 if (((p_ccb = p_lcb->ccb_queue.p_first_ccb) == NULL)
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)))
146 if (p_ccb->p_rcb == p_rcb)
147 l2c_csm_execute (p_ccb, L2CEVT_L2CA_DISCONNECT_REQ, NULL);
236 tL2C_CCB *p_ccb; local
273 if ((p_ccb = l2cu_allocate_ccb (p_lcb, 0)) == NULL)
280 p_ccb->p_rcb = p_rcb
363 tL2C_CCB *p_ccb; local
446 tL2C_CCB *p_ccb; local
497 tL2C_CCB *p_ccb; local
541 tL2C_CCB *p_ccb; local
569 tL2C_CCB *p_ccb; local
727 tL2C_CCB *p_ccb; local
873 tL2C_CCB *p_ccb; local
951 tL2C_CCB *p_ccb; local
995 tL2C_CCB *p_ccb; local
1028 tL2C_CCB *p_ccb; local
1056 tL2C_CCB *p_ccb; local
1266 tL2C_CCB *p_ccb = l2cu_find_ccb_by_cid (NULL, lcid); local
1525 tL2C_CCB *p_ccb; local
1643 tL2C_CCB *p_ccb; local
1739 tL2C_CCB *p_ccb; local
1795 tL2C_CCB *p_ccb; local
    [all...]
l2c_int.h 597 extern void l2cu_enqueue_ccb (tL2C_CCB *p_ccb);
598 extern void l2cu_dequeue_ccb (tL2C_CCB *p_ccb);
599 extern void l2cu_change_pri_ccb (tL2C_CCB *p_ccb, tL2CAP_CHNL_PRIORITY priority);
602 extern void l2cu_release_ccb (tL2C_CCB *p_ccb);
610 extern void l2cu_send_peer_connect_req (tL2C_CCB *p_ccb);
611 extern void l2cu_send_peer_connect_rsp (tL2C_CCB *p_ccb, UINT16 result, UINT16 status);
612 extern void l2cu_send_peer_config_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
613 extern void l2cu_send_peer_config_rsp (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
614 extern void l2cu_send_peer_config_rej (tL2C_CCB *p_ccb, UINT8 *p_data, UINT16 data_len, UINT16 rej_len);
615 extern void l2cu_send_peer_disc_req (tL2C_CCB *p_ccb);
    [all...]
  /external/bluetooth/bluedroid/stack/mcap/
mca_cact.c 48 void mca_ccb_rsp_tout(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data)
53 mca_ccb_report_event(p_ccb, MCA_RSP_TOUT_IND_EVT, &evt_data);
65 void mca_ccb_report_event(tMCA_CCB *p_ccb, UINT8 event, tMCA_CTRL *p_data)
67 if (p_ccb && p_ccb->p_rcb && p_ccb->p_rcb->p_cback)
68 (*p_ccb->p_rcb->p_cback)(mca_rcb_to_handle(p_ccb->p_rcb), mca_ccb_to_hdl(p_ccb), event, p_data);
80 void mca_ccb_free_msg(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data
    [all...]
mca_csm.c 167 void mca_stop_timer(tMCA_CCB *p_ccb)
169 if (p_ccb->timer_entry.event == BTU_TTYPE_MCA_CCB_RSP)
171 btu_stop_timer(&p_ccb->timer_entry);
172 p_ccb->timer_entry.event = 0;
187 void mca_ccb_event(tMCA_CCB *p_ccb, UINT8 event, tMCA_CCB_EVT *p_data)
193 MCA_TRACE_EVENT("CCB ccb=%d event=%s state=%s", mca_ccb_to_hdl(p_ccb), mca_ccb_evt_str[event], mca_ccb_st_str[p_ccb->state]);
195 MCA_TRACE_EVENT("CCB ccb=%d event=%d state=%d", mca_ccb_to_hdl(p_ccb), event, p_ccb->state);
199 state_table = mca_ccb_st_tbl[p_ccb->state - 1]
224 tMCA_CCB *p_ccb = NULL; local
258 tMCA_CCB *p_ccb = NULL; local
351 tMCA_CCB * p_ccb = NULL; local
    [all...]
mca_api.c 339 tMCA_CCB *p_ccb; local
343 if ((p_ccb = mca_ccb_by_bd(handle, bd_addr)) == NULL)
344 p_ccb = mca_ccb_alloc(handle, bd_addr);
351 if (p_ccb)
353 p_ccb->ctrl_vpsm = L2CA_Register (ctrl_psm, (tL2CAP_APPL_INFO *)&mca_l2c_int_appl);
355 if (p_ccb->ctrl_vpsm)
358 p_ccb->ctrl_vpsm, BTM_SEC_PROTO_MCA, MCA_CTRL_TCID);
359 p_ccb->lcid = mca_l2c_open_req(bd_addr, p_ccb->ctrl_vpsm, NULL);
360 if (p_ccb->lcid
394 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
428 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
506 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
603 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
672 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
737 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
784 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
834 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
    [all...]
mca_int.h 219 typedef void (*tMCA_CCB_ACTION)(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data);
241 tMCA_CCB *p_ccb; /* the associated control control block */ member in struct:__anon6304
252 typedef void (*tMCA_DCB_ACTION)(tMCA_DCB *p_ccb, tMCA_DCB_EVT *p_data);
264 extern void mca_ccb_event(tMCA_CCB *p_ccb, UINT8 event, tMCA_CCB_EVT *p_data);
267 extern void mca_ccb_rsp_tout(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data);
268 extern void mca_ccb_dealloc(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data);
269 extern tMCA_CL mca_ccb_to_hdl(tMCA_CCB *p_ccb);
271 extern BOOLEAN mca_ccb_uses_mdl_id(tMCA_CCB *p_ccb, UINT16 mdl_id);
274 extern void mca_ccb_report_event(tMCA_CCB *p_ccb, UINT8 event, tMCA_CTRL *p_data);
275 extern void mca_ccb_free_msg(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data)
    [all...]
  /external/bluetooth/bluedroid/stack/avdt/
avdt_ccb_act.c 48 static void avdt_ccb_clear_ccb(tAVDT_CCB *p_ccb)
53 p_ccb->cong = FALSE;
54 p_ccb->ret_count = 0;
57 if (p_ccb->p_curr_msg != NULL)
59 GKI_freebuf(p_ccb->p_curr_msg);
60 p_ccb->p_curr_msg = NULL;
64 if (p_ccb->p_rx_msg != NULL)
66 GKI_freebuf(p_ccb->p_rx_msg);
67 p_ccb->p_rx_msg = NULL;
71 while ((p_buf = (BT_HDR *) GKI_dequeue(&p_ccb->rsp_q)) != NULL
    [all...]
avdt_ccb.c 298 void avdt_ccb_event(tAVDT_CCB *p_ccb, UINT8 event, tAVDT_CCB_EVT *p_data)
305 AVDT_TRACE_EVENT("CCB ccb=%d event=%s state=%s", avdt_ccb_to_idx(p_ccb), avdt_ccb_evt_str[event], avdt_ccb_st_str[p_ccb->state]);
307 BTTRC_AVDT_CCB_EVENT(event, p_ccb->state);
310 state_table = avdt_ccb_st_tbl[p_ccb->state];
313 if (p_ccb->state != state_table[event][AVDT_CCB_NEXT_STATE]) {
315 p_ccb->state = state_table[event][AVDT_CCB_NEXT_STATE];
324 (*avdt_cb.p_ccb_act[action])(p_ccb, p_data);
346 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0]; local
349 for (i = 0; i < AVDT_NUM_LINKS; i++, p_ccb++
381 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0]; local
454 tAVDT_CCB *p_ccb; local
    [all...]
avdt_int.h 450 typedef void (*tAVDT_CCB_ACTION)(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data);
490 tAVDT_CCB *p_ccb; /* ccb associated with this scb */ member in struct:__anon5839
562 extern void avdt_ccb_event(tAVDT_CCB *p_ccb, UINT8 event, tAVDT_CCB_EVT *p_data);
565 extern void avdt_ccb_dealloc(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data);
566 extern UINT8 avdt_ccb_to_idx(tAVDT_CCB *p_ccb);
570 extern void avdt_ccb_chan_open(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data);
571 extern void avdt_ccb_chan_close(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data);
572 extern void avdt_ccb_chk_close(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data);
573 extern void avdt_ccb_hdl_discover_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data);
574 extern void avdt_ccb_hdl_discover_rsp(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data)
    [all...]
avdt_ad.c 134 tAVDT_TC_TBL *avdt_ad_tc_tbl_by_st(UINT8 type, tAVDT_CCB *p_ccb, UINT8 state)
140 if (p_ccb == NULL)
155 ccb_idx = avdt_ccb_to_idx(p_ccb);
230 tAVDT_TC_TBL *avdt_ad_tc_tbl_by_type(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb)
235 UINT8 ccb_idx = avdt_ccb_to_idx(p_ccb);
264 tAVDT_TC_TBL *avdt_ad_tc_tbl_alloc(tAVDT_CCB *p_ccb)
284 p_tbl->ccb_idx = avdt_ccb_to_idx(p_ccb);
323 tAVDT_CCB *p_ccb; local
339 p_ccb = avdt_ccb_by_idx(p_tbl->ccb_idx);
340 avdt_ccb_event(p_ccb, AVDT_CCB_LL_CLOSE_EVT, NULL)
370 tAVDT_CCB *p_ccb; local
427 tAVDT_CCB *p_ccb; local
463 tAVDT_CCB *p_ccb; local
    [all...]
avdt_msg.c     [all...]
avdt_l2c.c 76 tAVDT_CCB *p_ccb = NULL; local
88 p_ccb = avdt_ccb_by_bd(bd_addr);
90 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_SEC_ACP);
101 avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid;
134 tAVDT_CCB *p_ccb = NULL; local
141 p_ccb = avdt_ccb_by_bd(bd_addr);
142 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_SEC_INT);
177 tAVDT_CCB *p_ccb; local
185 if ((p_ccb = avdt_ccb_by_bd(bd_addr)) == NULL)
188 if ((p_ccb = avdt_ccb_alloc(bd_addr)) == NULL
284 tAVDT_CCB *p_ccb; local
    [all...]
  /external/bluetooth/bluedroid/stack/sdp/
sdp_server.c 53 static void process_service_search (tCONN_CB *p_ccb, UINT16 trans_num,
57 static void process_service_attr_req (tCONN_CB *p_ccb, UINT16 trans_num,
61 static void process_service_search_attr_req (tCONN_CB *p_ccb, UINT16 trans_num,
115 void sdp_server_handle_client_req (tCONN_CB *p_ccb, BT_HDR *p_msg)
124 btu_start_timer (&p_ccb->timer_entry, BTU_TTYPE_SDP, SDP_INACT_TIMEOUT);
135 sdpu_build_n_send_error (p_ccb, trans_num, SDP_INVALID_PDU_SIZE, SDP_TEXT_BAD_HEADER);
142 process_service_search (p_ccb, trans_num, param_len, p_req, p_req_end);
146 process_service_attr_req (p_ccb, trans_num, param_len, p_req, p_req_end);
150 process_service_search_attr_req (p_ccb, trans_num, param_len, p_req, p_req_end);
154 sdpu_build_n_send_error (p_ccb, trans_num, SDP_INVALID_REQ_SYNTAX, SDP_TEXT_BAD_PDU)
    [all...]
sdp_discovery.c 48 static void process_service_search_rsp (tCONN_CB *p_ccb, UINT8 *p_reply);
49 static void process_service_attr_rsp (tCONN_CB *p_ccb, UINT8 *p_reply);
50 static void process_service_search_attr_rsp (tCONN_CB *p_ccb, UINT8 *p_reply);
51 static UINT8 *save_attr_seq (tCONN_CB *p_ccb, UINT8 *p, UINT8 *p_msg_end);
119 static void sdp_snd_service_search_req(tCONN_CB *p_ccb, UINT8 cont_len, UINT8 * p_cont)
128 sdp_disconnect (p_ccb, SDP_NO_RESOURCES);
137 UINT16_TO_BE_STREAM (p, p_ccb->transaction_id);
138 p_ccb->transaction_id++;
146 p = sdpu_build_uuid_seq (p, 1, &p_ccb->p_db->uuid_filters[p_ccb->cur_uuid_idx])
    [all...]
sdp_main.c 176 tCONN_CB *p_ccb; local
179 if ((p_ccb = sdpu_allocate_ccb()) == NULL)
183 p_ccb->con_state = SDP_STATE_CFG_SETUP;
186 memcpy (&p_ccb->device_address[0], bd_addr, sizeof (BD_ADDR));
187 p_ccb->connection_id = l2cap_cid;
211 SDP_TRACE_EVENT ("SDP - Rcvd L2CAP conn ind, sent config req, CID 0x%x", p_ccb->connection_id);
232 tCONN_CB *p_ccb; local
236 if ((p_ccb = sdpu_find_ccb_by_cid (l2cap_cid)) == NULL)
244 if ((result == L2CAP_CONN_OK) && (p_ccb->con_state == SDP_STATE_CONN_SETUP))
246 p_ccb->con_state = SDP_STATE_CFG_SETUP
310 tCONN_CB *p_ccb; local
404 tCONN_CB *p_ccb; local
462 tCONN_CB *p_ccb; local
505 tCONN_CB *p_ccb; local
545 tCONN_CB *p_ccb; local
675 tCONN_CB *p_ccb; local
    [all...]

Completed in 2652 milliseconds

1 2