Home
last modified time | relevance | path

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

12

/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(const RawAddress& remote_bd_addr);
257 bool btif_storage_is_restricted_device(const RawAddress* remote_bd_addr);
261 bt_status_t btif_storage_add_ble_bonding_key(RawAddress* remote_bd_addr,
265 bt_status_t btif_storage_get_ble_bonding_key(const 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.cc175 const std::string& remote_bd_addr, int add,
185 static int prop2cfg(const RawAddress* remote_bd_addr, bt_property_t* prop) { in prop2cfg() argument
187 if (remote_bd_addr) { in prop2cfg()
188 bdstr = remote_bd_addr->ToString(); in prop2cfg()
210 if (remote_bd_addr) { in prop2cfg()
274 if (remote_bd_addr && in prop2cfg()
283 static int cfg2prop(const RawAddress* remote_bd_addr, bt_property_t* prop) { in cfg2prop() argument
285 if (remote_bd_addr) { in cfg2prop()
286 bdstr = remote_bd_addr->ToString(); in cfg2prop()
304 if (remote_bd_addr) in cfg2prop()
[all …]
/system/bt/test/headless/
Dheadless.cc60 void pin_request(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, in pin_request() argument
65 void ssp_request(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, in ssp_request() argument
72 void bond_state_changed(bt_status_t status, RawAddress* remote_bd_addr, in bond_state_changed() argument
78 void acl_state_changed(bt_status_t status, RawAddress* remote_bd_addr, in acl_state_changed() argument
/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.cc399 btm_sco_acl_removed(&p_lcb->remote_bd_addr); in l2c_link_hci_disc_comp()
420 btm_acl_removed(p_lcb->remote_bd_addr, p_lcb->transport); in l2c_link_hci_disc_comp()
431 xx + L2CAP_FIRST_FIXED_CHNL, p_lcb->remote_bd_addr, false, in l2c_link_hci_disc_comp()
439 __func__, xx, p_lcb->remote_bd_addr.ToString().c_str(), p_lcb, in l2c_link_hci_disc_comp()
650 ci.bd_addr = p_lcb->remote_bd_addr; in l2c_info_resp_timer_timeout()
950 if (BTM_ReadPowerMode(p_lcb->remote_bd_addr, &mode) == BTM_SUCCESS) { in l2c_link_check_power_mode()
1252 (*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()
1588 btm_sec_clr_temp_auth_service(p_lcb->remote_bd_addr); in l2cu_release_ccb()
2122 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()
2224 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_lcb->remote_bd_addr); in l2cu_create_conn_after_switch()
[all …]
Dl2c_ble.cc352 tACL_CONN* p_acl_cb = btm_bda_to_acl(p_lcb->remote_bd_addr, BT_TRANSPORT_LE); in l2cble_start_conn_update()
354 LOG(ERROR) << "No known connection ACL for " << p_lcb->remote_bd_addr; in l2cble_start_conn_update()
361 btm_find_or_alloc_dev(p_lcb->remote_bd_addr); in l2cble_start_conn_update()
767 p_lcb->remote_bd_addr); in l2cble_create_conn()
987 BTM_SetBleDataLength(p_lcb->remote_bd_addr, tx_mtu); in l2cble_update_data_length()
Dl2c_main.cc148 l2cble_notify_le_connection(p_lcb->remote_bd_addr); in l2c_rcv_acl_data()
211 rcv_cid, p_lcb->remote_bd_addr, p_msg); in l2c_rcv_acl_data()
361 ci.bd_addr = p_lcb->remote_bd_addr; in process_l2cap_cmd()
797 ci.bd_addr = p_lcb->remote_bd_addr; in process_l2cap_cmd()
Dl2c_api.cc1308 VLOG(1) << __func__ << " BDA: " << p_lcb->remote_bd_addr << " " in L2CA_SetFlushTimeout()
1477 fixed_cid, p_lcb->remote_bd_addr, true, 0, p_lcb->transport); in L2CA_ConnectFixedChnl()
Dl2c_int.h395 RawAddress remote_bd_addr; /* The BD address of the remote */ member
/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.h348 typedef void (*pin_request_callback)(RawAddress* remote_bd_addr,
357 typedef void (*ssp_request_callback)(RawAddress* remote_bd_addr,
365 RawAddress* remote_bd_addr,
370 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.cc321 (bda && btm_cb.devcb.switch_role_ref_data.remote_bd_addr == *bda)) { in btm_acl_report_role_change()
506 tBTM_STATUS BTM_GetRole(const RawAddress& remote_bd_addr, uint8_t* p_role) { in BTM_GetRole() argument
509 p = btm_bda_to_acl(remote_bd_addr, BT_TRANSPORT_BR_EDR); in BTM_GetRole()
539 tBTM_STATUS BTM_SwitchRole(const RawAddress& remote_bd_addr, uint8_t new_role, in BTM_SwitchRole() argument
549 remote_bd_addr.ToString().c_str(), new_role, p_cb, in BTM_SwitchRole()
558 << btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in BTM_SwitchRole()
562 p = btm_bda_to_acl(remote_bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SwitchRole()
568 if (interop_match_addr(INTEROP_DISABLE_ROLE_SWITCH, &remote_bd_addr)) in BTM_SwitchRole()
572 is_sco_active = btm_is_sco_active_by_bdaddr(remote_bd_addr); in BTM_SwitchRole()
582 if (interop_match_addr(INTEROP_DYNAMIC_ROLE_SWITCH, &remote_bd_addr)) { in BTM_SwitchRole()
[all …]
Dbtm_inq.cc1138 if (p_bda == NULL || (p_ent->inq_info.results.remote_bd_addr == *p_bda)) { in btm_clr_inq_db()
1216 if (p_ent->in_use && p_ent->inq_info.results.remote_bd_addr == p_bda) in btm_inq_db_find()
1244 p_ent->inq_info.results.remote_bd_addr = p_bda; in btm_inq_db_new()
1259 p_old->inq_info.results.remote_bd_addr = p_bda; in btm_inq_db_new()
/system/bt/test/headless/sdp/
Dsdp.cc118 rec->p_first_attr->attr_id, rec->remote_bd_addr.ToString().c_str(), in sdp_query_uuid()
/system/bt/bta/dm/
Dbta_dm_act.cc110 static void bta_dm_discover_device(const RawAddress& remote_bd_addr);
154 static void bta_dm_reset_sec_dev_pending(const RawAddress& remote_bd_addr);
155 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()
1898 bta_dm_search_cb.p_btm_inq_info->results.remote_bd_addr); in bta_dm_discover_next_device()
1921 static void bta_dm_discover_device(const RawAddress& remote_bd_addr) { in bta_dm_discover_device() argument
1927 BTM_ReadDevInfo(remote_bd_addr, &dev_type, &addr_type); in bta_dm_discover_device()
1937 VLOG(1) << __func__ << " BDA: " << remote_bd_addr; in bta_dm_discover_device()
1939 bta_dm_search_cb.peer_bdaddr = remote_bd_addr; in bta_dm_discover_device()
2078 result.inq_res.bd_addr = p_inq->remote_bd_addr; in bta_dm_inq_results_cb()
[all …]
/system/bt/stack/include/
Dbtm_api.h682 extern tBTM_STATUS BTM_GetRole(const RawAddress& remote_bd_addr,
703 extern tBTM_STATUS BTM_SwitchRole(const RawAddress& remote_bd_addr,
Dsdp_api.h109 RawAddress remote_bd_addr; /* Remote BD address */ member
Dbtm_api_types.h487 RawAddress remote_bd_addr; member
595 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/main/shim/
Dbtm_api.h1245 tBTM_STATUS BTM_GetRole(const RawAddress& remote_bd_addr, uint8_t* p_role);
1265 tBTM_STATUS BTM_SwitchRole(const RawAddress& remote_bd_addr, uint8_t new_role,

12