Home
last modified time | relevance | path

Searched refs:address_with_type (Results 1 – 25 of 61) sorted by relevance

123

/aosp12/system/bt/stack/acl/
H A Dble_acl.cc49 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 Dbtm_ble_connection_establishment.cc185 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 Dlink_manager.cc46 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 Dlink_manager_test.cc94 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 Dlink_manager.h70 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 Dle_impl.h386 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()
483address_with_type.GetAddressType(), address_with_type.GetAddress(), in create_le_connection()
492address_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 Dacl_manager.cc162 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 Dacl_manager.h79 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 Dle_scanning_manager.cc65 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 Daddress_with_type_test.cc51 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 Dble_acl_interface.h22 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 Dacl.cc96 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 Dhelpers.h82 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 Dlink_connection_interface.h38 const bluetooth::hci::AddressWithType& address_with_type, bool is_direct,
41 const bluetooth::hci::AddressWithType& address_with_type) = 0;
H A Dacl.h69 void AcceptLeConnectionFrom(const hci::AddressWithType& address_with_type,
73 const hci::AddressWithType& address_with_type) override;
/aosp12/system/bt/test/mock/
H A Dmock_stack_acl_ble.cc44 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 Dmock_stack_btm_ble_addr.h135 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 Dmock_stack_btm_ble_addr.cc108 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 Dmock_stack_l2cap_ble.h125 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 Dui.h29 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 Dle_initiator_address_facade.cc56 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 Dle_acl_manager_facade.cc215 …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 Dfixed_channel_manager.cc26 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 Dbtm_ble_addr.cc280 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 Dle_scanning_manager_test.py57 address_with_type=common.BluetoothAddressWithType(
66 address_with_type=common.BluetoothAddressWithType(

123