/system/bt/gd/hci/ |
D | acl_manager.cc | 63 struct AclManager::acl_connection { struct in bluetooth::hci::AclManager 64 acl_connection(AddressWithType address_with_type, os::Handler* handler) in acl_connection() function 144 …handler_, common::Bind(&AclManager::acl_connection::on_incoming_data_ready, common::Unretained(thi… in on_incoming_packet() 270 void handle_dequeue_from_upper(std::map<uint16_t, acl_connection>::iterator connection_pair) { in handle_dequeue_from_upper() 501 auto& acl_connection = acl_connections_.find(handle)->second; in on_disconnection_complete() local 502 acl_connection.is_disconnected_ = true; in on_disconnection_complete() 503 acl_connection.disconnect_reason_ = disconnection_complete.GetReason(); in on_disconnection_complete() 504 acl_connection.call_disconnect_callback(); in on_disconnection_complete() 506 acl_packet_credits_ += acl_connection.number_of_sent_packets_; in on_disconnection_complete() 507 acl_connection.number_of_sent_packets_ = 0; in on_disconnection_complete() [all …]
|
D | acl_manager.h | 259 struct acl_connection;
|
/system/bt/gd/l2cap/classic/internal/ |
D | link_manager_test.cc | 122 std::unique_ptr<MockAclConnection> acl_connection = std::make_unique<MockAclConnection>(); in TEST_F() local 123 EXPECT_CALL(*acl_connection, GetAddress()).WillRepeatedly(Return(device)); in TEST_F() 124 …EXPECT_CALL(*acl_connection, GetAddressType()).WillRepeatedly(Return(hci::AddressType::PUBLIC_DEVI… in TEST_F() 125 EXPECT_CALL(*acl_connection, RegisterCallbacks(_, l2cap_handler_)).Times(1); in TEST_F() 126 EXPECT_CALL(*acl_connection, RegisterDisconnectCallback(_, l2cap_handler_)).Times(1); in TEST_F() 127 EXPECT_CALL(*acl_connection, UnregisterCallbacks(_)).Times(1); in TEST_F() 143 … common::Unretained(hci_connection_callbacks), std::move(acl_connection))); in TEST_F() 294 std::unique_ptr<MockAclConnection> acl_connection(raw_acl_connection); in TEST_F() local 295 EXPECT_CALL(*acl_connection, GetAddress()).WillRepeatedly(Return(device)); in TEST_F() 296 …EXPECT_CALL(*acl_connection, GetAddressType()).WillRepeatedly(Return(hci::AddressType::PUBLIC_DEVI… in TEST_F() [all …]
|
D | link_mock.h | 39 std::unique_ptr<hci::AclConnection> acl_connection) in MockLink() argument 40 : Link(handler, std::move(acl_connection), parameter_provider, nullptr, nullptr){}; in MockLink()
|
D | link_manager.cc | 128 void LinkManager::OnConnectSuccess(std::unique_ptr<hci::AclConnection> acl_connection) { in OnConnectSuccess() argument 130 hci::Address device = acl_connection->GetAddress(); in OnConnectSuccess() 132 acl_connection->GetAddress().ToString().c_str()); in OnConnectSuccess() 134 acl_connection->RegisterDisconnectCallback( in OnConnectSuccess() 136 links_.try_emplace(device, l2cap_handler_, std::move(acl_connection), parameter_provider_, in OnConnectSuccess()
|
D | link_manager.h | 62 void OnConnectSuccess(std::unique_ptr<hci::AclConnection> acl_connection) override;
|
D | link.cc | 32 Link::Link(os::Handler* l2cap_handler, std::unique_ptr<hci::AclConnection> acl_connection, in Link() argument 36 : l2cap_handler_(l2cap_handler), acl_connection_(std::move(acl_connection)), in Link()
|
D | link.h | 44 Link(os::Handler* l2cap_handler, std::unique_ptr<hci::AclConnection> acl_connection,
|
/system/bt/gd/l2cap/le/internal/ |
D | link_manager.cc | 104 std::unique_ptr<hci::AclConnection> acl_connection) { in OnLeConnectSuccess() argument 106 …hci::AddressWithType connected_address_with_type(acl_connection->GetAddress(), acl_connection->Get… in OnLeConnectSuccess() 108 acl_connection->GetAddress().ToString().c_str()); in OnLeConnectSuccess() 110 acl_connection->RegisterDisconnectCallback( in OnLeConnectSuccess() 113 …links_.try_emplace(connected_address_with_type, l2cap_handler_, std::move(acl_connection), paramet… in OnLeConnectSuccess()
|
D | link_manager_test.cc | 120 std::unique_ptr<MockAclConnection> acl_connection = std::make_unique<MockAclConnection>(); in TEST_F() local 121 EXPECT_CALL(*acl_connection, RegisterDisconnectCallback(_, l2cap_handler_)).Times(1); in TEST_F() 122 EXPECT_CALL(*acl_connection, GetAddress()).WillRepeatedly(Return(address_with_type.GetAddress())); in TEST_F() 123 …EXPECT_CALL(*acl_connection, GetAddressType()).WillRepeatedly(Return(address_with_type.GetAddressT… in TEST_F() 140 std::move(acl_connection))); in TEST_F() 300 std::unique_ptr<MockAclConnection> acl_connection(raw_acl_connection); in TEST_F() local 301 EXPECT_CALL(*acl_connection, GetAddress()).WillRepeatedly(Return(address_with_type.GetAddress())); in TEST_F() 302 …EXPECT_CALL(*acl_connection, GetAddressType()).WillRepeatedly(Return(address_with_type.GetAddressT… in TEST_F() 319 std::move(acl_connection))); in TEST_F() 382 std::unique_ptr<MockAclConnection> acl_connection(raw_acl_connection); in TEST_F() local [all …]
|
D | link_manager.h | 61 std::unique_ptr<hci::AclConnection> acl_connection) override;
|
D | link.cc | 33 Link::Link(os::Handler* l2cap_handler, std::unique_ptr<hci::AclConnection> acl_connection, in Link() argument 37 : l2cap_handler_(l2cap_handler), acl_connection_(std::move(acl_connection)), in Link()
|
D | link.h | 42 Link(os::Handler* l2cap_handler, std::unique_ptr<hci::AclConnection> acl_connection,
|
/system/bt/vendor_libs/test_vendor_lib/ |
D | Android.bp | 10 "model/controller/acl_connection.cc",
|