/external/bluetooth/bluedroid/stack/avct/ |
avct_api.c | 239 tAVCT_BCB *p_bcb; local 276 p_bcb = &avct_cb.bcb[index - 1]; 277 p_bcb->allocated = index; 284 p_ccb->p_bcb = p_bcb; 285 AVCT_TRACE_DEBUG1("ch_state: %d", p_bcb->ch_state); 286 avct_bcb_event(p_bcb, AVCT_LCB_UL_BIND_EVT, (tAVCT_LCB_EVT *) &p_ccb); 322 else if (p_ccb->p_bcb != NULL) 325 avct_bcb_event(p_ccb->p_bcb, AVCT_LCB_UL_UNBIND_EVT, (tAVCT_LCB_EVT *) &p_ccb); 349 if ((p_ccb = avct_ccb_by_idx(handle)) != NULL && p_ccb->p_bcb != NULL [all...] |
avct_int.h | 107 tAVCT_BCB *p_bcb; /* associated BCB */ member in struct:__anon3476 147 extern void avct_bcb_event(tAVCT_BCB *p_bcb, UINT8 event, tAVCT_LCB_EVT *p_data); 149 extern tAVCT_LCB *avct_lcb_by_bcb(tAVCT_BCB *p_bcb); 151 extern BOOLEAN avct_bcb_last_ccb(tAVCT_BCB *p_bcb, tAVCT_CCB *p_ccb_last); 180 typedef void (*tAVCT_BCB_ACTION)(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data); 181 extern void avct_bcb_chnl_open(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data); 182 extern void avct_bcb_unbind_disc(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data); 183 extern void avct_bcb_open_ind(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data); 184 extern void avct_bcb_open_fail(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data); 185 extern void avct_bcb_close_ind(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data) [all...] |
/external/bluetooth/bluedroid/stack/bnep/ |
bnep_api.c | 141 tBNEP_CONN *p_bcb = bnepu_find_bcb_by_bd_addr (p_rem_bda); local 159 if (!p_bcb) 161 if ((p_bcb = bnepu_allocate_bcb (p_rem_bda)) == NULL) 164 else if (p_bcb->con_state != BNEP_STATE_CONNECTED) 169 memcpy ((UINT8 *)&(p_bcb->prv_src_uuid), (UINT8 *)&(p_bcb->src_uuid), sizeof (tBT_UUID)); 170 memcpy ((UINT8 *)&(p_bcb->prv_dst_uuid), (UINT8 *)&(p_bcb->dst_uuid), sizeof (tBT_UUID)); 174 p_bcb->con_flags |= BNEP_FLAGS_IS_ORIG; 176 memcpy ((UINT8 *)&(p_bcb->src_uuid), (UINT8 *)src_uuid, sizeof (tBT_UUID)) 242 tBNEP_CONN *p_bcb; local 320 tBNEP_CONN *p_bcb; local 368 tBNEP_CONN *p_bcb; local 482 tBNEP_CONN *p_bcb; local 591 tBNEP_CONN *p_bcb; local 654 tBNEP_CONN *p_bcb; local 746 tBNEP_CONN *p_bcb; local [all...] |
bnep_main.c | 122 tBNEP_CONN *p_bcb = bnepu_find_bcb_by_bd_addr (bd_addr); local 126 if (!(bnep_cb.profile_registered) || (p_bcb) 127 || ((p_bcb = bnepu_allocate_bcb(bd_addr)) == NULL)) 134 p_bcb->con_state = BNEP_STATE_CFG_SETUP; 137 p_bcb->l2cap_cid = l2cap_cid; 146 btu_start_timer (&p_bcb->conn_tle, BTU_TTYPE_BNEP, BNEP_CONN_TIMEOUT); 148 BNEP_TRACE_EVENT1("BNEP - Rcvd L2CAP conn ind, CID: 0x%x", p_bcb->l2cap_cid); 216 tBNEP_CONN *p_bcb; local 220 if ((p_bcb = bnepu_find_bcb_by_cid (l2cap_cid)) == NULL) 240 p_bcb->rem_mtu_size = BNEP_MTU_SIZE 290 tBNEP_CONN *p_bcb; local 349 tBNEP_CONN *p_bcb; local 407 tBNEP_CONN *p_bcb; local 465 tBNEP_CONN *p_bcb; local 674 tBNEP_CONN *p_bcb; local [all...] |
bnep_utils.c | 39 void bnepu_process_peer_multicast_filter_set (tBNEP_CONN *p_bcb, UINT8 *p_filters, UINT16 len); 40 void bnepu_send_peer_multicast_filter_rsp (tBNEP_CONN *p_bcb, UINT16 response_code); 56 tBNEP_CONN *p_bcb; local 59 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) 61 if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid)) 62 return (p_bcb); 83 tBNEP_CONN *p_bcb; local 86 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++ 112 tBNEP_CONN *p_bcb; local 1213 tBNEP_CONN *p_bcb = (tBNEP_CONN *)p_ref_data; local 1441 tBNEP_CONN *p_bcb; local [all...] |