Home
last modified time | relevance | path

Searched refs:acl_connection (Results 1 – 16 of 16) sorted by relevance

/system/bt/gd/hci/acl_manager/
Dclassic_impl.h32 struct acl_connection { struct
33acl_connection(AddressWithType address_with_type, AclConnection::QueueDownEnd* queue_down_end, os:… in acl_connection() argument
35 ~acl_connection() = default;
250 auto& acl_connection = acl_connections_.find(handle)->second; in on_connection_packet_type_changed() local
252 acl_connection.connection_management_callbacks_->OnConnectionPacketTypeChanged(packet_type); in on_connection_packet_type_changed()
267 auto& acl_connection = acl_connections_.find(handle)->second; in on_master_link_key_complete() local
269 acl_connection.connection_management_callbacks_->OnMasterLinkKeyComplete(key_flag); in on_master_link_key_complete()
284 auto& acl_connection = acl_connections_.find(handle)->second; in on_authentication_complete() local
285 acl_connection.connection_management_callbacks_->OnAuthenticationComplete(); in on_authentication_complete()
336 auto& acl_connection = acl_connections_.find(handle)->second; in on_change_connection_link_key_complete() local
[all …]
/system/bt/gd/l2cap/classic/internal/
Dlink_manager_test.cc132 …std::unique_ptr<MockClassicAclConnection> acl_connection = std::make_unique<MockClassicAclConnecti… in TEST_F() local
133 EXPECT_CALL(*acl_connection, GetAddress()).WillRepeatedly(Return(device)); in TEST_F()
134 EXPECT_CALL(*acl_connection, RegisterCallbacks(_, l2cap_handler_)).Times(1); in TEST_F()
150 … common::Unretained(hci_connection_callbacks), std::move(acl_connection))); in TEST_F()
301 std::unique_ptr<MockClassicAclConnection> acl_connection(raw_acl_connection); in TEST_F() local
302 EXPECT_CALL(*acl_connection, GetAddress()).WillRepeatedly(Return(device)); in TEST_F()
303 EXPECT_CALL(*acl_connection, RegisterCallbacks(_, l2cap_handler_)).Times(1); in TEST_F()
319 … common::Unretained(hci_connection_callbacks), std::move(acl_connection))); in TEST_F()
375 std::unique_ptr<MockClassicAclConnection> acl_connection(raw_acl_connection); in TEST_F() local
376 EXPECT_CALL(*acl_connection, GetAddress()).WillRepeatedly(Return(device)); in TEST_F()
[all …]
Dlink_mock.h39 … std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection, LinkManager* link_manager) in MockLink() argument
40 : Link(handler, std::move(acl_connection), parameter_provider, nullptr, nullptr, nullptr){}; in MockLink()
Dlink_manager.cc201 …Manager::OnConnectSuccess(std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection) { in OnConnectSuccess() argument
203 hci::Address device = acl_connection->GetAddress(); in OnConnectSuccess()
205 acl_connection->GetAddress().ToString().c_str()); in OnConnectSuccess()
206 links_.try_emplace(device, l2cap_handler_, std::move(acl_connection), parameter_provider_, in OnConnectSuccess()
Dlink_manager.h63 …void OnConnectSuccess(std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection) over…
Dlink.cc39 …os::Handler* l2cap_handler, std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection, in Link() argument
43 : l2cap_handler_(l2cap_handler), acl_connection_(std::move(acl_connection)), in Link()
Dlink.h47 …os::Handler* l2cap_handler, std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection,
/system/bt/gd/l2cap/le/internal/
Dlink_manager.cc105 … std::unique_ptr<hci::acl_manager::LeAclConnection> acl_connection) { in OnLeConnectSuccess() argument
107 hci::AddressWithType connected_address_with_type = acl_connection->GetRemoteAddress(); in OnLeConnectSuccess()
109 acl_connection->GetRemoteAddress().ToString().c_str()); in OnLeConnectSuccess()
110 …links_.try_emplace(connected_address_with_type, l2cap_handler_, std::move(acl_connection), paramet… in OnLeConnectSuccess()
Dlink_manager_test.cc122 std::unique_ptr<MockLeAclConnection> acl_connection = std::make_unique<MockLeAclConnection>(); in TEST_F() local
123 EXPECT_CALL(*acl_connection, GetRemoteAddress()).WillRepeatedly(Return(address_with_type)); in TEST_F()
126 EXPECT_CALL(*acl_connection, RegisterCallbacks(_, _)) in TEST_F()
144 std::move(acl_connection))); in TEST_F()
299 std::unique_ptr<MockLeAclConnection> acl_connection(raw_acl_connection); in TEST_F() local
300 EXPECT_CALL(*acl_connection, GetRemoteAddress()).WillRepeatedly(Return(address_with_type)); in TEST_F()
303 EXPECT_CALL(*acl_connection, RegisterCallbacks(_, _)) in TEST_F()
321 std::move(acl_connection))); in TEST_F()
384 std::unique_ptr<MockLeAclConnection> acl_connection(raw_acl_connection); in TEST_F() local
385 EXPECT_CALL(*acl_connection, GetRemoteAddress()).WillRepeatedly(Return(address_with_type)); in TEST_F()
[all …]
Dlink_manager.h63 … std::unique_ptr<hci::acl_manager::LeAclConnection> acl_connection) override;
Dlink.cc38 …Link(os::Handler* l2cap_handler, std::unique_ptr<hci::acl_manager::LeAclConnection> acl_connection, in Link() argument
42 : l2cap_handler_(l2cap_handler), acl_connection_(std::move(acl_connection)), in Link()
Dlink.h46 …Link(os::Handler* l2cap_handler, std::unique_ptr<hci::acl_manager::LeAclConnection> acl_connection,
/system/bt/gd/l2cap/le/
Dlink_options.cc28 LinkOptions::LinkOptions(hci::acl_manager::LeAclConnection* acl_connection, internal::Link* link, in LinkOptions() argument
30 : acl_connection_(acl_connection), link_(link), l2cap_handler_(l2cap_handler) {} in LinkOptions()
Dlink_options.h76 …LinkOptions(hci::acl_manager::LeAclConnection* acl_connection, internal::Link* link, os::Handler* …
/system/bt/gd/hci/
DAndroid.bp4 "acl_manager/acl_connection.cc",
/system/bt/vendor_libs/test_vendor_lib/
DAndroid.bp12 "model/controller/acl_connection.cc",