/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_dev.cc | 64 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 …]
|
D | btm_dev.h | 69 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();
|
D | btm_ble_addr.cc | 65 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 …]
|
D | btm_ble_sec.cc | 68 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 …]
|
D | btm_sec.cc | 102 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 …]
|
D | btm_ble_privacy.cc | 204 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()
|
D | btm_sec_cb.cc | 59 *((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()
|
D | btm_sec.h | 706 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);
|
D | btm_ble_int.h | 54 tBTM_SEC_DEV_REC* btm_ble_resolve_random_addr(const RawAddress& random_bda);
|
D | btm_sec_cb.h | 52 tBTM_SEC_DEV_REC* p_collided_dev_rec{nullptr};
|
D | btm_devctl.cc | 163 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/ |
D | mock_stack_btm_ble_privacy.h | 80 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 …]
|
D | mock_stack_btm_ble_addr.h | 43 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()
|
D | mock_stack_btm_dev.cc | 65 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()
|
D | mock_stack_btm_ble_privacy.cc | 80 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()
|
D | mock_stack_btm_ble_addr.cc | 55 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()
|
D | mock_stack_btm_dev.h | 28 std::function<tBTM_SEC_DEV_REC*(const RawAddress& bd_addr)> body{ 30 tBTM_SEC_DEV_REC* operator()(const RawAddress& bd_addr) { in operator()
|
D | mock_stack_btm_sec.h | 534 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/ |
D | btm_ble_privacy.h | 28 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);
|
D | btm_ble_addr.h | 34 bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec,
|
/packages/modules/Bluetooth/system/stack/test/gatt/ |
D | gatt_api_test.cc | 30 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/ |
D | stack_btm_sec_test.cc | 54 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/ |
D | btm_api_mock.h | 46 virtual tBTM_SEC_DEV_REC* FindDevice(const RawAddress& bd_addr) = 0; 90 MOCK_METHOD((tBTM_SEC_DEV_REC*), FindDevice, (const RawAddress& bd_addr),
|
D | btm_api_mock.cc | 76 tBTM_SEC_DEV_REC* btm_find_dev(const RawAddress& bd_addr) { in btm_find_dev()
|
/packages/modules/Bluetooth/system/stack/test/ |
D | stack_acl_test.cc | 58 tBTM_SEC_DEV_REC device_record_;
|