HomeSort by relevance Sort by last modified time
    Searched refs:p_rcb (Results 1 - 25 of 29) sorted by null

1 2

  /external/bluetooth/bluedroid/stack/l2cap/
l2c_ucd.c 53 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0]; local
58 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++)
60 if (p_rcb->in_use)
64 && ( p_rcb->ucd.state & L2C_UCD_STATE_W4_RECEPTION ))
66 p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (rem_bda, info_type, data);
67 p_rcb->ucd.state &= ~(L2C_UCD_STATE_W4_RECEPTION);
72 && ( p_rcb->ucd.state & L2C_UCD_STATE_W4_MTU ))
74 p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (rem_bda, info_type, data);
75 p_rcb->ucd.state &= ~(L2C_UCD_STATE_W4_MTU);
94 tL2C_RCB *p_rcb; local
126 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0]; local
204 tL2C_RCB *p_rcb; local
268 tL2C_RCB *p_rcb; local
330 tL2C_RCB *p_rcb; local
396 tL2C_RCB *p_rcb; local
558 tL2C_RCB *p_rcb; local
661 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0]; local
907 tL2C_RCB *p_rcb; local
    [all...]
l2c_csm.c 128 if (p_ccb->p_rcb == NULL)
131 L2CAP_TRACE_ERROR ("L2CAP - LCID: 0x%04x st: CLOSED evt: %s p_rcb == NULL", p_ccb->local_cid, l2c_csm_get_event_name (event));
133 L2CAP_TRACE_ERROR ("L2CAP - LCID: 0x%04x st: CLOSED evt: 0x%04x p_rcb == NULL", p_ccb->local_cid, event);
150 disconnect_ind = p_ccb->p_rcb->api.pL2CA_DisconnectInd_Cb;
151 connect_cfm = p_ccb->p_rcb->api.pL2CA_ConnectCfm_Cb;
169 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm,
207 if (btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm,
222 (*p_ccb->p_rcb->api.pL2CA_ConnectCfm_Cb)(local_cid, L2CAP_CONN_NO_LINK);
264 if (btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm,
302 tL2CA_DISCONNECT_IND_CB *disconnect_ind = p_ccb->p_rcb->api.pL2CA_DisconnectInd_Cb
    [all...]
l2c_api.c 54 tL2C_RCB *p_rcb; local
86 if ((p_rcb = l2cu_find_rcb_by_psm (vpsm)) == NULL)
94 if ((p_rcb = l2cu_find_rcb_by_psm (vpsm)) == NULL)
96 if ((p_rcb = l2cu_allocate_rcb (vpsm)) == NULL)
103 p_rcb->api = *p_cb_info;
104 p_rcb->real_psm = psm;
123 tL2C_RCB *p_rcb; local
130 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) != NULL)
146 if (p_ccb->p_rcb == p_rcb)
237 tL2C_RCB *p_rcb; local
874 tL2C_RCB *p_rcb; local
    [all...]
l2c_utils.c 490 UINT16_TO_STREAM (p, p_ccb->p_rcb->real_psm);
1670 tL2C_RCB *p_rcb = p_ccb->p_rcb; local
1784 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0]; local
1865 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0]; local
    [all...]
l2c_main.c 330 tL2C_RCB *p_rcb, *p_rcb2; local
437 if ((p_rcb = l2cu_find_rcb_by_psm (con_info.psm)) == NULL)
445 if (!p_rcb->api.pL2CA_ConnectInd_Cb)
459 p_ccb->p_rcb = p_rcb;
    [all...]
l2c_int.h 295 tL2C_RCB *p_rcb; /* Registration CB for this Channel */ member in struct:t_l2c_ccb
    [all...]
l2c_fcr.c     [all...]
  /external/bluetooth/bluedroid/stack/mcap/
mca_main.c 72 tMCA_RCB *p_rcb = &mca_cb.rcb[0]; local
74 for (i=0; i<MCA_NUM_REGS; i++, p_rcb++)
76 if (p_rcb->p_cback && p_rcb->reg.ctrl_psm == psm)
99 tMCA_RCB *p_rcb = &mca_cb.rcb[0]; local
101 for (i=0; i<MCA_NUM_REGS; i++, p_rcb++)
103 if (p_rcb->p_cback && p_rcb->reg.data_psm == psm)
516 tMCA_RCB *p_rcb = NULL; local
522 p_rcb = &mca_cb.rcb[i]
543 tMCA_RCB *p_rcb; local
600 tMCA_RCB *p_rcb = NULL; local
    [all...]
