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.c957 memcpy(sec_event.auth_cmpl.bd_name, p_name, (BD_NAME_LEN-1)); in bta_dm_bond()
958 sec_event.auth_cmpl.bd_name[BD_NAME_LEN-1] = 0; in bta_dm_bond()
1653 … strlcpy((char*)result.disc_ble_res.bd_name, bta_dm_get_remname(), BD_NAME_LEN); in bta_dm_sdp_result()
1795 bta_dm_get_remname(), BD_NAME_LEN); in bta_dm_sdp_result()
1818 bta_dm_get_remname(), BD_NAME_LEN); in bta_dm_sdp_result()
2181 bta_dm_get_remname(), BD_NAME_LEN); in bta_dm_find_services()
2365 (char*)bta_dm_search_cb.peer_name, BD_NAME_LEN); in bta_dm_discover_device()
2495 if (rem_name.length > (BD_NAME_LEN-1)) in bta_dm_service_search_remname_cback()
2497 rem_name.length = (BD_NAME_LEN-1); in bta_dm_service_search_remname_cback()
2498 rem_name.remote_bd_name[(BD_NAME_LEN-1)] = 0; in bta_dm_service_search_remname_cback()
[all …]
Dbta_dm_api.c165 strlcpy((char*)p_msg->name, p_name, BD_NAME_LEN); in BTA_DmSetDeviceName()
473 memset(p_msg->bd_name, 0, BD_NAME_LEN + 1); in BTA_DmAddDevice()
/system/bt/btif/src/
Dbtif_dm.c382 if (remote_name_len > BD_NAME_LEN) in check_eir_remote_name()
383 remote_name_len = BD_NAME_LEN; in check_eir_remote_name()
911 memcpy(bd_name.name, p_pin_req->bd_name, BD_NAME_LEN); in btif_dm_pin_req_evt()
997 memcpy(bd_name.name, p_ssp_cfm_req->bd_name, BD_NAME_LEN); in btif_dm_ssp_cfm_req_evt()
1069 memcpy(bd_name.name, p_ssp_key_notif->bd_name, BD_NAME_LEN); in btif_dm_ssp_key_notif_evt()
1688 prop.len = BD_NAME_LEN; in btif_dm_upstreams_evt()
3024 memcpy(bd_name.name, p_ssp_key_notif->bd_name, BD_NAME_LEN); in btif_dm_ble_key_notif_evt()
3250 memcpy(bd_name.name, p_ble_req->bd_name, BD_NAME_LEN); in btif_dm_ble_sec_req_evt()
3291 memcpy(bd_name.name, p_pin_req->bd_name, BD_NAME_LEN); in btif_dm_ble_passkey_req_evt()
3314 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.h346 #define BD_NAME_LEN 248 macro
347 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.c448 if (!p_name || !p_name[0] || (strlen ((char *)p_name) > BD_NAME_LEN)) in BTM_SetLocalDeviceName()
Dbtm_ble_gap.c2041 memset(bd_name, 0, (BD_NAME_LEN + 1)); in btm_ble_read_remote_name_cmpl()
2042 if (length > BD_NAME_LEN) in btm_ble_read_remote_name_cmpl()
2044 length = BD_NAME_LEN; in btm_ble_read_remote_name_cmpl()
Dbtm_inq.c2370 rem_name.length = (evt_len < BD_NAME_LEN) ? evt_len : BD_NAME_LEN; in btm_process_remote_name()