/aosp12/system/bt/stack/acl/ |
H A D | ble_acl.cc | 49 connection_manager::on_connection_complete(address_with_type.bda); in acl_ble_common_connection() 53 role, address_with_type.type, is_in_security_db); in acl_ble_common_connection() 59 if (!l2cble_conn_comp(handle, role, address_with_type.bda, in acl_ble_common_connection() 75 void acl_ble_connection_complete(const tBLE_BD_ADDR& address_with_type, in acl_ble_connection_complete() argument 102 btm_ble_refresh_local_resolvable_private_addr(address_with_type.bda, in acl_ble_enhanced_connection_complete() 115 const tBLE_BD_ADDR& address_with_type, in maybe_resolve_received_address() argument 119 *resolved_address_with_type = address_with_type; in maybe_resolve_received_address() 131 address_with_type, &resolved_address_with_type); in acl_ble_enhanced_connection_complete_from_shim() 140 l2cble_notify_le_connection(address_with_type.bda); in acl_ble_enhanced_connection_complete_from_shim() 141 l2cble_use_preferred_conn_params(address_with_type.bda); in acl_ble_enhanced_connection_complete_from_shim() [all …]
|
H A D | btm_ble_connection_establishment.cc | 185 tBLE_BD_ADDR address_with_type{.bda = bda, .type = bda_type}; in btm_ble_conn_complete() local 189 address_with_type, handle, role, is_in_security_db, conn_interval, in btm_ble_conn_complete() 193 acl_ble_connection_complete(address_with_type, handle, role, in btm_ble_conn_complete() 204 tBLE_BD_ADDR address_with_type{.bda = bda, .type = bda_type}; in btm_ble_conn_complete() local 205 acl_ble_connection_fail(address_with_type, handle, enhanced, in btm_ble_conn_complete()
|
/aosp12/system/bt/gd/l2cap/le/internal/ |
H A D | link_manager.cc | 46 auto* link = GetLink(address_with_type); in ConnectFixedChannelServices() 78 pending_links_.try_emplace(address_with_type); in ConnectFixedChannelServices() 98 if (links_.find(address_with_type) == links_.end()) { in GetLink() 101 return &links_.find(address_with_type)->second; in GetLink() 149 auto* link = GetLink(address_with_type); in OnDisconnect() 151 address_with_type.ToString().c_str()); in OnDisconnect() 153 disconnected_links_.emplace(address_with_type); in OnDisconnect() 155 links_.erase(address_with_type); in OnDisconnect() 171 hci::AddressWithType address_with_type, in OnReadRemoteVersionInformationComplete() argument 180 address_with_type, in OnReadRemoteVersionInformationComplete() [all …]
|
H A D | link_manager_test.cc | 94 hci::AddressWithType address_with_type({{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, in TEST_F() local 119 EXPECT_CALL(mock_acl_manager, CreateLeConnection(address_with_type, true)).Times(1); in TEST_F() 204 hci::AddressWithType address_with_type({{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, in TEST_F() local 226 EXPECT_CALL(mock_acl_manager, CreateLeConnection(address_with_type, true)).Times(0); in TEST_F() 241 hci::AddressWithType address_with_type({{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, in TEST_F() local 265 EXPECT_CALL(mock_acl_manager, CreateLeConnection(address_with_type, true)).Times(1); in TEST_F() 289 hci::AddressWithType address_with_type({{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, in TEST_F() local 314 EXPECT_CALL(mock_acl_manager, CreateLeConnection(address_with_type, true)).Times(1); in TEST_F() 385 hci::AddressWithType address_with_type({{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, in TEST_F() local 410 EXPECT_CALL(mock_acl_manager, CreateLeConnection(address_with_type, true)).Times(1); in TEST_F() [all …]
|
H A D | link_manager.h | 70 Link* GetLink(hci::AddressWithType address_with_type); 73 void OnLeConnectFail(hci::AddressWithType address_with_type, hci::ErrorCode reason) override; 77 void ConnectFixedChannelServices(hci::AddressWithType address_with_type, 85 void OnDisconnect(hci::AddressWithType address_with_type); 93 hci::AddressWithType address_with_type,
|
/aosp12/system/bt/gd/hci/acl_manager/ |
H A D | le_impl.h | 386 AddressWithType address_with_type, in add_device_to_resolving_list() 412 add_device_to_connect_list(address_with_type); in create_le_connection() 414 direct_connections_.insert(address_with_type); in create_le_connection() 418 … std::forward_as_tuple(address_with_type.GetAddress(), address_with_type.GetAddressType()), in create_le_connection() 440 canceled_connections_.insert(address_with_type); in create_le_connection() 464 connecting_le_.insert(address_with_type); in create_le_connection() 467 address_with_type = AddressWithType(); in create_le_connection() 483 … address_with_type.GetAddressType(), address_with_type.GetAddress(), in create_le_connection() 492 … address_with_type.GetAddressType(), address_with_type.GetAddress(), in create_le_connection() 507 cancel_connect(address_with_type); in on_create_connection_timeout() [all …]
|
/aosp12/system/bt/gd/hci/ |
H A D | acl_manager.cc | 162 void AclManager::CreateLeConnection(AddressWithType address_with_type, bool is_direct) { in CreateLeConnection() argument 163 CallOn(pimpl_->le_impl_, &le_impl::create_le_connection, address_with_type, true, is_direct); in CreateLeConnection() 211 void AclManager::CancelLeConnect(AddressWithType address_with_type) { in CancelLeConnect() argument 212 CallOn(pimpl_->le_impl_, &le_impl::cancel_connect, address_with_type); in CancelLeConnect() 215 void AclManager::AddDeviceToConnectList(AddressWithType address_with_type) { in AddDeviceToConnectList() argument 216 CallOn(pimpl_->le_impl_, &le_impl::add_device_to_connect_list, address_with_type); in AddDeviceToConnectList() 220 AddressWithType address_with_type, in AddDeviceToResolvingList() argument 226 void AclManager::RemoveDeviceFromConnectList(AddressWithType address_with_type) { in RemoveDeviceFromConnectList() argument 227 CallOn(pimpl_->le_impl_, &le_impl::remove_device_from_connect_list, address_with_type); in RemoveDeviceFromConnectList() 230 void AclManager::RemoveDeviceFromResolvingList(AddressWithType address_with_type) { in RemoveDeviceFromResolvingList() argument [all …]
|
H A D | acl_manager.h | 79 virtual void CreateLeConnection(AddressWithType address_with_type, bool is_direct); 102 virtual void CancelLeConnect(AddressWithType address_with_type); 103 virtual void AddDeviceToConnectList(AddressWithType address_with_type); 105 AddressWithType address_with_type, 108 virtual void RemoveDeviceFromConnectList(AddressWithType address_with_type); 109 virtual void RemoveDeviceFromResolvingList(AddressWithType address_with_type);
|
H A D | le_scanning_manager.cc | 65 auto it = Find(address_with_type); in Set() 75 items.emplace_front(address_with_type, std::move(data)); in Set() 79 bool Exist(const AddressWithType& address_with_type) { in Exist() argument 80 auto it = Find(address_with_type); in Exist() 88 auto it = Find(address_with_type); in Append() 103 void Clear(AddressWithType address_with_type) { in Clear() argument 104 auto it = Find(address_with_type); in Clear() 115 AddressWithType address_with_type; member 119 : address_with_type(address_with_type), data(data) {} in Item() 124 if (it->address_with_type == address_with_type) { in Find() [all …]
|
H A D | address_with_type_test.cc | 51 AddressWithType address_with_type(addr, type); in TEST() local 53 …EXPECT_NE(hasher(address_with_type), hasher(AddressWithType(Address::kEmpty, AddressType::PUBLIC_I… in TEST()
|
/aosp12/system/bt/stack/include/ |
H A D | ble_acl_interface.h | 22 void acl_ble_connection_complete(const tBLE_BD_ADDR& address_with_type, 27 const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role, 32 const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role, 36 void acl_ble_connection_fail(const tBLE_BD_ADDR& address_with_type,
|
/aosp12/system/bt/main/shim/ |
H A D | acl.cc | 96 PRIVATE_ADDRESS(address_with_type)); in Add() 105 PRIVATE_ADDRESS(address_with_type)); in Remove() 828 shadow_acceptlist_.Add(address_with_type); in accept_le_connection_from() 832 PRIVATE_ADDRESS(address_with_type)); in accept_le_connection_from() 839 shadow_acceptlist_.Remove(address_with_type); in ignore_le_connection_from() 1155 address_with_type); in IgnoreLeConnectionFrom() 1195 return address_with_type; in GetConnectionLocalAddress() 1293 hci::AddressWithType address_with_type, in OnLeConnectSuccess() argument 1314 ToLegacyAddressWithType(address_with_type); in OnLeConnectSuccess() 1343 ToLegacyAddressWithType(address_with_type); in OnLeConnectFail() [all …]
|
H A D | helpers.h | 82 const hci::AddressWithType& address_with_type) { in ToLegacyAddressWithType() argument 84 legacy_address_with_type.bda = ToRawAddress(address_with_type.GetAddress()); in ToLegacyAddressWithType() 86 if (address_with_type.GetAddressType() == in ToLegacyAddressWithType() 89 } else if (address_with_type.GetAddressType() == in ToLegacyAddressWithType() 92 } else if (address_with_type.GetAddressType() == in ToLegacyAddressWithType() 95 } else if (address_with_type.GetAddressType() == in ToLegacyAddressWithType() 100 static_cast<uint8_t>(address_with_type.GetAddressType())); in ToLegacyAddressWithType()
|
H A D | link_connection_interface.h | 38 const bluetooth::hci::AddressWithType& address_with_type, bool is_direct, 41 const bluetooth::hci::AddressWithType& address_with_type) = 0;
|
H A D | acl.h | 69 void AcceptLeConnectionFrom(const hci::AddressWithType& address_with_type, 73 const hci::AddressWithType& address_with_type) override;
|
/aosp12/system/bt/test/mock/ |
H A D | mock_stack_acl_ble.cc | 44 void acl_ble_connection_complete(const tBLE_BD_ADDR& address_with_type, in acl_ble_connection_complete() argument 50 void acl_ble_connection_fail(const tBLE_BD_ADDR& address_with_type, in acl_ble_connection_fail() argument 56 const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role, in acl_ble_enhanced_connection_complete() argument 63 const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role, in acl_ble_enhanced_connection_complete_from_shim() argument
|
H A D | mock_stack_btm_ble_addr.h | 135 std::function<bool(tBLE_BD_ADDR* address_with_type, bool refresh)> body{ 136 [](tBLE_BD_ADDR* address_with_type, bool refresh) { return false; }}; 137 bool operator()(tBLE_BD_ADDR* address_with_type, bool refresh) { in operator() 138 return body(address_with_type, refresh); in operator()
|
H A D | mock_stack_btm_ble_addr.cc | 108 tBLE_BD_ADDR* address_with_type, bool refresh) { in btm_identity_addr_to_random_pseudo_from_address_with_type() argument 112 address_with_type, refresh); in btm_identity_addr_to_random_pseudo_from_address_with_type()
|
H A D | mock_stack_l2cap_ble.h | 125 uint16_t handle, uint8_t role, const tBLE_BD_ADDR& address_with_type, 128 const tBLE_BD_ADDR& address_with_type, uint16_t conn_interval, 131 const tBLE_BD_ADDR& address_with_type, uint16_t conn_interval, in operator() 133 return body(handle, role, address_with_type, conn_interval, conn_latency, in operator()
|
/aosp12/system/bt/gd/security/ |
H A D | ui.h | 29 ConfirmationData(bluetooth::hci::AddressWithType address_with_type, std::string name) in ConfirmationData() argument 30 : address_with_type_(address_with_type), name_(name) {} in ConfirmationData() 31 …ConfirmationData(bluetooth::hci::AddressWithType address_with_type, std::string name, uint32_t num… in ConfirmationData() argument 32 : address_with_type_(address_with_type), name_(name), numeric_value_(numeric_value) {} in ConfirmationData()
|
/aosp12/system/bt/gd/hci/facade/ |
H A D | le_initiator_address_facade.cc | 56 ASSERT(Address::FromString(request->address_with_type().address().address(), address)); in SetPrivacyPolicyForInitiatorAddress() 58 …AddressWithType address_with_type(address, static_cast<AddressType>(request->address_with_type().t… in SetPrivacyPolicyForInitiatorAddress() local 70 address_policy, address_with_type, minimum_rotation_time, maximum_rotation_time); in SetPrivacyPolicyForInitiatorAddress()
|
H A D | le_acl_manager_facade.cc | 215 …void OnLeConnectSuccess(AddressWithType address_with_type, std::unique_ptr<LeAclConnection> connec… in OnLeConnectSuccess() argument 216 LOG_INFO("%s", address_with_type.ToString().c_str()); in OnLeConnectSuccess() 219 auto addr = address_with_type.GetAddress(); in OnLeConnectSuccess() 236 address_with_type.GetAddressType(), in OnLeConnectSuccess() 283 void OnLocalAddressUpdate(AddressWithType address_with_type) override {} in OnLocalAddressUpdate() argument
|
/aosp12/system/bt/gd/l2cap/le/ |
H A D | fixed_channel_manager.cc | 26 bool FixedChannelManager::ConnectServices(hci::AddressWithType address_with_type, in ConnectServices() argument 33 common::Unretained(link_manager_), address_with_type, in ConnectServices()
|
/aosp12/system/bt/stack/btm/ |
H A D | btm_ble_addr.cc | 280 tBLE_BD_ADDR* address_with_type, bool refresh) { in btm_identity_addr_to_random_pseudo_from_address_with_type() argument 282 &(address_with_type->bda), &(address_with_type->type), refresh); in btm_identity_addr_to_random_pseudo_from_address_with_type()
|
/aosp12/system/bt/gd/hci/cert/ |
H A D | le_scanning_manager_test.py | 57 address_with_type=common.BluetoothAddressWithType( 66 address_with_type=common.BluetoothAddressWithType(
|