mca_api.c 123 tMCA_RCB *p_rcb; local
133 if ( (p_rcb = mca_rcb_alloc (p_reg)) != NULL)
169 p_rcb->reg.data_psm = 0;
170 handle = mca_rcb_to_handle (p_rcb);
171 p_rcb->p_cback = p_cback;
172 p_rcb->reg.rsp_tout = p_reg->rsp_tout;
191 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); local
194 if (p_rcb && p_rcb->reg.ctrl_psm)
196 L2CA_Deregister(p_rcb->reg.ctrl_psm)
221 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); local
290 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); local
    [all...]
mca_csm.c 225 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); local
229 if (p_rcb)
259 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); local
264 if (p_rcb)
272 p_ccb_tmp->p_rcb = p_rcb;
mca_dsm.c 176 tMCA_RCB *p_rcb = p_ccb->p_rcb; local
182 p_cs = &p_rcb->dep[dep];
216 tMCA_RCB *p_rcb = p_ccb->p_rcb; local
224 p_cs = &p_rcb->dep[dep];
mca_cact.c 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);
140 btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_MCA_CCB_RSP, p_ccb->p_rcb->reg.rsp_tout);
192 p_ccb->p_rcb->reg.data_psm, BTM_SEC_PROTO_MCA, p_msg->dcb_idx);
367 if (!mca_is_valid_dep_id(p_ccb->p_rcb, p_rx_msg->mdep_id))
mca_int.h 206 tMCA_RCB *p_rcb; /* the associated registration control block */ member in struct:__anon6307
317 extern tMCA_HANDLE mca_rcb_to_handle(tMCA_RCB *p_rcb);
319 extern BOOLEAN mca_is_valid_dep_id(tMCA_RCB *p_rcb, tMCA_DEP dep);
  /external/bluetooth/bluedroid/bta/gatt/
bta_gatts_act.c 414 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local
421 cb_data.add_result.server_if = p_rcb->gatt_if;
434 if (p_rcb->p_cback)
435 (*p_rcb->p_cback)(BTA_GATTS_ADD_INCL_SRVC_EVT, &cb_data);
448 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local
456 cb_data.add_result.server_if = p_rcb->gatt_if;
472 if (p_rcb->p_cback)
473 (*p_rcb->p_cback)(BTA_GATTS_ADD_CHAR_EVT, &cb_data);
486 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local
494 cb_data.add_result.server_if = p_rcb->gatt_if
525 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local
558 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local
591 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local
639 tBTA_GATTS_RCB *p_rcb = NULL; local
708 tBTA_GATTS_RCB *p_rcb=NULL; local
748 tBTA_GATTS_RCB *p_rcb; local
783 tBTA_GATTS_RCB *p_rcb; local
829 tBTA_GATTS_RCB *p_rcb = bta_gatts_find_app_rcb_by_app_if(p_msg->api_listen.server_if); local
868 tBTA_GATTS_RCB *p_rcb; local
966 tBTA_GATTS_RCB *p_rcb; local
    [all...]
