/system/nfc/src/nfc/llcp/ |
D | llcp_util.c | 46 uint8_t param_type, param_len, *p = p_bytes; in llcp_util_parse_link_params() local 50 BE_STREAM_TO_UINT8(param_len, p); in llcp_util_parse_link_params() 51 if (length < param_len + 2) { in llcp_util_parse_link_params() 56 length -= param_len + 2; in llcp_util_parse_link_params() 60 if (param_len != LLCP_VERSION_LEN) { in llcp_util_parse_link_params() 70 if (param_len != LLCP_MIUX_LEN) { in llcp_util_parse_link_params() 82 if (param_len != LLCP_WKS_LEN) { in llcp_util_parse_link_params() 92 if (param_len != LLCP_LTO_LEN) { in llcp_util_parse_link_params() 103 if (param_len != LLCP_OPT_LEN) { in llcp_util_parse_link_params() 115 p += param_len; in llcp_util_parse_link_params() [all …]
|
/system/bt/stack/sdp/ |
D | sdp_utils.cc | 325 uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len, in sdpu_extract_uid_seq() argument 335 if (sizeof(descr) > param_len) return (NULL); in sdpu_extract_uid_seq() 336 param_len -= sizeof(descr); in sdpu_extract_uid_seq() 355 if (sizeof(uint8_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 356 param_len -= sizeof(uint8_t); in sdpu_extract_uid_seq() 360 if (sizeof(uint16_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 361 param_len -= sizeof(uint16_t); in sdpu_extract_uid_seq() 365 if (sizeof(uint32_t) > param_len) return (NULL); in sdpu_extract_uid_seq() 366 param_len -= sizeof(uint32_t); in sdpu_extract_uid_seq() 373 if (seq_len > param_len) return (NULL); in sdpu_extract_uid_seq() [all …]
|
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_discovery.cc | 123 uint16_t param_len; in sdp_snd_service_search_req() local 160 param_len = (uint16_t)(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() 419 uint16_t param_len, list_byte_count; in process_service_attr_rsp() local 531 param_len = (uint16_t)(p - p_param_len - 2); in process_service_attr_rsp() 532 UINT16_TO_BE_STREAM(p_param_len, param_len); in process_service_attr_rsp() 563 uint16_t param_len, lists_byte_count = 0; in process_service_search_attr_rsp() local 680 param_len = p - p_param_len - 2; in process_service_search_attr_rsp() 681 UINT16_TO_BE_STREAM(p_param_len, param_len); in process_service_search_attr_rsp()
|
D | sdpint.h | 260 extern uint8_t* sdpu_extract_attr_seq(uint8_t* p, uint16_t param_len, 262 extern uint8_t* sdpu_extract_uid_seq(uint8_t* p, uint16_t param_len,
|
/system/bt/stack/avrc/ |
D | avrc_bld_ct.cc | 194 uint8_t param_len = in avrc_bld_get_current_player_app_values_cmd() local 197 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_current_player_app_values_cmd() 225 uint8_t param_len = (2 * num_attrib_id) + 1; in avrc_bld_set_current_player_app_values_cmd() local 227 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_set_current_player_app_values_cmd() 255 uint8_t param_len = p_cmd->num_attr + 1; in avrc_bld_get_player_app_setting_attr_text_cmd() local 257 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_player_app_setting_attr_text_cmd() 284 uint8_t param_len = p_cmd->num_val + 1; in avrc_bld_get_player_app_setting_value_text_cmd() local 286 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_player_app_setting_value_text_cmd() 314 uint8_t param_len = (4 * num_attrib) + 9; in avrc_bld_get_element_attr_cmd() local 316 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_element_attr_cmd()
|
/system/bt/btif/src/ |
D | btif_hd.cc | 295 int param_len = 0; in bte_hd_evt() local 304 param_len = sizeof(tBTA_HD_STATUS); in bte_hd_evt() 308 param_len = sizeof(tBTA_HD_REG_STATUS); in bte_hd_evt() 315 param_len = sizeof(tBTA_HD_CONN); in bte_hd_evt() 319 param_len += sizeof(tBTA_HD_GET_REPORT); in bte_hd_evt() 323 param_len = sizeof(tBTA_HD_SET_REPORT) + p_data->set_report.len; in bte_hd_evt() 328 param_len += sizeof(p_data->set_protocol); in bte_hd_evt() 332 param_len = sizeof(tBTA_HD_INTR_DATA) + p_data->intr_data.len; in bte_hd_evt() 338 (char*)p_data, param_len, p_copy_cback); in bte_hd_evt()
|
D | btif_mce.cc | 101 uint16_t param_len = sizeof(tBTA_MCE); in mce_dm_cback() local 105 param_len += (p_data->mas_disc_comp.mas[i].srv_name_len + 1); in mce_dm_cback() 109 (char*)p_data, param_len, in mce_dm_cback()
|
D | btif_hh.cc | 1083 int param_len = 0; in bte_hh_evt() local 1086 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt() 1088 param_len = sizeof(tBTA_HH_CONN); in bte_hh_evt() 1090 param_len = sizeof(tBTA_HH_STATUS); in bte_hh_evt() 1092 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt() 1094 param_len = sizeof(tBTA_HH_DEV_DSCP_INFO); in bte_hh_evt() 1097 param_len = sizeof(tBTA_HH_HSDATA); in bte_hh_evt() 1100 param_len = sizeof(tBTA_HH_CBDATA); in bte_hh_evt() 1102 param_len = sizeof(tBTA_HH_DEV_INFO); in bte_hh_evt() 1104 param_len = 0; in bte_hh_evt() [all …]
|
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 | 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, NULL); in bte_hf_evt()
|
D | btif_core.cc | 190 char* p_params, int param_len, in btif_transfer_context() argument 193 sizeof(tBTIF_CONTEXT_SWITCH_CBACK) + param_len); in btif_transfer_context() 196 param_len); in btif_transfer_context() 208 memcpy(p_msg->p_param, p_params, param_len); /* callback parameter data */ in btif_transfer_context()
|
D | btif_dm.cc | 2017 uint16_t param_len = 0; in bte_search_devices_evt() local 2019 if (p_data) param_len += sizeof(tBTA_DM_SEARCH); in bte_search_devices_evt() 2024 if (p_data->inq_res.p_eir) param_len += p_data->inq_res.eir_len; in bte_search_devices_evt() 2029 param_len += p_data->disc_res.raw_data_size; in bte_search_devices_evt() 2033 dump_dm_search_event(event), param_len); in bte_search_devices_evt() 2042 btif_dm_search_devices_evt, (uint16_t)event, (char*)p_data, param_len, in bte_search_devices_evt() 2043 (param_len > sizeof(tBTA_DM_SEARCH)) ? search_devices_copy_cb : NULL); in bte_search_devices_evt() 2058 uint16_t param_len = 0; in bte_dm_search_services_evt() local 2059 if (p_data) param_len += sizeof(tBTA_DM_SEARCH); in bte_dm_search_services_evt() 2064 param_len += (p_data->disc_res.num_uuids * MAX_UUID_SIZE); in bte_dm_search_services_evt() [all …]
|
/system/bt/stack/hcic/ |
D | hciblecmds.cc | 398 uint8_t* param, uint16_t param_len) { in btsnd_hcic_ble_rand() argument 753 uint16_t param_len = 3 + (5 * phy_cnt); in btsnd_hcic_ble_set_extended_scan_params() local 754 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_set_extended_scan_params() 758 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_params() 780 const int param_len = 6; in btsnd_hcic_ble_set_extended_scan_enable() local 781 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_set_extended_scan_enable() 785 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_enable() 809 uint8_t param_len = 10 + (16 * phy_cnt); in btsnd_hcic_ble_ext_create_conn() local 811 p->len = HCIC_PREAMBLE_SIZE + param_len; in btsnd_hcic_ble_ext_create_conn() 815 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_ext_create_conn()
|
/system/bt/stack/btm/ |
D | btm_devctl.cc | 585 void BTM_VendorSpecificCommand(uint16_t opcode, uint8_t param_len, in BTM_VendorSpecificCommand() argument 588 void* p_buf = osi_malloc(sizeof(BT_HDR) + sizeof(tBTM_CMPL_CB*) + param_len + in BTM_VendorSpecificCommand() 592 param_len); in BTM_VendorSpecificCommand() 595 btsnd_hcic_vendor_spec_cmd(p_buf, opcode, param_len, p_param_buf, in BTM_VendorSpecificCommand() 617 vcs_cplt_params.param_len = evt_len; /* Number of bytes in return info */ in btm_vsc_complete()
|
D | btm_ble_cont_energy.cc | 45 uint16_t len = p_params->param_len; in btm_ble_cont_energy_cmpl_cback()
|
D | ble_advertiser_hci_interface.cc | 57 uint8_t* param, uint16_t param_len) { in btm_ble_multi_adv_vsc_cmpl_cback() argument 61 LOG_ASSERT(param_len == 2) << "Received bad response length to multi-adv VSC"; in btm_ble_multi_adv_vsc_cmpl_cback() 96 uint8_t param_len, uint8_t* param_buf, in SendAdvCmd() argument 99 param_len, in SendAdvCmd()
|
/system/nfc/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_dm.c | 93 uint8_t num_param = 0, param_len, rem_len, *p_tlv; in nfc_hal_dm_set_config() local 115 param_len = *p_tlv++; /* param length */ in nfc_hal_dm_set_config() 118 if (rem_len >= param_len) { in nfc_hal_dm_set_config() 119 rem_len -= param_len; in nfc_hal_dm_set_config() 120 p_tlv += param_len; /* next param_type */ in nfc_hal_dm_set_config()
|
D | nfc_hal_nci.c | 418 STREAM_TO_UINT8(vcs_cplt_params.param_len, p); in nfc_hal_nci_proc_rx_bt_msg() 423 vcs_cplt_params.param_len -= 3; in nfc_hal_nci_proc_rx_bt_msg()
|
/system/bt/btif/include/ |
D | btif_common.h | 218 char* p_params, int param_len,
|
/system/bt/stack/include/ |
D | smp_api_types.h | 266 uint8_t param_len; member
|
D | btm_ble_api_types.h | 274 uint8_t param_len; member
|
/system/bt/btif/test/ |
D | btif_profile_queue_test.cc | 36 char* p_params, int param_len, in btif_transfer_context() argument
|
/system/nfc/src/hal/int/ |
D | nfc_hal_int.h | 251 uint16_t param_len; member
|
/system/nfc/src/nfc/nfc/ |
D | nfc_ncif.cc | 870 p_intf->intf_param.frame.param_len = len_act; in nfc_ncif_proc_activate() 871 if (p_intf->intf_param.frame.param_len > NFC_MAX_RAW_PARAMS) in nfc_ncif_proc_activate() 872 p_intf->intf_param.frame.param_len = NFC_MAX_RAW_PARAMS; in nfc_ncif_proc_activate() 875 p_intf->intf_param.frame.param_len); in nfc_ncif_proc_activate()
|