/system/bt/stack/smp/ |
H A D | smp_l2c.cc | 35 static void smp_tx_complete_callback(uint16_t cid, uint16_t num_pkt); 206 static void smp_tx_complete_callback(uint16_t cid, uint16_t num_pkt) { argument 216 if (cid == L2CAP_SMP_CID)
|
/system/bt/stack/sdp/ |
H A D | sdp_main.cc | 510 uint16_t cid; local 531 cid = L2CA_ConnectReq(SDP_PSM, p_bd_addr); 534 if (cid != 0) { 535 p_ccb->connection_id = cid;
|
H A D | sdp_utils.cc | 56 tCONN_CB* sdpu_find_ccb_by_cid(uint16_t cid) { argument 62 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->connection_id == cid))
|
/system/bt/stack/bnep/ |
H A D | bnep_api.cc | 130 uint16_t cid; local 182 cid = L2CA_ConnectReq(BT_PSM_BNEP, p_bcb->rem_bda); 183 if (cid != 0) { 184 p_bcb->l2cap_cid = cid;
|
H A D | bnep_utils.cc | 59 tBNEP_CONN* bnepu_find_bcb_by_cid(uint16_t cid) { argument 65 if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid))
|
/system/bt/stack/hid/ |
H A D | hidd_conn.cc | 47 static void hidd_l2cif_connect_ind(BD_ADDR bd_addr, uint16_t cid, uint16_t psm, 49 static void hidd_l2cif_connect_cfm(uint16_t cid, uint16_t result); 50 static void hidd_l2cif_config_ind(uint16_t cid, tL2CAP_CFG_INFO* p_cfg); 51 static void hidd_l2cif_config_cfm(uint16_t cid, tL2CAP_CFG_INFO* p_cfg); 52 static void hidd_l2cif_disconnect_ind(uint16_t cid, bool ack_needed); 53 static void hidd_l2cif_disconnect_cfm(uint16_t cid, uint16_t result); 54 static void hidd_l2cif_data_ind(uint16_t cid, BT_HDR* p_msg); 55 static void hidd_l2cif_cong_ind(uint16_t cid, bool congested); 176 static void hidd_l2cif_connect_ind(BD_ADDR bd_addr, uint16_t cid, uint16_t psm, argument 182 HIDD_TRACE_EVENT("%s: psm=%04x cid 277 hidd_l2cif_connect_cfm(uint16_t cid, uint16_t result) argument 338 hidd_l2cif_config_ind(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) argument 404 hidd_l2cif_config_cfm(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) argument 487 hidd_l2cif_disconnect_ind(uint16_t cid, bool ack_needed) argument 535 hidd_l2cif_disconnect_cfm(uint16_t cid, uint16_t result) argument 583 hidd_l2cif_cong_ind(uint16_t cid, bool congested) argument 612 hidd_l2cif_data_ind(uint16_t cid, BT_HDR* p_msg) argument 894 uint16_t cid; local [all...] |
H A D | hidh_conn.cc | 49 static uint8_t find_conn_by_cid(uint16_t cid); 873 uint16_t cid; local 897 cid = p_hcon->ctrl_cid; 901 cid = p_hcon->intr_cid; 962 (!L2CA_DataWrite(cid, p_buf))) 1034 static uint8_t find_conn_by_cid(uint16_t cid) { argument 1040 ((hh_cb.devices[xx].conn.ctrl_cid == cid) || 1041 (hh_cb.devices[xx].conn.intr_cid == cid)))
|
/system/bt/stack/l2cap/ |
H A D | l2c_main.cc | 99 " cid:%d opcode:%d cur count:%d", 114 "L2CAP - rcvd ACL for unknown handle:%d ls:%d cid:%d" 522 /* updated spec says send command reject on invalid cid */ 861 uint8_t l2c_data_write(uint16_t cid, BT_HDR* p_data, uint16_t flags) { argument 865 p_ccb = l2cu_find_ccb_by_cid(NULL, cid); 867 L2CAP_TRACE_WARNING("L2CAP - no CCB for L2CA_DataWrite, CID: %d", cid); 886 cid, p_data->len, mtu);
|
H A D | l2c_ucd.cc | 154 static void l2c_ucd_disconnect_ind_cback(uint16_t cid, bool result) { argument 167 static void l2c_ucd_config_ind_cback(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { argument 180 static void l2c_ucd_config_cfm_cback(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { argument
|
H A D | l2c_ble.cc | 673 L2CAP_TRACE_WARNING("L2CAP - rcvd conn req for duplicated cid: 0x%04x", 1203 uint16_t cid = fix_cid - L2CAP_FIRST_FIXED_CHNL; local 1215 if (p_lcb->p_fixed_ccbs[cid] != NULL) { 1218 p_lcb->p_fixed_ccbs[cid]->tx_data_len = tx_mtu;
|
H A D | l2c_api.cc | 753 bool L2CA_ConfigReq(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { argument 759 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu); 762 p_ccb = l2cu_find_ccb_by_cid(NULL, cid); 764 L2CAP_TRACE_WARNING("L2CAP - no CCB for L2CA_cfg_req, CID: %d", cid); 802 bool L2CA_ConfigRsp(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { argument 808 cid, p_cfg->result, p_cfg->mtu_present, p_cfg->flush_to_present, 812 p_ccb = l2cu_find_ccb_by_cid(NULL, cid); 814 L2CAP_TRACE_WARNING("L2CAP - no CCB for L2CA_cfg_rsp, CID: %d", cid); 845 bool L2CA_DisconnectReq(uint16_t cid) { argument 848 L2CAP_TRACE_API("L2CA_DisconnectReq() CID: 0x%04x", cid); 872 L2CA_DisconnectRsp(uint16_t cid) argument 1034 L2CA_SetIdleTimeout(uint16_t cid, uint16_t timeout, bool is_global) argument 1248 L2CA_FlowControl(uint16_t cid, bool data_enabled) argument 1291 L2CA_SendTestSFrame(uint16_t cid, uint8_t sup_type, uint8_t back_track) argument 1327 L2CA_SetTxPriority(uint16_t cid, tL2CAP_CHNL_PRIORITY priority) argument 1356 L2CA_SetChnlDataRate(uint16_t cid, tL2CAP_CHNL_DATA_RATE tx, tL2CAP_CHNL_DATA_RATE rx) argument 2066 L2CA_DataWrite(uint16_t cid, BT_HDR* p_data) argument 2081 L2CA_SetChnlFlushability(uint16_t cid, bool is_flushable) argument 2120 L2CA_DataWriteEx(uint16_t cid, BT_HDR* p_data, uint16_t flags) argument [all...] |
H A D | l2c_utils.cc | 1372 tL2C_CCB* l2cu_allocate_ccb(tL2C_LCB* p_lcb, uint16_t cid) { argument 1376 L2CAP_TRACE_DEBUG("l2cu_allocate_ccb: cid 0x%04x", cid); 1381 if (cid == 0) { 1387 p_ccb = &l2cb.ccb_pool[cid - L2CAP_BASE_APPL_CID]; 1406 cid); 1486 if (cid == 0) 1489 L2CAP_TRACE_DEBUG("l2cu_allocate_ccb: cid 0x%04x config_done:0x%x", cid, 1567 L2CAP_TRACE_DEBUG("l2cu_release_ccb: cid [all...] |
/system/nfc/halimpl/bcm2079x/hal/hal/ |
H A D | nfc_hal_main.c | 475 static void nfc_hal_send_credit_ntf_for_cid(uint8_t cid) { argument 497 *p++ = cid; 521 uint8_t cid, pbf; local 552 NCI_DATA_PRS_HDR(pp, pbf, cid, data_len); 553 if (cid == nfc_hal_cb.hci_cb.hcp_conn_id) { 559 nfc_hal_send_credit_ntf_for_cid(cid);
|
H A D | nfc_hal_nci.c | 501 uint8_t cid; local 530 NCI_DATA_PRS_HDR(pp, pbf, cid, data_len); 531 if (cid == nfc_hal_cb.hci_cb.hcp_conn_id) {
|
/system/bt/stack/gap/ |
H A D | gap_conn.cc | 44 static tGAP_CCB* gap_find_ccb_by_cid(uint16_t cid); 134 uint16_t cid; local 261 cid = L2CA_CONNECT_REQ(p_ccb->psm, p_rem_bda, &p_ccb->ertm_info); 262 if (cid != 0) { 263 p_ccb->connection_id = cid; 269 cid = L2CA_CONNECT_COC_REQ(p_ccb->psm, p_rem_bda, &p_ccb->local_coc_cfg); 270 if (cid != 0) { 271 p_ccb->connection_id = cid; 1023 static tGAP_CCB* gap_find_ccb_by_cid(uint16_t cid) { argument 1031 (p_ccb->connection_id == cid)) [all...] |
/system/chre/chre_api/include/chre_api/chre/ |
H A D | wwan.h | 100 int32_t cid; member in struct:chreWwanCellIdentityGsm 125 int32_t cid; member in struct:chreWwanCellIdentityWcdma 193 int32_t cid; member in struct:chreWwanCellIdentityTdscdma
|
/system/nfc/src/nfc/nfc/ |
H A D | nfc_ncif.c | 1353 uint8_t *pp, cid; local 1364 NCI_DATA_PRS_HDR(pp, pbf, cid, len); 1365 p_cb = nfc_find_conn_cb_by_conn_id(cid);
|