bta_gattc_act.c 305 if (p_cb->clcb[i].in_use && (p_cb->clcb[i].p_rcb == p_clreg))
460 if ( p_clcb && p_clcb->p_rcb && p_clcb->p_rcb->p_cback )
461 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data);
479 bta_gattc_send_open_cback(p_clcb->p_rcb,
499 bta_gattc_send_open_cback(p_clcb->p_rcb,
523 if (!GATT_Connect(p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda,
533 if (GATT_GetConnIdIfConnected(p_clcb->p_rcb->client_if,
648 if ( p_clcb->p_rcb->p_cback )
651 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data)
    [all...]
bta_gatts_main.c 35 typedef void (*tBTA_GATTS_SRVC_ACT)(tBTA_GATTS_SRVC_CB *p_rcb, tBTA_GATTS_DATA *p_data);
bta_gattc_utils.c 175 p_clcb->p_rcb->client_if == client_if &&
233 p_clcb->p_rcb = bta_gattc_cl_get_regcb(client_if);
238 if (p_clcb->p_rcb != NULL && p_clcb->p_srcb != NULL)
241 p_clcb->p_rcb->num_clcb ++;
294 if (p_clcb->p_rcb->num_clcb)
295 p_clcb->p_rcb->num_clcb --;
  /external/bluetooth/bluedroid/bta/av/
bta_av_act.c 67 tBTA_AV_RCB *p_rcb = NULL; local
74 p_rcb = &bta_av_cb.rcb[i];
78 return p_rcb;
91 void bta_av_del_rc(tBTA_AV_RCB *p_rcb)
96 if(p_rcb->handle != BTA_AV_RC_HANDLE_NONE)
98 if(p_rcb->shdl)
100 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1];
103 APPL_TRACE_DEBUG("bta_av_del_rc shdl:%d, srch:%d rc_handle:%d", p_rcb->shdl,
104 p_scb->rc_handle, p_rcb->handle);
105 if(p_scb->rc_handle == p_rcb->handle
306 tBTA_AV_RCB *p_rcb; local
490 tBTA_AV_RCB *p_rcb; local
588 tBTA_AV_RCB *p_rcb; local
614 tBTA_AV_RCB *p_rcb; local
637 tBTA_AV_RCB *p_rcb; local
660 tBTA_AV_RCB *p_rcb; local
1028 tBTA_AV_RCB *p_rcb; local
1174 tBTA_AV_RCB *p_rcb, *p_rcb2; local
1796 tBTA_AV_RCB *p_rcb; local
    [all...]
bta_av_aact.c 1203 tBTA_AV_RCB *p_rcb; local
    [all...]
  /external/bluetooth/bluedroid/stack/avrc/
avrc_api.c 360 tAVRC_RASM_CB *p_rcb; local
370 p_rcb = &avrc_cb.rcb[handle];
377 p_rcb->rasm_offset = 0;
378 if (p_rcb->p_rmsg)
380 GKI_freebuf(p_rcb->p_rmsg);
381 p_rcb->p_rmsg = NULL;
391 p_rcb->rasm_pdu = *p_data;
392 if ((p_rcb->p_rmsg = (BT_HDR *)GKI_getbuf(GKI_MAX_BUF_SIZE)) != NULL)
395 memcpy(p_rcb->p_rmsg, p_pkt, sizeof(BT_HDR)); /* Copy bt hdr */
398 memcpy((UINT8 *)(p_rcb->p_rmsg + 1)
    [all...]
  /external/bluetooth/bluedroid/stack/gatt/
gatt_sr.c 531 tGATT_SR_REG *p_rcb; local
544 p_rcb = GATT_GET_SR_REG_PTR(p_srv->i_sreg);
546 if (p_rcb->in_use &&
547 p_rcb->s_hdl >= s_hdl &&
548 p_rcb->s_hdl <= e_hdl &&
549 p_rcb->type == GATT_UUID_PRI_SERVICE)
551 if ((p_uuid = gatts_get_service_uuid (p_rcb->p_db)) != NULL)
576 UINT16_TO_STREAM(p, p_rcb->s_hdl);
586 UINT16_TO_STREAM(p, p_rcb->e_hdl);
618 static tGATT_STATUS gatt_build_find_info_rsp(tGATT_SR_REG *p_rcb, BT_HDR *p_msg, UINT16 *p_len
839 tGATT_SR_REG *p_rcb; local
978 tGATT_SR_REG *p_rcb; local
1255 tGATT_SR_REG *p_rcb = gatt_cb.sr_reg; local
1416 tGATT_SR_REG *p_rcb = gatt_cb.sr_reg; local
    [all...]
gatt_utils.c 421 tGATT_SR_REG *p_rcb = NULL; local
428 p_rcb = GATT_GET_SR_REG_PTR(p_srv->i_sreg);
430 p_svc_uuid = gatts_get_service_uuid (p_rcb->p_db);
    [all...]
  /external/bluetooth/bluedroid/stack/sdp/
sdp_discovery.c 201 tSDP_DISC_RES_CB *p_rcb = (tSDP_DISC_RES_CB *) p_ccb->p_db; local
205 if (p_rcb)
209 (*p_rcb)(SDP_EVT_OPEN, (void *)&evt_data);
257 tSDP_DISC_RES_CB *p_rcb = (tSDP_DISC_RES_CB *) p_ccb->p_db; local
259 if (p_rcb)
263 (*p_rcb)(SDP_EVT_DATA_IND, (void *)&data);
    [all...]
sdp_api.c     [all...]
  /external/bluetooth/bluedroid/stack/include/
sdp_api.h 711 SDP_API UINT32 SDP_ConnOpen (UINT8 *p_bd_addr, tSDP_DISC_RES_CB *p_rcb,

Completed in 239 milliseconds

1 2