/packages/modules/Bluetooth/system/stack/sdp/ |
D | sdp_server.cc | 50 uint16_t param_len, uint8_t* p_req, 54 uint16_t param_len, uint8_t* p_req, 58 uint16_t param_len, uint8_t* p_req, 114 uint16_t trans_num, param_len; in sdp_server_handle_client_req() local 133 if (p_req + sizeof(param_len) > p_req_end) { in sdp_server_handle_client_req() 139 BE_STREAM_TO_UINT16(param_len, p_req); in sdp_server_handle_client_req() 141 if ((p_req + param_len) != p_req_end) { in sdp_server_handle_client_req() 149 process_service_search(p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req() 153 process_service_attr_req(p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req() 157 process_service_search_attr_req(p_ccb, trans_num, param_len, p_req, in sdp_server_handle_client_req() [all …]
|
D | sdp_utils.cc | 738 uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len, in sdpu_extract_uid_seq() argument 748 if (sizeof(descr) > param_len) return (NULL); in sdpu_extract_uid_seq() 749 param_len -= sizeof(descr); in sdpu_extract_uid_seq() 768 if (sizeof(uint8_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 769 param_len -= sizeof(uint8_t); in sdpu_extract_uid_seq() 773 if (sizeof(uint16_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 774 param_len -= sizeof(uint16_t); in sdpu_extract_uid_seq() 778 if (sizeof(uint32_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 779 param_len -= sizeof(uint32_t); in sdpu_extract_uid_seq() 786 if (seq_len > param_len) return (NULL); in sdpu_extract_uid_seq() [all …]
|
D | sdp_discovery.cc | 138 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()
|
D | sdpint.h | 215 extern uint8_t* sdpu_extract_attr_seq(uint8_t* p, uint16_t param_len, 217 extern uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len,
|
/packages/modules/Bluetooth/system/stack/hcic/ |
D | hciblecmds.cc | 436 uint8_t* param, uint16_t param_len) { in btsnd_hcic_ble_rand() argument 720 uint16_t param_len = 3 + (5 * phy_cnt); in btsnd_hcic_ble_set_extended_scan_params() local 721 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_set_extended_scan_params() 725 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_params() 747 const int param_len = 6; in btsnd_hcic_ble_set_extended_scan_enable() local 748 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_set_extended_scan_enable() 752 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_enable() 776 uint8_t param_len = 10 + (16 * phy_cnt); in btsnd_hcic_ble_ext_create_conn() local 778 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_ext_create_conn() 782 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_ext_create_conn() [all …]
|
/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_bld_ct.cc | 192 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/ |
D | btif_hd.cc | 299 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()
|
D | btif_hh.cc | 1175 int param_len = 0; in bte_hh_evt() local 1179 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt() 1181 param_len = sizeof(tBTA_HH_CONN); in bte_hh_evt() 1183 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt() 1185 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt() 1187 param_len = sizeof(tBTA_HH_DEV_DSCP_INFO); in bte_hh_evt() 1189 param_len = sizeof(tBTA_HH_HSDATA); in bte_hh_evt() 1192 param_len = sizeof(tBTA_HH_HSDATA); in bte_hh_evt() 1196 param_len += BT_HDR_SIZE + hdr->offset + hdr->len; in bte_hh_evt() 1200 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt() [all …]
|
D | btif_core.cc | 133 char* p_params, int param_len, in btif_transfer_context() argument 136 sizeof(tBTIF_CONTEXT_SWITCH_CBACK) + param_len); in btif_transfer_context() 139 param_len); in btif_transfer_context() 151 memcpy(p_msg->p_param, p_params, param_len); /* callback parameter data */ in btif_transfer_context() 854 if (p_vsc_cmpl_params->param_len < 1) { in DynamicAudiobufferSizeCompleteCallback() 875 if (p_vsc_cmpl_params->param_len != 4) { in DynamicAudiobufferSizeCompleteCallback() 878 << std::to_string(p_vsc_cmpl_params->param_len); in DynamicAudiobufferSizeCompleteCallback()
|
D | btif_hf.cc | 630 int param_len = 0; in bte_hf_evt() local 635 param_len = sizeof(tBTA_AG_REGISTER); in bte_hf_evt() 637 param_len = sizeof(tBTA_AG_OPEN); in bte_hf_evt() 639 param_len = sizeof(tBTA_AG_CONN); in bte_hf_evt() 642 param_len = sizeof(tBTA_AG_HDR); in bte_hf_evt() 644 param_len = sizeof(tBTA_AG_VAL); in bte_hf_evt() 649 (char*)p_data, param_len, nullptr); in bte_hf_evt()
|
D | btif_bqr.cc | 343 if (p_vsc_cmpl_params->param_len < 1) { in BqrVscCompleteCallback() 359 if (p_vsc_cmpl_params->param_len != 5) { in BqrVscCompleteCallback() 362 << std::to_string(p_vsc_cmpl_params->param_len); in BqrVscCompleteCallback()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_devctl.cc | 455 void BTM_VendorSpecificCommand(uint16_t opcode, uint8_t param_len, in BTM_VendorSpecificCommand() argument 458 void* p_buf = osi_malloc(sizeof(BT_HDR) + sizeof(tBTM_CMPL_CB*) + param_len + in BTM_VendorSpecificCommand() 462 param_len); in BTM_VendorSpecificCommand() 465 btsnd_hcic_vendor_spec_cmd(p_buf, opcode, param_len, p_param_buf, in BTM_VendorSpecificCommand() 487 vcs_cplt_params.param_len = evt_len; /* Number of bytes in return info */ in btm_vsc_complete()
|
D | btm_ble_gap.cc | 574 if (p_vsc_cmpl_params->param_len < 1) { in btm_get_dynamic_audio_buffer_vsc_cmpl_cback() 596 if (p_vsc_cmpl_params->param_len != 198) { in btm_get_dynamic_audio_buffer_vsc_cmpl_cback() 599 << std::to_string(p_vsc_cmpl_params->param_len); in btm_get_dynamic_audio_buffer_vsc_cmpl_cback() 638 CHECK(p_vcs_cplt_params->param_len > 0); in btm_ble_vendor_capability_vsc_cmpl_cback() 649 CHECK(p_vcs_cplt_params->param_len >= BTM_VSC_CHIP_CAPABILITY_RSP_LEN); in btm_ble_vendor_capability_vsc_cmpl_cback() 658 if (p_vcs_cplt_params->param_len > in btm_ble_vendor_capability_vsc_cmpl_cback() 667 CHECK(p_vcs_cplt_params->param_len >= in btm_ble_vendor_capability_vsc_cmpl_cback() 676 if (p_vcs_cplt_params->param_len >= in btm_ble_vendor_capability_vsc_cmpl_cback() 1405 void btm_ble_biginfo_adv_report_rcvd(uint8_t* p, uint16_t param_len) { in btm_ble_biginfo_adv_report_rcvd() argument 1406 LOG_DEBUG("[PAST]: BIGINFO report received, len=%u", param_len); in btm_ble_biginfo_adv_report_rcvd() [all …]
|
D | ble_advertiser_hci_interface.cc | 61 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() 99 void SendAdvCmd(const base::Location& posted_from, uint8_t param_len, in SendAdvCmd() argument 102 param_len, in SendAdvCmd()
|
D | btm_ble_cont_energy.cc | 43 uint16_t len = p_params->param_len; in btm_ble_cont_energy_cmpl_cback()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | btm_ble_api.h | 689 extern void btm_ble_biginfo_adv_report_rcvd(uint8_t* param, uint16_t param_len); 691 uint16_t param_len);
|
D | smp_api_types.h | 307 uint8_t param_len; member
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_btm_ble_gap.cc | 260 void btm_ble_periodic_adv_sync_tx_rcvd(uint8_t* p, uint16_t param_len) { in btm_ble_periodic_adv_sync_tx_rcvd() argument 263 void btm_ble_biginfo_adv_report_rcvd(uint8_t* p, uint16_t param_len) { in btm_ble_biginfo_adv_report_rcvd() argument
|
D | mock_stack_btm_devctl.cc | 96 void BTM_VendorSpecificCommand(uint16_t opcode, uint8_t param_len, in BTM_VendorSpecificCommand() argument
|
D | mock_btif_core.cc | 85 char* p_params, int param_len, in btif_transfer_context() argument
|
/packages/modules/Bluetooth/system/btif/test/ |
D | btif_hf_client_service_test.cc | 52 char* p_params, int param_len, in btif_transfer_context() argument
|
D | btif_rc_test.cc | 88 char* p_params, int param_len, in btif_transfer_context() argument
|
/packages/modules/Bluetooth/system/stack/btu/ |
D | btu_hcif.cc | 812 uint16_t param_len = static_cast<uint16_t>(event->len - 5); in btu_hcif_command_complete_evt_with_cb_on_task() local 813 std::move(cb_wrapper->cb).Run(stream, param_len); in btu_hcif_command_complete_evt_with_cb_on_task() 1303 uint16_t param_len = static_cast<uint16_t>(event->len - 5); in btu_hcif_command_complete_evt_on_task() local 1304 btu_hcif_hdl_command_complete(opcode, stream, param_len, context); in btu_hcif_command_complete_evt_on_task()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_common.h | 198 char* p_params, int param_len,
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_utils.cc | 361 uint16_t param_len; in l2cu_send_peer_cmd_reject() local 367 param_len = 2; in l2cu_send_peer_cmd_reject() 369 param_len = 4; in l2cu_send_peer_cmd_reject() 371 param_len = 0; in l2cu_send_peer_cmd_reject() 373 p_buf = l2cu_build_header(p_lcb, (uint16_t)(L2CAP_CMD_REJECT_LEN + param_len), in l2cu_send_peer_cmd_reject() 385 if (param_len >= 2) UINT16_TO_STREAM(p, p1); in l2cu_send_peer_cmd_reject() 387 if (param_len >= 4) UINT16_TO_STREAM(p, p2); in l2cu_send_peer_cmd_reject()
|