Lines Matching refs:peer_bda
238 ret = L2CA_RemoveFixedChnl(L2CAP_ATT_CID, p_tcb->peer_bda); in gatt_disconnect()
240 L2CA_CancelBleConnectReq(p_tcb->peer_bda); in gatt_disconnect()
241 gatt_cleanup_upon_disc(p_tcb->peer_bda, HCI_ERR_CONN_CAUSE_LOCAL_HOST, p_tcb->transport); in gatt_disconnect()
317 (BTM_GetHCIConnHandle(p_tcb->peer_bda, p_tcb->transport) != in gatt_update_app_use_link_flag()
324 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_NO_IDLE_TIMEOUT, in gatt_update_app_use_link_flag()
335 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_IDLE_TIMEOUT_WHEN_NO_APP, in gatt_update_app_use_link_flag()
636 gatt_cleanup_upon_disc(p_tcb->peer_bda, result, GATT_TRANSPORT_BR_EDR); in gatt_l2cif_connect_cfm_cback()
674 gatt_is_bda_in_the_srv_chg_clt_list(p_tcb->peer_bda); in gatt_l2cif_config_cfm_cback()
678 if (btm_sec_is_a_bonded_dev(p_tcb->peer_bda)) in gatt_l2cif_config_cfm_cback()
679 gatt_add_a_bonded_dev_for_srv_chg(p_tcb->peer_bda); in gatt_l2cif_config_cfm_cback()
715 p_srv_chg_clt = gatt_is_bda_in_the_srv_chg_clt_list(p_tcb->peer_bda); in gatt_l2cif_config_ind_cback()
719 if (btm_sec_is_a_bonded_dev(p_tcb->peer_bda)) in gatt_l2cif_config_ind_cback()
720 gatt_add_a_bonded_dev_for_srv_chg(p_tcb->peer_bda); in gatt_l2cif_config_ind_cback()
739 if (gatt_is_bda_in_the_srv_chg_clt_list(p_tcb->peer_bda) == NULL) { in gatt_l2cif_disconnect_ind_cback()
740 if (btm_sec_is_a_bonded_dev(p_tcb->peer_bda)) in gatt_l2cif_disconnect_ind_cback()
741 gatt_add_a_bonded_dev_for_srv_chg(p_tcb->peer_bda); in gatt_l2cif_disconnect_ind_cback()
745 uint16_t reason = L2CA_GetDisconnectReason(p_tcb->peer_bda, p_tcb->transport); in gatt_l2cif_disconnect_ind_cback()
749 gatt_cleanup_upon_disc(p_tcb->peer_bda, reason, GATT_TRANSPORT_BR_EDR); in gatt_l2cif_disconnect_ind_cback()
761 if (gatt_is_bda_in_the_srv_chg_clt_list(p_tcb->peer_bda) == NULL) { in gatt_l2cif_disconnect_cfm_cback()
762 if (btm_sec_is_a_bonded_dev(p_tcb->peer_bda)) in gatt_l2cif_disconnect_cfm_cback()
763 gatt_add_a_bonded_dev_for_srv_chg(p_tcb->peer_bda); in gatt_l2cif_disconnect_cfm_cback()
769 uint16_t reason = L2CA_GetDisconnectReason(p_tcb->peer_bda, p_tcb->transport); in gatt_l2cif_disconnect_cfm_cback()
772 gatt_cleanup_upon_disc(p_tcb->peer_bda, reason, GATT_TRANSPORT_BR_EDR); in gatt_l2cif_disconnect_cfm_cback()
803 connection_manager::get_apps_connecting_to(p_tcb->peer_bda); in gatt_send_conn_cback()
814 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, p_tcb->peer_bda, conn_id, true, in gatt_send_conn_cback()
820 connection_manager::on_connection_complete(p_tcb->peer_bda); in gatt_send_conn_cback()
825 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_NO_IDLE_TIMEOUT, in gatt_send_conn_cback()
899 void gatt_send_srv_chg_ind(const RawAddress& peer_bda) { in gatt_send_srv_chg_ind() argument
904 uint16_t conn_id = gatt_profile_find_conn_id_by_bd_addr(peer_bda); in gatt_send_srv_chg_ind()
906 LOG(ERROR) << "Unable to find conn_id for " << peer_bda; in gatt_send_srv_chg_ind()