Home
last modified time | relevance | path

Searched refs:tBTM_SEC_DEV_REC (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_dev.cc64 static void wipe_secrets_and_remove(tBTM_SEC_DEV_REC* p_dev_rec) { in wipe_secrets_and_remove()
87 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddDevice()
158 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecDeleteDevice()
213 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecClearSecurityFlags()
233 const tBTM_SEC_DEV_REC* p_srec; in BTM_SecReadDevName()
252 tBTM_SEC_DEV_REC* btm_sec_alloc_dev(const RawAddress& bd_addr) { in btm_sec_alloc_dev()
255 tBTM_SEC_DEV_REC* p_dev_rec = btm_sec_allocate_dev_rec(); in btm_sec_alloc_dev()
287 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in is_handle_equal()
306 tBTM_SEC_DEV_REC* btm_find_dev_by_handle(uint16_t handle) { in btm_find_dev_by_handle()
311 if (n) return static_cast<tBTM_SEC_DEV_REC*>(list_node(n)); in btm_find_dev_by_handle()
[all …]
Dbtm_dev.h69 tBTM_SEC_DEV_REC* btm_sec_alloc_dev(const RawAddress& bd_addr);
81 tBTM_SEC_DEV_REC* btm_find_dev_by_handle(uint16_t handle);
93 tBTM_SEC_DEV_REC* btm_find_dev(const RawAddress& bd_addr);
105 tBTM_SEC_DEV_REC* btm_find_dev_with_lenc(const RawAddress& bd_addr);
116 void btm_consolidate_dev(tBTM_SEC_DEV_REC* p_target_rec);
142 tBTM_SEC_DEV_REC* btm_find_or_alloc_dev(const RawAddress& bd_addr);
156 tBTM_SEC_DEV_REC* btm_sec_allocate_dev_rec(void);
191 std::vector<tBTM_SEC_DEV_REC*> btm_get_sec_dev_rec();
Dbtm_ble_addr.cc65 bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec, in btm_ble_init_pseudo_addr()
103 tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_addr_resolvable()
120 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in btm_ble_match_random_bda()
141 tBTM_SEC_DEV_REC* btm_ble_resolve_random_addr(const RawAddress& random_bda) { in btm_ble_resolve_random_addr()
146 : (static_cast<tBTM_SEC_DEV_REC*>(list_node(n))); in btm_ble_resolve_random_addr()
153 static tBTM_SEC_DEV_REC* btm_find_dev_by_identity_addr( in btm_find_dev_by_identity_addr()
160 tBTM_SEC_DEV_REC* p_dev_rec = in btm_find_dev_by_identity_addr()
161 static_cast<tBTM_SEC_DEV_REC*>(list_node(node)); in btm_find_dev_by_identity_addr()
187 tBTM_SEC_DEV_REC* p_dev_rec = in btm_identity_addr_to_random_pseudo()
225 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(*random_pseudo); in btm_random_pseudo_to_identity_addr()
[all …]
Dbtm_ble_sec.cc68 bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec,
85 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddBleDevice()
169 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddBleKey()
275 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_BlePasskeyReply()
306 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_BleConfirmReply()
342 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_BleOobDataReply()
373 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_BleSecureConnectionOobDataReply()
419 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_BleSetPrefConnParams()
482 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(remote_bda); in BTM_ReadDevInfo()
547 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(*remote_bda); in BTM_ReadConnectedTransportAddress()
[all …]
Dbtm_sec.cc102 bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec,
108 static tBTM_STATUS btm_sec_execute_procedure(tBTM_SEC_DEV_REC* p_dev_rec);
109 static bool btm_sec_start_get_name(tBTM_SEC_DEV_REC* p_dev_rec);
110 static void btm_sec_wait_and_start_authentication(tBTM_SEC_DEV_REC* p_dev_rec);
115 static tBTM_STATUS btm_sec_dd_create_conn(tBTM_SEC_DEV_REC* p_dev_rec);
123 static void btm_send_link_key_notif(tBTM_SEC_DEV_REC* p_dev_rec);
124 static bool btm_sec_check_prefetch_pin(tBTM_SEC_DEV_REC* p_dev_rec);
126 static tBTM_STATUS btm_sec_send_hci_disconnect(tBTM_SEC_DEV_REC* p_dev_rec,
131 static bool btm_dev_authenticated(const tBTM_SEC_DEV_REC* p_dev_rec);
132 static bool btm_dev_encrypted(const tBTM_SEC_DEV_REC* p_dev_rec);
[all …]
Dbtm_ble_privacy.cc204 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(pseudo_bda); in btm_ble_update_resolving_list()
222 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in clear_resolving_list_bit()
443 tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_remove_resolving_list_entry()
502 bool btm_ble_read_resolving_list_entry(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_read_resolving_list_entry()
533 tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_ble_unsupported_resolving_list_load_dev()
551 static bool is_peer_identity_key_valid(const tBTM_SEC_DEV_REC& dev_rec) { in is_peer_identity_key_valid()
557 void btm_ble_resolving_list_load_dev(tBTM_SEC_DEV_REC& dev_rec) { in btm_ble_resolving_list_load_dev()
620 void btm_ble_resolving_list_remove_dev(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_resolving_list_remove_dev()
Dbtm_sec_cb.cc59 *((tBTM_SEC_DEV_REC*)ptr) = {}; in Init()
122 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in getSecRec()
198 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in IsDeviceBonded()
Dbtm_sec.h706 void btm_sec_dev_rec_cback_event(tBTM_SEC_DEV_REC* p_dev_rec, tBTM_STATUS res,
720 void btm_sec_clear_ble_keys(tBTM_SEC_DEV_REC* p_dev_rec);
Dbtm_ble_int.h54 tBTM_SEC_DEV_REC* btm_ble_resolve_random_addr(const RawAddress& random_bda);
Dbtm_sec_cb.h52 tBTM_SEC_DEV_REC* p_collided_dev_rec{nullptr};
Dbtm_devctl.cc163 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in set_sec_state_idle()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_btm_ble_privacy.h80 std::function<tBTM_STATUS(tBTM_SEC_DEV_REC* p_dev_rec)> body{
81 [](tBTM_SEC_DEV_REC* /* p_dev_rec */) { return 0; }};
82 tBTM_STATUS operator()(tBTM_SEC_DEV_REC* p_dev_rec) { in operator()
100 std::function<bool(tBTM_SEC_DEV_REC* p_dev_rec)> body{
101 [](tBTM_SEC_DEV_REC* /* p_dev_rec */) { return false; }};
102 bool operator()(tBTM_SEC_DEV_REC* p_dev_rec) { return body(p_dev_rec); }; in operator()
110 std::function<void(const tBTM_SEC_DEV_REC& p_dev_rec)> body{
111 [](const tBTM_SEC_DEV_REC& /* p_dev_rec */) {}};
112 void operator()(const tBTM_SEC_DEV_REC& p_dev_rec) { body(p_dev_rec); }; in operator()
119 std::function<void(tBTM_SEC_DEV_REC* p_dev_rec)> body{
[all …]
Dmock_stack_btm_ble_addr.h43 std::function<bool(tBTM_SEC_DEV_REC* p_dev_rec,
45 body{[](tBTM_SEC_DEV_REC* /* p_dev_rec */,
47 bool operator()(tBTM_SEC_DEV_REC* p_dev_rec, in operator()
57 std::function<bool(const RawAddress& rpa, tBTM_SEC_DEV_REC* p_dev_rec)> body{
58 [](const RawAddress& /* rpa */, tBTM_SEC_DEV_REC* /* p_dev_rec */) {
61 bool operator()(const RawAddress& rpa, tBTM_SEC_DEV_REC* p_dev_rec) { in operator()
70 std::function<tBTM_SEC_DEV_REC*(const RawAddress& random_bda)> body{
72 tBTM_SEC_DEV_REC* operator()(const RawAddress& random_bda) { in operator()
Dmock_stack_btm_dev.cc65 tBTM_SEC_DEV_REC* btm_find_dev(const RawAddress& bd_addr) { in btm_find_dev()
69 tBTM_SEC_DEV_REC* btm_find_dev_by_handle(uint16_t /* handle */) { in btm_find_dev_by_handle()
73 tBTM_SEC_DEV_REC* btm_find_or_alloc_dev(const RawAddress& /* bd_addr */) { in btm_find_or_alloc_dev()
77 tBTM_SEC_DEV_REC* btm_sec_alloc_dev(const RawAddress& /* bd_addr */) { in btm_sec_alloc_dev()
81 tBTM_SEC_DEV_REC* btm_sec_allocate_dev_rec(void) { in btm_sec_allocate_dev_rec()
92 void btm_consolidate_dev(tBTM_SEC_DEV_REC* /* p_target_rec */) { in btm_consolidate_dev() argument
104 std::vector<tBTM_SEC_DEV_REC*> btm_get_sec_dev_rec() { in btm_get_sec_dev_rec()
Dmock_stack_btm_ble_privacy.cc80 tBTM_STATUS btm_ble_remove_resolving_list_entry(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_remove_resolving_list_entry()
89 bool btm_ble_read_resolving_list_entry(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_read_resolving_list_entry()
94 void btm_ble_resolving_list_load_dev(tBTM_SEC_DEV_REC& /* p_dev_rec */) { in btm_ble_resolving_list_load_dev() argument
97 void btm_ble_resolving_list_remove_dev(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_resolving_list_remove_dev()
Dmock_stack_btm_ble_addr.cc55 bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec, in btm_ble_init_pseudo_addr()
62 tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_addr_resolvable()
67 tBTM_SEC_DEV_REC* btm_ble_resolve_random_addr(const RawAddress& random_bda) { in btm_ble_resolve_random_addr()
Dmock_stack_btm_dev.h28 std::function<tBTM_SEC_DEV_REC*(const RawAddress& bd_addr)> body{
30 tBTM_SEC_DEV_REC* operator()(const RawAddress& bd_addr) { in operator()
Dmock_stack_btm_sec.h534 std::function<void(tBTM_SEC_DEV_REC* p_dev_rec)> body{
535 [](tBTM_SEC_DEV_REC* /* p_dev_rec */) {}};
536 void operator()(tBTM_SEC_DEV_REC* p_dev_rec) { body(p_dev_rec); }; in operator()
584 std::function<void(tBTM_SEC_DEV_REC* p_dev_rec, tBTM_STATUS btm_status,
586 body{[](tBTM_SEC_DEV_REC* /* p_dev_rec */, tBTM_STATUS /* btm_status */,
588 void operator()(tBTM_SEC_DEV_REC* p_dev_rec, tBTM_STATUS btm_status, in operator()
/packages/modules/Bluetooth/system/stack/include/
Dbtm_ble_privacy.h28 bool btm_ble_read_resolving_list_entry(tBTM_SEC_DEV_REC* p_dev_rec);
31 tBTM_SEC_DEV_REC* p_dev_rec);
33 void btm_ble_resolving_list_load_dev(tBTM_SEC_DEV_REC& p_dev_rec);
34 void btm_ble_resolving_list_remove_dev(tBTM_SEC_DEV_REC* p_dev_rec);
Dbtm_ble_addr.h34 bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec,
/packages/modules/Bluetooth/system/stack/test/gatt/
Dgatt_api_test.cc30 static tBTM_SEC_DEV_REC* make_bonded_ble_device(const RawAddress& bda, in make_bonded_ble_device()
32 tBTM_SEC_DEV_REC* dev = btm_sec_allocate_dev_rec(); in make_bonded_ble_device()
41 static tBTM_SEC_DEV_REC* make_bonded_dual_device(const RawAddress& bda, in make_bonded_dual_device()
43 tBTM_SEC_DEV_REC* dev = make_bonded_ble_device(bda, rra); in make_bonded_dual_device()
/packages/modules/Bluetooth/system/stack/test/btm/
Dstack_btm_sec_test.cc54 void wipe_secrets_and_remove(tBTM_SEC_DEV_REC* p_dev_rec);
143 tBTM_SEC_DEV_REC* device_record = btm_sec_allocate_dev_rec(); in TEST_F()
185 tBTM_SEC_DEV_REC* device_record = btm_sec_allocate_dev_rec(); in TEST_F()
208 tBTM_SEC_DEV_REC* records[kBtmSecMaxDeviceRecords]; in TEST_F()
275 tBTM_SEC_DEV_REC* device_record = btm_sec_allocate_dev_rec(); in TEST_F()
/packages/modules/Bluetooth/system/bta/test/common/
Dbtm_api_mock.h46 virtual tBTM_SEC_DEV_REC* FindDevice(const RawAddress& bd_addr) = 0;
90 MOCK_METHOD((tBTM_SEC_DEV_REC*), FindDevice, (const RawAddress& bd_addr),
Dbtm_api_mock.cc76 tBTM_SEC_DEV_REC* btm_find_dev(const RawAddress& bd_addr) { in btm_find_dev()
/packages/modules/Bluetooth/system/stack/test/
Dstack_acl_test.cc58 tBTM_SEC_DEV_REC device_record_;

12