Home
last modified time | relevance | path

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

12

/system/bt/main/shim/
Dl2c_api.h505 uint16_t L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda,
521 bool L2CA_RemoveFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda);
540 bool L2CA_SetFixedChannelTout(const RawAddress& rem_bda, uint16_t fixed_cid,
554 bool L2CA_CancelBleConnectReq(const RawAddress& rem_bda);
570 bool L2CA_UpdateBleConnParams(const RawAddress& rem_bda, uint16_t min_int,
587 bool L2CA_EnableUpdateBleConnParams(const RawAddress& rem_bda, bool enable);
Dl2c_api.cc366 const RawAddress& rem_bda) { in L2CA_ConnectFixedChnl() argument
373 auto remote = ToAddressWithType(rem_bda, Btm::GetAddressType(rem_bda)); in L2CA_ConnectFixedChnl()
378 common::Unretained(helper), rem_bda), in L2CA_ConnectFixedChnl()
384 const RawAddress& rem_bda, in L2CA_ConnectFixedChnl() argument
386 return bluetooth::shim::L2CA_ConnectFixedChnl(cid, rem_bda); in L2CA_ConnectFixedChnl()
399 const RawAddress& rem_bda, in L2CA_SendFixedChnlData() argument
406 auto remote = ToAddressWithType(rem_bda, Btm::GetAddressType(rem_bda)); in L2CA_SendFixedChnlData()
414 const RawAddress& rem_bda) { in L2CA_RemoveFixedChnl() argument
420 auto remote = ToAddressWithType(rem_bda, Btm::GetAddressType(rem_bda)); in L2CA_RemoveFixedChnl()
449 bool bluetooth::shim::L2CA_SetFixedChannelTout(const RawAddress& rem_bda, in L2CA_SetFixedChannelTout() argument
/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.h129 RawAddress rem_bda; member
/system/bt/stack/l2cap/
Dl2c_ble.cc59 bool L2CA_CancelBleConnectReq(const RawAddress& rem_bda) { in L2CA_CancelBleConnectReq() argument
60 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq()
62 tACL_CONN* p_acl = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_CancelBleConnectReq()
66 L2CA_RemoveFixedChnl(L2CAP_ATT_CID, rem_bda); in L2CA_CancelBleConnectReq()
71 connection_manager::direct_connect_remove(CONN_MGR_ID_L2CAP, rem_bda); in L2CA_CancelBleConnectReq()
76 btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE) != NULL)) { in L2CA_CancelBleConnectReq()
94 bool L2CA_UpdateBleConnParams(const RawAddress& rem_bda, uint16_t min_int, in L2CA_UpdateBleConnParams() argument
99 tACL_CONN* p_acl_cb = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
102 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams()
106 LOG(WARNING) << __func__ << " - unknown BD_ADDR " << rem_bda; in L2CA_UpdateBleConnParams()
[all …]
Dl2c_api.cc1402 bool L2CA_ConnectFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda) { in L2CA_ConnectFixedChnl() argument
1404 return bluetooth::shim::L2CA_ConnectFixedChnl(fixed_cid, rem_bda); in L2CA_ConnectFixedChnl()
1407 return L2CA_ConnectFixedChnl(fixed_cid, rem_bda, phy); in L2CA_ConnectFixedChnl()
1410 bool L2CA_ConnectFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda, in L2CA_ConnectFixedChnl() argument
1413 return bluetooth::shim::L2CA_ConnectFixedChnl(fixed_cid, rem_bda, in L2CA_ConnectFixedChnl()
1420 VLOG(1) << __func__ << " BDA: " << rem_bda in L2CA_ConnectFixedChnl()
1444 p_lcb = l2cu_find_lcb_by_bd_addr(rem_bda, transport); in L2CA_ConnectFixedChnl()
1456 VLOG(2) << __func__ << " BDA " << rem_bda in L2CA_ConnectFixedChnl()
1482 p_lcb = l2cu_allocate_lcb(rem_bda, false, transport); in L2CA_ConnectFixedChnl()
1522 uint16_t L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda, in L2CA_SendFixedChnlData() argument
[all …]
/system/bt/stack/include/
Dl2c_api.h829 const RawAddress& rem_bda,
845 extern bool L2CA_RemoveFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda);
864 extern bool L2CA_SetFixedChannelTout(const RawAddress& rem_bda,
880 extern bool L2CA_CancelBleConnectReq(const RawAddress& rem_bda);
896 extern bool L2CA_UpdateBleConnParams(const RawAddress& rem_bda,
913 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
Dbtm_api_types.h614 RawAddress rem_bda; member
625 RawAddress rem_bda; member
636 RawAddress rem_bda; member
646 RawAddress rem_bda; member
656 RawAddress rem_bda; member
Dpan_api.h286 extern tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role,
/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.cc867 evt_data.l2c_open.rem_bda = *GAP_ConnGetRemoteAddr(gap_handle); in bta_jv_l2cap_client_cback()
1018 evt_data.l2c_open.rem_bda = *GAP_ConnGetRemoteAddr(gap_handle); in bta_jv_l2cap_server_cback()
1258 RawAddress rem_bda = RawAddress::kEmpty; in bta_jv_port_mgmt_cl_cback() local
1268 PORT_CheckConnection(port_handle, &rem_bda, &lcid); in bta_jv_port_mgmt_cl_cback()
1273 evt_data.rfc_open.rem_bda = rem_bda; in bta_jv_port_mgmt_cl_cback()
1455 RawAddress rem_bda = RawAddress::kEmpty; in bta_jv_port_mgmt_sr_cback() local
1469 int status = PORT_CheckConnection(port_handle, &rem_bda, &lcid); in bta_jv_port_mgmt_sr_cback()
1478 evt_data.rfc_srv_open.rem_bda = rem_bda; in bta_jv_port_mgmt_sr_cback()
2078 memcpy(&open_evt.l2c_le_open.rem_bda, &t->remote_addr, in fcchan_conn_chng_cbk()
2079 sizeof(open_evt.l2c_le_open.rem_bda)); in fcchan_conn_chng_cbk()
/system/bt/btif/src/
Dbtif_a2dp_source.cc1334 result->rem_bda, bluetooth::common::kUnknownConnectionHandle, in btm_read_rssi_cb()
1338 result->rem_bda.ToString().c_str(), result->rssi); in btm_read_rssi_cb()
1355 result->rem_bda, bluetooth::common::kUnknownConnectionHandle, in btm_read_failed_contact_counter_cb()
1359 result->rem_bda.ToString().c_str(), result->failed_contact_counter); in btm_read_failed_contact_counter_cb()
1377 result->rem_bda.ToString().c_str(), result->automatic_flush_timeout); in btm_read_automatic_flush_timeout_cb()
1393 result->rem_bda, bluetooth::common::kUnknownConnectionHandle, in btm_read_tx_power_cb()
1397 result->rem_bda.ToString().c_str(), result->tx_power); in btm_read_tx_power_cb()
Dbtif_sock_l2cap.cc464 btsock_l2cap_alloc_l(sock->name, &p_open->rem_bda, false, 0); in on_srv_l2cap_psm_connect_l()
511 btsock_l2cap_alloc_l(sock->name, &p_open->rem_bda, false, 0); in on_srv_l2cap_le_connect_l()
554 sock->addr = p_open->rem_bda; in on_cl_l2cap_psm_connect_l()
585 sock->addr = p_open->rem_bda; in on_cl_l2cap_le_connect_l()
/system/bt/stack/gatt/
Dgatt_main.cc190 bool gatt_connect(const RawAddress& rem_bda, tGATT_TCB* p_tcb, in gatt_connect() argument
197 p_tcb->att_lcid = L2CA_ConnectReq(BT_PSM_ATT, rem_bda); in gatt_connect()
208 return connection_manager::direct_connect_add(gatt_if, rem_bda); in gatt_connect()
Dgatt_int.h413 extern bool gatt_connect(const RawAddress& rem_bda, tGATT_TCB* p_tcb,
453 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.cc2038 result.rem_bda = p_acl_cb->remote_addr; in btm_read_tx_power_complete()
2044 result.rem_bda = btm_cb.devcb.read_tx_pwr_addr; in btm_read_tx_power_complete()
2109 result.rem_bda = p_acl_cb->remote_addr; in btm_read_rssi_complete()
2176 result.rem_bda = p_acl_cb->remote_addr; in btm_read_failed_contact_counter_complete()
2243 result.rem_bda = p_acl_cb->remote_addr; in btm_read_automatic_flush_timeout_complete()
2307 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