Home
last modified time | relevance | path

Searched refs:acl_manager (Results 1 – 25 of 72) sorted by relevance

123

/packages/modules/Bluetooth/system/gd/hci/
DAndroid.bp13 "acl_manager.cc",
14 "acl_manager/acl_connection.cc",
15 "acl_manager/acl_fragmenter.cc",
16 "acl_manager/acl_scheduler.cc",
17 "acl_manager/classic_acl_connection.cc",
18 "acl_manager/le_acl_connection.cc",
19 "acl_manager/round_robin_scheduler.cc",
39 "acl_manager/acl_scheduler_test.cc",
40 "acl_manager/classic_acl_connection_test.cc",
41 "acl_manager/classic_impl_test.cc",
[all …]
DBUILD.gn18 "acl_manager.cc",
19 "acl_manager/acl_connection.cc",
20 "acl_manager/acl_scheduler.cc",
21 "acl_manager/acl_fragmenter.cc",
22 "acl_manager/classic_acl_connection.cc",
23 "acl_manager/le_acl_connection.cc",
24 "acl_manager/round_robin_scheduler.cc",
Dacl_manager_mock.h33 using acl_manager::LeAclConnection;
34 using acl_manager::LeConnectionCallbacks;
35 using acl_manager::LeConnectionManagementCallbacks;
37 using acl_manager::ClassicAclConnection;
38 using acl_manager::ConnectionCallbacks;
39 using acl_manager::ConnectionManagementCallbacks;
Dacl_manager.cc47 using acl_manager::AclConnection;
51 using acl_manager::classic_impl;
52 using acl_manager::ClassicAclConnection;
53 using acl_manager::ConnectionCallbacks;
55 using acl_manager::le_impl;
56 using acl_manager::LeAcceptlistCallbacks;
57 using acl_manager::LeAclConnection;
58 using acl_manager::LeConnectionCallbacks;
60 using acl_manager::RoundRobinScheduler;
62 using acl_manager::AclScheduler;
[all …]
Dacl_manager.h68 virtual void RegisterCallbacks(acl_manager::ConnectionCallbacks* callbacks, os::Handler* handler);
70 acl_manager::ConnectionCallbacks* callbacks, std::promise<void> promise);
74 acl_manager::LeConnectionCallbacks* callbacks, os::Handler* handler);
76 acl_manager::LeConnectionCallbacks* callbacks, std::promise<void> promise);
77 void RegisterLeAcceptlistCallbacks(acl_manager::LeAcceptlistCallbacks* callbacks);
79 acl_manager::LeAcceptlistCallbacks* callbacks, std::promise<void> promise);
Dremote_name_request.cc36 acl_scheduler_ = module_.GetDependency<acl_manager::AclScheduler>(); in Start()
227 acl_manager::AclScheduler* acl_scheduler_;
267 list->add<acl_manager::AclScheduler>(); in ListDependencies()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dpy_acl_manager.py31 def __init__(self, acl_manager, remote_addr, handle, event_stream): argument
32 self.acl_manager = acl_manager
36 …self.acl_stream = EventStream(self.acl_manager.FetchAclData(acl_manager_facade.HandleMsg(handle=se…
40 … self.acl_manager.ConnectionCommand(acl_manager_facade.ConnectionCommandMsg(packet=packet_bytes))
52 … self.acl_manager.SendAclData(acl_manager_facade.AclData(handle=self.handle, payload=bytes(data)))
61 self.acl_manager = device.hci_acl_manager
72 self.acl_manager.FetchIncomingConnection(empty_proto.Empty()))
78 … self.acl_manager.CreateConnection(acl_manager_facade.ConnectionMsg(address=remote_addr_bytes)))
86 return PyAclManagerAclConnection(self.acl_manager, address, handle, event_stream)
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dlink_manager_test.cc98 hci::acl_manager::LeConnectionCallbacks* hci_le_connection_callbacks = nullptr; in TEST_F()
128 hci::acl_manager::LeConnectionManagementCallbacks* connection_management_callbacks = nullptr; in TEST_F()
146 …hci_callback_handler->Post(common::BindOnce(&hci::acl_manager::LeConnectionCallbacks::OnLeConnectS… in TEST_F()
151 &hci::acl_manager::LeConnectionManagementCallbacks::OnReadRemoteVersionInformationComplete, in TEST_F()
196 &hci::acl_manager::LeConnectionManagementCallbacks::OnDisconnection, in TEST_F()
208 hci::acl_manager::LeConnectionCallbacks* hci_le_connection_callbacks = nullptr; in TEST_F()
245 hci::acl_manager::LeConnectionCallbacks* hci_le_connection_callbacks = nullptr; in TEST_F()
276 &hci::acl_manager::LeConnectionCallbacks::OnLeConnectFail, in TEST_F()
295 hci::acl_manager::LeConnectionCallbacks* hci_le_connection_callbacks = nullptr; in TEST_F()
326 hci::acl_manager::LeConnectionManagementCallbacks* connection_management_callbacks = nullptr; in TEST_F()
[all …]
Dlink_manager.h43 class LinkManager : public hci::acl_manager::LeConnectionCallbacks {
47 hci::AclManager* acl_manager, in LinkManager() argument
52 acl_manager_(acl_manager), in LinkManager()
75 … std::unique_ptr<hci::acl_manager::LeAclConnection> acl_connection) override;
Dlink.h47 public hci::acl_manager::LeConnectionManagementCallbacks,
50 …Link(os::Handler* l2cap_handler, std::unique_ptr<hci::acl_manager::LeAclConnection> acl_connection,
75 inline virtual hci::acl_manager::LeAclConnection* GetAclConnection() { in GetAclConnection()
180 std::unique_ptr<hci::acl_manager::LeAclConnection> acl_connection_;
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dround_robin_scheduler.h31 namespace acl_manager {
43 std::shared_ptr<acl_manager::AclConnection::Queue> queue_;
50 std::shared_ptr<acl_manager::AclConnection::Queue> queue);
86 struct formatter<bluetooth::hci::acl_manager::RoundRobinScheduler::ConnectionType>
87 : enum_formatter<bluetooth::hci::acl_manager::RoundRobinScheduler::ConnectionType> {};
Dclassic_impl_test.cc122 namespace acl_manager { namespace
168 new acl_manager::RoundRobinScheduler(handler_, controller_, hci_queue_.GetUpEnd()); in SetUp()
173 classic_impl_ = new acl_manager::classic_impl( in SetUp()
245 acl_manager::RoundRobinScheduler* round_robin_scheduler_{nullptr};
247 acl_manager::MockConnectionCallback mock_connection_callback_;
248 acl_manager::MockConnectionManagementCallbacks connection_management_callbacks_;
250 struct acl_manager::classic_impl* classic_impl_;
Dclassic_acl_connection_test.cc183 class TestConnectionManagementCallbacks : public hci::acl_manager::ConnectionManagementCallbacks {
244 namespace acl_manager { namespace
252 queue_ = std::make_shared<hci::acl_manager::AclConnection::Queue>(kQueueSize); in SetUp()
272 std::shared_ptr<hci::acl_manager::AclConnection::Queue> queue_;
/packages/modules/Bluetooth/system/main/shim/
Dacl.h37 class Acl : public hci::acl_manager::ConnectionCallbacks,
38 public hci::acl_manager::LeConnectionCallbacks,
51 std::unique_ptr<hci::acl_manager::ClassicAclConnection>) override;
61 std::unique_ptr<hci::acl_manager::LeAclConnection>) override;
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dlink_manager.h44 class LinkManager : public hci::acl_manager::ConnectionCallbacks {
46 LinkManager(os::Handler* l2cap_handler, hci::AclManager* acl_manager, in LinkManager() argument
50 : l2cap_handler_(l2cap_handler), acl_manager_(acl_manager), in LinkManager()
71 …void OnConnectSuccess(std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection) over…
Dlink_manager_test.cc106 hci::acl_manager::ConnectionCallbacks* hci_connection_callbacks = nullptr; in TEST_F()
149 …hci_callback_handler->Post(common::BindOnce(&hci::acl_manager::ConnectionCallbacks::OnConnectSucce… in TEST_F()
196 hci::acl_manager::ConnectionCallbacks* hci_connection_callbacks = nullptr; in TEST_F()
230 hci::acl_manager::ConnectionCallbacks* hci_connection_callbacks = nullptr; in TEST_F()
257 &hci::acl_manager::ConnectionCallbacks::OnConnectFail, in TEST_F()
279 hci::acl_manager::ConnectionCallbacks* hci_connection_callbacks = nullptr; in TEST_F()
321 …hci_callback_handler->Post(common::BindOnce(&hci::acl_manager::ConnectionCallbacks::OnConnectSucce… in TEST_F()
353 hci::acl_manager::ConnectionCallbacks* hci_connection_callbacks = nullptr; in TEST_F()
395 …hci_callback_handler->Post(common::BindOnce(&hci::acl_manager::ConnectionCallbacks::OnConnectSucce… in TEST_F()
429 hci::acl_manager::ConnectionCallbacks* hci_connection_callbacks = nullptr; in TEST_F()
[all …]
Dlink.h49 public hci::acl_manager::ConnectionManagementCallbacks,
52 …Link(os::Handler* l2cap_handler, std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_conne…
228 std::unique_ptr<hci::acl_manager::ClassicAclConnection> acl_connection_;
/packages/modules/Bluetooth/system/gd/l2cap/le/
Dlink_options.h76 …LinkOptions(hci::acl_manager::LeAclConnection* acl_connection, internal::Link* link, os::Handler* …
79 hci::acl_manager::LeAclConnection* acl_connection_ = nullptr;
Dl2cap_le_module.cc56 impl(os::Handler* l2cap_handler, hci::AclManager* acl_manager) in impl()
57 : l2cap_handler_(l2cap_handler), acl_manager_(acl_manager) { in impl()
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_test.cc235 : public bluetooth::hci::acl_manager::ClassicAclConnection {
243 hci::acl_manager::ConnectionManagementCallbacks* callbacks, in RegisterCallbacks()
281 hci::acl_manager::ConnectionManagementCallbacks* callbacks_{nullptr};
288 : public bluetooth::hci::acl_manager::LeAclConnection {
291 hci::acl_manager::RoleSpecificData role_specific_data, in MockLeAclConnection()
299 hci::acl_manager::LeConnectionManagementCallbacks* callbacks, in RegisterCallbacks()
327 hci::acl_manager::LeConnectionManagementCallbacks* callbacks_{nullptr};
670 hci::acl_manager::DataAsPeripheral{local_address, std::nullopt, true}, in TEST_F()
/packages/modules/Bluetooth/system/gd/l2cap/fuzz/
Dfuzz_l2cap.cc30 using hci::acl_manager::AclConnection;
31 using hci::acl_manager::ClassicAclConnection;
/packages/modules/Bluetooth/system/gd/security/
Dsecurity_module.cc47 hci::AclManager* acl_manager, in impl()
56 acl_manager_(acl_manager), in impl()
/packages/modules/Bluetooth/system/gd/hci/facade/
Dle_initiator_address_facade.cc40 LeInitiatorAddressFacadeService(AclManager* acl_manager, ::bluetooth::os::Handler* facade_handler) in LeInitiatorAddressFacadeService() argument
41 : acl_manager_(acl_manager), in LeInitiatorAddressFacadeService()
Dle_acl_manager_facade.cc49 using acl_manager::LeAclConnection;
50 using acl_manager::LeConnectionCallbacks;
51 using acl_manager::LeConnectionManagementCallbacks;
57 LeAclManagerFacadeService(AclManager* acl_manager, ::bluetooth::os::Handler* facade_handler) in LeAclManagerFacadeService() argument
58 : acl_manager_(acl_manager), facade_handler_(facade_handler) { in LeAclManagerFacadeService()
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dl2cap_classic_module.cc45 impl(os::Handler* l2cap_handler, hci::AclManager* acl_manager) in impl()
46 : l2cap_handler_(l2cap_handler), acl_manager_(acl_manager) { in impl()

123