Home
last modified time | relevance | path

Searched refs:bd_addr (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/packages/modules/Bluetooth/system/btif/src/
Dbtif_dm.cc160 RawAddress bd_addr; member
227 RawAddress bd_addr; member
268 static void btif_dm_save_ble_bonding_keys(RawAddress& bd_addr);
272 static void btif_dm_cb_create_bond(const RawAddress bd_addr, tBT_TRANSPORT transport);
273 static void btif_dm_cb_create_bond_le(const RawAddress bd_addr, tBLE_ADDR_TYPE addr_type);
284 static void btif_stats_add_bond_event(const RawAddress& bd_addr, bt_bond_function_t function,
287 static void btif_on_name_read(RawAddress bd_addr, tHCI_ERROR_CODE hci_status, const BD_NAME bd_name,
341 const RawAddress& bdaddr = inq_res.bd_addr; in get_asha_service_data()
463 static bool get_cached_remote_name(const RawAddress& bd_addr, bt_bdname_t* p_remote_name, in get_cached_remote_name() argument
471 if (btif_storage_get_remote_device_property(&bd_addr, &prop_name) == BT_STATUS_SUCCESS) { in get_cached_remote_name()
[all …]
Dbtif_hf.cc156 static int btif_hf_idx_by_bdaddr(RawAddress* bd_addr);
165 static bool is_active_device(const RawAddress& bd_addr) { in is_active_device() argument
166 return !active_bda.IsEmpty() && active_bda == bd_addr; in is_active_device()
201 static bool is_connected(RawAddress* bd_addr) { in is_connected() argument
205 (!bd_addr || *bd_addr == btif_hf_cb[i].connected_bda)) { in is_connected()
221 static int btif_hf_idx_by_bdaddr(RawAddress* bd_addr) { in btif_hf_idx_by_bdaddr() argument
223 if (*bd_addr == btif_hf_cb[i].connected_bda) { in btif_hf_idx_by_bdaddr()
311 static bool IsSlcConnected(RawAddress* bd_addr) { in IsSlcConnected() argument
312 if (!bd_addr) { in IsSlcConnected()
316 int idx = btif_hf_idx_by_bdaddr(bd_addr); in IsSlcConnected()
[all …]
/packages/modules/Bluetooth/system/stack/test/common/
Dmock_eatt.cc43 bool EattExtension::IsEattSupportedByPeer(const RawAddress& bd_addr) { in IsEattSupportedByPeer() argument
44 return pimpl_->IsEattSupportedByPeer(bd_addr); in IsEattSupportedByPeer()
47 void EattExtension::Connect(const RawAddress& bd_addr) { pimpl_->Connect(bd_addr); } in Connect() argument
49 void EattExtension::Disconnect(const RawAddress& bd_addr, uint16_t cid) { in Disconnect() argument
50 pimpl_->Disconnect(bd_addr, cid); in Disconnect()
53 void EattExtension::Reconfigure(const RawAddress& bd_addr, uint16_t cid, uint16_t mtu) { in Reconfigure() argument
54 pimpl_->Reconfigure(bd_addr, cid, mtu); in Reconfigure()
56 void EattExtension::ReconfigureAll(const RawAddress& bd_addr, uint16_t mtu) { in ReconfigureAll() argument
57 pimpl_->ReconfigureAll(bd_addr, mtu); in ReconfigureAll()
60 EattChannel* EattExtension::FindEattChannelByCid(const RawAddress& bd_addr, uint16_t cid) { in FindEattChannelByCid() argument
[all …]
Dmock_eatt.h37 MOCK_METHOD((void), Connect, (const RawAddress& bd_addr));
38 MOCK_METHOD((void), Disconnect, (const RawAddress& bd_addr, uint16_t cid));
39 MOCK_METHOD((void), Reconfigure, (const RawAddress& bd_addr, uint16_t cid, uint16_t mtu));
40 MOCK_METHOD((void), ReconfigureAll, (const RawAddress& bd_addr, uint16_t mtu));
42 MOCK_METHOD((bool), IsEattSupportedByPeer, (const RawAddress& bd_addr));
43 MOCK_METHOD((EattChannel*), FindEattChannelByCid, (const RawAddress& bd_addr, uint16_t cid));
45 (const RawAddress& bd_addr, uint32_t trans_id));
46 MOCK_METHOD((bool), IsIndicationPending, (const RawAddress& bd_addr, uint16_t indication_handle));
47 MOCK_METHOD((EattChannel*), GetChannelAvailableForIndication, (const RawAddress& bd_addr));
48 MOCK_METHOD((void), FreeGattResources, (const RawAddress& bd_addr));
[all …]
/packages/modules/Bluetooth/system/include/hardware/
Dbt_hf_client.h174 typedef void (*bthf_client_connection_state_callback)(const RawAddress* bd_addr,
182 typedef void (*bthf_client_audio_state_callback)(const RawAddress* bd_addr,
188 typedef void (*bthf_client_vr_cmd_callback)(const RawAddress* bd_addr,
193 typedef void (*bthf_client_network_state_callback)(const RawAddress* bd_addr,
198 typedef void (*bthf_client_network_roaming_callback)(const RawAddress* bd_addr,
203 typedef void (*bthf_client_network_signal_callback)(const RawAddress* bd_addr, int signal_strength);
207 typedef void (*bthf_client_battery_level_callback)(const RawAddress* bd_addr, int battery_level);
211 typedef void (*bthf_client_current_operator_callback)(const RawAddress* bd_addr, const char* name);
215 typedef void (*bthf_client_call_callback)(const RawAddress* bd_addr, bthf_client_call_t call);
219 typedef void (*bthf_client_callsetup_callback)(const RawAddress* bd_addr,
[all …]
Dbluetooth_headset_callbacks.h38 virtual void ConnectionStateCallback(bthf_connection_state_t state, RawAddress* bd_addr) = 0;
46 virtual void AudioStateCallback(bthf_audio_state_t state, RawAddress* bd_addr) = 0;
54 virtual void VoiceRecognitionCallback(bthf_vr_state_t state, RawAddress* bd_addr) = 0;
61 virtual void AnswerCallCallback(RawAddress* bd_addr) = 0;
68 virtual void HangupCallCallback(RawAddress* bd_addr) = 0;
77 virtual void VolumeControlCallback(bthf_volume_type_t type, int volume, RawAddress* bd_addr) = 0;
85 virtual void DialCallCallback(char* number, RawAddress* bd_addr) = 0;
93 virtual void DtmfCmdCallback(char tone, RawAddress* bd_addr) = 0;
101 virtual void NoiseReductionCallback(bthf_nrec_t nrec, RawAddress* bd_addr) = 0;
109 virtual void WbsCallback(bthf_wbs_config_t wbs, RawAddress* bd_addr) = 0;
[all …]
Dbt_rc.h247 typedef void (*btrc_passthrough_rsp_callback)(const RawAddress& bd_addr, int id, int key_state);
252 const RawAddress& bd_addr);
254 typedef void (*btrc_ctrl_getrcfeatures_callback)(const RawAddress& bd_addr, int features);
256 typedef void (*btrc_ctrl_setabsvol_cmd_callback)(const RawAddress& bd_addr, uint8_t abs_vol,
259 typedef void (*btrc_ctrl_registernotification_abs_vol_callback)(const RawAddress& bd_addr,
262 typedef void (*btrc_ctrl_setplayerapplicationsetting_rsp_callback)(const RawAddress& bd_addr,
265 typedef void (*btrc_ctrl_playerapplicationsetting_callback)(const RawAddress& bd_addr,
272 const RawAddress& bd_addr, const btrc_player_settings_t& vals);
274 typedef void (*btrc_ctrl_track_changed_callback)(const RawAddress& bd_addr, uint8_t num_attr,
277 typedef void (*btrc_ctrl_play_position_changed_callback)(const RawAddress& bd_addr,
[all …]
Dbluetooth_headset_interface.h51 virtual bt_status_t Connect(RawAddress* bd_addr) = 0;
59 virtual bt_status_t Disconnect(RawAddress* bd_addr) = 0;
68 virtual bt_status_t ConnectAudio(RawAddress* bd_addr, int disabled_codecs) = 0;
76 virtual bt_status_t DisconnectAudio(RawAddress* bd_addr) = 0;
85 virtual bt_status_t isNoiseReductionSupported(RawAddress* bd_addr) = 0;
94 virtual bt_status_t isVoiceRecognitionSupported(RawAddress* bd_addr) = 0;
103 virtual bt_status_t StartVoiceRecognition(RawAddress* bd_addr, bool sendResult) = 0;
111 virtual bt_status_t StopVoiceRecognition(RawAddress* bd_addr) = 0;
121 virtual bt_status_t VolumeControl(bthf_volume_type_t type, int volume, RawAddress* bd_addr) = 0;
135 int batt_chg, RawAddress* bd_addr) = 0;
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_dm_act.h57 std::function<void(const RawAddress bd_addr, tBT_TRANSPORT transport)> body{
59 void operator()(const RawAddress bd_addr, tBT_TRANSPORT transport) { body(bd_addr, transport); } in operator()
67 std::function<void(const RawAddress bd_addr, tBT_TRANSPORT transport, uint16_t acl_handle)> body{
70 void operator()(const RawAddress bd_addr, tBT_TRANSPORT transport, uint16_t acl_handle) { in operator()
71 body(bd_addr, transport, acl_handle); in operator()
80 std::function<void(const RawAddress bd_addr, tBT_TRANSPORT transport, tHCI_STATUS hci_status)>
83 void operator()(const RawAddress bd_addr, tBT_TRANSPORT transport, tHCI_STATUS hci_status) { in operator()
84 body(bd_addr, transport, hci_status); in operator()
93 std::function<void(const RawAddress bd_addr)> body{[](const RawAddress /* bd_addr */) {}};
94 void operator()(const RawAddress bd_addr) { body(bd_addr); } in operator()
[all …]
Dmock_stack_btm_ble.h60 void operator()(const RawAddress& bd_addr, tBTM_STATUS res) { body(bd_addr, res); } in operator()
69 std::function<bool(const RawAddress& bd_addr, uint8_t* p_text, uint16_t len,
73 bool operator()(const RawAddress& bd_addr, uint8_t* p_text, uint16_t len, in operator()
75 return body(bd_addr, p_text, len, signature); in operator()
94 std::function<void(const RawAddress& bd_addr, tBTM_STATUS res, uint8_t len, uint8_t* p_data)>
97 void operator()(const RawAddress& bd_addr, tBTM_STATUS res, uint8_t len, uint8_t* p_data) { in operator()
98 body(bd_addr, res, len, p_data); in operator()
107 std::function<void(const RawAddress& bd_addr, tBTM_STATUS res, uint32_t passkey)> body{
109 void operator()(const RawAddress& bd_addr, tBTM_STATUS res, uint32_t passkey) { in operator()
110 body(bd_addr, res, passkey); in operator()
[all …]
Dmock_bta_dm_api.h54 std::function<void(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, tBT_DEVICE_TYPE dev_type)>
57 void operator()(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, tBT_DEVICE_TYPE dev_type) { in operator()
58 body(bd_addr, addr_type, dev_type); in operator()
67 std::function<void(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE* p_le_key,
71 void operator()(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE* p_le_key, in operator()
73 body(bd_addr, p_le_key, key_type); in operator()
82 std::function<void(RawAddress bd_addr, DEV_CLASS dev_class, LinkKey link_key, uint8_t key_type,
86 void operator()(RawAddress bd_addr, DEV_CLASS dev_class, LinkKey link_key, uint8_t key_type, in operator()
88 body(bd_addr, dev_class, link_key, key_type, pin_length); in operator()
121 std::function<void(const RawAddress& bd_addr, bool accept)> body{
[all …]
Dmock_stack_btm_sec.h53 std::function<bool(const RawAddress& bd_addr)> body{
55 bool operator()(const RawAddress& bd_addr) { return body(bd_addr); } in operator()
63 std::function<void(tBTM_STATUS res, const RawAddress& bd_addr)> body{
65 void operator()(tBTM_STATUS res, const RawAddress& bd_addr) { body(res, bd_addr); } in operator()
74 std::function<bool(const RawAddress& bd_addr, tBT_TRANSPORT transport)> body{
78 bool operator()(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in operator()
79 return body(bd_addr, transport); in operator()
89 std::function<bool(const RawAddress& bd_addr, tBT_TRANSPORT transport)> body{
93 bool operator()(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in operator()
94 return body(bd_addr, transport); in operator()
[all …]
Dmock_bta_dm_act.cc91 void BTA_dm_acl_down(const RawAddress bd_addr, tBT_TRANSPORT transport) { in BTA_dm_acl_down() argument
93 test::mock::bta_dm_act::BTA_dm_acl_down(bd_addr, transport); in BTA_dm_acl_down()
95 void BTA_dm_acl_up(const RawAddress bd_addr, tBT_TRANSPORT transport, uint16_t acl_handle) { in BTA_dm_acl_up() argument
97 test::mock::bta_dm_act::BTA_dm_acl_up(bd_addr, transport, acl_handle); in BTA_dm_acl_up()
99 void BTA_dm_acl_up_failed(const RawAddress bd_addr, tBT_TRANSPORT transport, in BTA_dm_acl_up_failed() argument
102 test::mock::bta_dm_act::BTA_dm_acl_up_failed(bd_addr, transport, hci_status); in BTA_dm_acl_up_failed()
104 void BTA_dm_notify_remote_features_complete(const RawAddress bd_addr) { in BTA_dm_notify_remote_features_complete() argument
106 test::mock::bta_dm_act::BTA_dm_notify_remote_features_complete(bd_addr); in BTA_dm_notify_remote_features_complete()
116 void BTA_dm_report_role_change(const RawAddress bd_addr, tHCI_ROLE new_role, in BTA_dm_report_role_change() argument
119 test::mock::bta_dm_act::BTA_dm_report_role_change(bd_addr, new_role, hci_status); in BTA_dm_report_role_change()
[all …]
Dmock_stack_btm_ble.cc113 void BTM_BleConfirmReply(const RawAddress& bd_addr, tBTM_STATUS res) { in BTM_BleConfirmReply() argument
115 test::mock::stack_btm_ble::BTM_BleConfirmReply(bd_addr, res); in BTM_BleConfirmReply()
117 bool BTM_BleDataSignature(const RawAddress& bd_addr, uint8_t* p_text, uint16_t len, in BTM_BleDataSignature() argument
120 return test::mock::stack_btm_ble::BTM_BleDataSignature(bd_addr, p_text, len, signature); in BTM_BleDataSignature()
126 void BTM_BleOobDataReply(const RawAddress& bd_addr, tBTM_STATUS res, uint8_t len, uint8_t* p_data) { in BTM_BleOobDataReply() argument
128 test::mock::stack_btm_ble::BTM_BleOobDataReply(bd_addr, res, len, p_data); in BTM_BleOobDataReply()
130 void BTM_BlePasskeyReply(const RawAddress& bd_addr, tBTM_STATUS res, uint32_t passkey) { in BTM_BlePasskeyReply() argument
132 test::mock::stack_btm_ble::BTM_BlePasskeyReply(bd_addr, res, passkey); in BTM_BlePasskeyReply()
134 void BTM_BleReadPhy(const RawAddress& bd_addr, in BTM_BleReadPhy() argument
137 test::mock::stack_btm_ble::BTM_BleReadPhy(bd_addr, cb); in BTM_BleReadPhy()
[all …]
Dmock_stack_btm_sec.cc138 bool BTM_CanReadDiscoverableCharacteristics(const RawAddress& bd_addr) { in BTM_CanReadDiscoverableCharacteristics() argument
140 return test::mock::stack_btm_sec::BTM_CanReadDiscoverableCharacteristics(bd_addr); in BTM_CanReadDiscoverableCharacteristics()
142 void BTM_ConfirmReqReply(tBTM_STATUS res, const RawAddress& bd_addr) { in BTM_ConfirmReqReply() argument
144 test::mock::stack_btm_sec::BTM_ConfirmReqReply(res, bd_addr); in BTM_ConfirmReqReply()
146 bool BTM_IsAuthenticated(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsAuthenticated() argument
148 return test::mock::stack_btm_sec::BTM_IsAuthenticated(bd_addr, transport); in BTM_IsAuthenticated()
150 bool BTM_IsEncrypted(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsEncrypted() argument
152 return test::mock::stack_btm_sec::BTM_IsEncrypted(bd_addr, transport); in BTM_IsEncrypted()
154 bool BTM_IsLinkKeyAuthed(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsLinkKeyAuthed() argument
156 return test::mock::stack_btm_sec::BTM_IsLinkKeyAuthed(bd_addr, transport); in BTM_IsLinkKeyAuthed()
[all …]
Dmock_bta_dm_api.cc105 void BTA_DmAddBleDevice(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTA_DmAddBleDevice() argument
108 test::mock::bta_dm_api::BTA_DmAddBleDevice(bd_addr, addr_type, dev_type); in BTA_DmAddBleDevice()
110 void BTA_DmAddBleKey(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE* p_le_key, in BTA_DmAddBleKey() argument
113 test::mock::bta_dm_api::BTA_DmAddBleKey(bd_addr, p_le_key, key_type); in BTA_DmAddBleKey()
115 void BTA_DmAddDevice(RawAddress bd_addr, DEV_CLASS dev_class, LinkKey link_key, uint8_t key_type, in BTA_DmAddDevice() argument
118 test::mock::bta_dm_api::BTA_DmAddDevice(bd_addr, dev_class, link_key, key_type, pin_length); in BTA_DmAddDevice()
129 void BTA_DmBleConfirmReply(const RawAddress& bd_addr, bool accept) { in BTA_DmBleConfirmReply() argument
131 test::mock::bta_dm_api::BTA_DmBleConfirmReply(bd_addr, accept); in BTA_DmBleConfirmReply()
141 void BTA_DmBlePasskeyReply(const RawAddress& bd_addr, bool accept, uint32_t passkey) { in BTA_DmBlePasskeyReply() argument
143 test::mock::bta_dm_api::BTA_DmBlePasskeyReply(bd_addr, accept, passkey); in BTA_DmBlePasskeyReply()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_dev.cc83 void BTM_SecAddDevice(const RawAddress& bd_addr, DEV_CLASS dev_class, LinkKey link_key, in BTM_SecAddDevice() argument
85 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddDevice()
91 log::warn("device record allocation failed bd_addr:{}", bd_addr); in BTM_SecAddDevice()
98 bd_addr, dev_class[0], dev_class[1], dev_class[2], key_type); in BTM_SecAddDevice()
100 p_dev_rec->bd_addr = bd_addr; in BTM_SecAddDevice()
102 get_btm_client_interface().peer.BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddDevice()
108 if (btif_storage_get_stored_remote_name(bd_addr, in BTM_SecAddDevice()
116 bd_addr, dev_class[0], dev_class[1], dev_class[2], key_type); in BTM_SecAddDevice()
154 bool BTM_SecDeleteDevice(const RawAddress& bd_addr) { in BTM_SecDeleteDevice() argument
155 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecDeleteDevice()
[all …]
Dbtm_ble_sec.cc78 void BTM_SecAddBleDevice(const RawAddress& bd_addr, tBT_DEVICE_TYPE dev_type, in BTM_SecAddBleDevice() argument
82 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddBleDevice()
87 log::warn("device record allocation failed bd_addr:{}", bd_addr); in BTM_SecAddBleDevice()
91 p_dev_rec->bd_addr = bd_addr; in BTM_SecAddBleDevice()
93 get_btm_client_interface().peer.BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice()
95 get_btm_client_interface().peer.BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice()
104 std::format_ptr(p_dev_rec), bd_addr); in BTM_SecAddBleDevice()
106 if (btif_storage_get_stored_remote_name(bd_addr, in BTM_SecAddBleDevice()
113 btif_storage_get_cod(bd_addr, &cod)) { in BTM_SecAddBleDevice()
130 tBTM_INQ_INFO* p_info = BTM_InqDbRead(bd_addr); in BTM_SecAddBleDevice()
[all …]
Dbtm_sec.h58 bool BTM_IsEncrypted(const RawAddress& bd_addr, tBT_TRANSPORT transport);
59 bool BTM_IsLinkKeyAuthed(const RawAddress& bd_addr, tBT_TRANSPORT transport);
60 bool BTM_IsBonded(const RawAddress& bd_addr, tBT_TRANSPORT transport = BT_TRANSPORT_AUTO);
61 bool BTM_IsAuthenticated(const RawAddress& bd_addr, tBT_TRANSPORT transport);
62 bool BTM_CanReadDiscoverableCharacteristics(const RawAddress& bd_addr);
63 void BTM_update_version_info(const RawAddress& bd_addr,
154 void BTM_PINCodeReply(const RawAddress& bd_addr, tBTM_STATUS res, uint8_t pin_len, uint8_t* p_pin);
168 tBTM_STATUS btm_sec_bond_by_transport(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type,
184 tBTM_STATUS BTM_SecBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type,
198 tBTM_STATUS BTM_SecBondCancel(const RawAddress& bd_addr);
[all …]
/packages/modules/Bluetooth/system/stack/eatt/
Deatt.cc105 static void eatt_collision_ind(const RawAddress& bd_addr) { in eatt_collision_ind()
108 p_eatt_impl->eatt_l2cap_collision_ind(bd_addr); in eatt_collision_ind()
137 void EattExtension::AddFromStorage(const RawAddress& bd_addr) { in AddFromStorage() argument
140 p_eatt_impl->add_from_storage(bd_addr); in AddFromStorage()
146 bool EattExtension::IsEattSupportedByPeer(const RawAddress& bd_addr) { in IsEattSupportedByPeer() argument
147 return pimpl_->eatt_impl_->is_eatt_supported_by_peer(bd_addr); in IsEattSupportedByPeer()
150 void EattExtension::Connect(const RawAddress& bd_addr) { pimpl_->eatt_impl_->connect(bd_addr); } in Connect() argument
152 void EattExtension::Disconnect(const RawAddress& bd_addr, uint16_t cid) { in Disconnect() argument
153 pimpl_->eatt_impl_->disconnect(bd_addr, cid); in Disconnect()
156 void EattExtension::Reconfigure(const RawAddress& bd_addr, uint16_t cid, uint16_t mtu) { in Reconfigure() argument
[all …]
Deatt_impl.h59 eatt_device(const RawAddress& bd_addr, uint16_t mtu, uint16_t mps) in eatt_device() argument
61 bda_ = bd_addr; in eatt_device()
519 bool is_eatt_supported_by_peer(const RawAddress& bd_addr) { in is_eatt_supported_by_peer()
520 return gatt_profile_get_eatt_support(bd_addr); in is_eatt_supported_by_peer()
523 eatt_device* find_device_by_address(const RawAddress& bd_addr) { in find_device_by_address()
525 [&bd_addr](const eatt_device& ed) { return ed.bda_ == bd_addr; }); in find_device_by_address()
530 eatt_device* add_eatt_device(const RawAddress& bd_addr) { in add_eatt_device()
531 devices_.push_back(eatt_device(bd_addr, default_mtu_, max_mps_)); in add_eatt_device()
592 EattChannel* find_eatt_channel_by_cid(const RawAddress& bd_addr, uint16_t cid) { in find_eatt_channel_by_cid()
593 eatt_device* eatt_dev = find_device_by_address(bd_addr); in find_eatt_channel_by_cid()
[all …]
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_sec_api.cc41 void BTA_DmBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, tBT_TRANSPORT transport, in BTA_DmBond() argument
43 bta_dm_bond(bd_addr, addr_type, transport, device_type); in BTA_DmBond()
48 void BTA_DmBondCancel(const RawAddress& bd_addr) { bta_dm_bond_cancel(bd_addr); } in BTA_DmBondCancel() argument
61 void BTA_DmPinReply(const RawAddress& bd_addr, bool accept, uint8_t pin_len, uint8_t* p_pin) { in BTA_DmPinReply() argument
64 msg->bd_addr = bd_addr; in BTA_DmPinReply()
99 void BTA_DmConfirm(const RawAddress& bd_addr, bool accept) { bta_dm_confirm(bd_addr, accept); } in BTA_DmConfirm() argument
111 void BTA_DmAddDevice(RawAddress bd_addr, DEV_CLASS dev_class, LinkKey link_key, uint8_t key_type, in BTA_DmAddDevice() argument
113 auto closure = base::Bind(get_btm_client_interface().security.BTM_SecAddDevice, bd_addr, in BTA_DmAddDevice()
121 tBTA_STATUS BTA_DmRemoveDevice(const RawAddress& bd_addr) { in BTA_DmRemoveDevice() argument
123 bta_dm_remove_device(bd_addr); in BTA_DmRemoveDevice()
[all …]
Dbta_dm_sec.cc45 static tBTM_STATUS bta_dm_new_link_key_cback(const RawAddress& bd_addr, DEV_CLASS dev_class,
48 static tBTM_STATUS bta_dm_pin_cback(const RawAddress& bd_addr, DEV_CLASS dev_class,
50 static tBTM_STATUS bta_dm_sirk_verification_cback(const RawAddress& bd_addr);
51 static void bta_dm_authentication_complete_cback(const RawAddress& bd_addr, DEV_CLASS dev_class,
81 void bta_dm_ble_sirk_confirm_device_reply(const RawAddress& bd_addr, bool accept) { in bta_dm_ble_sirk_confirm_device_reply() argument
82 log::debug("addr:{}", bd_addr); in bta_dm_ble_sirk_confirm_device_reply()
84 bd_addr, accept ? tBTM_STATUS::BTM_SUCCESS : tBTM_STATUS::BTM_NOT_AUTHORIZED); in bta_dm_ble_sirk_confirm_device_reply()
118 void bta_dm_remote_key_missing(const RawAddress bd_addr) { in bta_dm_remote_key_missing() argument
121 sec_event.key_missing.bd_addr = bd_addr; in bta_dm_remote_key_missing()
127 void bta_dm_bond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, tBT_TRANSPORT transport, in bta_dm_bond() argument
[all …]
/packages/modules/Bluetooth/system/stack/include/
Dsecurity_client_callbacks.h45 typedef tBTM_STATUS(tBTM_PIN_CALLBACK)(const RawAddress& bd_addr, DEV_CLASS dev_class,
53 typedef tBTM_STATUS(tBTM_LINK_KEY_CALLBACK)(const RawAddress& bd_addr, DEV_CLASS dev_class,
61 typedef void(tBTM_RMT_NAME_CALLBACK)(const RawAddress& bd_addr, DEV_CLASS dc, BD_NAME bd_name);
69 typedef void(tBTM_AUTH_COMPLETE_CALLBACK)(const RawAddress& bd_addr, DEV_CLASS dev_class,
75 typedef tBTM_STATUS(tBTM_SIRK_VERIFICATION_CALLBACK)(const RawAddress& bd_addr);
97 void (*BTM_SecAddDevice)(const RawAddress& bd_addr, const DEV_CLASS dev_class, LinkKey link_key,
99 void (*BTM_SecAddBleDevice)(const RawAddress& bd_addr, tBT_DEVICE_TYPE dev_type,
102 bool (*BTM_SecDeleteDevice)(const RawAddress& bd_addr);
104 void (*BTM_SecAddBleKey)(const RawAddress& bd_addr, tBTM_LE_KEY_VALUE* p_le_key,
107 void (*BTM_SecClearSecurityFlags)(const RawAddress& bd_addr);
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/hfp/
Dhfp_shim.cc135 RawAddress* bd_addr) override { in ConnectionStateCallback() argument
136 log::info("ConnectionStateCallback from {}", *bd_addr); in ConnectionStateCallback()
137 topshim::rust::internal::connection_state_cb(state, bd_addr); in ConnectionStateCallback()
140 void AudioStateCallback(headset::bthf_audio_state_t state, RawAddress* bd_addr) override { in AudioStateCallback() argument
141 log::info("AudioStateCallback {} from {}", state, *bd_addr); in AudioStateCallback()
142 topshim::rust::internal::audio_state_cb(state, bd_addr); in AudioStateCallback()
146 [[maybe_unused]] RawAddress* bd_addr) override {} in VoiceRecognitionCallback() argument
148 void AnswerCallCallback(RawAddress* bd_addr) override { in AnswerCallCallback() argument
149 topshim::rust::internal::answer_call_cb(bd_addr); in AnswerCallCallback()
152 void HangupCallCallback(RawAddress* bd_addr) override { in HangupCallCallback() argument
[all …]

12345678910>>...17