Home
last modified time | relevance | path

Searched refs:rem_bda (Results 1 – 25 of 26) sorted by relevance

12

/system/bt/stack/include/
Dl2c_api.h999 extern bool L2CA_UcdDiscover(uint16_t psm, const RawAddress& rem_bda,
1019 extern uint16_t L2CA_UcdDataWrite(uint16_t psm, const RawAddress& rem_bda,
1034 extern bool L2CA_UcdSetIdleTimeout(const RawAddress& rem_bda, uint16_t timeout);
1045 extern bool L2CA_UCDSetTxPriority(const RawAddress& rem_bda,
1140 const RawAddress& rem_bda,
1156 extern bool L2CA_RemoveFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda);
1175 extern bool L2CA_SetFixedChannelTout(const RawAddress& rem_bda,
1222 extern bool L2CA_CancelBleConnectReq(const RawAddress& rem_bda);
1238 extern bool L2CA_UpdateBleConnParams(const RawAddress& rem_bda,
1255 extern bool L2CA_EnableUpdateBleConnParams(const RawAddress& rem_bda,
Dbnep_api.h84 typedef void(tBNEP_CONN_STATE_CB)(uint16_t handle, const RawAddress& rem_bda,
186 RawAddress rem_bda; member
Dpan_api.h286 extern tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role,
Dbtm_api_types.h763 RawAddress rem_bda; member
774 RawAddress rem_bda; member
785 RawAddress rem_bda; member
795 RawAddress rem_bda; member
805 RawAddress rem_bda; member
/system/bt/stack/bnep/
Dbnep_main.cc190 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_connect_cfm()
259 btm_sec_mx_access_request(p_bcb->rem_bda, BT_PSM_BNEP, true, in bnep_config_ind()
302 btm_sec_mx_access_request(p_bcb->rem_bda, BT_PSM_BNEP, true, in bnep_config_cfm()
310 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_config_cfm()
347 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_disconnect_ind()
353 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_disconnect_ind()
613 if (!p_src_addr) p_src_addr = &p_bcb->rem_bda; in bnep_data_ind()
671 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_conn_timer_timeout()
685 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_conn_timer_timeout()
699 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_conn_timer_timeout()
[all …]
Dbnep_api.cc163 btm_sec_mx_access_request(p_bcb->rem_bda, BT_PSM_BNEP, true, in BNEP_Connect()
167 bnep_sec_check_complete(p_bcb->rem_bda, p_bcb, BTM_SUCCESS); in BNEP_Connect()
175 cid = L2CA_ConnectReq(BT_PSM_BNEP, p_bcb->rem_bda); in BNEP_Connect()
182 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in BNEP_Connect()
688 p_status->rem_bda = p_bcb->rem_bda; in BNEP_GetStatus()
Dbnep_utils.cc92 if (p_bcb->rem_bda == p_bda) return (p_bcb); in bnepu_find_bcb_by_bd_addr()
120 p_bcb->rem_bda = p_rem_bda; in bnepu_allocate_bcb()
443 if (*p_dest_addr != p_bcb->rem_bda) in bnepu_build_bnep_hdr()
612 bnep_sec_check_complete(p_bcb->rem_bda, p_bcb, BTM_SUCCESS); in bnep_process_setup_conn_req()
615 btm_sec_mx_access_request(p_bcb->rem_bda, BT_PSM_BNEP, false, in bnep_process_setup_conn_req()
690 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, true); in bnep_process_setup_conn_responce()
700 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, false); in bnep_process_setup_conn_responce()
1186 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_sec_check_complete()
1199 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, in bnep_sec_check_complete()
1237 (*bnep_cb.p_conn_ind_cb)(p_bcb->handle, p_bcb->rem_bda, p_bcb->dst_uuid, in bnep_sec_check_complete()
Dbnep_int.h128 RawAddress rem_bda; member
/system/bt/stack/l2cap/
Dl2c_ble.cc58 bool L2CA_CancelBleConnectReq(const RawAddress& rem_bda) { in L2CA_CancelBleConnectReq() argument
59 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq()
61 tACL_CONN* p_acl = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq()
65 L2CA_RemoveFixedChnl(L2CAP_ATT_CID, rem_bda); in L2CA_CancelBleConnectReq()
70 connection_manager::direct_connect_remove(CONN_MGR_ID_L2CAP, rem_bda); in L2CA_CancelBleConnectReq()
75 btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE) != NULL)) { in L2CA_CancelBleConnectReq()
93 bool L2CA_UpdateBleConnParams(const RawAddress& rem_bda, uint16_t min_int, in L2CA_UpdateBleConnParams() argument
98 tACL_CONN* p_acl_cb = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
101 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
105 LOG(WARNING) << __func__ << " - unknown BD_ADDR " << rem_bda; in L2CA_UpdateBleConnParams()
[all …]
Dl2c_api.cc1656 bool L2CA_ConnectFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda) { in L2CA_ConnectFixedChnl() argument
1658 return L2CA_ConnectFixedChnl(fixed_cid, rem_bda, phy); in L2CA_ConnectFixedChnl()
1661 bool L2CA_ConnectFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda, in L2CA_ConnectFixedChnl() argument
1666 VLOG(1) << __func__ << " BDA: " << rem_bda in L2CA_ConnectFixedChnl()
1690 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, transport); in L2CA_ConnectFixedChnl()
1702 VLOG(2) << __func__ << " BDA " << rem_bda in L2CA_ConnectFixedChnl()
1731 p_lcb = l2cu_allocate_lcb(rem_bda, false, transport); in L2CA_ConnectFixedChnl()
1773 uint16_t L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda, in L2CA_SendFixedChnlData() argument
1778 VLOG(2) << __func__ << " BDA: " << rem_bda in L2CA_SendFixedChnlData()
1804 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, transport); in L2CA_SendFixedChnlData()
[all …]
/system/bt/stack/pan/
Dpan_main.cc220 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in pan_conn_ind_cb()
283 UNUSED_ATTR const RawAddress& rem_bda, in pan_connect_state_cb() argument
300 (*pan_cb.pan_conn_state_cb)(pcb->handle, pcb->rem_bda, result, in pan_connect_state_cb()
317 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, true); in pan_connect_state_cb()
325 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in pan_connect_state_cb()
352 (*pan_cb.pan_conn_state_cb)(pcb->handle, pcb->rem_bda, PAN_SUCCESS, in pan_connect_state_cb()
358 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, true); in pan_connect_state_cb()
436 if (pan_cb.pcb[i].rem_bda == dst) { in pan_data_ind_cb()
Dpan_utils.cc189 pan_cb.pcb[i].rem_bda == p_bda) in pan_allocate_pcb()
196 pan_cb.pcb[i].rem_bda = p_bda; in pan_allocate_pcb()
240 if (pan_cb.pcb[i].rem_bda == p_bda) return &(pan_cb.pcb[i]); in pan_get_pcb_by_addr()
312 << ", BD:" << p_pcb->rem_bda; in pan_dump_status()
Dpan_api.cc269 tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role, in PAN_Connect() argument
296 tPAN_CONN* pcb = pan_get_pcb_by_addr(rem_bda); in PAN_Connect()
347 if (!pcb) pcb = pan_allocate_pcb(rem_bda, BNEP_INVALID_HANDLE); in PAN_Connect()
352 BTM_SetOutService(rem_bda, BTM_SEC_SERVICE_BNEP_PANU, mx_chan_id); in PAN_Connect()
354 VLOG(0) << __func__ << " for BD Addr: " << rem_bda; in PAN_Connect()
370 tBNEP_RESULT ret = BNEP_Connect(rem_bda, Uuid::From16Bit(src_uuid), in PAN_Connect()
412 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in PAN_Disconnect()
Dpan_int.h54 RawAddress rem_bda; member
104 extern void pan_connect_state_cb(uint16_t handle, const RawAddress& rem_bda,
/system/bt/bta/include/
Dbta_jv_api.h190 RawAddress rem_bda; /* The peer address */ member
198 RawAddress rem_bda; /* The peer address */ member
266 RawAddress rem_bda; /* The peer address */ member
273 RawAddress rem_bda; /* The peer address */ member
/system/bt/bta/jv/
Dbta_jv_act.cc865 evt_data.l2c_open.rem_bda = *GAP_ConnGetRemoteAddr(gap_handle); in bta_jv_l2cap_client_cback()
1016 evt_data.l2c_open.rem_bda = *GAP_ConnGetRemoteAddr(gap_handle); in bta_jv_l2cap_server_cback()
1256 RawAddress rem_bda = RawAddress::kEmpty; in bta_jv_port_mgmt_cl_cback() local
1266 PORT_CheckConnection(port_handle, &rem_bda, &lcid); in bta_jv_port_mgmt_cl_cback()
1271 evt_data.rfc_open.rem_bda = rem_bda; in bta_jv_port_mgmt_cl_cback()
1453 RawAddress rem_bda = RawAddress::kEmpty; in bta_jv_port_mgmt_sr_cback() local
1467 int status = PORT_CheckConnection(port_handle, &rem_bda, &lcid); in bta_jv_port_mgmt_sr_cback()
1476 evt_data.rfc_srv_open.rem_bda = rem_bda; in bta_jv_port_mgmt_sr_cback()
2082 memcpy(&open_evt.l2c_le_open.rem_bda, &t->remote_addr, in fcchan_conn_chng_cbk()
2083 sizeof(open_evt.l2c_le_open.rem_bda)); in fcchan_conn_chng_cbk()
/system/bt/btif/src/
Dbtif_a2dp_source.cc1313 result->rem_bda, bluetooth::common::kUnknownConnectionHandle, in btm_read_rssi_cb()
1317 result->rem_bda.ToString().c_str(), result->rssi); in btm_read_rssi_cb()
1335 result->rem_bda, bluetooth::common::kUnknownConnectionHandle, in btm_read_failed_contact_counter_cb()
1339 result->rem_bda.ToString().c_str(), result->failed_contact_counter); in btm_read_failed_contact_counter_cb()
1358 result->rem_bda.ToString().c_str(), result->automatic_flush_timeout); in btm_read_automatic_flush_timeout_cb()
1374 result->rem_bda, bluetooth::common::kUnknownConnectionHandle, in btm_read_tx_power_cb()
1378 result->rem_bda.ToString().c_str(), result->tx_power); in btm_read_tx_power_cb()
Dbtif_sock_l2cap.cc457 btsock_l2cap_alloc_l(sock->name, &p_open->rem_bda, false, 0); in on_srv_l2cap_psm_connect_l()
504 btsock_l2cap_alloc_l(sock->name, &p_open->rem_bda, false, 0); in on_srv_l2cap_le_connect_l()
547 sock->addr = p_open->rem_bda; in on_cl_l2cap_psm_connect_l()
578 sock->addr = p_open->rem_bda; in on_cl_l2cap_le_connect_l()
Dbtif_sock_rfc.cc525 srv_rs, &p_open->rem_bda, p_open->handle, p_open->new_listen_handle); in on_srv_rfc_connect()
558 slot->addr = p_open->rem_bda; in on_cli_rfc_connect()
Dbtif_gatt_client.cc216 p_result->rem_bda, p_result->rssi, p_result->status); in btm_read_rssi_cb()
/system/bt/stack/gatt/
Dgatt_main.cc197 bool gatt_connect(const RawAddress& rem_bda, tGATT_TCB* p_tcb, in gatt_connect() argument
204 p_tcb->att_lcid = L2CA_ConnectReq(BT_PSM_ATT, rem_bda); in gatt_connect()
215 return connection_manager::direct_connect_add(gatt_if, rem_bda); in gatt_connect()
Dgatt_int.h400 extern bool gatt_connect(const RawAddress& rem_bda, tGATT_TCB* p_tcb,
436 extern void gatt_sr_get_sec_info(const RawAddress& rem_bda,
Dgatt_utils.cc686 void gatt_sr_get_sec_info(const RawAddress& rem_bda, tBT_TRANSPORT transport, in gatt_sr_get_sec_info() argument
690 BTM_GetSecurityFlagsByTransport(rem_bda, &sec_flag, transport); in gatt_sr_get_sec_info()
695 *p_key_size = btm_ble_read_sec_key_size(rem_bda); in gatt_sr_get_sec_info()
/system/bt/stack/btm/
Dbtm_acl.cc2187 result.rem_bda = p_acl_cb->remote_addr; in btm_read_tx_power_complete()
2193 result.rem_bda = btm_cb.devcb.read_tx_pwr_addr; in btm_read_tx_power_complete()
2258 result.rem_bda = p_acl_cb->remote_addr; in btm_read_rssi_complete()
2325 result.rem_bda = p_acl_cb->remote_addr; in btm_read_failed_contact_counter_complete()
2392 result.rem_bda = p_acl_cb->remote_addr; in btm_read_automatic_flush_timeout_complete()
2456 result.rem_bda = p_acl_cb->remote_addr; in btm_read_link_quality_complete()
/system/bt/stack/smp/
Dsmp_utils.cc334 bool smp_send_msg_to_L2CAP(const RawAddress& rem_bda, BT_HDR* p_toL2CAP) { in smp_send_msg_to_L2CAP() argument
345 smp_log_metrics(rem_bda, true /* outgoing */, in smp_send_msg_to_L2CAP()
348 l2cap_ret = L2CA_SendFixedChnlData(fixed_cid, rem_bda, p_toL2CAP); in smp_send_msg_to_L2CAP()

12