Home
last modified time | relevance | path

Searched refs:BD_NAME_LEN (Results 1 – 8 of 8) sorted by relevance

/system/bt/bta/dm/
Dbta_dm_act.c892 memcpy(sec_event.auth_cmpl.bd_name, p_name, (BD_NAME_LEN-1)); in bta_dm_bond()
893 sec_event.auth_cmpl.bd_name[BD_NAME_LEN-1] = 0; in bta_dm_bond()
1627 …TRNCPY_S((char*)result.disc_ble_res.bd_name, sizeof(BD_NAME), bta_dm_get_remname(), (BD_NAME_LEN)); in bta_dm_sdp_result()
1628 result.disc_ble_res.bd_name[BD_NAME_LEN] = 0; in bta_dm_sdp_result()
1785 bta_dm_get_remname(), (BD_NAME_LEN-1)); in bta_dm_sdp_result()
1788 p_msg->disc_result.result.disc_res.bd_name[BD_NAME_LEN-1] = 0; in bta_dm_sdp_result()
1812 bta_dm_get_remname(), (BD_NAME_LEN-1)); in bta_dm_sdp_result()
1815 p_msg->disc_result.result.disc_res.bd_name[BD_NAME_LEN-1] = 0; in bta_dm_sdp_result()
2219 bta_dm_get_remname(), (BD_NAME_LEN-1)); in bta_dm_find_services()
2222 p_msg->disc_result.result.disc_res.bd_name[BD_NAME_LEN-1] = 0; in bta_dm_find_services()
[all …]
Dbta_dm_api.c185 BCM_STRNCPY_S((char*)p_msg->name, sizeof(p_msg->name), p_name, BD_NAME_LEN-1); in BTA_DmSetDeviceName()
186 p_msg->name[BD_NAME_LEN-1]=0; in BTA_DmSetDeviceName()
540 memset (p_msg->bd_name, 0, BD_NAME_LEN + 1); in BTA_DmAddDevice()
/system/bt/btif/src/
Dbtif_dm.c324 if (remote_name_len > BD_NAME_LEN) in check_eir_remote_name()
325 remote_name_len = BD_NAME_LEN; in check_eir_remote_name()
868 memcpy(bd_name.name, p_pin_req->bd_name, BD_NAME_LEN); in btif_dm_pin_req_evt()
955 memcpy(bd_name.name, p_ssp_cfm_req->bd_name, BD_NAME_LEN); in btif_dm_ssp_cfm_req_evt()
1027 memcpy(bd_name.name, p_ssp_key_notif->bd_name, BD_NAME_LEN); in btif_dm_ssp_key_notif_evt()
1641 prop.len = BD_NAME_LEN; in btif_dm_upstreams_evt()
2869 memcpy(bd_name.name, p_ssp_key_notif->bd_name, BD_NAME_LEN); in btif_dm_ble_key_notif_evt()
3095 memcpy(bd_name.name, p_ble_req->bd_name, BD_NAME_LEN); in btif_dm_ble_sec_req_evt()
3138 memcpy(bd_name.name, p_pin_req->bd_name, BD_NAME_LEN); in btif_dm_ble_passkey_req_evt()
3161 memcpy(bd_name.name, p_notif_req->bd_name, BD_NAME_LEN); in btif_dm_ble_key_nc_req_evt()
/system/bt/stack/include/
Dbt_types.h345 #define BD_NAME_LEN 248 macro
346 typedef UINT8 BD_NAME[BD_NAME_LEN + 1]; /* Device name */
Dhcimsgs.h500 #define HCIC_PARAM_SIZE_CHANGE_NAME BD_NAME_LEN
/system/bt/stack/btm/
Dbtm_devctl.c445 if (!p_name || !p_name[0] || (strlen ((char *)p_name) > BD_NAME_LEN)) in BTM_SetLocalDeviceName()
Dbtm_ble_gap.c2021 memset(bd_name, 0, (BD_NAME_LEN + 1)); in btm_ble_read_remote_name_cmpl()
2022 if (length > BD_NAME_LEN) in btm_ble_read_remote_name_cmpl()
2024 length = BD_NAME_LEN; in btm_ble_read_remote_name_cmpl()
Dbtm_inq.c2369 rem_name.length = (evt_len < BD_NAME_LEN) ? evt_len : BD_NAME_LEN; in btm_process_remote_name()