/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 | 55 uint16_t param_len, uint8_t* p_req, 59 uint16_t param_len, uint8_t* p_req, 63 uint16_t param_len, uint8_t* p_req, 119 uint16_t trans_num, param_len; in sdp_server_handle_client_req() local 138 if (p_req + sizeof(param_len) > p_req_end) { in sdp_server_handle_client_req() 144 BE_STREAM_TO_UINT16(param_len, p_req); in sdp_server_handle_client_req() 146 if ((p_req + param_len) != p_req_end) { in sdp_server_handle_client_req() 154 process_service_search(p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req() 158 process_service_attr_req(p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req() 162 process_service_search_attr_req(p_ccb, trans_num, param_len, p_req, in sdp_server_handle_client_req() [all …]
|
D | sdp_utils.cc | 567 uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len, in sdpu_extract_uid_seq() argument 577 if (sizeof(descr) > param_len) return (NULL); in sdpu_extract_uid_seq() 578 param_len -= sizeof(descr); in sdpu_extract_uid_seq() 597 if (sizeof(uint8_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 598 param_len -= sizeof(uint8_t); in sdpu_extract_uid_seq() 602 if (sizeof(uint16_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 603 param_len -= sizeof(uint16_t); in sdpu_extract_uid_seq() 607 if (sizeof(uint32_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 608 param_len -= sizeof(uint32_t); in sdpu_extract_uid_seq() 615 if (seq_len > param_len) return (NULL); in sdpu_extract_uid_seq() [all …]
|
D | sdp_discovery.cc | 122 uint16_t param_len; in sdp_snd_service_search_req() local 159 param_len = (uint16_t)(p - p_param_len - 2); in sdp_snd_service_search_req() 160 UINT16_TO_BE_STREAM(p_param_len, param_len); in sdp_snd_service_search_req() 399 uint16_t param_len, list_byte_count; in process_service_attr_rsp() local 496 param_len = (uint16_t)(p - p_param_len - 2); in process_service_attr_rsp() 497 UINT16_TO_BE_STREAM(p_param_len, param_len); in process_service_attr_rsp() 529 uint16_t param_len, lists_byte_count = 0; in process_service_search_attr_rsp() local 622 param_len = p - p_param_len - 2; in process_service_search_attr_rsp() 623 UINT16_TO_BE_STREAM(p_param_len, param_len); in process_service_search_attr_rsp()
|
D | sdpint.h | 263 extern uint8_t* sdpu_extract_attr_seq(uint8_t* p, uint16_t param_len, 265 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_mce.cc | 100 uint16_t param_len = sizeof(tBTA_MCE); in mce_dm_cback() local 104 param_len += (p_data->mas_disc_comp.mas[i].srv_name_len + 1); in mce_dm_cback() 108 (char*)p_data, param_len, in mce_dm_cback()
|
D | btif_hd.cc | 294 int param_len = 0; in bte_hd_evt() local 303 param_len = sizeof(tBTA_HD_STATUS); in bte_hd_evt() 307 param_len = sizeof(tBTA_HD_REG_STATUS); in bte_hd_evt() 314 param_len = sizeof(tBTA_HD_CONN); in bte_hd_evt() 318 param_len += sizeof(tBTA_HD_GET_REPORT); in bte_hd_evt() 322 param_len = sizeof(tBTA_HD_SET_REPORT) + p_data->set_report.len; in bte_hd_evt() 327 param_len += sizeof(p_data->set_protocol); in bte_hd_evt() 331 param_len = sizeof(tBTA_HD_INTR_DATA) + p_data->intr_data.len; in bte_hd_evt() 337 (char*)p_data, param_len, p_copy_cback); in bte_hd_evt()
|
D | btif_hh.cc | 1111 int param_len = 0; in bte_hh_evt() local 1114 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt() 1116 param_len = sizeof(tBTA_HH_CONN); in bte_hh_evt() 1118 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt() 1120 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt() 1122 param_len = sizeof(tBTA_HH_DEV_DSCP_INFO); in bte_hh_evt() 1125 param_len = sizeof(tBTA_HH_HSDATA); in bte_hh_evt() 1128 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt() 1130 param_len = sizeof(tBTA_HH_DEV_INFO); in bte_hh_evt() 1132 param_len = 0; in bte_hh_evt() [all …]
|
D | btif_bqr.cc | 245 if (p_vsc_cmpl_params->param_len < 1) { in BqrVscCompleteCallback() 261 if (p_vsc_cmpl_params->param_len != 5) { in BqrVscCompleteCallback() 264 << std::to_string(p_vsc_cmpl_params->param_len); in BqrVscCompleteCallback()
|
D | btif_hl.cc | 3362 int param_len = 0; in btif_hl_cback() local 3367 param_len = sizeof(tBTA_HL_REGISTER_CFM); in btif_hl_cback() 3370 param_len = sizeof(tBTA_HL_SDP_INFO_IND); in btif_hl_cback() 3373 param_len = sizeof(tBTA_HL_DEREGISTER_CFM); in btif_hl_cback() 3376 param_len = sizeof(tBTA_HL_SDP_QUERY_CFM); in btif_hl_cback() 3379 param_len = sizeof(tBTA_HL_CCH_OPEN_CFM); in btif_hl_cback() 3382 param_len = sizeof(tBTA_HL_DCH_OPEN_CFM); in btif_hl_cback() 3385 param_len = sizeof(tBTA_HL_CCH_OPEN_IND); in btif_hl_cback() 3388 param_len = sizeof(tBTA_HL_DCH_CREATE_IND); in btif_hl_cback() 3391 param_len = sizeof(tBTA_HL_DCH_OPEN_IND); in btif_hl_cback() [all …]
|
D | btif_hf.cc | 568 int param_len = 0; in bte_hf_evt() local 573 param_len = sizeof(tBTA_AG_REGISTER); in bte_hf_evt() 575 param_len = sizeof(tBTA_AG_OPEN); in bte_hf_evt() 577 param_len = sizeof(tBTA_AG_CONN); in bte_hf_evt() 580 param_len = sizeof(tBTA_AG_HDR); in bte_hf_evt() 582 param_len = sizeof(tBTA_AG_VAL); in bte_hf_evt() 587 (char*)p_data, param_len, nullptr); in bte_hf_evt()
|
D | btif_core.cc | 193 char* p_params, int param_len, in btif_transfer_context() argument 196 sizeof(tBTIF_CONTEXT_SWITCH_CBACK) + param_len); in btif_transfer_context() 199 param_len); in btif_transfer_context() 211 memcpy(p_msg->p_param, p_params, param_len); /* callback parameter data */ in btif_transfer_context()
|
D | btif_dm.cc | 2022 uint16_t param_len = 0; in bte_search_devices_evt() local 2024 if (p_data) param_len += sizeof(tBTA_DM_SEARCH); in bte_search_devices_evt() 2029 if (p_data->inq_res.p_eir) param_len += p_data->inq_res.eir_len; in bte_search_devices_evt() 2034 param_len += p_data->disc_res.raw_data_size; in bte_search_devices_evt() 2038 dump_dm_search_event(event), param_len); in bte_search_devices_evt() 2047 btif_dm_search_devices_evt, (uint16_t)event, (char*)p_data, param_len, in bte_search_devices_evt() 2048 (param_len > sizeof(tBTA_DM_SEARCH)) ? search_devices_copy_cb : NULL); in bte_search_devices_evt() 2063 uint16_t param_len = 0; in bte_dm_search_services_evt() local 2064 if (p_data) param_len += sizeof(tBTA_DM_SEARCH); in bte_dm_search_services_evt() 2069 param_len += (p_data->disc_res.num_uuids * Uuid::kNumBytes128); in bte_dm_search_services_evt() [all …]
|
/system/bt/stack/hcic/ |
D | hciblecmds.cc | 384 uint8_t* param, uint16_t param_len) { in btsnd_hcic_ble_rand() argument 738 uint16_t param_len = 3 + (5 * phy_cnt); in btsnd_hcic_ble_set_extended_scan_params() local 739 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_set_extended_scan_params() 743 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_params() 765 const int param_len = 6; in btsnd_hcic_ble_set_extended_scan_enable() local 766 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_set_extended_scan_enable() 770 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_enable() 794 uint8_t param_len = 10 + (16 * phy_cnt); in btsnd_hcic_ble_ext_create_conn() local 796 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_ext_create_conn() 800 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_ext_create_conn()
|
/system/bt/stack/btm/ |
D | btm_ble_cont_energy.cc | 45 uint16_t len = p_params->param_len; in btm_ble_cont_energy_cmpl_cback()
|
D | btm_devctl.cc | 595 void BTM_VendorSpecificCommand(uint16_t opcode, uint8_t param_len, in BTM_VendorSpecificCommand() argument 598 void* p_buf = osi_malloc(sizeof(BT_HDR) + sizeof(tBTM_CMPL_CB*) + param_len + in BTM_VendorSpecificCommand() 602 param_len); in BTM_VendorSpecificCommand() 605 btsnd_hcic_vendor_spec_cmd(p_buf, opcode, param_len, p_param_buf, in BTM_VendorSpecificCommand() 627 vcs_cplt_params.param_len = evt_len; /* Number of bytes in return info */ in btm_vsc_complete()
|
D | ble_advertiser_hci_interface.cc | 60 uint8_t* param, uint16_t param_len) { in btm_ble_multi_adv_vsc_cmpl_cback() argument 64 LOG_ASSERT(param_len == 2) << "Received bad response length to multi-adv VSC"; in btm_ble_multi_adv_vsc_cmpl_cback() 98 void SendAdvCmd(const base::Location& posted_from, uint8_t param_len, in SendAdvCmd() argument 101 param_len, in SendAdvCmd()
|
/system/bt/btif/include/ |
D | btif_common.h | 221 char* p_params, int param_len,
|
/system/nfc/src/include/ |
D | nfc_hal_int.h | 103 uint16_t param_len; member
|
/system/bt/stack/include/ |
D | smp_api_types.h | 258 uint8_t param_len; member
|
D | btm_ble_api_types.h | 273 uint8_t param_len; member
|
/system/bt/stack/l2cap/ |
D | l2c_utils.cc | 385 uint16_t param_len; in l2cu_send_peer_cmd_reject() local 391 param_len = 2; in l2cu_send_peer_cmd_reject() 393 param_len = 4; in l2cu_send_peer_cmd_reject() 395 param_len = 0; in l2cu_send_peer_cmd_reject() 397 p_buf = l2cu_build_header(p_lcb, (uint16_t)(L2CAP_CMD_REJECT_LEN + param_len), in l2cu_send_peer_cmd_reject() 409 if (param_len >= 2) UINT16_TO_STREAM(p, p1); in l2cu_send_peer_cmd_reject() 411 if (param_len >= 4) UINT16_TO_STREAM(p, p2); in l2cu_send_peer_cmd_reject()
|
/system/nfc/src/nfc/nfc/ |
D | nfc_ncif.cc | 911 p_intf->intf_param.frame.param_len = len_act; in nfc_ncif_proc_activate() 912 if (p_intf->intf_param.frame.param_len > NFC_MAX_RAW_PARAMS) in nfc_ncif_proc_activate() 913 p_intf->intf_param.frame.param_len = NFC_MAX_RAW_PARAMS; in nfc_ncif_proc_activate() 916 p_intf->intf_param.frame.param_len); in nfc_ncif_proc_activate()
|
/system/bt/stack/btu/ |
D | btu_hcif.cc | 839 uint16_t param_len = static_cast<uint16_t>(event->len - 5); in btu_hcif_command_complete_evt_with_cb_on_task() local 840 std::move(cb_wrapper->cb).Run(stream, param_len); in btu_hcif_command_complete_evt_with_cb_on_task() 1473 uint16_t param_len = static_cast<uint16_t>(event->len - 5); in btu_hcif_command_complete_evt_on_task() local 1474 btu_hcif_hdl_command_complete(opcode, stream, param_len, context); in btu_hcif_command_complete_evt_on_task()
|