/system/nfc/src/nfc/llcp/ |
D | llcp_util.cc | 51 uint8_t param_type, param_len, *p = p_bytes; in llcp_util_parse_link_params() local 55 BE_STREAM_TO_UINT8(param_len, p); in llcp_util_parse_link_params() 56 if (length < param_len + 2) { in llcp_util_parse_link_params() 61 length -= param_len + 2; in llcp_util_parse_link_params() 65 if (param_len != LLCP_VERSION_LEN) { in llcp_util_parse_link_params() 76 if (param_len != LLCP_MIUX_LEN) { in llcp_util_parse_link_params() 89 if (param_len != LLCP_WKS_LEN) { in llcp_util_parse_link_params() 100 if (param_len != LLCP_LTO_LEN) { in llcp_util_parse_link_params() 112 if (param_len != LLCP_OPT_LEN) { in llcp_util_parse_link_params() 124 p += param_len; in llcp_util_parse_link_params() [all …]
|
/system/bt/stack/sdp/ |
D | sdp_server.cc | 47 uint16_t param_len, uint8_t* p_req, 51 uint16_t param_len, uint8_t* p_req, 55 uint16_t param_len, uint8_t* p_req, 111 uint16_t trans_num, param_len; in sdp_server_handle_client_req() local 132 if (p_req + sizeof(param_len) > p_req_end) { in sdp_server_handle_client_req() 140 BE_STREAM_TO_UINT16(param_len, p_req); in sdp_server_handle_client_req() 142 if ((p_req + param_len) != p_req_end) { in sdp_server_handle_client_req() 150 process_service_search(p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req() 154 process_service_attr_req(p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req() 158 process_service_search_attr_req(p_ccb, trans_num, param_len, p_req, in sdp_server_handle_client_req() [all …]
|
D | sdp_utils.cc | 568 uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len, in sdpu_extract_uid_seq() argument 578 if (sizeof(descr) > param_len) return (NULL); in sdpu_extract_uid_seq() 579 param_len -= sizeof(descr); in sdpu_extract_uid_seq() 598 if (sizeof(uint8_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 599 param_len -= sizeof(uint8_t); in sdpu_extract_uid_seq() 603 if (sizeof(uint16_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 604 param_len -= sizeof(uint16_t); in sdpu_extract_uid_seq() 608 if (sizeof(uint32_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 609 param_len -= sizeof(uint32_t); in sdpu_extract_uid_seq() 616 if (seq_len > param_len) return (NULL); in sdpu_extract_uid_seq() [all …]
|
D | sdp_discovery.cc | 124 uint16_t param_len; in sdp_snd_service_search_req() local 156 param_len = (uint16_t)(p - p_param_len - 2); in sdp_snd_service_search_req() 157 UINT16_TO_BE_STREAM(p_param_len, param_len); in sdp_snd_service_search_req() 396 uint16_t param_len, list_byte_count; in process_service_attr_rsp() local 493 param_len = (uint16_t)(p - p_param_len - 2); in process_service_attr_rsp() 494 UINT16_TO_BE_STREAM(p_param_len, param_len); in process_service_attr_rsp() 526 uint16_t param_len, lists_byte_count = 0; in process_service_search_attr_rsp() local 614 param_len = p - p_param_len - 2; in process_service_search_attr_rsp() 615 UINT16_TO_BE_STREAM(p_param_len, param_len); in process_service_search_attr_rsp()
|
D | sdpint.h | 207 extern uint8_t* sdpu_extract_attr_seq(uint8_t* p, uint16_t param_len, 209 extern uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len,
|
/system/bt/stack/avrc/ |
D | avrc_bld_ct.cc | 193 uint8_t param_len = in avrc_bld_get_current_player_app_values_cmd() local 196 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_current_player_app_values_cmd() 224 uint8_t param_len = (2 * num_attrib_id) + 1; in avrc_bld_set_current_player_app_values_cmd() local 226 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_set_current_player_app_values_cmd() 254 uint8_t param_len = p_cmd->num_attr + 1; in avrc_bld_get_player_app_setting_attr_text_cmd() local 256 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_player_app_setting_attr_text_cmd() 283 uint8_t param_len = p_cmd->num_val + 1; in avrc_bld_get_player_app_setting_value_text_cmd() local 285 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_player_app_setting_value_text_cmd() 313 uint8_t param_len = (4 * num_attrib) + 9; in avrc_bld_get_element_attr_cmd() local 315 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_element_attr_cmd()
|
/system/bt/btif/src/ |
D | btif_hd.cc | 291 int param_len = 0; in bte_hd_evt() local 300 param_len = sizeof(tBTA_HD_STATUS); in bte_hd_evt() 304 param_len = sizeof(tBTA_HD_REG_STATUS); in bte_hd_evt() 311 param_len = sizeof(tBTA_HD_CONN); in bte_hd_evt() 315 param_len += sizeof(tBTA_HD_GET_REPORT); in bte_hd_evt() 319 param_len = sizeof(tBTA_HD_SET_REPORT) + p_data->set_report.len; in bte_hd_evt() 324 param_len += sizeof(p_data->set_protocol); in bte_hd_evt() 328 param_len = sizeof(tBTA_HD_INTR_DATA) + p_data->intr_data.len; in bte_hd_evt() 334 (char*)p_data, param_len, p_copy_cback); in bte_hd_evt()
|
D | btif_core.cc | 128 char* p_params, int param_len, in btif_transfer_context() argument 131 sizeof(tBTIF_CONTEXT_SWITCH_CBACK) + param_len); in btif_transfer_context() 134 param_len); in btif_transfer_context() 146 memcpy(p_msg->p_param, p_params, param_len); /* callback parameter data */ in btif_transfer_context() 813 if (p_vsc_cmpl_params->param_len < 1) { in DynamicAudiobufferSizeCompleteCallback() 834 if (p_vsc_cmpl_params->param_len != 4) { in DynamicAudiobufferSizeCompleteCallback() 837 << std::to_string(p_vsc_cmpl_params->param_len); in DynamicAudiobufferSizeCompleteCallback()
|
D | btif_hh.cc | 1107 int param_len = 0; in bte_hh_evt() local 1110 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt() 1112 param_len = sizeof(tBTA_HH_CONN); in bte_hh_evt() 1114 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt() 1116 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt() 1118 param_len = sizeof(tBTA_HH_DEV_DSCP_INFO); in bte_hh_evt() 1121 param_len = sizeof(tBTA_HH_HSDATA); in bte_hh_evt() 1124 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt() 1126 param_len = sizeof(tBTA_HH_DEV_INFO); in bte_hh_evt() 1128 param_len = 0; in bte_hh_evt() [all …]
|
D | btif_bqr.cc | 290 if (p_vsc_cmpl_params->param_len < 1) { in BqrVscCompleteCallback() 306 if (p_vsc_cmpl_params->param_len != 5) { in BqrVscCompleteCallback() 309 << std::to_string(p_vsc_cmpl_params->param_len); in BqrVscCompleteCallback()
|
D | btif_hf.cc | 605 int param_len = 0; in bte_hf_evt() local 610 param_len = sizeof(tBTA_AG_REGISTER); in bte_hf_evt() 612 param_len = sizeof(tBTA_AG_OPEN); in bte_hf_evt() 614 param_len = sizeof(tBTA_AG_CONN); in bte_hf_evt() 617 param_len = sizeof(tBTA_AG_HDR); in bte_hf_evt() 619 param_len = sizeof(tBTA_AG_VAL); in bte_hf_evt() 624 (char*)p_data, param_len, nullptr); in bte_hf_evt()
|
/system/bt/stack/hcic/ |
D | hciblecmds.cc | 457 uint8_t* param, uint16_t param_len) { in btsnd_hcic_ble_rand() argument 808 uint16_t param_len = 3 + (5 * phy_cnt); in btsnd_hcic_ble_set_extended_scan_params() local 809 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_set_extended_scan_params() 813 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_params() 835 const int param_len = 6; in btsnd_hcic_ble_set_extended_scan_enable() local 836 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_set_extended_scan_enable() 840 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_enable() 864 uint8_t param_len = 10 + (16 * phy_cnt); in btsnd_hcic_ble_ext_create_conn() local 866 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_ext_create_conn() 870 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_ext_create_conn() [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/bt/stack/btm/ |
D | btm_devctl.cc | 450 void BTM_VendorSpecificCommand(uint16_t opcode, uint8_t param_len, in BTM_VendorSpecificCommand() argument 453 void* p_buf = osi_malloc(sizeof(BT_HDR) + sizeof(tBTM_CMPL_CB*) + param_len + in BTM_VendorSpecificCommand() 457 param_len); in BTM_VendorSpecificCommand() 460 btsnd_hcic_vendor_spec_cmd(p_buf, opcode, param_len, p_param_buf, in BTM_VendorSpecificCommand() 482 vcs_cplt_params.param_len = evt_len; /* Number of bytes in return info */ in btm_vsc_complete()
|
D | btm_ble_cont_energy.cc | 48 uint16_t len = p_params->param_len; in btm_ble_cont_energy_cmpl_cback()
|
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_gap.cc | 465 if (p_vsc_cmpl_params->param_len < 1) { in btm_get_dynamic_audio_buffer_vsc_cmpl_cback() 487 if (p_vsc_cmpl_params->param_len != 198) { in btm_get_dynamic_audio_buffer_vsc_cmpl_cback() 490 << std::to_string(p_vsc_cmpl_params->param_len); in btm_get_dynamic_audio_buffer_vsc_cmpl_cback() 530 CHECK(p_vcs_cplt_params->param_len > 0); in btm_ble_vendor_capability_vsc_cmpl_cback() 541 CHECK(p_vcs_cplt_params->param_len >= BTM_VSC_CHIP_CAPABILITY_RSP_LEN); in btm_ble_vendor_capability_vsc_cmpl_cback() 550 if (p_vcs_cplt_params->param_len > in btm_ble_vendor_capability_vsc_cmpl_cback() 559 CHECK(p_vcs_cplt_params->param_len >= BTM_VSC_CHIP_CAPABILITY_RSP_LEN_M_RELEASE); in btm_ble_vendor_capability_vsc_cmpl_cback() 567 if (p_vcs_cplt_params->param_len >= in btm_ble_vendor_capability_vsc_cmpl_cback()
|
/system/bt/test/mock/ |
D | mock_stack_btm_devctl.cc | 97 void BTM_VendorSpecificCommand(uint16_t opcode, uint8_t param_len, in BTM_VendorSpecificCommand() argument
|
D | mock_btif_core.cc | 82 char* p_params, int param_len, in btif_transfer_context() argument
|
/system/nfc/src/include/ |
D | nfc_hal_int.h | 103 uint16_t param_len; member
|
/system/bt/stack/include/ |
D | smp_api_types.h | 262 uint8_t param_len; member
|
D | btm_api.h | 150 void BTM_VendorSpecificCommand(uint16_t opcode, uint8_t param_len,
|
D | btm_ble_api_types.h | 270 uint8_t param_len; member
|
/system/bt/btif/include/ |
D | btif_common.h | 192 char* p_params, int param_len,
|