Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_server.cc88 uint16_t param_len, uint8_t* p_req,
92 uint16_t param_len, uint8_t* p_req,
96 uint16_t param_len, uint8_t* p_req,
216 uint16_t trans_num, param_len; in sdp_server_handle_client_req() local
235 if (p_req + sizeof(param_len) > p_req_end) { in sdp_server_handle_client_req()
241 BE_STREAM_TO_UINT16(param_len, p_req); in sdp_server_handle_client_req()
243 if ((p_req + param_len) != p_req_end) { in sdp_server_handle_client_req()
251 process_service_search(p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req()
255 process_service_attr_req(p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req()
259 process_service_search_attr_req(p_ccb, trans_num, param_len, p_req, in sdp_server_handle_client_req()
[all …]
Dsdp_utils.cc752 uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len, in sdpu_extract_uid_seq() argument
762 if (sizeof(descr) > param_len) return (NULL); in sdpu_extract_uid_seq()
763 param_len -= sizeof(descr); in sdpu_extract_uid_seq()
782 if (sizeof(uint8_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
783 param_len -= sizeof(uint8_t); in sdpu_extract_uid_seq()
787 if (sizeof(uint16_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
788 param_len -= sizeof(uint16_t); in sdpu_extract_uid_seq()
792 if (sizeof(uint32_t) > param_len) return (NULL); in sdpu_extract_uid_seq()
793 param_len -= sizeof(uint32_t); in sdpu_extract_uid_seq()
800 if (seq_len > param_len) return (NULL); in sdpu_extract_uid_seq()
[all …]
Dsdp_discovery.cc138 uint16_t param_len; in sdp_snd_service_search_req() local
186 param_len = (uint16_t)(p - p_param_len - 2); in sdp_snd_service_search_req()
187 UINT16_TO_BE_STREAM(p_param_len, param_len); in sdp_snd_service_search_req()
420 uint16_t param_len, list_byte_count; in process_service_attr_rsp() local
517 param_len = (uint16_t)(p - p_param_len - 2); in process_service_attr_rsp()
518 UINT16_TO_BE_STREAM(p_param_len, param_len); in process_service_attr_rsp()
550 uint16_t 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.h278 uint8_t* sdpu_extract_attr_seq(uint8_t* p, uint16_t param_len,
280 uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len,
/packages/modules/Bluetooth/system/stack/hcic/
Dhciblecmds.cc404 uint8_t* param, uint16_t param_len) { in btsnd_hcic_ble_rand() argument
642 uint16_t param_len = 3 + (5 * phy_cnt); in btsnd_hcic_ble_set_extended_scan_params() local
643 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_set_extended_scan_params()
647 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_params()
669 const int param_len = 6; in btsnd_hcic_ble_set_extended_scan_enable() local
670 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_set_extended_scan_enable()
674 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_enable()
698 uint8_t param_len = 10 + (16 * phy_cnt); in btsnd_hcic_ble_ext_create_conn() local
700 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_ext_create_conn()
704 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_ext_create_conn()
[all …]
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_bld_ct.cc192 uint8_t param_len = in avrc_bld_get_current_player_app_values_cmd() local
195 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_current_player_app_values_cmd()
223 uint8_t param_len = (2 * num_attrib_id) + 1; in avrc_bld_set_current_player_app_values_cmd() local
225 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_set_current_player_app_values_cmd()
253 uint8_t param_len = p_cmd->num_attr + 1; in avrc_bld_get_player_app_setting_attr_text_cmd() local
255 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_player_app_setting_attr_text_cmd()
282 uint8_t param_len = p_cmd->num_val + 1; in avrc_bld_get_player_app_setting_value_text_cmd() local
284 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_player_app_setting_value_text_cmd()
312 uint8_t param_len = (4 * num_attrib) + 9; in avrc_bld_get_element_attr_cmd() local
314 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_element_attr_cmd()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_hd.cc299 int param_len = 0; in bte_hd_evt() local
308 param_len = sizeof(tBTA_HD_STATUS); in bte_hd_evt()
312 param_len = sizeof(tBTA_HD_REG_STATUS); in bte_hd_evt()
319 param_len = sizeof(tBTA_HD_CONN); in bte_hd_evt()
323 param_len += sizeof(tBTA_HD_GET_REPORT); in bte_hd_evt()
327 param_len = sizeof(tBTA_HD_SET_REPORT) + p_data->set_report.len; in bte_hd_evt()
332 param_len += sizeof(p_data->set_protocol); in bte_hd_evt()
336 param_len = sizeof(tBTA_HD_INTR_DATA) + p_data->intr_data.len; in bte_hd_evt()
342 (char*)p_data, param_len, p_copy_cback); in bte_hd_evt()
Dbtif_core.cc127 char* p_params, int param_len, in btif_transfer_context() argument
130 sizeof(tBTIF_CONTEXT_SWITCH_CBACK) + param_len); in btif_transfer_context()
133 param_len); in btif_transfer_context()
145 memcpy(p_msg->p_param, p_params, param_len); /* callback parameter data */ in btif_transfer_context()
763 if (p_vsc_cmpl_params->param_len < 1) { in DynamicAudiobufferSizeCompleteCallback()
784 if (p_vsc_cmpl_params->param_len != 4) { in DynamicAudiobufferSizeCompleteCallback()
787 << std::to_string(p_vsc_cmpl_params->param_len); in DynamicAudiobufferSizeCompleteCallback()
Dbtif_hh.cc1183 int param_len = 0; in bte_hh_evt() local
1187 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt()
1189 param_len = sizeof(tBTA_HH_CONN); in bte_hh_evt()
1191 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt()
1193 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt()
1195 param_len = sizeof(tBTA_HH_DEV_DSCP_INFO); in bte_hh_evt()
1197 param_len = sizeof(tBTA_HH_HSDATA); in bte_hh_evt()
1200 param_len = sizeof(tBTA_HH_HSDATA); in bte_hh_evt()
1204 param_len += BT_HDR_SIZE + hdr->offset + hdr->len; in bte_hh_evt()
1208 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt()
[all …]
Dbtif_hf.cc712 int param_len = 0; in bte_hf_evt() local
717 param_len = sizeof(tBTA_AG_REGISTER); in bte_hf_evt()
719 param_len = sizeof(tBTA_AG_OPEN); in bte_hf_evt()
721 param_len = sizeof(tBTA_AG_CONN); in bte_hf_evt()
724 param_len = sizeof(tBTA_AG_HDR); in bte_hf_evt()
726 param_len = sizeof(tBTA_AG_VAL); in bte_hf_evt()
731 (char*)p_data, param_len, nullptr); in bte_hf_evt()
Dbtif_bqr.cc373 if (p_vsc_cmpl_params->param_len < 1) { in BqrVscCompleteCallback()
400 if (p_vsc_cmpl_params->param_len != command_complete_param_len) { in BqrVscCompleteCallback()
403 << std::to_string(p_vsc_cmpl_params->param_len); in BqrVscCompleteCallback()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_devctl.cc454 void BTM_VendorSpecificCommand(uint16_t opcode, uint8_t param_len, in BTM_VendorSpecificCommand() argument
457 void* p_buf = osi_malloc(sizeof(BT_HDR) + sizeof(tBTM_CMPL_CB*) + param_len + in BTM_VendorSpecificCommand()
461 param_len); in BTM_VendorSpecificCommand()
464 btsnd_hcic_vendor_spec_cmd(p_buf, opcode, param_len, p_param_buf, in BTM_VendorSpecificCommand()
486 vcs_cplt_params.param_len = evt_len; /* Number of bytes in return info */ in btm_vsc_complete()
Dbtm_ble_gap.cc616 if (p_vsc_cmpl_params->param_len < 1) { in btm_get_dynamic_audio_buffer_vsc_cmpl_cback()
638 if (p_vsc_cmpl_params->param_len != 198) { in btm_get_dynamic_audio_buffer_vsc_cmpl_cback()
641 << std::to_string(p_vsc_cmpl_params->param_len); in btm_get_dynamic_audio_buffer_vsc_cmpl_cback()
680 CHECK(p_vcs_cplt_params->param_len > 0); in btm_ble_vendor_capability_vsc_cmpl_cback()
691 CHECK(p_vcs_cplt_params->param_len >= BTM_VSC_CHIP_CAPABILITY_RSP_LEN); in btm_ble_vendor_capability_vsc_cmpl_cback()
700 if (p_vcs_cplt_params->param_len > in btm_ble_vendor_capability_vsc_cmpl_cback()
709 CHECK(p_vcs_cplt_params->param_len >= in btm_ble_vendor_capability_vsc_cmpl_cback()
718 if (p_vcs_cplt_params->param_len >= in btm_ble_vendor_capability_vsc_cmpl_cback()
1480 void btm_ble_biginfo_adv_report_rcvd(uint8_t* p, uint16_t param_len) { in btm_ble_biginfo_adv_report_rcvd() argument
1481 LOG_DEBUG("[PAST]: BIGINFO report received, len=%u", param_len); in btm_ble_biginfo_adv_report_rcvd()
[all …]
Dble_advertiser_hci_interface.cc61 uint8_t* param, uint16_t param_len) { in btm_ble_multi_adv_vsc_cmpl_cback() argument
65 LOG_ASSERT(param_len == 2) << "Received bad response length to multi-adv VSC"; in btm_ble_multi_adv_vsc_cmpl_cback()
104 void SendAdvCmd(const base::Location& posted_from, uint8_t param_len, in SendAdvCmd() argument
107 param_len, in SendAdvCmd()
Dbtm_ble_cont_energy.cc42 uint16_t len = p_params->param_len; in btm_ble_cont_energy_cmpl_cback()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_btm_ble_gap.cc248 void btm_ble_periodic_adv_sync_tx_rcvd(uint8_t* p, uint16_t param_len) { in btm_ble_periodic_adv_sync_tx_rcvd() argument
251 void btm_ble_biginfo_adv_report_rcvd(uint8_t* p, uint16_t param_len) { in btm_ble_biginfo_adv_report_rcvd() argument
Dmock_stack_btm_devctl.cc103 void BTM_VendorSpecificCommand(uint16_t opcode, uint8_t param_len, in BTM_VendorSpecificCommand() argument
Dmock_btif_core.cc59 char* p_params, int param_len, in btif_transfer_context() argument
/packages/modules/Bluetooth/system/stack/include/
Dbtm_ble_api.h660 void btm_ble_biginfo_adv_report_rcvd(uint8_t* param, uint16_t param_len);
661 void btm_ble_periodic_adv_sync_tx_rcvd(uint8_t* param, uint16_t param_len);
Dsmp_api_types.h237 uint8_t param_len; member
Dbtm_api.h155 void BTM_VendorSpecificCommand(uint16_t opcode, uint8_t param_len,
/packages/modules/Bluetooth/system/btif/test/
Dbtif_hf_client_service_test.cc51 char* p_params, int param_len, in btif_transfer_context() argument
Dbtif_rc_test.cc88 char* p_params, int param_len, in btif_transfer_context() argument
/packages/modules/Bluetooth/system/stack/btu/
Dbtu_hcif.cc744 uint16_t param_len = static_cast<uint16_t>(event->len - 5); in btu_hcif_command_complete_evt_with_cb_on_task() local
745 std::move(cb_wrapper->cb).Run(stream, param_len); in btu_hcif_command_complete_evt_with_cb_on_task()
1197 uint16_t param_len = static_cast<uint16_t>(event->len - 5); in btu_hcif_command_complete_evt_on_task() local
1198 btu_hcif_hdl_command_complete(opcode, stream, param_len, context); in btu_hcif_command_complete_evt_on_task()
/packages/modules/Bluetooth/system/btif/include/
Dbtif_common.h198 char* p_params, int param_len,

12