Lines Matching refs:peer_bdaddr
539 btm_remove_acl(bta_dm_cb.device_list.peer_device[i].peer_bdaddr, transport); in bta_dm_disable_timer_cback()
724 if (!bdcmp(bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_dev->bd_addr)) in bta_dm_remove_device()
763 if (!bdcmp(bta_dm_cb.device_list.peer_device[i].peer_bdaddr, other_address)) in bta_dm_remove_device()
862 … if (!bdcmp( bta_dm_cb.device_list.peer_device[index].peer_bdaddr, p_remove_acl->bd_addr)) in bta_dm_close_acl()
912 bdcpy(addr, bta_dm_cb.device_list.peer_device[i].peer_bdaddr); in bta_dm_remove_all_acl()
1072 BTM_SetLinkPolicy(p_dev->peer_bdaddr, &(p_dev->link_policy)); in bta_dm_policy_cback()
1080 BTM_SetLinkPolicy(p_dev->peer_bdaddr, &(p_dev->link_policy)); in bta_dm_policy_cback()
1085 bta_dm_pm_active(p_dev->peer_bdaddr); in bta_dm_policy_cback()
1283 bta_dm_cancel_gatt_discovery(bta_dm_search_cb.peer_bdaddr); in bta_dm_search_cancel()
1349 bdcpy(di_disc.bd_addr, bta_dm_search_cb.peer_bdaddr); in bta_dm_di_disc_cmpl()
1405 bdcpy(di_disc.bd_addr, bta_dm_search_cb.peer_bdaddr); in bta_dm_disable_search_and_disc()
1428 bdcpy(bta_dm_search_cb.peer_bdaddr, p_data->di_disc.bd_addr); in bta_dm_di_disc()
1432 if (SDP_DiDiscover(bta_dm_search_cb.peer_bdaddr, p_data->di_disc.p_sdp_db, in bta_dm_di_disc()
1463 bdcpy(bta_dm_search_cb.peer_bdaddr, bd_addr); in bta_dm_read_remote_device_name()
1466 btm_status = BTM_ReadRemoteDeviceName (bta_dm_search_cb.peer_bdaddr, in bta_dm_read_remote_device_name()
1548 bta_dm_discover_device(bta_dm_search_cb.peer_bdaddr); in bta_dm_rmt_name()
1652 bdcpy (result.disc_ble_res.bd_addr, bta_dm_search_cb.peer_bdaddr); in bta_dm_sdp_result()
1733 bta_dm_find_services(bta_dm_search_cb.peer_bdaddr); in bta_dm_sdp_result()
1793 bta_dm_search_cb.peer_bdaddr); in bta_dm_sdp_result()
1816 bta_dm_search_cb.peer_bdaddr); in bta_dm_sdp_result()
2063 bta_dm_cancel_gatt_discovery(bta_dm_search_cb.peer_bdaddr); in bta_dm_search_cancel_notify()
2179 bdcpy(p_msg->disc_result.result.disc_res.bd_addr, bta_dm_search_cb.peer_bdaddr); in bta_dm_find_services()
2254 bdcpy(bta_dm_search_cb.peer_bdaddr, remote_bd_addr); in bta_dm_discover_device()
2282 if (bta_dm_read_remote_device_name(bta_dm_search_cb.peer_bdaddr, transport) == TRUE) in bta_dm_discover_device()
2315 if (BTM_IsAclConnectionUp(bta_dm_search_cb.peer_bdaddr, BT_TRANSPORT_BR_EDR)) in bta_dm_discover_device()
2342 btm_dm_start_gatt_discovery(bta_dm_search_cb.peer_bdaddr); in bta_dm_discover_device()
2350 bta_dm_find_services(bta_dm_search_cb.peer_bdaddr); in bta_dm_discover_device()
2363 bdcpy(p_msg->disc_result.result.disc_res.bd_addr, bta_dm_search_cb.peer_bdaddr); in bta_dm_discover_device()
2492 if (!bdcmp( bta_dm_search_cb.peer_bdaddr, bd_addr)) in bta_dm_service_search_remname_cback()
2508 btm_status = BTM_ReadRemoteDeviceName (bta_dm_search_cb.peer_bdaddr, in bta_dm_service_search_remname_cback()
2554 GAP_BleReadPeerPrefConnParams (bta_dm_search_cb.peer_bdaddr); in bta_dm_remname_cback()
2560 bdcpy(p_msg->result.disc_res.bd_addr, bta_dm_search_cb.peer_bdaddr); in bta_dm_remname_cback()
3109 …if(BTM_CMD_STARTED == BTM_SwitchRole (p_dev->peer_bdaddr, HCI_ROLE_MASTER, (tBTM_CMPL_CB *)bta_dm_… in bta_dm_check_av()
3116 … bta_dm_policy_cback(BTA_SYS_PLCY_CLR, 0, HCI_ENABLE_MASTER_SLAVE_SWITCH, p_dev->peer_bdaddr); in bta_dm_check_av()
3184 … bta_dm_policy_cback(BTA_SYS_PLCY_CLR, 0, HCI_ENABLE_MASTER_SLAVE_SWITCH, p_dev->peer_bdaddr); in bta_dm_acl_change()
3214 if (!bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_bda) in bta_dm_acl_change()
3227 … bdcpy(bta_dm_cb.device_list.peer_device[bta_dm_cb.device_list.count].peer_bdaddr, p_bda); in bta_dm_acl_change()
3263 if (bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_bda) in bta_dm_acl_change()
3272 if (BTM_SecDeleteDevice(bta_dm_cb.device_list.peer_device[i].peer_bdaddr)) in bta_dm_acl_change()
3295 if(bta_dm_search_cb.wait_disc && !bdcmp(bta_dm_search_cb.peer_bdaddr, p_bda)) in bta_dm_acl_change()
3477 if (bdcmp(bta_dm_cb.device_list.peer_device[i].peer_bdaddr, remote_bd_addr) == 0) in bta_dm_reset_sec_dev_pending()
3506 if (!bdcmp( bta_dm_cb.device_list.peer_device[index].peer_bdaddr, remote_bd_addr)) in bta_dm_remove_sec_dev_entry()
3593 BTM_SwitchRole (bta_dm_cb.device_list.peer_device[i].peer_bdaddr, in bta_dm_adjust_roles()
3640 if ((p_temp = BTM_SecReadDevName(bta_dm_search_cb.peer_bdaddr)) != NULL) in bta_dm_get_remname()
4163 if (bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, bd_addr) == 0 && in bta_dm_encrypt_cback()
4221 …if (bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_data->set_encryption.bd_addr) == 0 … in bta_dm_set_encryption()
5396 bdcpy (result.disc_ble_res.bd_addr, bta_dm_search_cb.peer_bdaddr); in bta_dm_gatt_disc_result()
5436 bta_dm_search_cb.peer_bdaddr); in bta_dm_gatt_disc_complete()
5465 bta_dm_search_cb.peer_bdaddr); in bta_dm_gatt_disc_complete()
5549 p1 = bta_dm_search_cb.peer_bdaddr; in bta_dm_proc_open_evt()
5617 !memcmp(p_data->close.remote_bda, bta_dm_search_cb.peer_bdaddr, BD_ADDR_LEN)) in bta_dm_gattc_callback()