Home
last modified time | relevance | path

Searched refs:FixedChannelManager (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dfixed_channel_manager.h42 class FixedChannelManager {
132 FixedChannelManager(const FixedChannelManager&) = delete;
133 FixedChannelManager& operator=(const FixedChannelManager&) = delete;
135 virtual ~FixedChannelManager() = default;
142FixedChannelManager(internal::FixedChannelServiceManagerImpl* service_manager, internal::LinkManag… in FixedChannelManager() function
Dfixed_channel_manager_mock.h28 class MockFixedChannelManager : public FixedChannelManager {
30 MockFixedChannelManager() : FixedChannelManager(nullptr, nullptr, nullptr){}; in MockFixedChannelManager()
Dfixed_channel_manager.cc26 bool FixedChannelManager::ConnectServices(hci::Address device, OnConnectionFailureCallback on_fail_… in ConnectServices()
38 bool FixedChannelManager::RegisterService(Cid cid, OnRegistrationCompleteCallback on_registration_c… in RegisterService()
Dl2cap_classic_module.cc107 std::unique_ptr<FixedChannelManager> L2capClassicModule::GetFixedChannelManager() { in GetFixedChannelManager()
108 …return std::unique_ptr<FixedChannelManager>(new FixedChannelManager(&pimpl_->fixed_channel_service… in GetFixedChannelManager()
Dl2cap_classic_module_mock.h30 MOCK_METHOD(std::unique_ptr<FixedChannelManager>, GetFixedChannelManager, (), (override));
Dl2cap_classic_module.h47 virtual std::unique_ptr<FixedChannelManager> GetFixedChannelManager();
/packages/modules/Bluetooth/system/gd/l2cap/le/
Dfixed_channel_manager.h37 class FixedChannelManager {
39 FixedChannelManager(const FixedChannelManager&) = delete;
40 FixedChannelManager& operator=(const FixedChannelManager&) = delete;
136FixedChannelManager(internal::FixedChannelServiceManagerImpl* service_manager, internal::LinkManag… in FixedChannelManager() function
Dl2cap_le_module.cc91 std::unique_ptr<FixedChannelManager> L2capLeModule::GetFixedChannelManager() { in GetFixedChannelManager()
92 …return std::unique_ptr<FixedChannelManager>(new FixedChannelManager(&pimpl_->fixed_channel_service… in GetFixedChannelManager()
Dfixed_channel_manager.cc26 bool FixedChannelManager::ConnectServices(hci::AddressWithType address_with_type, in ConnectServices()
38 bool FixedChannelManager::RegisterService(Cid cid, OnRegistrationCompleteCallback on_registration_c… in RegisterService()
Dl2cap_le_module_mock.h30 MOCK_METHOD(std::unique_ptr<FixedChannelManager>, GetFixedChannelManager, (), (override));
Dfacade.cc334 …void on_l2cap_service_registration_complete(FixedChannelManager::RegistrationResult registration_r… in on_l2cap_service_registration_complete()
336 if (registration_result != FixedChannelManager::RegistrationResult::SUCCESS) { in on_l2cap_service_registration_complete()
366 void on_connect_fail(FixedChannelManager::ConnectionResult /* result */) { in on_connect_fail()
416 std::unique_ptr<FixedChannelManager> fixed_channel_manager_;
Dl2cap_le_module.h46 virtual std::unique_ptr<FixedChannelManager> GetFixedChannelManager();
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dfixed_channel_service_impl.h34 FixedChannelManager::OnRegistrationCompleteCallback on_registration_complete_callback_;
35 FixedChannelManager::OnConnectionOpenCallback on_connection_open_callback_;
47 FixedChannelManager::OnConnectionOpenCallback on_connection_open_callback) in FixedChannelServiceImpl()
52 FixedChannelManager::OnConnectionOpenCallback on_connection_open_callback_;
Dlink_manager_test.cc127 ….on_fail_callback_ = common::BindOnce([](FixedChannelManager::ConnectionResult result) { FAIL(); }… in TEST_F()
160 FixedChannelManager::ConnectionResult my_result; in TEST_F()
164 [&my_result](FixedChannelManager::ConnectionResult result) { my_result = result; })}; in TEST_F()
168 FixedChannelManager::ConnectionResultCode::FAIL_ALL_SERVICES_HAVE_CHANNEL); in TEST_F()
176 ….on_fail_callback_ = common::BindOnce([](FixedChannelManager::ConnectionResult result) { FAIL(); }… in TEST_F()
211 FixedChannelManager::ConnectionResult my_result; in TEST_F()
215 [&my_result](FixedChannelManager::ConnectionResult result) { my_result = result; })}; in TEST_F()
218 …EXPECT_EQ(my_result.connection_result_code, FixedChannelManager::ConnectionResultCode::FAIL_NO_SER… in TEST_F()
247 FixedChannelManager::ConnectionResult my_result; in TEST_F()
251 [&my_result](FixedChannelManager::ConnectionResult result) { my_result = result; })}; in TEST_F()
[all …]
Dfixed_channel_service_manager_impl.cc37FixedChannelManager::RegistrationResult::FAIL_INVALID_SERVICE, std::move(invalid_service))); in Register()
42FixedChannelManager::RegistrationResult::FAIL_DUPLICATE_SERVICE, std::move(invalid_service))); in Register()
50FixedChannelManager::RegistrationResult::SUCCESS, std::move(user_service))); in Register()
Dlink_manager.cc43 FixedChannelManager::ConnectionResult{ in ConnectFixedChannelServices()
44 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_NO_SERVICE_REGISTERED})); in ConnectFixedChannelServices()
68 FixedChannelManager::ConnectionResult{ in ConnectFixedChannelServices()
69 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_ALL_SERVICES_HAVE_CHANNE… in ConnectFixedChannelServices()
318 FixedChannelManager::ConnectionResult{ in OnConnectFail()
319 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_HCI_ERROR, .hci_error = … in OnConnectFail()
Dfixed_channel_service_manager_test.cc39 void OnServiceRegistered(bool expect_success, FixedChannelManager::RegistrationResult result, in OnServiceRegistered()
41 EXPECT_EQ(result == FixedChannelManager::RegistrationResult::SUCCESS, expect_success); in OnServiceRegistered()
Dfixed_channel_service_impl_mock.h32 …MockFixedChannelServiceImpl() : FixedChannelServiceImpl(nullptr, FixedChannelManager::OnConnection… in MockFixedChannelServiceImpl()
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dfixed_channel_service_impl.h34 FixedChannelManager::OnRegistrationCompleteCallback on_registration_complete_callback_;
35 FixedChannelManager::OnConnectionOpenCallback on_connection_open_callback_;
47 FixedChannelManager::OnConnectionOpenCallback on_connection_open_callback) in FixedChannelServiceImpl()
52 FixedChannelManager::OnConnectionOpenCallback on_connection_open_callback_;
Dlink_manager.cc43 FixedChannelManager::ConnectionResult{ in ConnectFixedChannelServices()
44 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_NO_SERVICE_REGISTERED})); in ConnectFixedChannelServices()
69 FixedChannelManager::ConnectionResult{ in ConnectFixedChannelServices()
70 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_ALL_SERVICES_HAVE_CHANNE… in ConnectFixedChannelServices()
145 FixedChannelManager::ConnectionResult{ in OnLeConnectFail()
146 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_HCI_ERROR, .hci_error = … in OnLeConnectFail()
Dlink_manager_test.cc122 ….on_fail_callback_ = common::BindOnce([](FixedChannelManager::ConnectionResult result) { FAIL(); }… in TEST_F()
165 FixedChannelManager::ConnectionResult my_result; in TEST_F()
169 [&my_result](FixedChannelManager::ConnectionResult result) { my_result = result; })}; in TEST_F()
173 FixedChannelManager::ConnectionResultCode::FAIL_ALL_SERVICES_HAVE_CHANNEL); in TEST_F()
181 ….on_fail_callback_ = common::BindOnce([](FixedChannelManager::ConnectionResult result) { FAIL(); }… in TEST_F()
227 FixedChannelManager::ConnectionResult my_result; in TEST_F()
231 [&my_result](FixedChannelManager::ConnectionResult result) { my_result = result; })}; in TEST_F()
234 …EXPECT_EQ(my_result.connection_result_code, FixedChannelManager::ConnectionResultCode::FAIL_NO_SER… in TEST_F()
266 FixedChannelManager::ConnectionResult my_result; in TEST_F()
270 [&my_result](FixedChannelManager::ConnectionResult result) { my_result = result; })}; in TEST_F()
[all …]
Dfixed_channel_service_manager_impl.cc37FixedChannelManager::RegistrationResult::FAIL_INVALID_SERVICE, std::move(invalid_service))); in Register()
42FixedChannelManager::RegistrationResult::FAIL_DUPLICATE_SERVICE, std::move(invalid_service))); in Register()
50FixedChannelManager::RegistrationResult::SUCCESS, std::move(user_service))); in Register()
Dfixed_channel_service_manager_test.cc39 void OnServiceRegistered(bool expect_success, FixedChannelManager::RegistrationResult result, in OnServiceRegistered()
41 EXPECT_EQ(result == FixedChannelManager::RegistrationResult::SUCCESS, expect_success); in OnServiceRegistered()
Dfixed_channel_service_impl_mock.h32 …MockFixedChannelServiceImpl() : FixedChannelServiceImpl(nullptr, FixedChannelManager::OnConnection… in MockFixedChannelServiceImpl()
/packages/modules/Bluetooth/system/gd/security/internal/
Dsecurity_manager_impl.h232 void OnL2capRegistrationCompleteLe(l2cap::le::FixedChannelManager::RegistrationResult result,
237 void OnConnectionFailureLe(bluetooth::l2cap::le::FixedChannelManager::ConnectionResult result);
254 std::unique_ptr<l2cap::le::FixedChannelManager> l2cap_manager_le_;

12