Home
last modified time | relevance | path

Searched refs:remote_bd_addr (Results 1 – 24 of 24) sorted by relevance

/system/bt/btif/include/
Dbtif_storage.h84 const RawAddress* remote_bd_addr, bt_property_t* property);
98 const RawAddress* remote_bd_addr, bt_property_t* property);
138 bt_status_t btif_storage_add_remote_device(const RawAddress* remote_bd_addr,
153 bt_status_t btif_storage_add_bonded_device(RawAddress* remote_bd_addr,
167 bt_status_t btif_storage_remove_bonded_device(const RawAddress* remote_bd_addr);
194 RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class,
222 bt_status_t btif_storage_remove_hid_info(RawAddress* remote_bd_addr);
250 bool btif_storage_is_restricted_device(const RawAddress* remote_bd_addr);
254 bt_status_t btif_storage_add_ble_bonding_key(RawAddress* remote_bd_addr,
258 bt_status_t btif_storage_get_ble_bonding_key(RawAddress* remote_bd_addr,
[all …]
/system/bt/service/hal/
Dbluetooth_interface.cc88 RawAddress* remote_bd_addr, in RemoteDevicePropertiesCallback() argument
95 << " - BD_ADDR: " << BtAddrString(remote_bd_addr) in RemoteDevicePropertiesCallback()
98 status, remote_bd_addr, num_properties, properties)); in RemoteDevicePropertiesCallback()
115 void PinRequestCallback(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, in PinRequestCallback() argument
119 VLOG(2) << __func__ << " - remote_bd_addr: " << remote_bd_addr in PinRequestCallback()
123 PinRequestCallback(remote_bd_addr, bd_name, cod, min_16_digit)); in PinRequestCallback()
126 void SSPRequestCallback(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, in SSPRequestCallback() argument
131 VLOG(2) << __func__ << " - remote_bd_addr: " << remote_bd_addr in SSPRequestCallback()
134 FOR_EACH_BLUETOOTH_OBSERVER(SSPRequestCallback(remote_bd_addr, bd_name, cod, in SSPRequestCallback()
138 void BondStateChangedCallback(bt_status_t status, RawAddress* remote_bd_addr, in BondStateChangedCallback() argument
[all …]
Dbluetooth_interface.h57 RawAddress* remote_bd_addr,
63 virtual void PinRequestCallback(RawAddress* remote_bd_addr,
66 virtual void SSPRequestCallback(RawAddress* remote_bd_addr,
71 RawAddress* remote_bd_addr,
/system/bt/btif/src/
Dbtif_storage.cc177 const std::string& remote_bd_addr, int add,
187 static int prop2cfg(const RawAddress* remote_bd_addr, bt_property_t* prop) { in prop2cfg() argument
189 if (remote_bd_addr) { in prop2cfg()
190 bdstr = remote_bd_addr->ToString(); in prop2cfg()
212 if (remote_bd_addr) { in prop2cfg()
277 if (remote_bd_addr && in prop2cfg()
286 static int cfg2prop(const RawAddress* remote_bd_addr, bt_property_t* prop) { in cfg2prop() argument
288 if (remote_bd_addr) { in cfg2prop()
289 bdstr = remote_bd_addr->ToString(); in cfg2prop()
307 if (remote_bd_addr) in cfg2prop()
[all …]
/system/bt/stack/l2cap/
Dl2c_csm.cc160 l2ble_sec_access_req(p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_closed()
164 btm_sec_l2cap_access_req(p_ccb->p_lcb->remote_bd_addr, in l2c_csm_closed()
173 !btm_acl_notif_conn_collision(p_ccb->p_lcb->remote_bd_addr)) { in l2c_csm_closed()
185 l2ble_sec_access_req(p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_closed()
193 BTM_SetPowerMode(BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, in l2c_csm_closed()
198 if (btm_sec_l2cap_access_req(p_ccb->p_lcb->remote_bd_addr, in l2c_csm_closed()
243 p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, false, in l2c_csm_closed()
262 BTM_SetPowerMode(BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, in l2c_csm_closed()
267 if (btm_sec_l2cap_access_req(p_ccb->p_lcb->remote_bd_addr, in l2c_csm_closed()
332 l2ble_sec_access_req(p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_orig_w4_sec_comp()
[all …]
Dl2c_link.cc393 btm_sco_acl_removed(&p_lcb->remote_bd_addr); in l2c_link_hci_disc_comp()
414 btm_acl_removed(p_lcb->remote_bd_addr, p_lcb->transport); in l2c_link_hci_disc_comp()
425 xx + L2CAP_FIRST_FIXED_CHNL, p_lcb->remote_bd_addr, false, in l2c_link_hci_disc_comp()
433 __func__, xx, p_lcb->remote_bd_addr.ToString().c_str(), p_lcb, in l2c_link_hci_disc_comp()
644 ci.bd_addr = p_lcb->remote_bd_addr; in l2c_info_resp_timer_timeout()
940 if (BTM_ReadPowerMode(p_lcb->remote_bd_addr, &mode) == BTM_SUCCESS) { in l2c_link_check_power_mode()
1231 (*p_lcb->p_nocp_cb)(p_lcb->remote_bd_addr); in l2c_link_process_num_completed_pkts()
Dl2c_utils.cc79 p_lcb->remote_bd_addr = p_bd_addr; in l2cu_allocate_lcb()
157 btm_remove_sco_links(p_lcb->remote_bd_addr); in l2cu_release_lcb()
186 btm_acl_removed(p_lcb->remote_bd_addr, p_lcb->transport); in l2cu_release_lcb()
226 p_buf->p_callback(p_lcb->remote_bd_addr, p_lcb->transport, in l2cu_release_lcb()
252 (p_lcb->remote_bd_addr == p_bd_addr)) { in l2cu_find_lcb_by_bd_addr()
1586 btm_sec_clr_temp_auth_service(p_lcb->remote_bd_addr); in l2cu_release_ccb()
2123 BTM_ReadDevInfo(p_lcb->remote_bd_addr, &dev_type, &addr_type); in l2cu_create_conn_le()
2153 is_sco_active = btm_is_sco_active_by_bdaddr(p_lcb_cur->remote_bd_addr); in l2cu_create_conn_br_edr()
2168 if (BTM_SwitchRole(p_lcb_cur->remote_bd_addr, HCI_ROLE_MASTER, NULL) == in l2cu_create_conn_br_edr()
2225 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_lcb->remote_bd_addr); in l2cu_create_conn_after_switch()
[all …]
Dl2c_ble.cc349 tACL_CONN* p_acl_cb = btm_bda_to_acl(p_lcb->remote_bd_addr, BT_TRANSPORT_LE); in l2cble_start_conn_update()
351 LOG(ERROR) << "No known connection ACL for " << p_lcb->remote_bd_addr; in l2cble_start_conn_update()
358 btm_find_or_alloc_dev(p_lcb->remote_bd_addr); in l2cble_start_conn_update()
764 p_lcb->remote_bd_addr); in l2cble_create_conn()
984 BTM_SetBleDataLength(p_lcb->remote_bd_addr, tx_mtu); in l2cble_update_data_length()
Dl2c_main.cc144 l2cble_notify_le_connection(p_lcb->remote_bd_addr); in l2c_rcv_acl_data()
210 rcv_cid, p_lcb->remote_bd_addr, p_msg); in l2c_rcv_acl_data()
360 ci.bd_addr = p_lcb->remote_bd_addr; in process_l2cap_cmd()
796 ci.bd_addr = p_lcb->remote_bd_addr; in process_l2cap_cmd()
Dl2c_api.cc1522 VLOG(1) << __func__ << " BDA: " << p_lcb->remote_bd_addr << " " in L2CA_SetFlushTimeout()
1587 bd_addr = p_lcb->remote_bd_addr; in L2CA_GetBDAddrbyHandle()
1726 fixed_cid, p_lcb->remote_bd_addr, true, 0, p_lcb->transport); in L2CA_ConnectFixedChnl()
Dl2c_int.h396 RawAddress remote_bd_addr; /* The BD address of the remote */ member
Dl2c_fcr.cc1537 p_ccb->p_lcb->remote_bd_addr, p_buf); in do_sar_reassembly()
/system/bt/tools/bdtool/
Dadapter.c60 void acl_state_changed(bt_status_t status, RawAddress* remote_bd_addr, in acl_state_changed() argument
152 void ssp_request(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, in ssp_request() argument
178 bdaddr_to_string(remote_bd_addr, buf, sizeof(buf)), bd_name->name); in ssp_request()
182 int rc = bt_interface->ssp_reply(remote_bd_addr, pairing_variant, in ssp_request()
/system/bt/include/hardware/
Dbluetooth.h347 typedef void (*pin_request_callback)(RawAddress* remote_bd_addr,
356 typedef void (*ssp_request_callback)(RawAddress* remote_bd_addr,
364 RawAddress* remote_bd_addr,
369 RawAddress* remote_bd_addr,
/system/bt/test/suite/adapter/
Dbluetooth_test.cc137 RawAddress* remote_bd_addr, in RemoteDevicePropertiesCallback() argument
140 curr_remote_device_ = *remote_bd_addr; in RemoteDevicePropertiesCallback()
Dbluetooth_test.h85 RawAddress* remote_bd_addr,
/system/bt/stack/btm/
Dbtm_acl.cc319 (bda && btm_cb.devcb.switch_role_ref_data.remote_bd_addr == *bda)) { in btm_acl_report_role_change()
504 tBTM_STATUS BTM_GetRole(const RawAddress& remote_bd_addr, uint8_t* p_role) { in BTM_GetRole() argument
507 p = btm_bda_to_acl(remote_bd_addr, BT_TRANSPORT_BR_EDR); in BTM_GetRole()
537 tBTM_STATUS BTM_SwitchRole(const RawAddress& remote_bd_addr, uint8_t new_role, in BTM_SwitchRole() argument
547 __func__, remote_bd_addr.ToString().c_str(), new_role, p_cb, in BTM_SwitchRole()
556 << btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in BTM_SwitchRole()
560 p = btm_bda_to_acl(remote_bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SwitchRole()
566 if (interop_match_addr(INTEROP_DISABLE_ROLE_SWITCH, &remote_bd_addr)) in BTM_SwitchRole()
570 is_sco_active = btm_is_sco_active_by_bdaddr(remote_bd_addr); in BTM_SwitchRole()
580 if (interop_match_addr(INTEROP_DYNAMIC_ROLE_SWITCH, &remote_bd_addr)) { in BTM_SwitchRole()
[all …]
Dbtm_inq.cc1226 if (p_bda == NULL || (p_ent->inq_info.results.remote_bd_addr == *p_bda)) { in btm_clr_inq_db()
1304 if (p_ent->in_use && p_ent->inq_info.results.remote_bd_addr == p_bda) in btm_inq_db_find()
1332 p_ent->inq_info.results.remote_bd_addr = p_bda; in btm_inq_db_new()
1347 p_old->inq_info.results.remote_bd_addr = p_bda; in btm_inq_db_new()
/system/bt/bta/dm/
Dbta_dm_act.cc108 static void bta_dm_discover_device(const RawAddress& remote_bd_addr);
152 static void bta_dm_reset_sec_dev_pending(const RawAddress& remote_bd_addr);
153 static void bta_dm_remove_sec_dev_entry(const RawAddress& remote_bd_addr);
1273 bta_dm_search_cb.p_btm_inq_info->results.remote_bd_addr); in bta_dm_inq_cmpl()
1896 bta_dm_search_cb.p_btm_inq_info->results.remote_bd_addr); in bta_dm_discover_next_device()
1919 static void bta_dm_discover_device(const RawAddress& remote_bd_addr) { in bta_dm_discover_device() argument
1925 BTM_ReadDevInfo(remote_bd_addr, &dev_type, &addr_type); in bta_dm_discover_device()
1935 VLOG(1) << __func__ << " BDA: " << remote_bd_addr; in bta_dm_discover_device()
1937 bta_dm_search_cb.peer_bdaddr = remote_bd_addr; in bta_dm_discover_device()
2073 result.inq_res.bd_addr = p_inq->remote_bd_addr; in bta_dm_inq_results_cb()
[all …]
/system/bt/stack/include/
Dbtm_api.h793 extern tBTM_STATUS BTM_GetRole(const RawAddress& remote_bd_addr,
814 extern tBTM_STATUS BTM_SwitchRole(const RawAddress& remote_bd_addr,
Dsdp_api.h112 RawAddress remote_bd_addr; /* Remote BD address */ member
Dbtm_api_types.h624 RawAddress remote_bd_addr; member
744 RawAddress remote_bd_addr; /* Remote BD addr involved with the switch */ member
/system/bt/stack/a2dp/
Da2dp_api.cc84 peer_address = p_rec->remote_bd_addr; in a2dp_sdp_cback()
/system/bt/stack/sdp/
Dsdp_discovery.cc771 p_rec->remote_bd_addr = p_bda; in add_record()