/system/bt/btif/src/ |
D | btif_ble_advertiser.cc | 64 void parseParams(tBTM_BLE_ADV_PARAMS* p_params, in parseParams() argument 66 p_params->advertising_event_properties = params.advertising_event_properties; in parseParams() 67 p_params->adv_int_min = params.min_interval; in parseParams() 68 p_params->adv_int_max = params.max_interval; in parseParams() 69 p_params->channel_map = params.channel_map; in parseParams() 70 p_params->adv_filter_policy = 0; in parseParams() 71 p_params->tx_power = params.tx_power; in parseParams() 72 p_params->primary_advertising_phy = params.primary_advertising_phy; in parseParams() 73 p_params->secondary_advertising_phy = params.secondary_advertising_phy; in parseParams() 74 p_params->scan_request_notification_enable = in parseParams() [all …]
|
D | btif_core.cc | 128 char* p_params, int param_len, in btif_transfer_context() argument 144 p_copy_cback(event, p_msg->p_param, p_params); in btif_transfer_context() 145 } else if (p_params) { in btif_transfer_context() 146 memcpy(p_msg->p_param, p_params, param_len); /* callback parameter data */ in btif_transfer_context()
|
/system/nfc/src/nfc/llcp/ |
D | llcp_util.cc | 423 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 …]
|
D | llcp_dlc.cc | 117 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 …]
|
D | llcp_api.cc | 840 tLLCP_CONNECTION_PARAMS* p_params) { in LLCP_ConnectReq() argument 855 if (!p_params) { in LLCP_ConnectReq() 859 p_params = ¶ms; 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 = ¶ms; in LLCP_ConnectCfm() [all …]
|
/system/bt/stack/hcic/ |
D | hcicmds.cc | 1452 uint16_t conn_handle, enh_esco_params_t* p_params) { in btsnd_hcic_enhanced_set_up_synchronous_connection() argument 1463 UINT32_TO_STREAM(pp, p_params->transmit_bandwidth); in btsnd_hcic_enhanced_set_up_synchronous_connection() 1464 UINT32_TO_STREAM(pp, p_params->receive_bandwidth); in btsnd_hcic_enhanced_set_up_synchronous_connection() 1465 UINT8_TO_STREAM(pp, p_params->transmit_coding_format.coding_format); in btsnd_hcic_enhanced_set_up_synchronous_connection() 1466 UINT16_TO_STREAM(pp, p_params->transmit_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection() 1468 p_params->transmit_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_set_up_synchronous_connection() 1469 UINT8_TO_STREAM(pp, p_params->receive_coding_format.coding_format); in btsnd_hcic_enhanced_set_up_synchronous_connection() 1470 UINT16_TO_STREAM(pp, p_params->receive_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection() 1472 p_params->receive_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_set_up_synchronous_connection() 1473 UINT16_TO_STREAM(pp, p_params->transmit_codec_frame_size); in btsnd_hcic_enhanced_set_up_synchronous_connection() [all …]
|
/system/bt/stack/btm/ |
D | btm_ble_cont_energy.cc | 46 static void btm_ble_cont_energy_cmpl_cback(tBTM_VSC_CMPL* p_params) { in btm_ble_cont_energy_cmpl_cback() argument 47 uint8_t* p = p_params->p_param_buf; in btm_ble_cont_energy_cmpl_cback() 48 uint16_t len = p_params->param_len; in btm_ble_cont_energy_cmpl_cback()
|
D | btm_ble_multi_adv.cc | 671 void SetParameters(uint8_t inst_id, tBTM_BLE_ADV_PARAMS* p_params, in SetParameters() argument 691 p_params->advertising_event_properties; in SetParameters() 692 p_inst->tx_power = p_params->tx_power; in SetParameters() 693 p_inst->advertising_interval = p_params->adv_int_min; in SetParameters() 701 p_inst->inst_id, p_params->advertising_event_properties, in SetParameters() 702 p_params->adv_int_min, p_params->adv_int_max, p_params->channel_map, in SetParameters() 704 p_params->adv_filter_policy, p_inst->tx_power, in SetParameters() 705 p_params->primary_advertising_phy, 0x00, in SetParameters() 706 p_params->secondary_advertising_phy, sid, in SetParameters() 707 p_params->scan_request_notification_enable, cb); in SetParameters()
|
D | btm_sco.cc | 1338 static uint16_t btm_sco_voice_settings_to_legacy(enh_esco_params_t* p_params) { in btm_sco_voice_settings_to_legacy() argument 1343 if (p_params->input_coding_format.coding_format == ESCO_CODING_FORMAT_ULAW) in btm_sco_voice_settings_to_legacy() 1345 else if (p_params->input_coding_format.coding_format == in btm_sco_voice_settings_to_legacy() 1351 switch (p_params->input_pcm_data_format) { in btm_sco_voice_settings_to_legacy() 1371 switch (p_params->transmit_coding_format.coding_format) { in btm_sco_voice_settings_to_legacy() 1389 voice_settings |= (uint16_t)(((p_params->input_pcm_payload_msb_position & 0x7) in btm_sco_voice_settings_to_legacy() 1393 if (p_params->input_coded_data_size == 16) in btm_sco_voice_settings_to_legacy()
|
D | btm_ble_privacy.cc | 383 static void btm_ble_resolving_list_vsc_op_cmpl(tBTM_VSC_CMPL* p_params) { in btm_ble_resolving_list_vsc_op_cmpl() argument 384 uint8_t *p = p_params->p_param_buf, op_subcode; in btm_ble_resolving_list_vsc_op_cmpl() 385 uint16_t evt_len = p_params->param_len; in btm_ble_resolving_list_vsc_op_cmpl()
|
/system/bt/stack/test/common/ |
D | mock_stack_avdt_msg.cc | 31 void avdt_msg_send_rsp(AvdtpCcb* p_ccb, uint8_t sig_id, tAVDT_MSG* p_params) { in avdt_msg_send_rsp() argument 52 void avdt_msg_send_rej(AvdtpCcb* p_ccb, uint8_t sig_id, tAVDT_MSG* p_params) { in avdt_msg_send_rej() argument 59 tAVDT_MSG* p_params) { in avdt_msg_send_cmd() argument
|
/system/nfc/src/nfc/nfc/ |
D | nfc_main.cc | 928 tNFC_DISCOVER_PARAMS* p_params, in NFC_DiscoveryStart() argument 948 memcpy(p, p_params, params_size); in NFC_DiscoveryStart() 1237 tNFC_STATUS NFC_UpdateRFCommParams(tNFC_RF_COMM_PARAMS* p_params) { in NFC_UpdateRFCommParams() argument 1243 if (p_params->include_rf_tech_mode) { in NFC_UpdateRFCommParams() 1246 UINT8_TO_STREAM(p, p_params->rf_tech_n_mode); in NFC_UpdateRFCommParams() 1250 if (p_params->include_tx_bit_rate) { in NFC_UpdateRFCommParams() 1253 UINT8_TO_STREAM(p, p_params->tx_bit_rate); in NFC_UpdateRFCommParams() 1257 if (p_params->include_tx_bit_rate) { in NFC_UpdateRFCommParams() 1260 UINT8_TO_STREAM(p, p_params->rx_bit_rate); in NFC_UpdateRFCommParams() 1264 if (p_params->include_nfc_b_config) { in NFC_UpdateRFCommParams() [all …]
|
/system/nfc/src/nfa/ce/ |
D | nfa_ce_act.cc | 327 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/bt/btif/test/ |
D | btif_hf_client_service_test.cc | 21 char* p_params, int param_len, in btif_transfer_context() argument
|
D | btif_rc_test.cc | 84 char* p_params, int param_len, in btif_transfer_context() argument
|
/system/nfc/src/nfc/include/ |
D | llcp_int.h | 322 tLLCP_CONNECTION_PARAMS* p_params); 324 tLLCP_CONNECTION_PARAMS* p_params); 326 tLLCP_CONNECTION_PARAMS* p_params);
|
D | llcp_api.h | 456 tLLCP_CONNECTION_PARAMS* p_params); 470 tLLCP_CONNECTION_PARAMS* p_params);
|
/system/bt/stack/avdt/ |
D | avdt_msg.cc | 1337 tAVDT_MSG* p_params) { in avdt_msg_send_cmd() argument 1347 (*avdt_msg_bld_cmd[sig_id - 1])(&p, p_params); in avdt_msg_send_cmd() 1393 void avdt_msg_send_rsp(AvdtpCcb* p_ccb, uint8_t sig_id, tAVDT_MSG* p_params) { in avdt_msg_send_rsp() argument 1403 (*avdt_msg_bld_rsp[sig_id - 1])(&p, p_params); in avdt_msg_send_rsp() 1411 p_params->hdr.label); in avdt_msg_send_rsp() 1433 void avdt_msg_send_rej(AvdtpCcb* p_ccb, uint8_t sig_id, tAVDT_MSG* p_params) { in avdt_msg_send_rej() argument 1446 AVDT_MSG_BLD_PARAM(p, p_params->hdr.err_param); in avdt_msg_send_rej() 1448 AVDT_MSG_BLD_SEID(p, p_params->hdr.err_param); in avdt_msg_send_rej() 1452 AVDT_MSG_BLD_ERR(p, p_params->hdr.err_code); in avdt_msg_send_rej() 1462 p_params->hdr.label); in avdt_msg_send_rej() [all …]
|
D | avdt_int.h | 933 tAVDT_MSG* p_params); 935 tAVDT_MSG* p_params); 937 tAVDT_MSG* p_params); 939 tAVDT_MSG* p_params);
|
/system/bt/test/mock/ |
D | mock_btif_core.cc | 82 char* p_params, int param_len, in btif_transfer_context() argument
|
D | mock_hcic_hcicmds.cc | 96 const RawAddress& bd_addr, enh_esco_params_t* p_params) { in btsnd_hcic_enhanced_accept_synchronous_connection() argument 103 uint16_t conn_handle, enh_esco_params_t* p_params) { in btsnd_hcic_enhanced_set_up_synchronous_connection() argument
|
/system/bt/stack/include/ |
D | ble_advertiser.h | 126 virtual void SetParameters(uint8_t inst_id, tBTM_BLE_ADV_PARAMS* p_params,
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_act.cc | 1727 tNFA_TAG_PARAMS* p_params) { in nfa_dm_notify_activation_status() argument 1747 if (p_params) { in nfa_dm_notify_activation_status() 1748 memcpy(&(evt_data.activated.params), p_params, sizeof(tNFA_TAG_PARAMS)); in nfa_dm_notify_activation_status() 1753 if ((p_tech_params->param.pa.nfcid1_len == 0) && (p_params != nullptr)) { in nfa_dm_notify_activation_status() 1754 nfcid_len = sizeof(p_params->t1t.uid); in nfa_dm_notify_activation_status() 1755 p_nfcid = p_params->t1t.uid; in nfa_dm_notify_activation_status()
|
D | nfa_dm_api.cc | 843 tNFA_STATUS NFA_UpdateRFCommParams(tNFA_RF_COMM_PARAMS* p_params) { in NFA_UpdateRFCommParams() argument 852 memcpy(&p_msg->params, p_params, sizeof(tNFA_RF_COMM_PARAMS)); in NFA_UpdateRFCommParams()
|
/system/bt/btif/include/ |
D | btif_common.h | 192 char* p_params, int param_len,
|