Home
last modified time | relevance | path

Searched refs:p_addr_type (Results 1 – 25 of 29) sorted by relevance

12

/aosp12/system/bt/test/mock/
H A Dmock_stack_btm_ble_addr.h121 std::function<bool(RawAddress* bd_addr, uint8_t* p_addr_type, bool refresh)>
122 body{[](RawAddress* bd_addr, uint8_t* p_addr_type, bool refresh) {
125 bool operator()(RawAddress* bd_addr, uint8_t* p_addr_type, bool refresh) { in operator()
126 return body(bd_addr, p_addr_type, refresh); in operator()
H A Dmock_main_shim_l2cap_api.h425 uint8_t* p_addr_type)>
427 uint8_t* p_addr_type) {}};
429 uint8_t* p_addr_type) { in operator()
430 body(pseudo_addr, conn_addr, p_addr_type); in operator()
439 uint8_t* p_addr_type)>
441 uint8_t* p_addr_type) { return false; }};
443 uint8_t* p_addr_type) { in operator()
444 return body(pseudo_addr, conn_addr, p_addr_type); in operator()
H A Dmock_btif_config.h63 std::function<bool(const RawAddress& bda, tBLE_ADDR_TYPE* p_addr_type)> body{
64 [](const RawAddress& bda, tBLE_ADDR_TYPE* p_addr_type) { return false; }};
65 bool operator()(const RawAddress& bda, tBLE_ADDR_TYPE* p_addr_type) { in operator()
66 return body(bda, p_addr_type); in operator()
H A Dmock_stack_btm_ble_addr.cc102 uint8_t* p_addr_type, bool refresh) { in btm_identity_addr_to_random_pseudo() argument
105 bd_addr, p_addr_type, refresh); in btm_identity_addr_to_random_pseudo()
H A Dmock_main_shim_l2cap_api.cc264 uint8_t* p_addr_type) { in L2CA_ReadConnectionAddr() argument
267 pseudo_addr, conn_addr, p_addr_type); in L2CA_ReadConnectionAddr()
271 uint8_t* p_addr_type) { in L2CA_ReadRemoteConnectionAddr() argument
274 pseudo_addr, conn_addr, p_addr_type); in L2CA_ReadRemoteConnectionAddr()
H A Dmock_btif_config.cc81 bool btif_get_address_type(const RawAddress& bda, tBLE_ADDR_TYPE* p_addr_type) { in btif_get_address_type() argument
83 return test::mock::btif_config::btif_get_address_type(bda, p_addr_type); in btif_get_address_type()
H A Dmock_stack_btm_ble.cc70 tBLE_ADDR_TYPE* p_addr_type) { in btm_ble_get_acl_remote_addr() argument
189 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadDevInfo() argument
H A Dmock_main_shim_acl_api.cc69 uint8_t* p_addr_type) { in ACL_ReadConnectionAddress() argument
H A Dmock_main_shim_btm_api.cc81 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadRemoteConnectionAddr() argument
381 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadConnectionAddr() argument
386 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadDevInfo() argument
H A Dmock_stack_acl.cc76 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadRemoteConnectionAddr() argument
251 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadConnectionAddr() argument
/aosp12/system/bt/stack/test/
H A Dstack_smp_test.cc62 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadRemoteConnectionAddr() argument
64 *p_addr_type = 0x00; in BTM_ReadRemoteConnectionAddr()
71 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadConnectionAddr() argument
73 *p_addr_type = 0x01; in BTM_ReadConnectionAddr()
/aosp12/system/bt/stack/include/
H A Dbtm_ble_api.h320 tBLE_ADDR_TYPE* p_addr_type);
418 tBLE_ADDR_TYPE* p_addr_type);
625 tBLE_ADDR_TYPE* p_addr_type);
H A Dble_hci_link_interface.h38 uint8_t* p_addr_type,
/aosp12/system/bt/stack/btm/
H A Dbtm_ble_addr.cc256 uint8_t* p_addr_type, bool refresh) { in btm_identity_addr_to_random_pseudo() argument
258 btm_find_dev_by_identity_addr(*bd_addr, *p_addr_type); in btm_identity_addr_to_random_pseudo()
275 *p_addr_type = p_dev_rec->ble.ble_addr_type; in btm_identity_addr_to_random_pseudo()
H A Dbtm_ble.cc461 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadDevInfo() argument
465 *p_addr_type = BLE_ADDR_PUBLIC; in BTM_ReadDevInfo()
472 *p_addr_type = p_inq_info->results.ble_addr_type; in BTM_ReadDevInfo()
487 *p_addr_type = p_dev_rec->ble.ble_addr_type; in BTM_ReadDevInfo()
490 *p_addr_type = p_dev_rec->ble.ble_addr_type; in BTM_ReadDevInfo()
494 *p_addr_type = BLE_ADDR_PUBLIC; in BTM_ReadDevInfo()
499 *p_dev_type, *p_addr_type); in BTM_ReadDevInfo()
2101 tBLE_ADDR_TYPE* p_addr_type) { in btm_ble_get_acl_remote_addr() argument
2115 *p_addr_type = p_dev_rec->ble.ble_addr_type; in btm_ble_get_acl_remote_addr()
2120 *p_addr_type = BLE_ADDR_RANDOM; in btm_ble_get_acl_remote_addr()
[all …]
/aosp12/system/bt/main/shim/
H A Dacl_api.cc101 uint8_t* p_addr_type) { in ACL_ReadConnectionAddress() argument
105 *p_addr_type = static_cast<uint8_t>(local_address.GetAddressType()); in ACL_ReadConnectionAddress()
H A Dl2c_api.h485 RawAddress& conn_addr, uint8_t* p_addr_type);
488 RawAddress& conn_addr, uint8_t* p_addr_type);
H A Dacl_api.h40 RawAddress& conn_addr, uint8_t* p_addr_type);
H A Dbtm_api.h457 tBLE_ADDR_TYPE* p_addr_type);
470 tBLE_ADDR_TYPE* p_addr_type);
569 tBLE_ADDR_TYPE* p_addr_type);
H A Dbtm_api.cc974 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadConnectionAddr() argument
976 CHECK(p_addr_type != nullptr); in BTM_ReadConnectionAddr()
981 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadRemoteConnectionAddr() argument
983 CHECK(p_addr_type != nullptr); in BTM_ReadRemoteConnectionAddr()
1021 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadDevInfo() argument
1024 CHECK(p_addr_type != nullptr); in BTM_ReadDevInfo()
/aosp12/system/bt/stack/test/common/
H A Dmock_main_shim_l2c_api.cc89 uint8_t* p_addr_type) { in L2CA_ReadConnectionAddr() argument
94 uint8_t* p_addr_type) { in L2CA_ReadRemoteConnectionAddr() argument
H A Dmock_main_shim_btm_api.cc85 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadRemoteConnectionAddr() argument
385 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadConnectionAddr() argument
390 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadDevInfo() argument
/aosp12/system/bt/btif/src/
H A Dbtif_config.cc141 bool btif_get_address_type(const RawAddress& bda, tBLE_ADDR_TYPE* p_addr_type) { in btif_get_address_type() argument
142 if (p_addr_type == NULL) return false; in btif_get_address_type()
149 *p_addr_type = static_cast<tBLE_ADDR_TYPE>(val); in btif_get_address_type()
152 AddressTypeText(*p_addr_type).c_str()); in btif_get_address_type()
/aosp12/system/bt/btif/include/
H A Dbtif_config.h76 tBLE_ADDR_TYPE* p_addr_type);
/aosp12/system/bt/stack/acl/
H A Dbtm_acl.cc2323 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadConnectionAddr() argument
2326 p_addr_type); in BTM_ReadConnectionAddr()
2331 p_addr_type); in BTM_ReadConnectionAddr()
2335 p_addr_type); in BTM_ReadConnectionAddr()
2346 *p_addr_type = p_acl->conn_addr_type; in BTM_ReadConnectionAddr()
2461 tBLE_ADDR_TYPE* p_addr_type) { in BTM_ReadRemoteConnectionAddr() argument
2464 p_addr_type); in BTM_ReadRemoteConnectionAddr()
2469 pseudo_addr, conn_addr, p_addr_type); in BTM_ReadRemoteConnectionAddr()
2481 *p_addr_type = p_acl->active_remote_addr_type; in BTM_ReadRemoteConnectionAddr()

12