Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_hf_client.cc86 RawAddress peer_bda; // Device corresponding to handle member
176 HAL_CBACK(bt_hf_client_callbacks, audio_state_cb, &cb->peer_bda, in btif_in_hf_client_generic_evt()
236 btif_hf_client_cb_arr.cb[i].peer_bda == bd_addr) { in btif_hf_client_get_cb_by_bda()
307 cb->peer_bda = *bd_addr; in connect_int()
311 cb->peer_bda = *bd_addr; in connect_int()
317 BTA_HfClientOpen(cb->peer_bda, BTIF_HF_CLIENT_SECURITY, &cb->handle); in connect_int()
779 HAL_CBACK(bt_hf_client_callbacks, call_cb, &cb->peer_bda, in process_ind_evt()
784 HAL_CBACK(bt_hf_client_callbacks, callsetup_cb, &cb->peer_bda, in process_ind_evt()
788 HAL_CBACK(bt_hf_client_callbacks, callheld_cb, &cb->peer_bda, in process_ind_evt()
793 HAL_CBACK(bt_hf_client_callbacks, network_state_cb, &cb->peer_bda, in process_ind_evt()
[all …]
Dbtif_a2dp_source.cc1000 RawAddress peer_bda = btif_av_source_active_peer(); in btif_a2dp_source_enqueue_callback() local
1001 tBTM_STATUS status = BTM_ReadRSSI(peer_bda, btm_read_rssi_cb); in btif_a2dp_source_enqueue_callback()
1005 status = BTM_ReadFailedContactCounter(peer_bda, in btif_a2dp_source_enqueue_callback()
1011 status = BTM_ReadAutomaticFlushTimeout(peer_bda, in btif_a2dp_source_enqueue_callback()
1018 BTM_ReadTxPower(peer_bda, BT_TRANSPORT_BR_EDR, btm_read_tx_power_cb); in btif_a2dp_source_enqueue_callback()
/system/bt/stack/gatt/
Dgatt_main.cc245 ret = L2CA_RemoveFixedChnl(L2CAP_ATT_CID, p_tcb->peer_bda); in gatt_disconnect()
247 L2CA_CancelBleConnectReq(p_tcb->peer_bda); in gatt_disconnect()
248 gatt_cleanup_upon_disc(p_tcb->peer_bda, HCI_ERR_CONN_CAUSE_LOCAL_HOST, p_tcb->transport); in gatt_disconnect()
324 (BTM_GetHCIConnHandle(p_tcb->peer_bda, p_tcb->transport) != in gatt_update_app_use_link_flag()
331 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_NO_IDLE_TIMEOUT, in gatt_update_app_use_link_flag()
342 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_IDLE_TIMEOUT_WHEN_NO_APP, in gatt_update_app_use_link_flag()
643 gatt_cleanup_upon_disc(p_tcb->peer_bda, result, GATT_TRANSPORT_BR_EDR); in gatt_l2cif_connect_cfm_cback()
681 gatt_is_bda_in_the_srv_chg_clt_list(p_tcb->peer_bda); in gatt_l2cif_config_cfm_cback()
685 if (btm_sec_is_a_bonded_dev(p_tcb->peer_bda)) in gatt_l2cif_config_cfm_cback()
686 gatt_add_a_bonded_dev_for_srv_chg(p_tcb->peer_bda); in gatt_l2cif_config_cfm_cback()
[all …]
Dgatt_auth.cc71 p_clcb->p_tcb->peer_bda, p_data, in gatt_sign_data()
111 if (!BTM_BleVerifySignature(tcb.peer_bda, p_orig, cmd_len, counter, p)) { in gatt_verify_signature()
284 BTM_GetSecurityFlagsByTransport(p_tcb->peer_bda, &sec_flag, in gatt_determine_sec_act()
287 btm_ble_link_sec_check(p_tcb->peer_bda, auth_req, &sec_act); in gatt_determine_sec_act()
325 btm_ble_get_enc_key_type(p_tcb->peer_bda, &key_type); in gatt_determine_sec_act()
359 BTM_GetSecurityFlagsByTransport(tcb.peer_bda, &sec_flag, tcb.transport); in gatt_get_link_encrypt_status()
427 BTM_SetEncryption(p_tcb->peer_bda, p_tcb->transport, in gatt_security_check_start()
Dgatt_sr.cc364 gatt_sr_get_sec_info(tcb.peer_bda, tcb.transport, &sec_flag, &key_size); in gatt_process_read_multi_req()
755 l2cble_set_fixed_channel_tx_data_length(tcb.peer_bda, L2CAP_ATT_CID, in gatts_process_mtu_req()
828 gatt_sr_get_sec_info(tcb.peer_bda, tcb.transport, &sec_flag, &key_size); in gatts_process_read_by_type_req()
908 gatt_sr_get_sec_info(tcb.peer_bda, tcb.transport, &sec_flag, &key_size); in gatts_process_write_req()
978 gatt_sr_get_sec_info(tcb.peer_bda, tcb.transport, &sec_flag, &key_size); in gatts_process_read_req()
1087 p_buf = gatt_is_bda_in_the_srv_chg_clt_list(tcb.peer_bda); in gatts_proc_srv_chg_ind_ack()
Dgatt_utils.cc258 bda = gatt_cb.tcb[i].peer_bda; in gatt_find_the_connected_bda()
343 if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].peer_bda == bda) { in gatt_is_bda_connected()
365 if (gatt_cb.tcb[i].peer_bda == bda && in gatt_find_i_tcb_by_addr()
439 p_tcb->peer_bda = bda; in gatt_allocate_tcb_by_bdaddr()
977 if (gatt_cb.clcb[i].in_use && gatt_cb.clcb[i].p_tcb->peer_bda == bda) num++; in gatt_num_clcb_by_bd_addr()
Dgatt_db.cc303 if (BTM_GetSecurityFlags(tcb.peer_bda, &flag)) { in gatts_db_read_attr_value_by_type()
308 tACL_CONN* p = btm_bda_to_acl(tcb.peer_bda, BT_TRANSPORT_LE); in gatts_db_read_attr_value_by_type()
310 btm_ble_set_encryption(tcb.peer_bda, BTM_BLE_SEC_ENCRYPT, in gatts_db_read_attr_value_by_type()
Dgatt_int.h269 RawAddress peer_bda; member
414 extern void gatt_send_srv_chg_ind(const RawAddress& peer_bda);
Datt_protocol.cc329 l2cap_ret = L2CA_SendFixedChnlData(L2CAP_ATT_CID, tcb.peer_bda, p_toL2CAP); in attp_send_msg_to_l2cap()
Dgatt_api.cc916 L2CA_SetIdleTimeoutByBdAddr(p_tcb->peer_bda, in GATT_SetIdleTimeout()
1255 bd_addr = p_tcb->peer_bda; in GATT_GetConnectionInfor()
Dgatt_cl.cc1016 l2cble_set_fixed_channel_tx_data_length(tcb.peer_bda, L2CAP_ATT_CID, in gatt_process_mtu_rsp()
/system/bt/stack/gap/
Dgap_ble.cc356 bool accept_client_operation(const RawAddress& peer_bda, uint16_t uuid, in accept_client_operation() argument
360 tGAP_CLCB* p_clcb = find_clcb_by_bd_addr(peer_bda); in accept_client_operation()
362 p_clcb = clcb_alloc(peer_bda); in accept_client_operation()
365 DVLOG(1) << __func__ << ": BDA: " << peer_bda in accept_client_operation()
368 if (GATT_GetConnIdIfConnected(gatt_if, peer_bda, &p_clcb->conn_id, in accept_client_operation()
518 bool GAP_BleReadPeerPrefConnParams(const RawAddress& peer_bda) { in GAP_BleReadPeerPrefConnParams() argument
519 return accept_client_operation(peer_bda, GATT_UUID_GAP_PREF_CONN_PARAM, NULL); in GAP_BleReadPeerPrefConnParams()
532 bool GAP_BleReadPeerDevName(const RawAddress& peer_bda, in GAP_BleReadPeerDevName() argument
534 return accept_client_operation(peer_bda, GATT_UUID_GAP_DEVICE_NAME, p_cback); in GAP_BleReadPeerDevName()
546 bool GAP_BleReadPeerAddressResolutionCap(const RawAddress& peer_bda, in GAP_BleReadPeerAddressResolutionCap() argument
[all …]
/system/bt/stack/include/
Dgap_api.h361 extern bool GAP_BleReadPeerPrefConnParams(const RawAddress& peer_bda);
373 extern bool GAP_BleReadPeerDevName(const RawAddress& peer_bda,
385 extern bool GAP_BleReadPeerAddressResolutionCap(const RawAddress& peer_bda,
397 extern bool GAP_BleCancelReadPeerDevName(const RawAddress& peer_bda);
Dsrvc_api.h165 extern bool DIS_ReadDISInfo(const RawAddress& peer_bda,
/system/bt/stack/srvc/
Dsrvc_dis.cc429 bool DIS_ReadDISInfo(const RawAddress& peer_bda, tDIS_READ_CBACK* p_cback, in DIS_ReadDISInfo() argument
447 VLOG(1) << __func__ << " BDA: " << peer_bda in DIS_ReadDISInfo()
451 GATT_GetConnIdIfConnected(srvc_eng_cb.gatt_if, peer_bda, &conn_id, in DIS_ReadDISInfo()
455 srvc_eng_request_channel(peer_bda, SRVC_ID_DIS); in DIS_ReadDISInfo()
458 return GATT_Connect(srvc_eng_cb.gatt_if, peer_bda, true, BT_TRANSPORT_LE, in DIS_ReadDISInfo()