Home
last modified time | relevance | path

Searched refs:p_remote_name (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_device_search.cc265 static void bta_dm_remname_cback(const tBTM_REMOTE_DEV_NAME* p_remote_name) { in bta_dm_remname_cback() argument
266 log::assert_that(p_remote_name != nullptr, in bta_dm_remname_cback()
272 p_remote_name->bd_addr, btm_status_text(p_remote_name->status), in bta_dm_remname_cback()
273 hci_error_code_text(p_remote_name->hci_status), in bta_dm_remname_cback()
274 p_remote_name->remote_bd_name[0], in bta_dm_remname_cback()
275 strnlen((const char*)p_remote_name->remote_bd_name, BD_NAME_LEN)); in bta_dm_remname_cback()
277 if (bta_dm_search_cb.peer_bdaddr != p_remote_name->bd_addr) { in bta_dm_remname_cback()
281 if (p_remote_name->hci_status == HCI_ERR_CONNECTION_EXISTS) { in bta_dm_remname_cback()
284 hci_error_code_text(p_remote_name->hci_status), in bta_dm_remname_cback()
285 p_remote_name->bd_addr); in bta_dm_remname_cback()
[all …]
Dbta_dm_disc_legacy.cc1521 static void bta_dm_remname_cback(const tBTM_REMOTE_DEV_NAME* p_remote_name) { in bta_dm_remname_cback() argument
1522 log::assert_that(p_remote_name != nullptr, in bta_dm_remname_cback()
1528 p_remote_name->bd_addr, btm_status_text(p_remote_name->status), in bta_dm_remname_cback()
1529 hci_error_code_text(p_remote_name->hci_status), in bta_dm_remname_cback()
1530 p_remote_name->remote_bd_name[0], in bta_dm_remname_cback()
1531 strnlen((const char*)p_remote_name->remote_bd_name, BD_NAME_LEN)); in bta_dm_remname_cback()
1533 if (bta_dm_search_cb.peer_bdaddr == p_remote_name->bd_addr) { in bta_dm_remname_cback()
1540 if (p_remote_name->hci_status == HCI_ERR_CONNECTION_EXISTS) { in bta_dm_remname_cback()
1545 hci_error_code_text(p_remote_name->hci_status), in bta_dm_remname_cback()
1546 p_remote_name->bd_addr); in bta_dm_remname_cback()
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbtif_dm.cc408 uint8_t* p_remote_name, in check_eir_remote_name() argument
427 if (p_remote_name && p_remote_name_len) { in check_eir_remote_name()
428 memcpy(p_remote_name, p_eir_remote_name, remote_name_len); in check_eir_remote_name()
429 *(p_remote_name + remote_name_len) = 0; in check_eir_remote_name()
484 uint8_t* p_remote_name, in get_cached_remote_name() argument
495 if (p_remote_name && p_remote_name_len) { in get_cached_remote_name()
496 strcpy((char*)p_remote_name, (char*)bdname.name); in get_cached_remote_name()
497 *p_remote_name_len = strlen((char*)p_remote_name); in get_cached_remote_name()