/system/bt/gd/l2cap/classic/internal/ |
D | dynamic_channel_service_impl.h | 38 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_;
|
D | dynamic_channel_service_manager_impl.cc | 33 … DynamicChannelManager::RegistrationResult::FAIL_INVALID_SERVICE, std::move(invalid_service)); in Register() 37 … DynamicChannelManager::RegistrationResult::FAIL_DUPLICATE_SERVICE, std::move(invalid_service)); in Register() 47 DynamicChannelManager::RegistrationResult::SUCCESS, std::move(user_service)); in Register()
|
D | link.h | 58 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);
|
D | dynamic_channel_service_manager_test.cc | 39 void OnServiceRegistered(bool expect_success, DynamicChannelManager::RegistrationResult result, in OnServiceRegistered() 41 EXPECT_EQ(result == DynamicChannelManager::RegistrationResult::SUCCESS, expect_success); in OnServiceRegistered()
|
D | signalling_manager.cc | 105 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()
|
D | link_test.cc | 53 void OnFail(DynamicChannelManager::ConnectionResult result) { in OnFail()
|
D | link.cc | 36 using ConnectionResult = DynamicChannelManager::ConnectionResult; 37 using ConnectionResultCode = DynamicChannelManager::ConnectionResultCode;
|
/system/bt/gd/shim/ |
D | l2cap_test.cc | 77 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 …]
|
D | l2cap.cc | 62 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/ |
D | dynamic_channel_service_impl.h | 38 DynamicChannelManager::OnRegistrationCompleteCallback on_registration_complete_callback_; 39 DynamicChannelManager::OnConnectionOpenCallback on_connection_open_callback_; 60 … DynamicChannelManager::OnConnectionOpenCallback on_connection_open_callback, in DynamicChannelServiceImpl() 67 DynamicChannelManager::OnConnectionOpenCallback on_connection_open_callback_;
|
D | dynamic_channel_service_manager_impl.cc | 35 … DynamicChannelManager::RegistrationResult::FAIL_INVALID_SERVICE, std::move(invalid_service))); in Register() 40 … DynamicChannelManager::RegistrationResult::FAIL_DUPLICATE_SERVICE, std::move(invalid_service))); in Register() 49 … DynamicChannelManager::RegistrationResult::SUCCESS, std::move(user_service))); in Register()
|
D | link.h | 59 DynamicChannelManager::OnConnectionOpenCallback on_open_callback_; 60 DynamicChannelManager::OnConnectionFailureCallback on_fail_callback_; 122 void NotifyChannelFail(Cid cid, DynamicChannelManager::ConnectionResult result);
|
D | dynamic_channel_service_manager_test.cc | 38 void OnServiceRegistered(bool expect_success, DynamicChannelManager::RegistrationResult result, in OnServiceRegistered() 40 EXPECT_EQ(result == DynamicChannelManager::RegistrationResult::SUCCESS, expect_success); in OnServiceRegistered()
|
D | link.cc | 175 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/ |
D | dynamic_channel_manager.h | 42 class DynamicChannelManager { 125 virtual ~DynamicChannelManager() = default; 128 DynamicChannelManager() = default; 132 DynamicChannelManager(internal::DynamicChannelServiceManagerImpl* service_manager, in DynamicChannelManager() function 142 DISALLOW_COPY_AND_ASSIGN(DynamicChannelManager);
|
D | dynamic_channel_manager.cc | 27 void DynamicChannelManager::ConnectChannel( in ConnectChannel() 42 void DynamicChannelManager::RegisterService( in RegisterService()
|
D | l2cap_classic_module.cc | 105 std::unique_ptr<DynamicChannelManager> L2capClassicModule::GetDynamicChannelManager() { in GetDynamicChannelManager() 106 return std::unique_ptr<DynamicChannelManager>(new DynamicChannelManager( in GetDynamicChannelManager()
|
D | l2cap_classic_module_mock.h | 31 MOCK_METHOD(std::unique_ptr<DynamicChannelManager>, GetDynamicChannelManager, (), (override));
|
D | l2cap_classic_module.h | 48 virtual std::unique_ptr<DynamicChannelManager> GetDynamicChannelManager();
|
D | facade.cc | 183 …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/ |
D | l2cap_le_module.cc | 76 std::unique_ptr<DynamicChannelManager> L2capLeModule::GetDynamicChannelManager() { in GetDynamicChannelManager() 77 return std::unique_ptr<DynamicChannelManager>(new DynamicChannelManager( in GetDynamicChannelManager()
|
D | dynamic_channel_manager.h | 41 class DynamicChannelManager { 131 DynamicChannelManager(internal::DynamicChannelServiceManagerImpl* service_manager, in DynamicChannelManager() function 141 DISALLOW_COPY_AND_ASSIGN(DynamicChannelManager);
|
D | dynamic_channel_manager.cc | 27 bool DynamicChannelManager::ConnectChannel(hci::AddressWithType device, in ConnectChannel() 44 bool DynamicChannelManager::RegisterService(Psm psm, DynamicChannelConfigurationOption configuratio… in RegisterService()
|
D | l2cap_le_module.h | 47 virtual std::unique_ptr<DynamicChannelManager> GetDynamicChannelManager();
|
D | facade.cc | 160 …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_;
|