Home
last modified time | relevance | path

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

/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.cc240 …Manager::OnConnectSuccess(std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection) { in OnConnectSuccess() argument
242 hci::Address device = acl_connection->GetAddress(); in OnConnectSuccess()
244 acl_connection->GetAddress().ToString().c_str()); in OnConnectSuccess()
245 links_.try_emplace(device, l2cap_handler_, std::move(acl_connection), parameter_provider_, in OnConnectSuccess()
Dlink_manager.h67 …void OnConnectSuccess(std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection) over…
Dlink.cc41 std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection, in Link() argument
47 acl_connection_(std::move(acl_connection)), in Link()
Dlink.h49 …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()
108 uint16_t handle = acl_connection->GetHandle(); in OnLeConnectSuccess()
110 acl_connection->GetRemoteAddress().ToString().c_str()); in OnLeConnectSuccess()
111 …links_.try_emplace(connected_address_with_type, l2cap_handler_, std::move(acl_connection), paramet… in OnLeConnectSuccess()
Dlink_manager_test.cc126 std::unique_ptr<MockLeAclConnection> acl_connection = std::make_unique<MockLeAclConnection>(); in TEST_F() local
127 EXPECT_CALL(*acl_connection, GetRemoteAddress()).WillRepeatedly(Return(address_with_type)); in TEST_F()
130 EXPECT_CALL(*acl_connection, RegisterCallbacks(_, _)) in TEST_F()
148 std::move(acl_connection))); in TEST_F()
322 std::unique_ptr<MockLeAclConnection> acl_connection(raw_acl_connection); in TEST_F() local
323 EXPECT_CALL(*acl_connection, GetRemoteAddress()).WillRepeatedly(Return(address_with_type)); in TEST_F()
326 EXPECT_CALL(*acl_connection, RegisterCallbacks(_, _)) in TEST_F()
344 std::move(acl_connection))); in TEST_F()
418 std::unique_ptr<MockLeAclConnection> acl_connection(raw_acl_connection); in TEST_F() local
419 EXPECT_CALL(*acl_connection, GetRemoteAddress()).WillRepeatedly(Return(address_with_type)); in TEST_F()
[all …]
Dlink_manager.h72 … 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.h47 …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/
DBUILD.gn19 "acl_manager/acl_connection.cc",
DAndroid.bp13 "acl_manager/acl_connection.cc",
/system/bt/gd/hci/acl_manager/
Dclassic_impl.h31 struct acl_connection { struct
32acl_connection(AddressWithType address_with_type, AclConnection::QueueDownEnd* queue_down_end, os:… in acl_connection() argument
34 ~acl_connection() = default;
688 std::map<uint16_t, acl_connection> acl_connections_;
/system/bt/vendor_libs/test_vendor_lib/
DAndroid.bp21 "model/controller/acl_connection.cc",