Lines Matching refs:p_name
82 static void bta_dm_local_name_cback(void* p_name);
818 char* p_name; in bta_dm_bond() local
828 p_name = BTM_SecReadDevName(bd_addr); in bta_dm_bond()
829 if (p_name != NULL) { in bta_dm_bond()
830 memcpy(sec_event.auth_cmpl.bd_name, p_name, (BD_NAME_LEN - 1)); in bta_dm_bond()
2645 static void bta_dm_local_name_cback(UNUSED_ATTR void* p_name) { in bta_dm_local_name_cback() argument
3191 char* p_name = (char*)bta_dm_search_cb.peer_name; in bta_dm_get_remname() local
3195 if (*p_name == '\0') { in bta_dm_get_remname()
3197 if (p_temp != NULL) p_name = p_temp; in bta_dm_get_remname()
3200 return p_name; in bta_dm_get_remname()
3784 char* p_name = NULL; in bta_dm_ble_smp_cback() local
3802 p_name = BTM_SecReadDevName(bda); in bta_dm_ble_smp_cback()
3803 if (p_name != NULL) in bta_dm_ble_smp_cback()
3804 strlcpy((char*)sec_event.ble_req.bd_name, p_name, BD_NAME_LEN); in bta_dm_ble_smp_cback()
3812 p_name = BTM_SecReadDevName(bda); in bta_dm_ble_smp_cback()
3813 if (p_name != NULL) in bta_dm_ble_smp_cback()
3814 strlcpy((char*)sec_event.key_notif.bd_name, p_name, BD_NAME_LEN); in bta_dm_ble_smp_cback()
3855 p_name = BTM_SecReadDevName(bda); in bta_dm_ble_smp_cback()
3856 if (p_name != NULL) in bta_dm_ble_smp_cback()
3857 strlcpy((char*)sec_event.auth_cmpl.bd_name, p_name, (BD_NAME_LEN)); in bta_dm_ble_smp_cback()