/external/bluetooth/bluedroid/stack/rfcomm/ |
rfc_l2cap_if.c | 90 tRFC_MCB *p_mcb = rfc_alloc_multiplexer_channel(bd_addr, FALSE); local 93 if ((p_mcb)&&(p_mcb->state != RFC_MX_STATE_IDLE)) 96 if ((p_mcb->is_initiator)&&(p_mcb->state == RFC_MX_STATE_WAIT_CONN_CNF)) 98 p_mcb->pending_lcid = lcid; 99 p_mcb->pending_id = id; 105 p_mcb->lcid, p_mcb->pending_lcid); 107 rfc_timer_start(p_mcb, (UINT16)(GKI_get_tick_count()%10 + 2)) 145 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); local 217 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); local 240 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); local 276 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); local 305 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); local 391 tRFC_MCB *p_mcb = rfc_find_lcid_mcb (lcid); local 414 tRFC_MCB *p_mcb; local [all...] |
rfc_utils.c | 136 tRFC_MCB *p_mcb = NULL; local 157 RFCOMM_TRACE_DEBUG("rfc_alloc_multiplexer_channel:is_initiator:%d, found, state:%d, p_mcb:%p", 169 p_mcb = &rfc_cb.port.rfc_mcb[j]; 173 memset (p_mcb, 0, sizeof (tRFC_MCB)); 174 memcpy (p_mcb->bd_addr, bd_addr, BD_ADDR_LEN); 175 RFCOMM_TRACE_DEBUG("rfc_alloc_multiplexer_channel:is_initiator:%d, create new p_mcb:%p, index:%d", 178 GKI_init_q(&p_mcb->cmd_q); 180 p_mcb->is_initiator = is_initiator; 182 rfc_timer_start (p_mcb, RFC_MCB_INIT_INACT_TIMER); 185 return (p_mcb); 382 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; local [all...] |
port_rfc.c | 57 tRFC_MCB *p_mcb; local 62 if ((p_mcb = rfc_alloc_multiplexer_channel (p_port->bd_addr, TRUE)) == NULL) 69 p_port->rfc.p_mcb = p_mcb; 71 p_mcb->port_inx[p_port->dlci] = p_port->inx; 76 if (p_mcb->state == RFC_MX_STATE_CONNECTED) 78 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu); 80 else if ((p_mcb->state == RFC_MX_STATE_IDLE) 81 ||(p_mcb->state == RFC_MX_STATE_DISC_WAIT_UA)) 86 RFCOMM_StartReq (p_mcb); 110 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; local 131 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; local 152 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; local 1048 tRFC_MCB *p_mcb = p_port->rfc.p_mcb; local [all...] |
port_api.c | 84 tRFC_MCB *p_mcb = port_find_mcb (bd_addr); local 101 if (p_mcb && !p_mcb->is_initiator && !is_server) 105 RFCOMM_TRACE_API("RFCOMM_CreateConnection(): scn:%d, dlci:%d, is_server:%d mtu:%d, p_mcb:%p", 106 scn, dlci, is_server, mtu, p_mcb); 116 p_port->state, p_port->rfc.state, p_port->rfc.p_mcb ? p_port->rfc.p_mcb->state : 0); 126 RFCOMM_TRACE_API("RFCOMM_CreateConnection(): scn:%d, dlci:%d, is_server:%d mtu:%d, p_mcb:%p, p_port:%p", 127 scn, dlci, is_server, mtu, p_mcb, p_port); 480 if (!p_port->rfc.p_mcb 508 tRFC_MCB *p_mcb = NULL; local [all...] |
port_int.h | 135 tRFC_MCB *p_mcb; member in struct:t_rfc_port 230 extern tPORT *port_find_mcb_dlci_port (tRFC_MCB *p_mcb, UINT8 dlci);
|
/external/bluetooth/bluedroid/bta/hl/ |
bta_hl_act.c | 88 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 101 evt_data.dch_cong_ind.mcl_handle = p_mcb->mcl_handle; 122 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 133 bta_hl_co_get_echo_data(p_acb->app_id, p_mcb->mcl_handle, 151 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 157 if ( p_mcb->sdp_oper == BTA_HL_SDP_OP_NONE) 159 p_mcb->sdp_mdl_idx = mdl_idx; 162 p_mcb->sdp_oper = BTA_HL_SDP_OP_DCH_OPEN_INIT; 167 p_mcb->sdp_oper = BTA_HL_SDP_OP_DCH_RECONNECT_INIT; 170 if (bta_hl_init_sdp(p_mcb->sdp_oper, app_idx, mcl_idx, mdl_idx) != BTA_HL_STATUS_OK 237 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 374 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 415 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 492 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 546 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 829 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 880 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 987 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 1131 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 1176 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 1236 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 1310 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 1359 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 1398 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 1444 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 1549 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 1613 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2295 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2332 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2371 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2434 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2476 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2499 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2521 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local [all...] |
bta_hl_main.c | 804 tBTA_HL_MCL_CB *p_mcb; local 903 tBTA_HL_MCL_CB *p_mcb; local 966 tBTA_HL_MCL_CB *p_mcb = NULL; local 1120 tBTA_HL_MCL_CB *p_mcb; local 1189 tBTA_HL_MCL_CB *p_mcb = NULL; local 1330 tBTA_HL_MCL_CB *p_mcb = NULL; local 1463 tBTA_HL_MCL_CB *p_mcb; local 1566 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR( app_idx, mcl_idx); local 1645 tBTA_HL_MCL_CB *p_mcb; local 1734 tBTA_HL_MCL_CB *p_mcb; local 1813 tBTA_HL_MCL_CB *p_mcb; local 1876 tBTA_HL_MCL_CB *p_mcb; local [all...] |
bta_hl_utils.c | 54 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 58 if (p_mcb->sdp.num_recs) 60 if (p_mcb->ctrl_psm != ctrl_psm) 74 p_mcb->ctrl_psm = ctrl_psm; 82 p_mcb->sdp.num_recs, success, update_ctrl_psm, ctrl_psm ); 337 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 344 if ((*pp_rec = SDP_FindServiceInDb(p_mcb->p_db, service_uuid, 351 if (((*pp_rec = bta_hl_find_sink_or_src_srv_class_in_db(p_mcb->p_db, 523 tBTA_HL_MCL_CB *p_mcb; local 548 p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx) 632 tBTA_HL_MCL_CB *p_mcb; local 802 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 860 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 899 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 937 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 975 tBTA_HL_MCL_CB *p_mcb; local 1172 tBTA_HL_MCL_CB *p_mcb; local 1214 tBTA_HL_MCL_CB *p_mcb; local 1272 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 1306 tBTA_HL_MCL_CB *p_mcb; local 1461 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 1879 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2080 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2524 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2842 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2932 tBTA_HL_MCL_CB *p_mcb; local [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_hl.c | 189 btif_hl_mcl_cb_t *p_mcb; local 202 p_mcb = BTIF_HL_GET_MCL_CB_PTR(i, j); 203 if (p_mcb->in_use && 204 p_mcb->is_connected && p_mcb->pcb.channel_id == channel_id ) 232 btif_hl_mcl_cb_t *p_mcb; local 250 p_mcb = &p_acb->mcb[j]; 254 if (p_mcb->mdl[x].in_use) 278 btif_hl_mcl_cb_t *p_mcb; local 286 p_mcb =BTIF_HL_GET_MCL_CB_PTR(i,j) 317 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 338 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 373 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 456 btif_hl_mcl_cb_t *p_mcb =BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 532 btif_hl_mcl_cb_t *p_mcb; local 566 btif_hl_mcl_cb_t *p_mcb =BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 647 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 768 btif_hl_mcl_cb_t *p_mcb; local 877 btif_hl_mcl_cb_t *p_mcb; local 905 btif_hl_mcl_cb_t *p_mcb; local 1046 btif_hl_mcl_cb_t *p_mcb; local 1128 btif_hl_mcl_cb_t *p_mcb; local 1180 btif_hl_mcl_cb_t *p_mcb; local 1288 btif_hl_mcl_cb_t *p_mcb; local 1780 btif_hl_mcl_cb_t *p_mcb; local 1918 btif_hl_mcl_cb_t *p_mcb; local 2024 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2333 btif_hl_mcl_cb_t *p_mcb; local 2456 btif_hl_mcl_cb_t *p_mcb; local 2500 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 2578 btif_hl_mcl_cb_t *p_mcb; local 2685 btif_hl_mcl_cb_t *p_mcb; local 2769 btif_hl_mcl_cb_t *p_mcb; local 2849 btif_hl_mcl_cb_t *p_mcb; local 2926 btif_hl_mcl_cb_t *p_mcb; local 3004 btif_hl_mcl_cb_t *p_mcb; local 3079 btif_hl_mcl_cb_t *p_mcb; local 3110 btif_hl_mcl_cb_t *p_mcb; local 3384 btif_hl_mcl_cb_t *p_mcb = NULL; local 3979 btif_hl_mcl_cb_t *p_mcb=NULL; local 4081 btif_hl_mcl_cb_t *p_mcb; local 4340 btif_hl_mcl_cb_t *p_mcb; local 4631 btif_hl_mcl_cb_t *p_mcb = BTIF_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 4679 btif_hl_mcl_cb_t *p_mcb = NULL; local [all...] |