Home
last modified time | relevance | path

Searched refs:DynamicChannelManager (Results 1 – 25 of 26) sorted by relevance

12

/system/bt/gd/l2cap/classic/internal/
Ddynamic_channel_service_impl.h38 DynamicChannelManager::OnRegistrationCompleteCallback on_registration_complete_callback_;
39 DynamicChannelManager::OnConnectionOpenCallback on_connection_open_callback_;
61 DynamicChannelManager::OnConnectionOpenCallback on_connection_open_callback, in DynamicChannelServiceImpl()
69 DynamicChannelManager::OnConnectionOpenCallback on_connection_open_callback_;
Ddynamic_channel_service_manager_impl.cc33DynamicChannelManager::RegistrationResult::FAIL_INVALID_SERVICE, std::move(invalid_service)); in Register()
37DynamicChannelManager::RegistrationResult::FAIL_DUPLICATE_SERVICE, std::move(invalid_service)); in Register()
47 DynamicChannelManager::RegistrationResult::SUCCESS, std::move(user_service)); in Register()
Dlink.h58 DynamicChannelManager::OnConnectionOpenCallback on_open_callback_;
59 DynamicChannelManager::OnConnectionFailureCallback on_fail_callback_;
114 …virtual void OnOutgoingConnectionRequestFail(Cid local_cid, DynamicChannelManager::ConnectionResul…
135 virtual void NotifyChannelFail(Cid cid, DynamicChannelManager::ConnectionResult result);
Ddynamic_channel_service_manager_test.cc39 void OnServiceRegistered(bool expect_success, DynamicChannelManager::RegistrationResult result, in OnServiceRegistered()
41 EXPECT_EQ(result == DynamicChannelManager::RegistrationResult::SUCCESS, expect_success); in OnServiceRegistered()
Dsignalling_manager.cc105 DynamicChannelManager::ConnectionResult connection_result{ in on_security_result_for_outgoing()
106 .connection_result_code = DynamicChannelManager::ConnectionResultCode::FAIL_SECURITY_BLOCK, in on_security_result_for_outgoing()
210 DynamicChannelManager::ConnectionResult connection_result{ in on_security_result_for_incoming()
211 .connection_result_code = DynamicChannelManager::ConnectionResultCode::FAIL_SECURITY_BLOCK, in on_security_result_for_incoming()
256 DynamicChannelManager::ConnectionResult connection_result{ in OnConnectionResponse()
257 .connection_result_code = DynamicChannelManager::ConnectionResultCode::FAIL_L2CAP_ERROR, in OnConnectionResponse()
269 DynamicChannelManager::ConnectionResult connection_result{ in OnConnectionResponse()
270 .connection_result_code = DynamicChannelManager::ConnectionResultCode::FAIL_L2CAP_ERROR, in OnConnectionResponse()
853 DynamicChannelManager::ConnectionResult connection_result{ in on_command_timeout()
854 .connection_result_code = DynamicChannelManager::ConnectionResultCode::FAIL_L2CAP_ERROR, in on_command_timeout()
Dlink_test.cc53 void OnFail(DynamicChannelManager::ConnectionResult result) { in OnFail()
Dlink.cc36 using ConnectionResult = DynamicChannelManager::ConnectionResult;
37 using ConnectionResultCode = DynamicChannelManager::ConnectionResultCode;
/system/bt/gd/shim/
Dl2cap_test.cc77 l2cap::classic::DynamicChannelManager::OnConnectionOpenCallback on_open_callback, in ConnectChannel()
78 l2cap::classic::DynamicChannelManager::OnConnectionFailureCallback on_fail_callback) { in ConnectChannel()
91 … l2cap::classic::DynamicChannelManager::OnRegistrationCompleteCallback on_registration_complete, in RegisterService()
92 l2cap::classic::DynamicChannelManager::OnConnectionOpenCallback on_open_callback) { in RegisterService()
119 …void SetConnectionOnFail(l2cap::classic::DynamicChannelManager::ConnectionResult result, std::prom… in SetConnectionOnFail()
129 l2cap::classic::DynamicChannelManager::OnRegistrationCompleteCallback on_registration_complete_{};
130 l2cap::classic::DynamicChannelManager::OnConnectionOpenCallback on_open_callback_{};
131 l2cap::classic::DynamicChannelManager::OnConnectionFailureCallback on_fail_callback_{};
144 class TestDynamicChannelManager : public l2cap::classic::DynamicChannelManager {
150 l2cap::classic::DynamicChannelManager::OnConnectionOpenCallback on_open_callback, in ConnectChannel()
[all …]
Dl2cap.cc62 using PendingConnectionFail = std::function<void(l2cap::classic::DynamicChannelManager::ConnectionR…
350 void OnConnectionFailure(l2cap::classic::DynamicChannelManager::ConnectionResult result) { in OnConnectionFailure()
353 case l2cap::classic::DynamicChannelManager::ConnectionResultCode::SUCCESS: in OnConnectionFailure()
356 case l2cap::classic::DynamicChannelManager::ConnectionResultCode::FAIL_NO_SERVICE_REGISTERED: in OnConnectionFailure()
360 case l2cap::classic::DynamicChannelManager::ConnectionResultCode::FAIL_HCI_ERROR: in OnConnectionFailure()
363 case l2cap::classic::DynamicChannelManager::ConnectionResultCode::FAIL_L2CAP_ERROR: in OnConnectionFailure()
369 case l2cap::classic::DynamicChannelManager::ConnectionResultCode::FAIL_REMOTE_NOT_SUPPORT: in OnConnectionFailure()
372 case l2cap::classic::DynamicChannelManager::ConnectionResultCode::FAIL_SECURITY_BLOCK: in OnConnectionFailure()
425 std::unique_ptr<l2cap::classic::DynamicChannelManager> dynamic_channel_manager_;
439 l2cap::classic::DynamicChannelManager::ConnectionResult result);
[all …]
/system/bt/gd/l2cap/le/internal/
Ddynamic_channel_service_impl.h38 DynamicChannelManager::OnRegistrationCompleteCallback on_registration_complete_callback_;
39 DynamicChannelManager::OnConnectionOpenCallback on_connection_open_callback_;
60DynamicChannelManager::OnConnectionOpenCallback on_connection_open_callback, in DynamicChannelServiceImpl()
67 DynamicChannelManager::OnConnectionOpenCallback on_connection_open_callback_;
Ddynamic_channel_service_manager_impl.cc35DynamicChannelManager::RegistrationResult::FAIL_INVALID_SERVICE, std::move(invalid_service))); in Register()
40DynamicChannelManager::RegistrationResult::FAIL_DUPLICATE_SERVICE, std::move(invalid_service))); in Register()
49DynamicChannelManager::RegistrationResult::SUCCESS, std::move(user_service))); in Register()
Dlink.h59 DynamicChannelManager::OnConnectionOpenCallback on_open_callback_;
60 DynamicChannelManager::OnConnectionFailureCallback on_fail_callback_;
122 void NotifyChannelFail(Cid cid, DynamicChannelManager::ConnectionResult result);
Ddynamic_channel_service_manager_test.cc38 void OnServiceRegistered(bool expect_success, DynamicChannelManager::RegistrationResult result, in OnServiceRegistered()
40 EXPECT_EQ(result == DynamicChannelManager::RegistrationResult::SUCCESS, expect_success); in OnServiceRegistered()
Dlink.cc175 DynamicChannelManager::ConnectionResult result{ in OnOutgoingConnectionRequestFail()
176 .connection_result_code = DynamicChannelManager::ConnectionResultCode::FAIL_L2CAP_ERROR, in OnOutgoingConnectionRequestFail()
239 void Link::NotifyChannelFail(Cid cid, DynamicChannelManager::ConnectionResult result) { in NotifyChannelFail()
/system/bt/gd/l2cap/classic/
Ddynamic_channel_manager.h42 class DynamicChannelManager {
125 virtual ~DynamicChannelManager() = default;
128 DynamicChannelManager() = default;
132 DynamicChannelManager(internal::DynamicChannelServiceManagerImpl* service_manager, in DynamicChannelManager() function
142 DISALLOW_COPY_AND_ASSIGN(DynamicChannelManager);
Ddynamic_channel_manager.cc27 void DynamicChannelManager::ConnectChannel( in ConnectChannel()
42 void DynamicChannelManager::RegisterService( in RegisterService()
Dl2cap_classic_module.cc105 std::unique_ptr<DynamicChannelManager> L2capClassicModule::GetDynamicChannelManager() { in GetDynamicChannelManager()
106 return std::unique_ptr<DynamicChannelManager>(new DynamicChannelManager( in GetDynamicChannelManager()
Dl2cap_classic_module_mock.h31 MOCK_METHOD(std::unique_ptr<DynamicChannelManager>, GetDynamicChannelManager, (), (override));
Dl2cap_classic_module.h48 virtual std::unique_ptr<DynamicChannelManager> GetDynamicChannelManager();
Dfacade.cc183 …void on_l2cap_service_registration_complete(DynamicChannelManager::RegistrationResult registration… in on_l2cap_service_registration_complete()
234 void on_connect_fail(DynamicChannelManager::ConnectionResult result) {} in on_connect_fail()
261 std::unique_ptr<DynamicChannelManager> dynamic_channel_manager_;
/system/bt/gd/l2cap/le/
Dl2cap_le_module.cc76 std::unique_ptr<DynamicChannelManager> L2capLeModule::GetDynamicChannelManager() { in GetDynamicChannelManager()
77 return std::unique_ptr<DynamicChannelManager>(new DynamicChannelManager( in GetDynamicChannelManager()
Ddynamic_channel_manager.h41 class DynamicChannelManager {
131 DynamicChannelManager(internal::DynamicChannelServiceManagerImpl* service_manager, in DynamicChannelManager() function
141 DISALLOW_COPY_AND_ASSIGN(DynamicChannelManager);
Ddynamic_channel_manager.cc27 bool DynamicChannelManager::ConnectChannel(hci::AddressWithType device, in ConnectChannel()
44 bool DynamicChannelManager::RegisterService(Psm psm, DynamicChannelConfigurationOption configuratio… in RegisterService()
Dl2cap_le_module.h47 virtual std::unique_ptr<DynamicChannelManager> GetDynamicChannelManager();
Dfacade.cc160 …void on_l2cap_service_registration_complete(DynamicChannelManager::RegistrationResult registration… in on_l2cap_service_registration_complete()
162 if (registration_result != DynamicChannelManager::RegistrationResult::SUCCESS) { in on_l2cap_service_registration_complete()
191 void on_connect_fail(DynamicChannelManager::ConnectionResult result) { in on_connect_fail()
242 std::unique_ptr<DynamicChannelManager> dynamic_channel_manager_;
246 DynamicChannelManager::ConnectionResult channel_open_fail_reason_;

12