Home
last modified time | relevance | path

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

12

/aosp12/system/bt/btif/include/
H A Dbtif_storage.h85 const RawAddress* remote_bd_addr, bt_property_t* property);
99 const RawAddress* remote_bd_addr, bt_property_t* property);
139 bt_status_t btif_storage_add_remote_device(const RawAddress* remote_bd_addr,
154 bt_status_t btif_storage_add_bonded_device(RawAddress* remote_bd_addr,
195 RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class,
223 bt_status_t btif_storage_remove_hid_info(const RawAddress& remote_bd_addr);
276 bool btif_storage_is_restricted_device(const RawAddress* remote_bd_addr);
280 bt_status_t btif_storage_add_ble_bonding_key(RawAddress* remote_bd_addr,
292 const RawAddress* remote_bd_addr);
323 bt_status_t btif_storage_set_hidd(const RawAddress& remote_bd_addr);
[all …]
/aosp12/system/bt/test/mock/
H A Dmock_btif_storage.cc57 bool btif_storage_is_restricted_device(const RawAddress* remote_bd_addr) { in btif_storage_is_restricted_device() argument
61 bt_status_t btif_storage_add_ble_bonding_key(RawAddress* remote_bd_addr, in btif_storage_add_ble_bonding_key() argument
73 bt_status_t btif_storage_add_bonded_device(RawAddress* remote_bd_addr, in btif_storage_add_bonded_device() argument
80 RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class, in btif_storage_add_hid_device_info() argument
87 bt_status_t btif_storage_add_remote_device(const RawAddress* remote_bd_addr, in btif_storage_add_remote_device() argument
115 const RawAddress* remote_bd_addr, bt_property_t* property) { in btif_storage_get_remote_device_property() argument
132 const RawAddress* remote_bd_addr) { in btif_storage_remove_ble_bonding_keys() argument
141 const RawAddress* remote_bd_addr) { in btif_storage_remove_bonded_device() argument
149 bt_status_t btif_storage_remove_hidd(RawAddress* remote_bd_addr) { in btif_storage_remove_hidd() argument
157 bt_status_t btif_storage_set_hidd(const RawAddress& remote_bd_addr) { in btif_storage_set_hidd() argument
[all …]
/aosp12/system/bt/service/hal/
H A Dbluetooth_interface.cc89 RawAddress* remote_bd_addr, in RemoteDevicePropertiesCallback() argument
96 << " - BD_ADDR: " << BtAddrString(remote_bd_addr) in RemoteDevicePropertiesCallback()
99 status, remote_bd_addr, num_properties, properties)); in RemoteDevicePropertiesCallback()
116 void PinRequestCallback(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, in PinRequestCallback() argument
120 VLOG(2) << __func__ << " - remote_bd_addr: " << remote_bd_addr in PinRequestCallback()
124 PinRequestCallback(remote_bd_addr, bd_name, cod, min_16_digit)); in PinRequestCallback()
132 VLOG(2) << __func__ << " - remote_bd_addr: " << remote_bd_addr in SSPRequestCallback()
146 BondStateChangedCallback(status, remote_bd_addr, state)); in BondStateChangedCallback()
153 CHECK(remote_bd_addr); in AclStateChangedCallback()
351 RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, in PinRequestCallback() argument
[all …]
H A 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,
/aosp12/system/bt/btif/src/
H A Dbtif_storage.cc176 const std::string& remote_bd_addr, int add,
188 if (remote_bd_addr) { in prop2cfg()
189 bdstr = remote_bd_addr->ToString(); in prop2cfg()
211 if (remote_bd_addr) { in prop2cfg()
275 if (remote_bd_addr && in prop2cfg()
286 if (remote_bd_addr) { in cfg2prop()
287 bdstr = remote_bd_addr->ToString(); in cfg2prop()
303 if (remote_bd_addr) in cfg2prop()
837 const RawAddress* remote_bd_addr) { in btif_storage_remove_bonded_device() argument
1136 const RawAddress* remote_bd_addr) { in btif_storage_remove_ble_bonding_keys() argument
[all …]
/aosp12/system/bt/test/headless/
H A Dheadless.cc87 void pin_request(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, in pin_request() argument
92 void ssp_request(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, in ssp_request() argument
99 void bond_state_changed(bt_status_t status, RawAddress* remote_bd_addr, in bond_state_changed() argument
105 void acl_state_changed(bt_status_t status, RawAddress* remote_bd_addr, in acl_state_changed() argument
112 .params.acl_state_changed.remote_bd_addr = remote_bd_addr, in acl_state_changed()
119 bt_status_text(status).c_str(), remote_bd_addr->ToString().c_str(), in acl_state_changed()
H A Dinterface.h13 RawAddress* remote_bd_addr; member
/aosp12/system/bt/btif/test/
H A Dbtif_stack_test.cc76 void pin_request(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, in pin_request() argument
81 void ssp_request(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, in ssp_request() argument
88 void bond_state_changed(bt_status_t status, RawAddress* remote_bd_addr, in bond_state_changed() argument
94 void acl_state_changed(bt_status_t status, RawAddress* remote_bd_addr, in acl_state_changed() argument
97 remote_bd_addr->ToString().c_str(), in acl_state_changed()
/aosp12/system/bt/stack/l2cap/
H A Dl2c_csm.cc207 btm_sec_l2cap_access_req(p_ccb->p_lcb->remote_bd_addr, in l2c_csm_closed()
215 btm_acl_notif_conn_collision(p_ccb->p_lcb->remote_bd_addr); in l2c_csm_closed()
235 p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, true, in l2c_csm_closed()
276 p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, false, in l2c_csm_closed()
372 btm_sec_l2cap_access_req(p_ccb->p_lcb->remote_bd_addr, in l2c_csm_orig_w4_sec_comp()
422 btm_sec_abort_access_req(p_ccb->p_lcb->remote_bd_addr); in l2c_csm_orig_w4_sec_comp()
453 btm_sec_abort_access_req(p_ccb->p_lcb->remote_bd_addr); in l2c_csm_term_w4_sec_comp()
544 btm_sec_abort_access_req(p_ccb->p_lcb->remote_bd_addr); in l2c_csm_term_w4_sec_comp()
917 p_lcb->remote_bd_addr, p_ccb->local_cid, false, p_le_cfg); in l2c_csm_config()
955 p_lcb->remote_bd_addr, p_ccb->local_cid, true, p_le_cfg); in l2c_csm_config()
[all …]
H A Dl2c_ble.cc297 if (!BTM_IsAclConnectionUp(p_lcb->remote_bd_addr, BT_TRANSPORT_LE)) { in l2cble_start_conn_update()
298 LOG(ERROR) << "No known connection ACL for " << p_lcb->remote_bd_addr; in l2cble_start_conn_update()
305 btm_find_or_alloc_dev(p_lcb->remote_bd_addr); in l2cble_start_conn_update()
330 p_lcb->remote_bd_addr)) in l2cble_start_conn_update()
351 p_lcb->remote_bd_addr)) in l2cble_start_conn_update()
1059 if (!acl_create_le_connection(p_lcb->remote_bd_addr)) { in l2cble_create_conn()
1283 BTM_SetBleDataLength(p_lcb->remote_bd_addr, tx_mtu); in l2cble_update_data_length()
H A Dl2c_link.cc378 btm_sco_acl_removed(&p_lcb->remote_bd_addr); in l2c_link_hci_disc_comp()
407 xx + L2CAP_FIRST_FIXED_CHNL, p_lcb->remote_bd_addr, false, in l2c_link_hci_disc_comp()
415 xx, p_lcb->remote_bd_addr.ToString().c_str(), p_lcb, in l2c_link_hci_disc_comp()
575 ci.bd_addr = p_lcb->remote_bd_addr; in l2c_info_resp_timer_timeout()
849 if (BTM_ReadPowerMode(p_lcb->remote_bd_addr, &mode)) { in l2c_link_check_power_mode()
1092 acl_send_data_packet_br_edr(p_lcb->remote_bd_addr, p_buf); in l2c_link_send_to_lower_br_edr()
1141 acl_send_data_packet_ble(p_lcb->remote_bd_addr, p_buf); in l2c_link_send_to_lower_ble()
H A Dl2c_utils.cc67 p_lcb->remote_bd_addr = p_bd_addr; in l2cu_allocate_lcb()
162 BTM_RemoveSco(p_lcb->remote_bd_addr); in l2cu_release_lcb()
219 p_buf->p_callback(p_lcb->remote_bd_addr, p_lcb->transport, in l2cu_release_lcb()
245 (p_lcb->remote_bd_addr == p_bd_addr)) { in l2cu_find_lcb_by_bd_addr()
2063 if (BTM_IsScoActiveByBdaddr(p_lcb_cur->remote_bd_addr)) { in l2cu_create_conn_br_edr()
2080 if (BTM_SwitchRoleToCentral(p_lcb_cur->remote_bd_addr) == in l2cu_create_conn_br_edr()
2127 acl_create_classic_connection(p_lcb->remote_bd_addr, in l2cu_create_conn_after_switch()
2360 packet_size = BTM_GetMaxPacketSize(p_ccb->p_lcb->remote_bd_addr); in l2cu_adjust_out_mps()
2551 channel_id, p_lcb->remote_bd_addr, true, 0, p_lcb->transport); in l2cu_process_fixed_chnl_resp()
2591 xx + L2CAP_FIRST_FIXED_CHNL, p_lcb->remote_bd_addr, false, in l2cu_process_fixed_disc_cback()
[all …]
H A Dl2c_main.cc145 l2cble_notify_le_connection(p_lcb->remote_bd_addr); in l2c_rcv_acl_data()
208 rcv_cid, p_lcb->remote_bd_addr, p_msg); in l2c_rcv_acl_data()
373 ci.bd_addr = p_lcb->remote_bd_addr; in process_l2cap_cmd()
840 ci.bd_addr = p_lcb->remote_bd_addr; in process_l2cap_cmd()
/aosp12/system/bt/gd/rust/topshim/btif/
H A Dbtif_shim.cc106 static void pin_request_cb(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, bool min… in pin_request_cb() argument
107 RustRawAddress addr = to_rust_address(remote_bd_addr); in pin_request_cb()
114 RawAddress* remote_bd_addr, in ssp_request_cb() argument
119 RustRawAddress addr = to_rust_address(remote_bd_addr); in ssp_request_cb()
125 static void bond_state_changed_cb(bt_status_t status, RawAddress* remote_bd_addr, bt_bond_state_t s… in bond_state_changed_cb() argument
126 RustRawAddress addr = to_rust_address(remote_bd_addr); in bond_state_changed_cb()
132 …bt_status_t status, RawAddress* remote_bd_addr, bt_acl_state_t state, bt_hci_error_code_t hci_reas… in acl_state_changed_cb() argument
133 RustRawAddress addr = to_rust_address(remote_bd_addr); in acl_state_changed_cb()
/aosp12/system/bt/tools/bdtool/
H A 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()
/aosp12/system/bt/stack/test/common/
H A Dmock_btm_api_layer.h32 virtual uint8_t acl_link_role(const RawAddress& remote_bd_addr,
43 MOCK_METHOD2(acl_link_role, uint8_t(const RawAddress& remote_bd_addr,
/aosp12/hardware/libhardware/include/hardware/
H A Dbluetooth.h342 typedef void (*pin_request_callback)(RawAddress *remote_bd_addr,
350 typedef void (*ssp_request_callback)(RawAddress *remote_bd_addr,
359 RawAddress *remote_bd_addr,
363 typedef void (*acl_state_changed_callback)(bt_status_t status, RawAddress *remote_bd_addr,
/aosp12/system/bt/include/hardware/
H A Dbluetooth.h419 typedef void (*pin_request_callback)(RawAddress* remote_bd_addr,
428 typedef void (*ssp_request_callback)(RawAddress* remote_bd_addr,
436 RawAddress* remote_bd_addr,
441 RawAddress* remote_bd_addr,
/aosp12/system/bt/test/suite/adapter/
H A Dbluetooth_test.cc137 RawAddress* remote_bd_addr, in RemoteDevicePropertiesCallback() argument
140 curr_remote_device_ = *remote_bd_addr; in RemoteDevicePropertiesCallback()
H A Dbluetooth_test.h85 RawAddress* remote_bd_addr,
/aosp12/system/bt/bta/dm/
H A Dbta_dm_act.cc107 static void bta_dm_discover_device(const RawAddress& remote_bd_addr);
1673 BTM_ReadDevInfo(remote_bd_addr, &dev_type, &addr_type); in bta_dm_discover_device()
1680 VLOG(1) << __func__ << " BDA: " << remote_bd_addr; in bta_dm_discover_device()
1682 bta_dm_search_cb.peer_bdaddr = remote_bd_addr; in bta_dm_discover_device()
1816 result.inq_res.bd_addr = p_inq->remote_bd_addr; in bta_dm_inq_results_cb()
1836 p_inq_info = BTM_InqDbRead(p_inq->remote_bd_addr); in bta_dm_inq_results_cb()
2700 if (BTM_IsAclConnectionUp(remote_bd_addr, BT_TRANSPORT_LE) || in bta_dm_remove_sec_dev_entry()
2708 BTM_SecClearSecurityFlags(remote_bd_addr); in bta_dm_remove_sec_dev_entry()
2719 RawAddress addr_copy = remote_bd_addr; in bta_dm_remove_sec_dev_entry()
3317 result.inq_res.bd_addr = p_inq->remote_bd_addr; in bta_dm_observe_results_cb()
[all …]
/aosp12/system/bt/stack/include/
H A Dacl_api.h99 tBTM_STATUS BTM_GetRole(const RawAddress& remote_bd_addr, tHCI_ROLE* p_role);
117 tBTM_STATUS BTM_SwitchRoleToCentral(const RawAddress& remote_bd_addr);
H A Dbtm_client_interface.h96 tBTM_STATUS (*BTM_GetRole)(const RawAddress& remote_bd_addr,
102 tBTM_STATUS (*BTM_SwitchRoleToCentral)(const RawAddress& remote_bd_addr);
/aosp12/system/bt/test/headless/sdp/
H A Dsdp.cc119 rec->p_first_attr->attr_id, rec->remote_bd_addr.ToString().c_str(), in sdp_query_uuid()
/aosp12/system/bt/test/headless/connect/
H A Dconnect.cc55 .remote_bd_addr = nullptr, in callback_interface()

12