Home
last modified time | relevance | path

Searched defs:bd_addr (Results 1 – 25 of 210) sorted by relevance

123456789

/packages/modules/Bluetooth/system/stack/test/common/
Dmock_eatt.cc43 bool EattExtension::IsEattSupportedByPeer(const RawAddress& bd_addr) { in IsEattSupportedByPeer()
47 void EattExtension::Connect(const RawAddress& bd_addr) { pimpl_->Connect(bd_addr); } in Connect()
49 void EattExtension::Disconnect(const RawAddress& bd_addr, uint16_t cid) { in Disconnect()
53 void EattExtension::Reconfigure(const RawAddress& bd_addr, uint16_t cid, uint16_t mtu) { in Reconfigure()
56 void EattExtension::ReconfigureAll(const RawAddress& bd_addr, uint16_t mtu) { in ReconfigureAll()
60 EattChannel* EattExtension::FindEattChannelByCid(const RawAddress& bd_addr, uint16_t cid) { in FindEattChannelByCid()
64 EattChannel* EattExtension::FindEattChannelByTransId(const RawAddress& bd_addr, uint32_t trans_id) { in FindEattChannelByTransId()
68 bool EattExtension::IsIndicationPending(const RawAddress& bd_addr, uint16_t indication_handle) { in IsIndicationPending()
72 EattChannel* EattExtension::GetChannelAvailableForIndication(const RawAddress& bd_addr) { in GetChannelAvailableForIndication()
76 void EattExtension::FreeGattResources(const RawAddress& bd_addr) { in FreeGattResources()
[all …]
Dmock_l2cap_layer.cc41 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& bd_addr) { in L2CA_ConnectReq()
58 tHCI_ROLE L2CA_GetBleConnRole(const RawAddress& bd_addr) { in L2CA_GetBleConnRole()
62 uint16_t L2CA_GetBleConnInterval(const RawAddress& bd_addr) { in L2CA_GetBleConnInterval()
66 std::vector<uint16_t> L2CA_ConnectCreditBasedReq(uint16_t psm, const RawAddress& bd_addr, in L2CA_ConnectCreditBasedReq()
71 bool L2CA_ConnectCreditBasedRsp(const RawAddress& bd_addr, uint8_t id, std::vector<uint16_t>& lcids, in L2CA_ConnectCreditBasedRsp()
76 bool L2CA_ReconfigCreditBasedConnsReq(const RawAddress& bd_addr, std::vector<uint16_t>& lcids, in L2CA_ReconfigCreditBasedConnsReq()
/packages/modules/Bluetooth/system/stack/eatt/
Deatt.cc137 void EattExtension::AddFromStorage(const RawAddress& bd_addr) { in AddFromStorage()
146 bool EattExtension::IsEattSupportedByPeer(const RawAddress& bd_addr) { in IsEattSupportedByPeer()
150 void EattExtension::Connect(const RawAddress& bd_addr) { pimpl_->eatt_impl_->connect(bd_addr); } in Connect()
152 void EattExtension::Disconnect(const RawAddress& bd_addr, uint16_t cid) { in Disconnect()
156 void EattExtension::Reconfigure(const RawAddress& bd_addr, uint16_t cid, uint16_t mtu) { in Reconfigure()
159 void EattExtension::ReconfigureAll(const RawAddress& bd_addr, uint16_t mtu) { in ReconfigureAll()
163 EattChannel* EattExtension::FindEattChannelByCid(const RawAddress& bd_addr, uint16_t cid) { in FindEattChannelByCid()
167 EattChannel* EattExtension::FindEattChannelByTransId(const RawAddress& bd_addr, uint32_t trans_id) { in FindEattChannelByTransId()
171 bool EattExtension::IsIndicationPending(const RawAddress& bd_addr, uint16_t indication_handle) { in IsIndicationPending()
175 EattChannel* EattExtension::GetChannelAvailableForIndication(const RawAddress& bd_addr) { in GetChannelAvailableForIndication()
[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()
48 void BTA_DmBondCancel(const RawAddress& bd_addr) { bta_dm_bond_cancel(bd_addr); } in BTA_DmBondCancel()
61 void BTA_DmPinReply(const RawAddress& bd_addr, bool accept, uint8_t pin_len, uint8_t* p_pin) { in BTA_DmPinReply()
99 void BTA_DmConfirm(const RawAddress& bd_addr, bool accept) { bta_dm_confirm(bd_addr, accept); } in BTA_DmConfirm()
111 void BTA_DmAddDevice(RawAddress bd_addr, DEV_CLASS dev_class, LinkKey link_key, uint8_t key_type, in BTA_DmAddDevice()
121 tBTA_STATUS BTA_DmRemoveDevice(const RawAddress& bd_addr) { in BTA_DmRemoveDevice()
147 void BTA_DmAddBleKey(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE* p_le_key, in BTA_DmAddBleKey()
167 void BTA_DmAddBleDevice(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTA_DmAddBleDevice()
186 void BTA_DmBlePasskeyReply(const RawAddress& bd_addr, bool accept, uint32_t passkey) { in BTA_DmBlePasskeyReply()
203 void BTA_DmBleConfirmReply(const RawAddress& bd_addr, bool accept) { in BTA_DmBleConfirmReply()
[all …]
Dbta_dm_sec.cc81 void bta_dm_ble_sirk_confirm_device_reply(const RawAddress& bd_addr, bool accept) { 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()
127 void bta_dm_bond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, tBT_TRANSPORT transport, in bta_dm_bond()
159 void bta_dm_bond_cancel(const RawAddress& bd_addr) { in bta_dm_bond_cancel()
187 void bta_dm_confirm(const RawAddress& bd_addr, bool accept) { in bta_dm_confirm()
265 static tBTM_STATUS bta_dm_pin_cback(const RawAddress& bd_addr, DEV_CLASS dev_class, in bta_dm_pin_cback()
307 static tBTM_STATUS bta_dm_new_link_key_cback(const RawAddress& bd_addr, DEV_CLASS /* dev_class */, in bta_dm_new_link_key_cback()
356 static void bta_dm_authentication_complete_cback(const RawAddress& bd_addr, in bta_dm_authentication_complete_cback()
611 static void ble_io_req(const RawAddress& bd_addr, tBTM_IO_CAP* p_io_cap, tBTM_OOB_DATA* p_oob_data, in ble_io_req()
819 void bta_dm_encrypt_cback(RawAddress bd_addr, tBT_TRANSPORT transport, void* /* p_ref_data */, in bta_dm_encrypt_cback()
[all …]
Dbta_dm_act.cc462 void bta_dm_process_remove_device_no_callback(const RawAddress& bd_addr) { in bta_dm_process_remove_device_no_callback()
472 void bta_dm_process_remove_device(const RawAddress& bd_addr) { in bta_dm_process_remove_device()
564 static void bta_dm_remove_on_disconnect(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in bta_dm_remove_on_disconnect()
588 bool bta_dm_removal_pending(const RawAddress& bd_addr) { in bta_dm_removal_pending()
598 static void handle_role_change(const RawAddress& bd_addr, tHCI_ROLE new_role, in handle_role_change()
652 void BTA_dm_report_role_change(const RawAddress bd_addr, tHCI_ROLE new_role, in BTA_dm_report_role_change()
657 static void handle_remote_features_complete(const RawAddress& bd_addr) { in handle_remote_features_complete()
673 void BTA_dm_notify_remote_features_complete(const RawAddress bd_addr) { in BTA_dm_notify_remote_features_complete()
677 static tBTA_DM_PEER_DEVICE* allocate_device_for(const RawAddress& bd_addr, in allocate_device_for()
698 static void bta_dm_acl_up(const RawAddress& bd_addr, tBT_TRANSPORT transport, uint16_t acl_handle) { in bta_dm_acl_up()
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbtif_hf_client.cc165 RawAddress* bd_addr = (RawAddress*)p_param; in btif_in_hf_client_generic_evt() local
204 static btif_hf_client_cb_t* btif_hf_client_get_cb_by_bda(const RawAddress& bd_addr) { in btif_hf_client_get_cb_by_bda()
228 static btif_hf_client_cb_t* btif_hf_client_get_connected_device(const RawAddress& bd_addr) { in btif_hf_client_get_connected_device()
292 static bt_status_t connect_int(RawAddress* bd_addr, uint16_t /*uuid*/) { in connect_int()
315 static bt_status_t connect(const RawAddress* bd_addr) { in connect()
330 static bt_status_t disconnect(const RawAddress* bd_addr) { in disconnect()
351 static bt_status_t connect_audio(const RawAddress* bd_addr) { in connect_audio()
382 static bt_status_t disconnect_audio(const RawAddress* bd_addr) { in disconnect_audio()
403 static bt_status_t start_voice_recognition(const RawAddress* bd_addr) { in start_voice_recognition()
427 static bt_status_t stop_voice_recognition(const RawAddress* bd_addr) { in stop_voice_recognition()
[all …]
Dbtif_hf.cc165 static bool is_active_device(const RawAddress& bd_addr) { in is_active_device()
201 static bool is_connected(RawAddress* bd_addr) { in is_connected()
221 static int btif_hf_idx_by_bdaddr(RawAddress* bd_addr) { in btif_hf_idx_by_bdaddr()
311 static bool IsSlcConnected(RawAddress* bd_addr) { in IsSlcConnected()
780 static bt_status_t connect_int(RawAddress* bd_addr, uint16_t /*uuid*/) { in connect_int()
848 bool IsDuringVoiceRecognition(RawAddress* bd_addr) { in IsDuringVoiceRecognition()
942 bt_status_t HeadsetInterface::Connect(RawAddress* bd_addr) { in Connect()
947 bt_status_t HeadsetInterface::Disconnect(RawAddress* bd_addr) { in Disconnect()
962 bt_status_t HeadsetInterface::ConnectAudio(RawAddress* bd_addr, int disabled_codecs) { in ConnectAudio()
985 bt_status_t HeadsetInterface::DisconnectAudio(RawAddress* bd_addr) { in DisconnectAudio()
[all …]
Dbtif_dm.cc160 RawAddress bd_addr; member
227 RawAddress bd_addr; member
463 static bool get_cached_remote_name(const RawAddress& bd_addr, bt_bdname_t* p_remote_name, in get_cached_remote_name()
495 static bool btif_check_cod_phone(const RawAddress& bd_addr) { in btif_check_cod_phone()
499 bool btif_check_cod_hid(const RawAddress& bd_addr) { in btif_check_cod_hid()
503 bool btif_check_cod_hid_major(const RawAddress& bd_addr, uint32_t cod) { in btif_check_cod_hid_major()
509 static bool btif_check_cod_le_audio(const RawAddress& bd_addr) { in btif_check_cod_le_audio()
556 static void bond_state_changed(bt_status_t status, const RawAddress& bd_addr, in bond_state_changed()
711 bool is_device_le_audio_capable(const RawAddress bd_addr) { in is_device_le_audio_capable()
747 bool is_le_audio_capable_during_service_discovery(const RawAddress& bd_addr) { in is_le_audio_capable_during_service_discovery()
[all …]
Dbtif_profile_storage.cc278 for (const auto& bd_addr : btif_config_get_paired_devices()) { in btif_storage_load_bonded_hid_info() local
349 static bool btif_device_supports_profile(const RawAddress& bd_addr, const Uuid& profile) { in btif_device_supports_profile()
354 static bool btif_device_supports_hogp(const RawAddress& bd_addr) { in btif_device_supports_hogp()
358 static bool btif_device_supports_classic_hid(const RawAddress& bd_addr) { in btif_device_supports_classic_hid()
362 static bool btif_device_supports_hearing_aid(const RawAddress& bd_addr) { in btif_device_supports_hearing_aid()
366 static bool btif_device_supports_le_audio(const RawAddress& bd_addr) { in btif_device_supports_le_audio()
382 for (const auto& bd_addr : btif_config_get_paired_devices()) { in btif_storage_get_le_hid_devices() local
397 for (const auto& bd_addr : btif_config_get_paired_devices()) { in btif_storage_get_wake_capable_classic_hid_devices() local
452 for (const auto& bd_addr : btif_config_get_paired_devices()) { in btif_storage_load_bonded_hearing_aids() local
620 [](const RawAddress& bd_addr, std::vector<uint8_t> handles) { in btif_storage_leaudio_update_handles_bin()
[all …]
Dbtif_storage.cc466 for (const auto& bd_addr : btif_config_get_paired_devices()) { in btif_in_fetch_bonded_devices() local
508 static void btif_read_le_key(const uint8_t key_type, const size_t key_len, RawAddress bd_addr, in btif_read_le_key()
603 RawAddress* bd_addr = reinterpret_cast<RawAddress*>(property->val); in btif_storage_get_adapter_property() local
844 for (const auto& bd_addr : btif_config_get_paired_devices()) { in remove_devices_with_sample_ltk() local
1214 RawAddress bd_addr; in btif_in_fetch_bonded_ble_device() local
1315 uint8_t btif_storage_get_sr_supp_feat(const RawAddress& bd_addr) { in btif_storage_get_sr_supp_feat()
1355 for (const auto& bd_addr : btif_config_get_paired_devices()) { in btif_storage_prune_devices() local
1373 bool btif_storage_get_stored_remote_name(const RawAddress& bd_addr, char* name) { in btif_storage_get_stored_remote_name()
1384 bool btif_storage_get_cod(const RawAddress& bd_addr, uint32_t* cod) { in btif_storage_get_cod()
1395 void btif_storage_set_gatt_cl_supp_feat(const RawAddress& bd_addr, uint8_t feat) { in btif_storage_set_gatt_cl_supp_feat()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_dm_act.cc91 void BTA_dm_acl_down(const RawAddress bd_addr, tBT_TRANSPORT 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()
99 void BTA_dm_acl_up_failed(const RawAddress bd_addr, tBT_TRANSPORT transport, 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()
116 void BTA_dm_report_role_change(const RawAddress bd_addr, tHCI_ROLE new_role, in BTA_dm_report_role_change()
121 void bta_dm_add_ble_device(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in bta_dm_add_ble_device()
126 void bta_dm_add_blekey(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE blekey, in bta_dm_add_blekey()
135 void bta_dm_ble_confirm_reply(const RawAddress& bd_addr, bool accept) { in bta_dm_ble_confirm_reply()
147 void bta_dm_ble_passkey_reply(const RawAddress& bd_addr, bool accept, uint32_t passkey) { in bta_dm_ble_passkey_reply()
155 void bta_dm_ble_set_conn_params(const RawAddress& bd_addr, uint16_t conn_int_min, in bta_dm_ble_set_conn_params()
[all …]
Dmock_stack_btm_ble.cc113 void BTM_BleConfirmReply(const RawAddress& bd_addr, tBTM_STATUS res) { in BTM_BleConfirmReply()
117 bool BTM_BleDataSignature(const RawAddress& bd_addr, uint8_t* p_text, uint16_t len, in BTM_BleDataSignature()
126 void BTM_BleOobDataReply(const RawAddress& bd_addr, tBTM_STATUS res, uint8_t len, uint8_t* p_data) { in BTM_BleOobDataReply()
130 void BTM_BlePasskeyReply(const RawAddress& bd_addr, tBTM_STATUS res, uint32_t passkey) { in BTM_BlePasskeyReply()
134 void BTM_BleReadPhy(const RawAddress& bd_addr, in BTM_BleReadPhy()
143 void BTM_BleSecureConnectionOobDataReply(const RawAddress& bd_addr, uint8_t* p_c, uint8_t* p_r) { in BTM_BleSecureConnectionOobDataReply()
157 bool BTM_BleVerifySignature(const RawAddress& bd_addr, uint8_t* p_orig, uint16_t len, in BTM_BleVerifySignature()
174 bool BTM_GetRemoteDeviceName(const RawAddress& bd_addr, BD_NAME bd_name) { in BTM_GetRemoteDeviceName()
178 void BTM_SecAddBleDevice(const RawAddress& bd_addr, tBT_DEVICE_TYPE dev_type, in BTM_SecAddBleDevice()
183 void BTM_SecAddBleKey(const RawAddress& bd_addr, tBTM_LE_KEY_VALUE* p_le_key, in BTM_SecAddBleKey()
[all …]
Dmock_stack_btm_sec.cc138 bool BTM_CanReadDiscoverableCharacteristics(const RawAddress& bd_addr) { in BTM_CanReadDiscoverableCharacteristics()
142 void BTM_ConfirmReqReply(tBTM_STATUS res, const RawAddress& bd_addr) { in BTM_ConfirmReqReply()
146 bool BTM_IsAuthenticated(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsAuthenticated()
150 bool BTM_IsEncrypted(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsEncrypted()
154 bool BTM_IsLinkKeyAuthed(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsLinkKeyAuthed()
158 bool BTM_IsBonded(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsBonded()
162 void BTM_PINCodeReply(const RawAddress& bd_addr, tBTM_STATUS res, uint8_t pin_len, uint8_t* p_pin) { in BTM_PINCodeReply()
166 void BTM_PasskeyReqReply(tBTM_STATUS res, const RawAddress& bd_addr, uint32_t passkey) { in BTM_PasskeyReqReply()
170 bool BTM_PeerSupportsSecureConnections(const RawAddress& bd_addr) { in BTM_PeerSupportsSecureConnections()
178 void BTM_RemoteOobDataReply(tBTM_STATUS res, const RawAddress& bd_addr, const Octet16& c, in BTM_RemoteOobDataReply()
[all …]
Dmock_bta_dm_api.cc105 void BTA_DmAddBleDevice(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTA_DmAddBleDevice()
110 void BTA_DmAddBleKey(const RawAddress& bd_addr, tBTA_LE_KEY_VALUE* p_le_key, in BTA_DmAddBleKey()
115 void BTA_DmAddDevice(RawAddress bd_addr, DEV_CLASS dev_class, LinkKey link_key, uint8_t key_type, in BTA_DmAddDevice()
129 void BTA_DmBleConfirmReply(const RawAddress& bd_addr, bool accept) { in BTA_DmBleConfirmReply()
141 void BTA_DmBlePasskeyReply(const RawAddress& bd_addr, bool accept, uint32_t passkey) { in BTA_DmBlePasskeyReply()
157 void BTA_DmBleSecurityGrant(const RawAddress& bd_addr, tBTA_DM_BLE_SEC_GRANT res) { in BTA_DmBleSecurityGrant()
161 void BTA_DmBleSubrateRequest(const RawAddress& bd_addr, uint16_t subrate_min, uint16_t subrate_max, in BTA_DmBleSubrateRequest()
167 void BTA_DmBleUpdateConnectionParams(const RawAddress& bd_addr, uint16_t min_int, uint16_t max_int, in BTA_DmBleUpdateConnectionParams()
174 void BTA_DmBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, tBT_TRANSPORT transport, in BTA_DmBond()
179 void BTA_DmBondCancel(const RawAddress& bd_addr) { in BTA_DmBondCancel()
[all …]
Dmock_stack_hcic_hcicmds.cc103 void btsnd_hcic_accept_esco_conn(const RawAddress& bd_addr, uint32_t transmit_bandwidth, in btsnd_hcic_accept_esco_conn()
124 void btsnd_hcic_delete_stored_key(const RawAddress& bd_addr, bool delete_all_flag) { in btsnd_hcic_delete_stored_key()
132 void btsnd_hcic_enhanced_accept_synchronous_connection(const RawAddress& bd_addr, in btsnd_hcic_enhanced_accept_synchronous_connection()
156 void btsnd_hcic_io_cap_req_neg_reply(const RawAddress& bd_addr, uint8_t err_code) { in btsnd_hcic_io_cap_req_neg_reply()
160 void btsnd_hcic_io_cap_req_reply(const RawAddress& bd_addr, uint8_t capability, uint8_t oob_present, in btsnd_hcic_io_cap_req_reply()
166 void btsnd_hcic_link_key_neg_reply(const RawAddress& bd_addr) { in btsnd_hcic_link_key_neg_reply()
170 void btsnd_hcic_link_key_req_reply(const RawAddress& bd_addr, const LinkKey& link_key) { in btsnd_hcic_link_key_req_reply()
180 void btsnd_hcic_pin_code_neg_reply(const RawAddress& bd_addr) { in btsnd_hcic_pin_code_neg_reply()
184 void btsnd_hcic_pin_code_req_reply(const RawAddress& bd_addr, uint8_t pin_code_len, in btsnd_hcic_pin_code_req_reply()
225 void btsnd_hcic_reject_esco_conn(const RawAddress& bd_addr, uint8_t reason) { in btsnd_hcic_reject_esco_conn()
[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()
154 bool BTM_SecDeleteDevice(const RawAddress& bd_addr) { in BTM_SecDeleteDevice()
200 void BTM_SecClearSecurityFlags(const RawAddress& bd_addr) { in BTM_SecClearSecurityFlags()
223 const char* BTM_SecReadDevName(const RawAddress& bd_addr) { in BTM_SecReadDevName()
245 DEV_CLASS BTM_SecReadDevClass(const RawAddress& bd_addr) { in BTM_SecReadDevClass()
265 tBTM_SEC_DEV_REC* btm_sec_alloc_dev(const RawAddress& bd_addr) { in btm_sec_alloc_dev()
347 const RawAddress* bd_addr = ((RawAddress*)context); in is_not_same_identity_or_pseudo_address() local
362 const RawAddress* bd_addr = ((RawAddress*)context); in is_rpa_unresolvable() local
379 tBTM_SEC_DEV_REC* btm_find_dev(const RawAddress& bd_addr) { in btm_find_dev()
418 tBTM_SEC_DEV_REC* btm_find_dev_with_lenc(const RawAddress& bd_addr) { in btm_find_dev_with_lenc()
[all …]
Dbtm_ble_sec.cc78 void BTM_SecAddBleDevice(const RawAddress& bd_addr, tBT_DEVICE_TYPE dev_type, in BTM_SecAddBleDevice()
150 bool BTM_GetRemoteDeviceName(const RawAddress& bd_addr, BD_NAME bd_name) { in BTM_GetRemoteDeviceName()
181 void BTM_SecAddBleKey(const RawAddress& bd_addr, tBTM_LE_KEY_VALUE* p_le_key, in BTM_SecAddBleKey()
257 void BTM_SecurityGrant(const RawAddress& bd_addr, tBTM_STATUS res) { in BTM_SecurityGrant()
281 void BTM_BlePasskeyReply(const RawAddress& bd_addr, tBTM_STATUS res, uint32_t passkey) { in BTM_BlePasskeyReply()
311 void BTM_BleConfirmReply(const RawAddress& bd_addr, tBTM_STATUS res) { in BTM_BleConfirmReply()
344 void BTM_BleOobDataReply(const RawAddress& bd_addr, tBTM_STATUS res, uint8_t len, uint8_t* p_data) { in BTM_BleOobDataReply()
373 void BTM_BleSecureConnectionOobDataReply(const RawAddress& bd_addr, uint8_t* p_c, uint8_t* p_r) { in BTM_BleSecureConnectionOobDataReply()
414 void BTM_BleSetPrefConnParams(const RawAddress& bd_addr, uint16_t min_conn_int, in BTM_BleSetPrefConnParams()
576 tBTM_STATUS BTM_SetBleDataLength(const RawAddress& bd_addr, uint16_t tx_pdu_length) { in BTM_SetBleDataLength()
[all …]
Dbtm_sec.cc366 bool BTM_IsEncrypted(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsEncrypted()
370 bool BTM_IsLinkKeyAuthed(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsLinkKeyAuthed()
374 bool BTM_IsBonded(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsBonded()
378 bool BTM_IsAuthenticated(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsAuthenticated()
382 bool BTM_CanReadDiscoverableCharacteristics(const RawAddress& bd_addr) { in BTM_CanReadDiscoverableCharacteristics()
497 void BTM_PINCodeReply(const RawAddress& bd_addr, tBTM_STATUS res, uint8_t pin_len, uint8_t* p_pin) { in BTM_PINCodeReply()
606 tBTM_STATUS btm_sec_bond_by_transport(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in btm_sec_bond_by_transport()
761 tBTM_STATUS BTM_SecBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in BTM_SecBond()
810 tBTM_STATUS BTM_SecBondCancel(const RawAddress& bd_addr) { in BTM_SecBondCancel()
894 tBTM_LINK_KEY_TYPE BTM_SecGetDeviceLinkKeyType(const RawAddress& bd_addr) { in BTM_SecGetDeviceLinkKeyType()
[all …]
Dbtm_sec_cb.cc119 tBTM_SEC_REC* tBTM_SEC_CB::getSecRec(const RawAddress bd_addr) { in getSecRec()
127 bool tBTM_SEC_CB::IsDeviceEncrypted(const RawAddress bd_addr, tBT_TRANSPORT transport) { in IsDeviceEncrypted()
143 bool tBTM_SEC_CB::IsLinkKeyAuthenticated(const RawAddress bd_addr, tBT_TRANSPORT transport) { in IsLinkKeyAuthenticated()
159 bool tBTM_SEC_CB::IsDeviceAuthenticated(const RawAddress bd_addr, tBT_TRANSPORT transport) { in IsDeviceAuthenticated()
175 bool tBTM_SEC_CB::IsDeviceBonded(const RawAddress bd_addr, tBT_TRANSPORT transport) { in IsDeviceBonded()
/packages/modules/Bluetooth/system/bta/test/common/
Dbtm_api_mock.cc50 mock_btm_client_interface.peer.BTM_RequestPeerSCA = [](RawAddress const& bd_addr, in SetMockBtmInterface()
51 tBT_TRANSPORT transport) { in SetMockBtmInterface()
64 bool BTM_IsBonded(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsBonded()
69 bool BTM_IsEncrypted(const RawAddress& bd_addr, tBT_TRANSPORT transport) { in BTM_IsEncrypted()
73 tBTM_STATUS BTM_SetEncryption(const RawAddress& bd_addr, tBT_TRANSPORT transport, in BTM_SetEncryption()
79 bool BTM_SecIsLeSecurityPending(const RawAddress& bd_addr) { in BTM_SecIsLeSecurityPending()
84 tBTM_SEC_DEV_REC* btm_find_dev(const RawAddress& bd_addr) { in btm_find_dev()
/packages/modules/Bluetooth/system/gd/rust/topshim/hfp/
Dhfp_shim.cc135 RawAddress* bd_addr) override { in ConnectionStateCallback()
140 void AudioStateCallback(headset::bthf_audio_state_t state, RawAddress* bd_addr) override { in AudioStateCallback()
146 [[maybe_unused]] RawAddress* bd_addr) override {} in VoiceRecognitionCallback()
148 void AnswerCallCallback(RawAddress* bd_addr) override { in AnswerCallCallback()
152 void HangupCallCallback(RawAddress* bd_addr) override { in HangupCallCallback()
157 RawAddress* bd_addr) override { in VolumeControlCallback()
173 void DialCallCallback(char* number, RawAddress* bd_addr) override { in DialCallCallback()
177 void DtmfCmdCallback([[maybe_unused]] char tone, [[maybe_unused]] RawAddress* bd_addr) override {} in DtmfCmdCallback()
180 [[maybe_unused]] RawAddress* bd_addr) override {} in NoiseReductionCallback()
194 void AtChldCallback(headset::bthf_chld_type_t chld, RawAddress* bd_addr) override { in AtChldCallback()
[all …]
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_api.cc83 tSMP_STATUS SMP_Pair(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type) { in SMP_Pair()
114 tSMP_STATUS SMP_Pair(const RawAddress& bd_addr) { return SMP_Pair(bd_addr, BLE_ADDR_PUBLIC); } in SMP_Pair()
129 tSMP_STATUS SMP_BR_PairWith(const RawAddress& bd_addr) { in SMP_BR_PairWith()
169 bool SMP_PairCancel(const RawAddress& bd_addr) { in SMP_PairCancel()
198 void SMP_SecurityGrant(const RawAddress& bd_addr, tSMP_STATUS res) { in SMP_SecurityGrant()
279 void SMP_PasskeyReply(const RawAddress& bd_addr, uint8_t res, uint32_t passkey) { in SMP_PasskeyReply()
322 void SMP_ConfirmReply(const RawAddress& bd_addr, uint8_t res) { in SMP_ConfirmReply()
501 void SMP_SirkConfirmDeviceReply(const RawAddress& bd_addr, uint8_t res) { in SMP_SirkConfirmDeviceReply()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hfpclient.cpp66 static jbyteArray marshall_bda(const RawAddress* bd_addr) { in marshall_bda()
81 static void connection_state_cb(const RawAddress* bd_addr, bthf_client_connection_state_t state, in connection_state_cb()
99 static void audio_state_cb(const RawAddress* bd_addr, bthf_client_audio_state_t state) { in audio_state_cb()
114 static void vr_cmd_cb(const RawAddress* bd_addr, bthf_client_vr_state_t state) { in vr_cmd_cb()
129 static void network_state_cb(const RawAddress* bd_addr, bthf_client_network_state_t state) { in network_state_cb()
144 static void network_roaming_cb(const RawAddress* bd_addr, bthf_client_service_type_t type) { in network_roaming_cb()
159 static void network_signal_cb(const RawAddress* bd_addr, int signal) { in network_signal_cb()
174 static void battery_level_cb(const RawAddress* bd_addr, int level) { in battery_level_cb()
189 static void current_operator_cb(const RawAddress* bd_addr, const char* name) { in current_operator_cb()
211 static void call_cb(const RawAddress* bd_addr, bthf_client_call_t call) { in call_cb()
[all …]
/packages/modules/Bluetooth/system/test/headless/utils/
Dpower_mode_client.h63 const RawAddress bd_addr; member
100 void CommandSent(const RawAddress& bd_addr, pwr_command_t&& pwr_command) { in CommandSent()
106 void PopFront(const RawAddress& bd_addr) { in PopFront()
125 Client(const uint8_t pm_id, const RawAddress& bd_addr) : pm_id_(pm_id), bd_addr_(bd_addr) {} in Client()
195 Client GetClient(const RawAddress bd_addr) { return Client(pm_id_, bd_addr); } in GetClient()

123456789