/system/bt/gd/hci/acl_manager/ |
D | classic_impl.h | 32 struct acl_connection { struct 33 …acl_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/ |
D | link_manager_test.cc | 132 …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 …]
|
D | link_mock.h | 39 … 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()
|
D | link_manager.cc | 201 …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()
|
D | link_manager.h | 63 …void OnConnectSuccess(std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection) over…
|
D | link.cc | 39 …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()
|
D | link.h | 47 …os::Handler* l2cap_handler, std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection,
|
/system/bt/gd/l2cap/le/internal/ |
D | link_manager.cc | 105 … 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()
|
D | link_manager_test.cc | 122 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 …]
|
D | link_manager.h | 63 … std::unique_ptr<hci::acl_manager::LeAclConnection> acl_connection) override;
|
D | link.cc | 38 …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()
|
D | link.h | 46 …Link(os::Handler* l2cap_handler, std::unique_ptr<hci::acl_manager::LeAclConnection> acl_connection,
|
/system/bt/gd/l2cap/le/ |
D | link_options.cc | 28 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()
|
D | link_options.h | 76 …LinkOptions(hci::acl_manager::LeAclConnection* acl_connection, internal::Link* link, os::Handler* …
|
/system/bt/gd/hci/ |
D | Android.bp | 4 "acl_manager/acl_connection.cc",
|
/system/bt/vendor_libs/test_vendor_lib/ |
D | Android.bp | 12 "model/controller/acl_connection.cc",
|