Home
last modified time | relevance | path

Searched refs:pcb (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/pan/
Dpan_main.cc195 tPAN_CONN* pcb = pan_get_pcb_by_handle(handle); in pan_conn_ind_cb() local
196 if (pcb) { in pan_conn_ind_cb()
209 if (pcb->con_state == PAN_STATE_CONNECTED) { in pan_conn_ind_cb()
213 pcb->prv_src_uuid = pcb->src_uuid; in pan_conn_ind_cb()
214 pcb->prv_dst_uuid = pcb->dst_uuid; in pan_conn_ind_cb()
216 if (pcb->src_uuid == UUID_SERVCLASS_NAP && in pan_conn_ind_cb()
220 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in pan_conn_ind_cb()
225 pcb->src_uuid = local_uuid16; in pan_conn_ind_cb()
226 pcb->dst_uuid = remote_uuid16; in pan_conn_ind_cb()
244 pcb = pan_allocate_pcb(p_bda, handle); in pan_conn_ind_cb()
[all …]
Dpan_api.cc296 tPAN_CONN* pcb = pan_get_pcb_by_addr(rem_bda); in PAN_Connect() local
301 if ((pan_cb.num_conns > 1) || (pan_cb.num_conns && (!pcb))) { in PAN_Connect()
325 if (pan_cb.num_conns && pan_cb.active_role == PAN_ROLE_CLIENT && !pcb) { in PAN_Connect()
347 if (!pcb) pcb = pan_allocate_pcb(rem_bda, BNEP_INVALID_HANDLE); in PAN_Connect()
348 if (!pcb) { in PAN_Connect()
355 if (pcb->con_state == PAN_STATE_IDLE) { in PAN_Connect()
357 } else if (pcb->con_state == PAN_STATE_CONNECTED) { in PAN_Connect()
358 pcb->con_flags |= PAN_FLAGS_CONN_COMPLETED; in PAN_Connect()
363 pcb->con_state = PAN_STATE_CONN_START; in PAN_Connect()
364 pcb->prv_src_uuid = pcb->src_uuid; in PAN_Connect()
[all …]
Dpan_utils.cc182 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
183 pan_cb.pcb[i].handle == handle) in pan_allocate_pcb()
188 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
189 pan_cb.pcb[i].rem_bda == p_bda) in pan_allocate_pcb()
194 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) { in pan_allocate_pcb()
195 memset(&(pan_cb.pcb[i]), 0, sizeof(tPAN_CONN)); in pan_allocate_pcb()
196 pan_cb.pcb[i].rem_bda = p_bda; in pan_allocate_pcb()
197 pan_cb.pcb[i].handle = handle; in pan_allocate_pcb()
198 return &(pan_cb.pcb[i]); in pan_allocate_pcb()
217 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_get_pcb_by_handle()
[all …]
Dpan_int.h72 tPAN_CONN pcb[MAX_PAN_CONNS]; member
/system/bt/btif/src/
Dbtif_hl.cc205 p_mcb->pcb.channel_id == channel_id) { in btif_hl_if_channel_setup_pending()
714 p_mcb->pcb.abort_pending = true; in btif_hl_dch_abort()
3061 pending_op = p_mcb->pcb.op; in btif_hl_upstreams_evt()
3101 pending_op = p_mcb->pcb.op; in btif_hl_upstreams_evt()
3138 pending_op = p_mcb->pcb.op; in btif_hl_upstreams_evt()
3230 pending_op = p_mcb->pcb.op; in btif_hl_upstreams_evt()
3903 if (p_mcb->pcb.in_use) in btif_hl_save_mdl_cfg()
3904 *p_channel_id = p_mcb->pcb.channel_id; in btif_hl_save_mdl_cfg()
3907 p_mdl->extra.mdep_cfg_idx = p_mcb->pcb.mdep_cfg_idx; in btif_hl_save_mdl_cfg()
3909 p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx] in btif_hl_save_mdl_cfg()
[all …]
/system/bt/bta/jv/
Dbta_jv_act.cc1399 tBTA_JV_PCB** pcb) { in find_rfc_pcb() argument
1401 *pcb = NULL; in find_rfc_pcb()
1407 *pcb = &bta_jv_cb.port_cb[i]; in find_rfc_pcb()
1410 << ", port.jv_handle=" << loghex((*pcb)->handle) in find_rfc_pcb()
1411 << ", state=" << (*pcb)->state in find_rfc_pcb()