Home
last modified time | relevance | path

Searched refs:p_params (Results 1 – 23 of 23) sorted by relevance

/system/bt/btif/src/
Dbtif_ble_advertiser.cc62 void parseParams(tBTM_BLE_ADV_PARAMS* p_params, in parseParams() argument
64 p_params->advertising_event_properties = params.advertising_event_properties; in parseParams()
65 p_params->adv_int_min = params.min_interval; in parseParams()
66 p_params->adv_int_max = params.max_interval; in parseParams()
67 p_params->channel_map = params.channel_map; in parseParams()
68 p_params->adv_filter_policy = 0; in parseParams()
69 p_params->tx_power = params.tx_power; in parseParams()
70 p_params->primary_advertising_phy = params.primary_advertising_phy; in parseParams()
71 p_params->secondary_advertising_phy = params.secondary_advertising_phy; in parseParams()
72 p_params->scan_request_notification_enable = in parseParams()
[all …]
Dbtif_core.cc193 char* p_params, int param_len, in btif_transfer_context() argument
209 p_copy_cback(event, p_msg->p_param, p_params); in btif_transfer_context()
210 } else if (p_params) { in btif_transfer_context()
211 memcpy(p_msg->p_param, p_params, param_len); /* callback parameter data */ in btif_transfer_context()
/system/nfc/src/nfc/llcp/
Dllcp_util.cc423 tLLCP_CONNECTION_PARAMS* p_params) { in llcp_util_send_connect() argument
428 if (p_params->miu != LLCP_DEFAULT_MIU) { in llcp_util_send_connect()
431 if (p_params->rw != LLCP_DEFAULT_RW) { in llcp_util_send_connect()
433 p_params->rw &= 0x0F; /* only 4 bits */ in llcp_util_send_connect()
435 if ((strlen(p_params->sn)) && (p_dlcb->remote_sap == LLCP_SAP_SDP)) { in llcp_util_send_connect()
436 sn_len = (uint16_t)(2 + strlen(p_params->sn)); /* TYPE, LEN, SN */ in llcp_util_send_connect()
454 UINT16_TO_BE_STREAM(p, p_params->miu - LLCP_DEFAULT_MIU); in llcp_util_send_connect()
460 UINT8_TO_BE_STREAM(p, p_params->rw); in llcp_util_send_connect()
466 memcpy(p, p_params->sn, sn_len - 2); in llcp_util_send_connect()
488 tLLCP_CONNECTION_PARAMS* p_params) { in llcp_util_parse_connect() argument
[all …]
Dllcp_dlc.cc117 tLLCP_CONNECTION_PARAMS* p_params; in llcp_dlsm_idle() local
123 p_params = (tLLCP_CONNECTION_PARAMS*)p_data; in llcp_dlsm_idle()
125 status = llcp_util_send_connect(p_dlcb, p_params); in llcp_dlsm_idle()
128 p_dlcb->local_miu = p_params->miu; in llcp_dlsm_idle()
129 p_dlcb->local_rw = p_params->rw; in llcp_dlsm_idle()
144 p_params = (tLLCP_CONNECTION_PARAMS*)p_data; in llcp_dlsm_idle()
146 if (p_params->miu > llcp_cb.lcb.peer_miu) { in llcp_dlsm_idle()
150 p_params->miu = llcp_cb.lcb.peer_miu; in llcp_dlsm_idle()
156 data.connect_ind.miu = p_params->miu; in llcp_dlsm_idle()
157 data.connect_ind.rw = p_params->rw; in llcp_dlsm_idle()
[all …]
Dllcp_api.cc840 tLLCP_CONNECTION_PARAMS* p_params) { in LLCP_ConnectReq() argument
855 if (!p_params) { in LLCP_ConnectReq()
859 p_params = &params; in LLCP_ConnectReq()
877 if (strlen(p_params->sn) > LLCP_MAX_SN_LEN) { in LLCP_ConnectReq()
879 strlen(p_params->sn)); in LLCP_ConnectReq()
884 if ((p_params) && (p_params->miu > llcp_cb.lcb.local_link_miu)) { in LLCP_ConnectReq()
908 llcp_dlsm_execute(p_dlcb, LLCP_DLC_EVENT_API_CONNECT_REQ, p_params); in LLCP_ConnectReq()
933 tLLCP_CONNECTION_PARAMS* p_params) { in LLCP_ConnectCfm() argument
941 if (!p_params) { in LLCP_ConnectCfm()
945 p_params = &params; in LLCP_ConnectCfm()
[all …]
/system/bt/stack/hcic/
Dhcicmds.cc1017 uint16_t conn_handle, enh_esco_params_t* p_params) { in btsnd_hcic_enhanced_set_up_synchronous_connection() argument
1028 UINT32_TO_STREAM(pp, p_params->transmit_bandwidth); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1029 UINT32_TO_STREAM(pp, p_params->receive_bandwidth); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1030 UINT8_TO_STREAM(pp, p_params->transmit_coding_format.coding_format); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1031 UINT16_TO_STREAM(pp, p_params->transmit_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1033 p_params->transmit_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1034 UINT8_TO_STREAM(pp, p_params->receive_coding_format.coding_format); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1035 UINT16_TO_STREAM(pp, p_params->receive_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1037 p_params->receive_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1038 UINT16_TO_STREAM(pp, p_params->transmit_codec_frame_size); in btsnd_hcic_enhanced_set_up_synchronous_connection()
[all …]
/system/bt/stack/btm/
Dbtm_ble_cont_energy.cc43 void btm_ble_cont_energy_cmpl_cback(tBTM_VSC_CMPL* p_params) { in btm_ble_cont_energy_cmpl_cback() argument
44 uint8_t* p = p_params->p_param_buf; in btm_ble_cont_energy_cmpl_cback()
45 uint16_t len = p_params->param_len; in btm_ble_cont_energy_cmpl_cback()
Dbtm_ble_multi_adv.cc667 void SetParameters(uint8_t inst_id, tBTM_BLE_ADV_PARAMS* p_params, in SetParameters() argument
687 p_params->advertising_event_properties; in SetParameters()
688 p_inst->tx_power = p_params->tx_power; in SetParameters()
689 p_inst->advertising_interval = p_params->adv_int_min; in SetParameters()
693 p_inst->inst_id, p_params->advertising_event_properties, in SetParameters()
694 p_params->adv_int_min, p_params->adv_int_max, p_params->channel_map, in SetParameters()
696 p_params->adv_filter_policy, p_inst->tx_power, in SetParameters()
697 p_params->primary_advertising_phy, 0x00, in SetParameters()
698 p_params->secondary_advertising_phy, 0x01 /* TODO: proper SID */, in SetParameters()
699 p_params->scan_request_notification_enable, cb); in SetParameters()
Dbtm_sco.cc1618 static uint16_t btm_sco_voice_settings_to_legacy(enh_esco_params_t* p_params) { in btm_sco_voice_settings_to_legacy() argument
1623 if (p_params->input_coding_format.coding_format == ESCO_CODING_FORMAT_ULAW) in btm_sco_voice_settings_to_legacy()
1625 else if (p_params->input_coding_format.coding_format == in btm_sco_voice_settings_to_legacy()
1631 switch (p_params->input_pcm_data_format) { in btm_sco_voice_settings_to_legacy()
1651 switch (p_params->transmit_coding_format.coding_format) { in btm_sco_voice_settings_to_legacy()
1669 voice_settings |= (uint16_t)(((p_params->input_pcm_payload_msb_position & 0x7) in btm_sco_voice_settings_to_legacy()
1673 if (p_params->input_coded_data_size == 16) in btm_sco_voice_settings_to_legacy()
Dbtm_ble_privacy.cc379 void btm_ble_resolving_list_vsc_op_cmpl(tBTM_VSC_CMPL* p_params) { in btm_ble_resolving_list_vsc_op_cmpl() argument
380 uint8_t *p = p_params->p_param_buf, op_subcode; in btm_ble_resolving_list_vsc_op_cmpl()
381 uint16_t evt_len = p_params->param_len; in btm_ble_resolving_list_vsc_op_cmpl()
/system/nfc/src/nfc/nfc/
Dnfc_main.cc882 tNFC_DISCOVER_PARAMS* p_params, in NFC_DiscoveryStart() argument
902 memcpy(p, p_params, params_size); in NFC_DiscoveryStart()
1191 tNFC_STATUS NFC_UpdateRFCommParams(tNFC_RF_COMM_PARAMS* p_params) { in NFC_UpdateRFCommParams() argument
1197 if (p_params->include_rf_tech_mode) { in NFC_UpdateRFCommParams()
1200 UINT8_TO_STREAM(p, p_params->rf_tech_n_mode); in NFC_UpdateRFCommParams()
1204 if (p_params->include_tx_bit_rate) { in NFC_UpdateRFCommParams()
1207 UINT8_TO_STREAM(p, p_params->tx_bit_rate); in NFC_UpdateRFCommParams()
1211 if (p_params->include_tx_bit_rate) { in NFC_UpdateRFCommParams()
1214 UINT8_TO_STREAM(p, p_params->rx_bit_rate); in NFC_UpdateRFCommParams()
1218 if (p_params->include_nfc_b_config) { in NFC_UpdateRFCommParams()
[all …]
/system/nfc/src/nfa/ce/
Dnfa_ce_act.cc327 uint8_t tlv[128], *p_params; in nfc_ce_t3t_set_listen_params() local
336 p_params = tlv; in nfc_ce_t3t_set_listen_params()
343 UINT8_TO_STREAM(p_params, NFC_PMID_LF_T3T_ID1 + t3t_idx); /* type */ in nfc_ce_t3t_set_listen_params()
345 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_T3T_ID(NFC_GetNCIVersion())); in nfc_ce_t3t_set_listen_params()
347 UINT16_TO_BE_STREAM(p_params, p_cb->listen_info[i].t3t_system_code); in nfc_ce_t3t_set_listen_params()
348 ARRAY_TO_BE_STREAM(p_params, p_cb->listen_info[i].t3t_nfcid2, in nfc_ce_t3t_set_listen_params()
351 ARRAY_TO_BE_STREAM(p_params, p_cb->listen_info[i].t3t_pmm, in nfc_ce_t3t_set_listen_params()
363 UINT8_TO_STREAM(p_params, NFC_PMID_LF_T3T_FLAGS2); /* type */ in nfc_ce_t3t_set_listen_params()
364 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_T3T_FLAGS2); /* length */ in nfc_ce_t3t_set_listen_params()
366 UINT16_TO_STREAM(p_params, t3t_flags2_mask); in nfc_ce_t3t_set_listen_params()
[all …]
/system/nfc/src/nfc/include/
Dllcp_int.h322 tLLCP_CONNECTION_PARAMS* p_params);
324 tLLCP_CONNECTION_PARAMS* p_params);
326 tLLCP_CONNECTION_PARAMS* p_params);
Dllcp_api.h456 tLLCP_CONNECTION_PARAMS* p_params);
470 tLLCP_CONNECTION_PARAMS* p_params);
Dnfc_api.h972 tNFC_DISCOVER_PARAMS* p_params,
1127 extern tNFC_STATUS NFC_UpdateRFCommParams(tNFC_RF_COMM_PARAMS* p_params);
/system/bt/stack/avdt/
Davdt_msg.cc1325 tAVDT_MSG* p_params) { in avdt_msg_send_cmd() argument
1335 (*avdt_msg_bld_cmd[sig_id - 1])(&p, p_params); in avdt_msg_send_cmd()
1381 void avdt_msg_send_rsp(AvdtpCcb* p_ccb, uint8_t sig_id, tAVDT_MSG* p_params) { in avdt_msg_send_rsp() argument
1391 (*avdt_msg_bld_rsp[sig_id - 1])(&p, p_params); in avdt_msg_send_rsp()
1399 p_params->hdr.label); in avdt_msg_send_rsp()
1421 void avdt_msg_send_rej(AvdtpCcb* p_ccb, uint8_t sig_id, tAVDT_MSG* p_params) { in avdt_msg_send_rej() argument
1434 AVDT_MSG_BLD_PARAM(p, p_params->hdr.err_param); in avdt_msg_send_rej()
1436 AVDT_MSG_BLD_SEID(p, p_params->hdr.err_param); in avdt_msg_send_rej()
1440 AVDT_MSG_BLD_ERR(p, p_params->hdr.err_code); in avdt_msg_send_rej()
1450 p_params->hdr.label); in avdt_msg_send_rej()
[all …]
Davdt_int.h942 tAVDT_MSG* p_params);
944 tAVDT_MSG* p_params);
946 tAVDT_MSG* p_params);
948 tAVDT_MSG* p_params);
/system/bt/stack/include/
Dble_advertiser.h126 virtual void SetParameters(uint8_t inst_id, tBTM_BLE_ADV_PARAMS* p_params,
/system/bt/btif/include/
Dbtif_common.h221 char* p_params, int param_len,
/system/nfc/src/nfa/dm/
Dnfa_dm_act.cc1704 tNFA_TAG_PARAMS* p_params) { in nfa_dm_notify_activation_status() argument
1724 if (p_params) { in nfa_dm_notify_activation_status()
1725 memcpy(&(evt_data.activated.params), p_params, sizeof(tNFA_TAG_PARAMS)); in nfa_dm_notify_activation_status()
1730 if ((p_tech_params->param.pa.nfcid1_len == 0) && (p_params != nullptr)) { in nfa_dm_notify_activation_status()
1731 nfcid_len = sizeof(p_params->t1t.uid); in nfa_dm_notify_activation_status()
1732 p_nfcid = p_params->t1t.uid; in nfa_dm_notify_activation_status()
Dnfa_dm_api.cc842 tNFA_STATUS NFA_UpdateRFCommParams(tNFA_RF_COMM_PARAMS* p_params) { in NFA_UpdateRFCommParams() argument
851 memcpy(&p_msg->params, p_params, sizeof(tNFA_RF_COMM_PARAMS)); in NFA_UpdateRFCommParams()
/system/nfc/src/nfa/include/
Dnfa_dm_int.h560 tNFA_TAG_PARAMS* p_params);
Dnfa_api.h1127 extern tNFA_STATUS NFA_UpdateRFCommParams(tNFA_RF_COMM_PARAMS* p_params);