Home
last modified time | relevance | path

Searched refs:param_len (Results 1 – 25 of 25) sorted by relevance

/system/bt/stack/avrc/
Davrc_bld_ct.c198 UINT8 param_len = num_attrib_id + 1; // 1 additional to hold num attributes feild in avrc_bld_get_current_player_app_values_cmd() local
200 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_current_player_app_values_cmd()
228 UINT8 param_len = (2*num_attrib_id) + 1; in avrc_bld_set_current_player_app_values_cmd() local
230 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_set_current_player_app_values_cmd()
258 UINT8 param_len = p_cmd->num_attr + 1; in avrc_bld_get_player_app_setting_attr_text_cmd() local
260 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_player_app_setting_attr_text_cmd()
287 UINT8 param_len = p_cmd->num_val + 1; in avrc_bld_get_player_app_setting_value_text_cmd() local
289 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_player_app_setting_value_text_cmd()
317 UINT8 param_len = (4*num_attrib) + 9; in avrc_bld_get_element_attr_cmd() local
319 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_element_attr_cmd()
/system/bt/stack/sdp/
Dsdp_server.c56 UINT16 param_len, UINT8 *p_req,
60 UINT16 param_len, UINT8 *p_req,
64 UINT16 param_len, UINT8 *p_req,
122 UINT16 trans_num, param_len; in sdp_server_handle_client_req() local
134 BE_STREAM_TO_UINT16 (param_len, p_req); in sdp_server_handle_client_req()
136 if ((p_req + param_len) != p_req_end) in sdp_server_handle_client_req()
145 process_service_search (p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req()
149 process_service_attr_req (p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req()
153 process_service_search_attr_req (p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req()
177 UINT16 param_len, UINT8 *p_req, in process_service_search() argument
[all …]
Dsdp_discovery.c124 UINT16 param_len; in sdp_snd_service_search_req() local
160 param_len = (UINT16)(p - p_param_len - 2); in sdp_snd_service_search_req()
161 UINT16_TO_BE_STREAM (p_param_len, param_len); in sdp_snd_service_search_req()
400 UINT16 param_len, list_byte_count; in process_service_attr_rsp() local
511 param_len = (UINT16)(p - p_param_len - 2); in process_service_attr_rsp()
512 UINT16_TO_BE_STREAM (p_param_len, param_len); in process_service_attr_rsp()
548 UINT16 param_len, lists_byte_count = 0; in process_service_search_attr_rsp() local
650 param_len = p - p_param_len - 2; in process_service_search_attr_rsp()
651 UINT16_TO_BE_STREAM (p_param_len, param_len); in process_service_search_attr_rsp()
Dsdpint.h281 extern UINT8 *sdpu_extract_attr_seq (UINT8 *p, UINT16 param_len, tSDP_ATTR_SEQ *p_seq);
282 extern UINT8 *sdpu_extract_uid_seq (UINT8 *p, UINT16 param_len, tSDP_UUID_SEQ *p_seq);
Dsdp_utils.c362 UINT8 *sdpu_extract_uid_seq (UINT8 *p, UINT16 param_len, tSDP_UUID_SEQ *p_seq) in sdpu_extract_uid_seq() argument
404 if (seq_len >= param_len) in sdpu_extract_uid_seq()
476 UINT8 *sdpu_extract_attr_seq (UINT8 *p, UINT16 param_len, tSDP_ATTR_SEQ *p_seq) in sdpu_extract_attr_seq() argument
511 if (list_len > param_len) in sdpu_extract_attr_seq()
/system/bt/btif/src/
Dbtif_mce.c109 UINT16 param_len = sizeof(tBTA_MCE); in mce_dm_cback() local
113 param_len += (p_data->mas_disc_comp.mas[i].srv_name_len + 1); in mce_dm_cback()
117 (char*)p_data, param_len, mas_discovery_comp_copy_cb); in mce_dm_cback()
Dbtif_hh.c1068 int param_len = 0; in bte_hh_evt() local
1071 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt()
1073 param_len = sizeof(tBTA_HH_CONN); in bte_hh_evt()
1075 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt()
1077 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt()
1079 param_len = sizeof(tBTA_HH_DEV_DSCP_INFO); in bte_hh_evt()
1081 param_len = sizeof(tBTA_HH_HSDATA); in bte_hh_evt()
1083 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt()
1085 param_len = sizeof(tBTA_HH_DEV_INFO); in bte_hh_evt()
1087 param_len = 0; in bte_hh_evt()
[all …]
Dbtif_hl.c3643 int param_len = 0; in btif_hl_cback() local
3649 param_len = sizeof(tBTA_HL_REGISTER_CFM); in btif_hl_cback()
3652 param_len = sizeof(tBTA_HL_SDP_INFO_IND); in btif_hl_cback()
3655 param_len = sizeof(tBTA_HL_DEREGISTER_CFM); in btif_hl_cback()
3658 param_len = sizeof(tBTA_HL_SDP_QUERY_CFM); in btif_hl_cback()
3661 param_len = sizeof(tBTA_HL_CCH_OPEN_CFM); in btif_hl_cback()
3664 param_len = sizeof(tBTA_HL_DCH_OPEN_CFM); in btif_hl_cback()
3667 param_len = sizeof(tBTA_HL_CCH_OPEN_IND); in btif_hl_cback()
3670 param_len = sizeof(tBTA_HL_DCH_CREATE_IND); in btif_hl_cback()
3673 param_len = sizeof(tBTA_HL_DCH_OPEN_IND); in btif_hl_cback()
[all …]
Dbtif_hf.c643 int param_len = 0; in bte_hf_evt() local
647 param_len = sizeof(tBTA_AG_REGISTER); in bte_hf_evt()
649 param_len = sizeof(tBTA_AG_OPEN); in bte_hf_evt()
651 param_len = sizeof(tBTA_AG_CONN); in bte_hf_evt()
653 param_len = sizeof(tBTA_AG_HDR); in bte_hf_evt()
655 param_len = sizeof(tBTA_AG_VAL); in bte_hf_evt()
658 …status = btif_transfer_context(btif_hf_upstreams_evt, (uint16_t)event, (void*)p_data, param_len, N… in bte_hf_evt()
Dbtif_core.c200 …ansfer_context (tBTIF_CBACK *p_cback, UINT16 event, char* p_params, int param_len, tBTIF_COPY_CBAC… in btif_transfer_context() argument
203 (tBTIF_CONTEXT_SWITCH_CBACK *)osi_malloc(sizeof(tBTIF_CONTEXT_SWITCH_CBACK) + param_len); in btif_transfer_context()
205 BTIF_TRACE_VERBOSE("btif_transfer_context event %d, len %d", event, param_len); in btif_transfer_context()
217 memcpy(p_msg->p_param, p_params, param_len); /* callback parameter data */ in btif_transfer_context()
Dbtif_dm.c2123 UINT16 param_len = 0; in bte_search_devices_evt() local
2126 param_len += sizeof(tBTA_DM_SEARCH); in bte_search_devices_evt()
2133 param_len += HCI_EXT_INQ_RESPONSE_LEN; in bte_search_devices_evt()
2140 param_len += p_data->disc_res.raw_data_size; in bte_search_devices_evt()
2144 …BTIF_TRACE_DEBUG("%s event=%s param_len=%d", __FUNCTION__, dump_dm_search_event(event), param_len); in bte_search_devices_evt()
2150 btif_transfer_context (btif_dm_search_devices_evt , (UINT16) event, (void *)p_data, param_len, in bte_search_devices_evt()
2151 (param_len > sizeof(tBTA_DM_SEARCH)) ? search_devices_copy_cb : NULL); in bte_search_devices_evt()
2166 UINT16 param_len = 0; in bte_dm_search_services_evt() local
2168 param_len += sizeof(tBTA_DM_SEARCH); in bte_dm_search_services_evt()
2174 param_len += (p_data->disc_res.num_uuids * MAX_UUID_SIZE); in bte_dm_search_services_evt()
[all …]
/system/bt/stack/btm/
Dbtm_devctl.c650 tBTM_STATUS BTM_VendorSpecificCommand(UINT16 opcode, UINT8 param_len, in BTM_VendorSpecificCommand() argument
655 param_len + HCIC_PREAMBLE_SIZE); in BTM_VendorSpecificCommand()
658 opcode, param_len); in BTM_VendorSpecificCommand()
661 btsnd_hcic_vendor_spec_cmd(p_buf, opcode, param_len, p_param_buf, (void *)p_cb); in BTM_VendorSpecificCommand()
691 vcs_cplt_params.param_len = evt_len; /* Number of bytes in return info */ in btm_vsc_complete()
Dbtm_ble_cont_energy.c47 UINT16 len = p_params->param_len; in btm_ble_cont_energy_cmpl_cback()
Dbtm_ble.c1048 params.param_len = BT_OCTET8_LEN; in btm_ble_rand_enc_complete()
1050 params.param_len = BT_OCTET16_LEN; in btm_ble_rand_enc_complete()
1052 memcpy(p_dest, p, params.param_len); /* Fetch return info from HCI event message */ in btm_ble_rand_enc_complete()
Dbtm_ble_multi_adv.c115 UINT16 len = p_params->param_len; in btm_ble_multi_adv_vsc_cmpl_cback()
Dbtm_ble_privacy.c411 UINT16 evt_len = p_params->param_len; in btm_ble_resolving_list_vsc_op_cmpl()
Dbtm_ble_batchscan.c360 UINT16 len = p_params->param_len; in btm_ble_batchscan_vsc_cmpl_cback()
Dbtm_ble_adv_filter.c260 UINT16 evt_len = p_params->param_len; in btm_ble_scan_pf_cmpl_cback()
Dbtm_ble_gap.c520 (p_vcs_cplt_params->param_len > 0)) in btm_ble_vendor_capability_vsc_cmpl_cback()
536 if (p_vcs_cplt_params->param_len > BTM_VSC_CHIP_CAPABILITY_RSP_LEN_L_RELEASE) in btm_ble_vendor_capability_vsc_cmpl_cback()
/system/bt/stack/smp/
Dsmp_keys.c167 p_out->param_len = SMP_ENCRYT_KEY_SIZE; in smp_encrypt_data()
266 output.param_len = SMP_ENCRYT_KEY_SIZE; in smp_generate_stk()
1027 memcpy((void *)p_cb->private_key, p->param_buf, p->param_len); in smp_continue_private_key_creation()
1034 memcpy((void *)&p_cb->private_key[8], p->param_buf, p->param_len); in smp_continue_private_key_creation()
1041 memcpy((void *)&p_cb->private_key[16], p->param_buf, p->param_len); in smp_continue_private_key_creation()
1048 memcpy((void *)&p_cb->private_key[24], p->param_buf, p->param_len); in smp_continue_private_key_creation()
2218 memcpy((void *)p_cb->rand, p->param_buf, p->param_len); in smp_rand_back()
2223 memcpy((void *)&p_cb->rand[8], p->param_buf, p->param_len); in smp_rand_back()
2254 memcpy((void *)p_cb->rand, p->param_buf, p->param_len); in smp_rand_back()
2259 memcpy((void *)&p_cb->rand[8], p->param_buf, p->param_len); in smp_rand_back()
/system/bt/btif/include/
Dbtif_common.h202 int param_len, tBTIF_COPY_CBACK *p_copy_cback);
/system/bt/stack/include/
Dsmp_api.h284 UINT8 param_len; member
Dbtm_api.h109 UINT16 param_len; member
2054 UINT8 param_len,
Dbtm_ble_api.h270 UINT8 param_len; member
/system/bt/stack/l2cap/
Dl2c_utils.c441 UINT16 param_len; in l2cu_send_peer_cmd_reject() local
447 param_len = 2; in l2cu_send_peer_cmd_reject()
449 param_len = 4; in l2cu_send_peer_cmd_reject()
451 param_len = 0; in l2cu_send_peer_cmd_reject()
453 …if ((p_buf = l2cu_build_header (p_lcb, (UINT16) (L2CAP_CMD_REJECT_LEN + param_len), L2CAP_CMD_REJE… in l2cu_send_peer_cmd_reject()
464 if (param_len >= 2) in l2cu_send_peer_cmd_reject()
467 if (param_len >= 4) in l2cu_send_peer_cmd_reject()