/system/bt/stack/avct/ |
H A D | avct_l2c_br.cc | 76 void avct_l2c_br_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 77 void avct_l2c_br_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 227 void avct_l2c_br_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { argument 235 if (p_cfg->result == L2CAP_CFG_OK) { 248 p_lcb->ch_result = p_cfg->result; 265 void avct_l2c_br_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { argument 273 p_cfg->flush_to_present = false; 274 p_cfg->qos_present = false; 282 if (p_cfg->mtu_present) { 283 p_lcb->peer_mtu = p_cfg [all...] |
H A D | avct_l2c.cc | 43 void avct_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 44 void avct_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 231 void avct_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { argument 238 lcid, p_lcb->ch_state, p_cfg->result); 242 if (p_cfg->result == L2CAP_CFG_OK) { 258 p_lcb->ch_result = p_cfg->result; 278 void avct_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { argument 287 if (p_cfg->mtu_present) { 288 p_lcb->peer_mtu = p_cfg->mtu; 294 memset(p_cfg, [all...] |
/system/bt/stack/l2cap/ |
H A D | l2c_utils.cc | 551 void l2cu_send_peer_config_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { argument 562 if (p_cfg->mtu_present) 564 if (p_cfg->flush_to_present) 566 if (p_cfg->qos_present) 568 if (p_cfg->fcr_present) 570 if (p_cfg->fcs_present) 572 if (p_cfg->ext_flow_spec_present) 587 UINT16_TO_STREAM(p, p_cfg->flags); /* Flags (continuation) */ 590 if (p_cfg->mtu_present) { 593 UINT16_TO_STREAM(p, p_cfg 652 l2cu_send_peer_config_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) argument 1842 l2cu_process_peer_cfg_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) argument 1953 l2cu_process_peer_cfg_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) argument 1992 l2cu_process_our_cfg_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) argument 2074 l2cu_process_our_cfg_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) argument [all...] |
H A D | l2c_api.cc | 444 tL2CAP_LE_CFG_INFO* p_cfg) { 486 if (p_cfg) memcpy(&p_ccb->local_conn_cfg, p_cfg, sizeof(tL2CAP_LE_CFG_INFO)); 529 tL2CAP_LE_CFG_INFO* p_cfg) { 556 if (p_cfg) memcpy(&p_ccb->local_conn_cfg, p_cfg, sizeof(tL2CAP_LE_CFG_INFO)); 740 * Note: The FCR options of p_cfg are not used. 745 bool L2CA_ConfigReq(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { argument 751 cid, p_cfg->fcr_present, p_cfg 443 L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr, tL2CAP_LE_CFG_INFO* p_cfg) argument 527 L2CA_ConnectLECocRsp(const RawAddress& p_bd_addr, uint8_t id, uint16_t lcid, uint16_t result, uint16_t status, tL2CAP_LE_CFG_INFO* p_cfg) argument 794 L2CA_ConfigRsp(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) argument [all...] |
H A D | l2c_fcr.cc | 1945 bool l2c_fcr_adj_our_req_options(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { argument 1947 CHECK(p_cfg != NULL); 1949 tL2CAP_FCR_OPTS* p_fcr = &p_cfg->fcr; 1964 if (p_cfg->fcr_present && p_fcr->mode != L2CAP_FCR_BASIC_MODE) { 1978 if (p_cfg->fcr_present && !(p_ccb->config_done & RECONFIG_FLAG)) { 1990 p_cfg->fcr_present = false; 1991 p_cfg->fcs_present = false; /* Illegal to use FCS option in basic mode */ 1992 p_cfg->ext_flow_spec_present = 2020 if ((p_cfg->mtu_present) && (p_cfg 2102 l2c_fcr_adj_our_rsp_options(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) argument 2144 l2c_fcr_renegotiate_chan(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) argument 2239 l2c_fcr_process_peer_cfg_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) argument [all...] |
H A D | l2c_csm.cc | 761 tL2CAP_CFG_INFO* p_cfg = (tL2CAP_CFG_INFO*)p_data; local 781 cfg_result = l2cu_process_peer_cfg_req(p_ccb, p_cfg); 785 p_ccb->local_cid, (p_cfg->flags & L2CAP_CFG_FLAGS_MASK_CONT)); 786 (*p_ccb->p_rcb->api.pL2CA_ConfigInd_Cb)(p_ccb->local_cid, p_cfg); 795 l2cu_send_peer_config_rsp(p_ccb, p_cfg); 800 l2cu_process_peer_cfg_rsp(p_ccb, p_cfg); 802 if (p_cfg->result != L2CAP_CFG_PENDING) { 856 (*p_ccb->p_rcb->api.pL2CA_ConfigCfm_Cb)(p_ccb->local_cid, p_cfg); 864 if (l2c_fcr_renegotiate_chan(p_ccb, p_cfg) == false) { 867 p_ccb->local_cid, p_cfg 1008 tL2CAP_CFG_INFO* p_cfg; local [all...] |
/system/bt/stack/sdp/ |
H A D | sdp_main.cc | 55 static void sdp_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 56 static void sdp_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 296 static void sdp_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { argument 307 if (!p_cfg->mtu_present) { 312 if (p_cfg->mtu > SDP_MTU_SIZE) 315 p_ccb->rem_mtu_size = p_cfg->mtu; 319 p_cfg->flush_to_present = false; 320 p_cfg->mtu_present = false; 321 p_cfg->result = L2CAP_CFG_OK; 324 if (p_cfg 387 sdp_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) argument [all...] |
/system/bt/stack/avdt/ |
H A D | avdt_msg.cc | 274 static void avdt_msg_bld_cfg(uint8_t** p, tAVDT_CFG* p_cfg) { argument 281 if (p_cfg->psc_mask & AVDT_PSC_TRANS) { 288 if (p_cfg->psc_mask & AVDT_PSC_REPORT) { 295 if (p_cfg->num_codec != 0) { 297 len = p_cfg->codec_info[0] + 1; 300 memcpy(*p, p_cfg->codec_info, len); 305 if (p_cfg->num_protect != 0) { 307 len = p_cfg->protect_info[0] + 1; 310 memcpy(*p, p_cfg->protect_info, len); 315 if (p_cfg 523 avdt_msg_prs_cfg(tAVDT_CFG* p_cfg, uint8_t* p, uint16_t len, uint8_t* p_elem, uint8_t sig_id) argument [all...] |
H A D | avdt_l2c.cc | 43 void avdt_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 44 void avdt_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 353 void avdt_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { argument 364 if (p_cfg->result == L2CAP_CONN_OK) { 392 void avdt_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { argument 399 if (p_cfg->mtu_present) { 400 p_tbl->peer_mtu = p_cfg->mtu; 407 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); 408 p_cfg->result = L2CAP_CFG_OK; 409 L2CA_ConfigRsp(lcid, p_cfg); [all...] |
H A D | avdt_scb_act.cc | 142 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; 416 memcpy(&p_scb->req_cfg, p_data->msg.reconfig_cmd.p_cfg, sizeof(tAVDT_CFG)); 450 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; 509 tAVDT_CFG* p_cfg; local 515 A2DP_DumpCodecInfo(p_data->msg.config_cmd.p_cfg->codec_info); 516 p_cfg = p_data->msg.config_cmd.p_cfg; 518 A2DP_GetCodecType(p_cfg->codec_info)) { 525 memcpy(&p_scb->req_cfg, p_cfg, sizeof(tAVDT_CFG)); 1097 A2DP_DumpCodecInfo(p_data->msg.config_cmd.p_cfg 1199 tAVDT_CFG *p_req, *p_cfg; local [all...] |
/system/bt/stack/rfcomm/ |
H A D | rfc_mx_fsm.cc | 58 static void rfc_mx_conf_ind(tRFC_MCB* p_mcb, tL2CAP_CFG_INFO* p_cfg); 59 static void rfc_mx_conf_cnf(tRFC_MCB* p_mcb, tL2CAP_CFG_INFO* p_cfg); 582 static void rfc_mx_conf_cnf(tRFC_MCB* p_mcb, tL2CAP_CFG_INFO* p_cfg) { argument 583 RFCOMM_TRACE_EVENT("rfc_mx_conf_cnf p_cfg:%08x res:%d ", p_cfg, 584 (p_cfg) ? p_cfg->result : 0); 586 if (p_cfg->result != L2CAP_CFG_OK) { 588 PORT_StartCnf(p_mcb, p_cfg->result); 619 static void rfc_mx_conf_ind(tRFC_MCB* p_mcb, tL2CAP_CFG_INFO* p_cfg) { argument [all...] |
H A D | rfc_l2cap_if.cc | 46 static void RFCOMM_ConfigInd(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 47 static void RFCOMM_ConfigCnf(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 209 void RFCOMM_ConfigInd(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { argument 217 rfc_mx_sm_execute(p_mcb, RFC_MX_EVENT_CONF_IND, (void*)p_cfg); 229 void RFCOMM_ConfigCnf(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { argument 237 rfc_mx_sm_execute(p_mcb, RFC_MX_EVENT_CONF_CNF, (void*)p_cfg);
|
/system/bt/stack/bnep/ |
H A D | bnep_main.cc | 62 static void bnep_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 63 static void bnep_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 207 static void bnep_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { argument 222 if ((!p_cfg->mtu_present) || (p_cfg->mtu < BNEP_MIN_MTU_SIZE)) { 223 mtu = p_cfg->mtu; 224 p_cfg->flush_to_present = false; 225 p_cfg->mtu_present = true; 226 p_cfg->mtu = BNEP_MIN_MTU_SIZE; 227 p_cfg 275 bnep_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) argument [all...] |
/system/bt/stack/mcap/ |
H A D | mca_l2c.cc | 340 void mca_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { argument 349 if (p_cfg->result == L2CAP_CONN_OK) { 377 void mca_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { argument 385 if (p_cfg->mtu_present) { 386 p_tbl->peer_mtu = p_cfg->mtu; 394 lcid, p_cfg->mtu_present); 397 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); 398 p_cfg->result = result; 399 L2CA_ConfigRsp(lcid, p_cfg);
|
H A D | mca_main.cc | 234 void mca_set_cfg_by_tbl(tL2CAP_CFG_INFO* p_cfg, tMCA_TC_TBL* p_tbl) { argument 248 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); 249 p_cfg->mtu_present = true; 250 p_cfg->mtu = p_tbl->my_mtu; 251 p_cfg->fcr_present = true; 252 memcpy(&p_cfg->fcr, p_opt, sizeof(tL2CAP_FCR_OPTS)); 254 p_cfg->fcs_present = true; 255 p_cfg->fcs = (fcs & MCA_FCS_USE_MASK);
|
/system/bt/stack/include/ |
H A D | avdt_api.h | 321 tAVDT_CFG* p_cfg; /* Pointer to configuration for this SEP */ member in struct:__anon936 327 tAVDT_CFG* p_cfg; /* Pointer to configuration for this SEP */ member in struct:__anon937 407 tAVDT_CFG* p_cfg, tAVDT_CTRL_CBACK* p_cback); 555 * The memory pointed to by p_cfg is allocated by the 565 tAVDT_CFG* p_cfg, tAVDT_CTRL_CBACK* p_cback); 582 * The memory pointed to by p_cfg is allocated by the 592 tAVDT_CFG* p_cfg, tAVDT_CTRL_CBACK* p_cback); 622 uint8_t seid, tAVDT_CFG* p_cfg); 706 extern uint16_t AVDT_ReconfigReq(uint8_t handle, tAVDT_CFG* p_cfg);
|
H A D | a2dp_sbc.h | 254 // entry pointed by |p_cfg|. 255 bool A2DP_InitCodecConfigSbc(tAVDT_CFG* p_cfg); 258 // entry pointed by |p_cfg|. 259 bool A2DP_InitCodecConfigSbcSink(tAVDT_CFG* p_cfg);
|
H A D | a2dp_vendor.h | 192 // configuration entry pointed by |p_cfg|. The selected codec is defined by 196 tAVDT_CFG* p_cfg);
|
H A D | a2dp_vendor_aptx.h | 143 // configuration entry pointed by |p_cfg|. 144 bool A2DP_VendorInitCodecConfigAptx(tAVDT_CFG* p_cfg);
|
H A D | a2dp_vendor_aptx_hd.h | 144 // configuration entry pointed by |p_cfg|. 145 bool A2DP_VendorInitCodecConfigAptxHd(tAVDT_CFG* p_cfg);
|
/system/bt/stack/gap/ |
H A D | gap_conn.cc | 89 static void gap_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 90 static void gap_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 164 tL2CAP_CFG_INFO* p_cfg, tL2CAP_ERTM_INFO* ertm_info, 202 if (p_cfg) p_ccb->cfg = *p_cfg; 207 p_ccb->local_coc_cfg.mtu = p_cfg->mtu; 543 * p_cfg - Pointer to new configuration 549 uint16_t GAP_ConnReconfig(uint16_t gap_handle, tL2CAP_CFG_INFO* p_cfg) { argument 554 p_ccb->cfg = *p_cfg; 557 L2CA_CONFIG_REQ(p_ccb->connection_id, p_cfg); 162 GAP_ConnOpen(const char* p_serv_name, uint8_t service_id, bool is_server, const RawAddress* p_rem_bda, uint16_t psm, tL2CAP_CFG_INFO* p_cfg, tL2CAP_ERTM_INFO* ertm_info, uint16_t security, uint8_t chan_mode_mask, tGAP_CONN_CALLBACK* p_cb, tBT_TRANSPORT transport) argument 869 gap_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) argument 913 gap_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) argument [all...] |
/system/bt/stack/hid/ |
H A D | hidd_conn.cc | 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); 338 static void hidd_l2cif_config_ind(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { argument 350 if ((!p_cfg->mtu_present) || (p_cfg->mtu > HID_DEV_MTU_SIZE)) 353 p_hcon->rem_mtu_size = p_cfg->mtu; 356 p_cfg->flush_to_present = FALSE; 357 p_cfg->mtu_present = FALSE; 358 p_cfg->result = L2CAP_CFG_OK; 360 if (cid == p_hcon->intr_cid && hd_cb.use_in_qos && !p_cfg 404 hidd_l2cif_config_cfm(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) argument [all...] |
/system/nfc/src/nfa/dm/ |
H A D | nfa_dm_discover.c | 419 tNFA_LISTEN_CFG* p_cfg = &nfa_dm_cb.disc_cb.excl_listen_config; local 429 (p_cfg->la_enable)) { 434 UINT8_TO_STREAM(p, p_cfg->la_bit_frame_sdd); 438 UINT8_TO_STREAM(p, p_cfg->la_platform_config); 442 UINT8_TO_STREAM(p, p_cfg->la_sel_info); 444 if (p_cfg->la_platform_config == NCI_PARAM_PLATFORM_T1T) { 448 if (p_cfg->la_sel_info & NCI_PARAM_SEL_INFO_ISODEP) { 452 if (p_cfg->la_sel_info & NCI_PARAM_SEL_INFO_NFCDEP) { 463 UINT8_TO_STREAM(p, p_cfg->la_nfcid1_len); 464 ARRAY_TO_STREAM(p, p_cfg [all...] |
/system/bt/bta/include/ |
H A D | bta_av_co.h | 48 tAVDT_CFG* p_cfg);
|
/system/bt/btif/include/ |
H A D | btif_dm.h | 70 bool btif_dm_get_smp_config(tBTE_APPL_CFG* p_cfg);
|