/aosp12/system/bt/btif/include/ |
H A D | btif_storage.h | 85 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 D | mock_btif_storage.cc | 57 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 D | bluetooth_interface.cc | 89 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 D | bluetooth_interface.h | 57 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 D | btif_storage.cc | 176 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 D | headless.cc | 87 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 D | interface.h | 13 RawAddress* remote_bd_addr; member
|
/aosp12/system/bt/btif/test/ |
H A D | btif_stack_test.cc | 76 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 D | l2c_csm.cc | 207 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 D | l2c_ble.cc | 297 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 D | l2c_link.cc | 378 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 D | l2c_utils.cc | 67 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 D | l2c_main.cc | 145 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 D | btif_shim.cc | 106 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 D | adapter.c | 60 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 D | mock_btm_api_layer.h | 32 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 D | bluetooth.h | 342 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 D | bluetooth.h | 419 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 D | bluetooth_test.cc | 137 RawAddress* remote_bd_addr, in RemoteDevicePropertiesCallback() argument 140 curr_remote_device_ = *remote_bd_addr; in RemoteDevicePropertiesCallback()
|
H A D | bluetooth_test.h | 85 RawAddress* remote_bd_addr,
|
/aosp12/system/bt/bta/dm/ |
H A D | bta_dm_act.cc | 107 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 D | acl_api.h | 99 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 D | btm_client_interface.h | 96 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 D | sdp.cc | 119 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 D | connect.cc | 55 .remote_bd_addr = nullptr, in callback_interface()
|