Home
last modified time | relevance | path

Searched refs:peer_bda (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Bluetooth/system/btif/src/
Dbtif_hf_client.cc79 RawAddress peer_bda; // Device corresponding to handle member
171 HAL_CBACK(bt_hf_client_callbacks, audio_state_cb, &cb->peer_bda, in btif_in_hf_client_generic_evt()
231 btif_hf_client_cb_arr.cb[i].peer_bda == bd_addr) { in btif_hf_client_get_cb_by_bda()
302 cb->peer_bda = *bd_addr; in connect_int()
306 cb->peer_bda = *bd_addr; in connect_int()
312 return BTA_HfClientOpen(cb->peer_bda, &cb->handle); in connect_int()
793 HAL_CBACK(bt_hf_client_callbacks, call_cb, &cb->peer_bda, in process_ind_evt()
798 HAL_CBACK(bt_hf_client_callbacks, callsetup_cb, &cb->peer_bda, in process_ind_evt()
802 HAL_CBACK(bt_hf_client_callbacks, callheld_cb, &cb->peer_bda, in process_ind_evt()
807 HAL_CBACK(bt_hf_client_callbacks, network_state_cb, &cb->peer_bda, in process_ind_evt()
[all …]
Dbtif_a2dp_source.cc1011 RawAddress peer_bda = btif_av_source_active_peer(); in btif_a2dp_source_enqueue_callback() local
1012 tBTM_STATUS status = BTM_ReadRSSI(peer_bda, btm_read_rssi_cb); in btif_a2dp_source_enqueue_callback()
1024 status = BTM_ReadFailedContactCounter(peer_bda, in btif_a2dp_source_enqueue_callback()
1032 BTM_ReadTxPower(peer_bda, BT_TRANSPORT_BR_EDR, btm_read_tx_power_cb); in btif_a2dp_source_enqueue_callback()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_main.cc193 EattExtension::GetInstance()->FreeGattResources(gatt_cb.tcb[i].peer_bda); in gatt_free()
268 log::debug("Device already in closing state peer:{}", p_tcb->peer_bda); in gatt_disconnect()
275 if (!L2CA_RemoveFixedChnl(L2CAP_ATT_CID, p_tcb->peer_bda)) { in gatt_disconnect()
277 p_tcb->peer_bda); in gatt_disconnect()
287 bluetooth::connection::ResolveRawAddress(p_tcb->peer_bda)); in gatt_disconnect()
290 p_tcb->peer_bda)) { in gatt_disconnect()
291 BTM_AcceptlistRemove(p_tcb->peer_bda); in gatt_disconnect()
295 static_cast<uint8_t>(CONN_MGR_ID_L2CAP), p_tcb->peer_bda); in gatt_disconnect()
299 gatt_cleanup_upon_disc(p_tcb->peer_bda, GATT_CONN_TERMINATE_LOCAL_HOST, in gatt_disconnect()
326 p_tcb->peer_bda); in gatt_update_app_hold_link_status()
[all …]
Dgatt_attr.cc649 btif_storage_set_gatt_sr_supp_feat(tcb.peer_bda, tcb.sr_supp_feat); in gatt_cl_op_cmpl_cback()
653 std::move(operation_callback_data.cb).Run(tcb.peer_bda, tcb.sr_supp_feat); in gatt_cl_op_cmpl_cback()
679 .Run(tcb.gatt_status, tcb.peer_bda, tcb.sirk_type, tcb.sirk); in gatt_cl_op_cmpl_cback()
820 tcb.sr_supp_feat = btif_storage_get_sr_supp_feat(tcb.peer_bda); in gatt_cl_init_sr_status()
823 bluetooth::eatt::EattExtension::AddFromStorage(tcb.peer_bda); in gatt_cl_init_sr_status()
888 const RawAddress& peer_bda, in gatt_cl_read_sr_supp_feat_req() argument
895 log::verbose("BDA: {} read gatt supported features", peer_bda); in gatt_cl_read_sr_supp_feat_req()
897 if (!GATT_GetConnIdIfConnected(gatt_cb.gatt_if, peer_bda, &conn_id, in gatt_cl_read_sr_supp_feat_req()
902 peer_bda, gatt_cb.gatt_if, bt_transport_text(BT_TRANSPORT_LE)); in gatt_cl_read_sr_supp_feat_req()
909 p_clcb = gatt_profile_clcb_alloc(conn_id, peer_bda, BT_TRANSPORT_LE); in gatt_cl_read_sr_supp_feat_req()
[all …]
Dgatt_auth.cc76 p_clcb->p_tcb->peer_bda, p_data, in gatt_sign_data()
116 if (!BTM_BleVerifySignature(tcb.peer_bda, p_orig, cmd_len, counter, p)) { in gatt_verify_signature()
284 btm_ble_link_sec_check(p_tcb->peer_bda, auth_req, &sec_act); in gatt_determine_sec_act()
291 BTM_IsLinkKeyKnown(p_tcb->peer_bda, p_clcb->p_tcb->transport); in gatt_determine_sec_act()
293 BTM_IsEncrypted(p_tcb->peer_bda, p_clcb->p_tcb->transport); in gatt_determine_sec_act()
294 is_key_mitm = BTM_IsLinkKeyAuthed(p_tcb->peer_bda, p_clcb->p_tcb->transport); in gatt_determine_sec_act()
320 btm_ble_get_enc_key_type(p_tcb->peer_bda, &key_type); in gatt_determine_sec_act()
353 bool encrypted = BTM_IsEncrypted(tcb.peer_bda, tcb.transport); in gatt_get_link_encrypt_status()
354 bool link_key_known = BTM_IsLinkKeyKnown(tcb.peer_bda, tcb.transport); in gatt_get_link_encrypt_status()
355 bool link_key_authed = BTM_IsLinkKeyAuthed(tcb.peer_bda, tcb.transport); in gatt_get_link_encrypt_status()
[all …]
Dgatt_utils.cc294 bda = gatt_cb.tcb[i].peer_bda; in gatt_find_the_connected_bda()
322 p_tcb->peer_bda, gatt_cb.handle_of_h_r)) in gatt_is_srv_chg_ind_pending()
381 if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].peer_bda == bda) { in gatt_is_bda_connected()
403 if (gatt_cb.tcb[i].peer_bda == bda && in gatt_find_i_tcb_by_addr()
468 << " address: " << ADDRESS_TO_LOGGABLE_STR(p_tcb->peer_bda) in gatt_tcb_dump()
507 p_tcb->peer_bda = bda; in gatt_allocate_tcb_by_bdaddr()
661 p_tcb->peer_bda, cid); in gatt_start_conf_timer()
679 EattExtension::GetInstance()->StopIndicationConfirmationTimer(tcb.peer_bda, in gatt_stop_conf_timer()
697 EattExtension::GetInstance()->StartAppIndicationTimer(tcb.peer_bda, cid); in gatt_start_ind_ack_timer()
715 EattExtension::GetInstance()->StopAppIndicationTimer(p_tcb->peer_bda, cid); in gatt_stop_ind_ack_timer()
[all …]
Dgatt_sr.cc68 EattExtension::GetInstance()->FindEattChannelByCid(tcb.peer_bda, cid); in gatt_sr_enqueue_cmd()
70 log::warn("{}, cid 0x{:02x} already disconnected", tcb.peer_bda, cid); in gatt_sr_enqueue_cmd()
113 EattExtension::GetInstance()->FindEattChannelByCid(tcb.peer_bda, cid); in gatt_sr_cmd_empty()
115 log::warn("{}, cid 0x{:02x} already disconnected", tcb.peer_bda, cid); in gatt_sr_cmd_empty()
138 EattExtension::GetInstance()->FindEattChannelByCid(tcb.peer_bda, cid); in gatt_dequeue_sr_cmd()
140 log::warn("{}, cid 0x{:02x} already disconnected", tcb.peer_bda, cid); in gatt_dequeue_sr_cmd()
444 log::error("Could not proceed request. {}, 0x{:02x}", tcb.peer_bda, cid); in gatt_process_read_multi_req()
449 gatt_sr_get_sec_info(tcb.peer_bda, tcb.transport, &sec_flag, &key_size); in gatt_process_read_multi_req()
501 tcb.peer_bda, cid); in gatt_process_read_multi_req()
857 tcb.peer_bda, tcb.payload_size); in gatts_process_mtu_req()
[all …]
Datt_protocol.cc381 l2cap_ret = L2CA_SendFixedChnlData(lcid, tcb.peer_bda, p_toL2CAP); in attp_send_msg_to_l2cap()
405 op_code, tcb.peer_bda); in attp_build_sr_msg()
492 log::error("{}, cid 0x{:02x} already disconnected", tcb.peer_bda, in attp_cl_send_cmd()
518 tcb.peer_bda, p_clcb->cid); in attp_cl_send_cmd()
583 op_code, tcb.peer_bda); in attp_send_cl_msg()
Dgatt_int.h296 RawAddress peer_bda; member
488 void gatt_send_srv_chg_ind(const RawAddress& peer_bda);
498 const RawAddress& peer_bda,
501 const RawAddress& peer_bda,
Dgatt_cl.cc1106 tcb.pending_user_mtu_exchange_value, tcb.peer_bda, mtu); in gatt_process_mtu_rsp()
1130 BTM_SetBleDataLength(tcb.peer_bda, tcb.max_user_mtu + L2CAP_PKT_OVERHEAD); in gatt_process_mtu_rsp()
1160 EattExtension::GetInstance()->IsOutstandingMsgInSendQueue(tcb.peer_bda)) { in gatt_cl_send_next_cmd_inq()
1166 tcb.peer_bda); in gatt_cl_send_next_cmd_inq()
Dgatt_api.cc1192 if (!L2CA_SetIdleTimeoutByBdAddr(p_tcb->peer_bda, in GATT_SetIdleTimeout()
1196 p_tcb->peer_bda, bt_transport_text(transport)); in GATT_SetIdleTimeout()
1634 bd_addr = p_tcb->peer_bda; in GATT_GetConnectionInfor()
/packages/modules/Bluetooth/system/stack/test/common/
Dmock_gatt_layer.cc29 bool gatt_profile_get_eatt_support(const RawAddress& peer_bda) { in gatt_profile_get_eatt_support() argument
30 return gatt_interface->GetEattSupport(peer_bda); in gatt_profile_get_eatt_support()
38 const RawAddress& peer_bda, in gatt_cl_read_sr_supp_feat_req() argument
40 return gatt_interface->ClientReadSupportedFeatures(peer_bda, std::move(cb)); in gatt_cl_read_sr_supp_feat_req()
Dmock_gatt_layer.h32 const RawAddress& peer_bda,
34 virtual bool GetEattSupport(const RawAddress& peer_bda) = 0;
42 bool(const RawAddress& peer_bda,
44 MOCK_METHOD1(GetEattSupport, bool(const RawAddress& peer_bda));
/packages/modules/Bluetooth/system/stack/gap/
Dgap_ble.cc373 bool accept_client_operation(const RawAddress& peer_bda, uint16_t uuid, in accept_client_operation() argument
377 tGAP_CLCB* p_clcb = find_clcb_by_bd_addr(peer_bda); in accept_client_operation()
379 p_clcb = clcb_alloc(peer_bda); in accept_client_operation()
382 if (GATT_GetConnIdIfConnected(gatt_if, peer_bda, &p_clcb->conn_id, in accept_client_operation()
530 bool GAP_BleReadPeerPrefConnParams(const RawAddress& peer_bda) { in GAP_BleReadPeerPrefConnParams() argument
531 return accept_client_operation(peer_bda, GATT_UUID_GAP_PREF_CONN_PARAM, NULL); in GAP_BleReadPeerPrefConnParams()
544 bool GAP_BleReadPeerDevName(const RawAddress& peer_bda, in GAP_BleReadPeerDevName() argument
546 return accept_client_operation(peer_bda, GATT_UUID_GAP_DEVICE_NAME, p_cback); in GAP_BleReadPeerDevName()
558 bool GAP_BleCancelReadPeerDevName(const RawAddress& peer_bda) { in GAP_BleCancelReadPeerDevName() argument
559 tGAP_CLCB* p_clcb = find_clcb_by_bd_addr(peer_bda); in GAP_BleCancelReadPeerDevName()
[all …]
/packages/modules/Bluetooth/system/stack/include/
Dgap_api.h267 bool GAP_BleReadPeerPrefConnParams(const RawAddress& peer_bda);
279 bool GAP_BleReadPeerDevName(const RawAddress& peer_bda,
291 bool GAP_BleCancelReadPeerDevName(const RawAddress& peer_bda);
Dsrvc_api.h167 bool DIS_ReadDISInfo(const RawAddress& peer_bda, tDIS_READ_CBACK* p_cback,
/packages/modules/Bluetooth/system/stack/srvc/
Dsrvc_dis.cc439 bool DIS_ReadDISInfo(const RawAddress& peer_bda, tDIS_READ_CBACK* p_cback, in DIS_ReadDISInfo() argument
457 log::verbose("BDA: {} cl_read_uuid: 0x{:04x}", peer_bda, in DIS_ReadDISInfo()
460 if (!GATT_GetConnIdIfConnected(srvc_eng_cb.gatt_if, peer_bda, &conn_id, in DIS_ReadDISInfo()
466 srvc_eng_request_channel(peer_bda, SRVC_ID_DIS); in DIS_ReadDISInfo()
469 return GATT_Connect(srvc_eng_cb.gatt_if, peer_bda, in DIS_ReadDISInfo()
/packages/modules/Bluetooth/system/stack/arbiter/
Dacl_arbiter.cc119 if (L2CA_SendFixedChnlData(L2CAP_ATT_CID, p_tcb->peer_bda, p_buf) != in SendPacketToPeer()
122 p_tcb->peer_bda, L2CAP_ATT_CID, p_buf->len); in SendPacketToPeer()
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client_test.cc40 const RawAddress& peer_bda, in gatt_cl_read_sirk_req() argument