Home
last modified time | relevance | path

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

12

/system/bt/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_;
Dfixed_channel_service_manager_impl.cc35FixedChannelManager::RegistrationResult::FAIL_INVALID_SERVICE, std::move(invalid_service))); in Register()
40FixedChannelManager::RegistrationResult::FAIL_DUPLICATE_SERVICE, std::move(invalid_service))); in Register()
48FixedChannelManager::RegistrationResult::SUCCESS, std::move(user_service))); in Register()
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_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()
Dlink_manager.cc41 FixedChannelManager::ConnectionResult{ in ConnectFixedChannelServices()
42 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_NO_SERVICE_REGISTERED})); in ConnectFixedChannelServices()
66 FixedChannelManager::ConnectionResult{ in ConnectFixedChannelServices()
67 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_ALL_SERVICES_HAVE_CHANNE… in ConnectFixedChannelServices()
310 FixedChannelManager::ConnectionResult{ in OnConnectFail()
311 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_HCI_ERROR, .hci_error = … in OnConnectFail()
/system/bt/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.cc41 FixedChannelManager::ConnectionResult{ in ConnectFixedChannelServices()
42 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_NO_SERVICE_REGISTERED})); in ConnectFixedChannelServices()
67 FixedChannelManager::ConnectionResult{ in ConnectFixedChannelServices()
68 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_ALL_SERVICES_HAVE_CHANNE… in ConnectFixedChannelServices()
141 FixedChannelManager::ConnectionResult{ in OnLeConnectFail()
142 ….connection_result_code = FixedChannelManager::ConnectionResultCode::FAIL_HCI_ERROR, .hci_error = … in OnLeConnectFail()
Dfixed_channel_service_manager_impl.cc35FixedChannelManager::RegistrationResult::FAIL_INVALID_SERVICE, std::move(invalid_service))); in Register()
40FixedChannelManager::RegistrationResult::FAIL_DUPLICATE_SERVICE, std::move(invalid_service))); in Register()
48FixedChannelManager::RegistrationResult::SUCCESS, std::move(user_service))); in Register()
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_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()
/system/bt/gd/l2cap/classic/
Dfixed_channel_manager.h42 class FixedChannelManager {
132 virtual ~FixedChannelManager() = default;
139FixedChannelManager(internal::FixedChannelServiceManagerImpl* service_manager, internal::LinkManag… in FixedChannelManager() function
146 DISALLOW_COPY_AND_ASSIGN(FixedChannelManager);
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.cc108 std::unique_ptr<FixedChannelManager> L2capClassicModule::GetFixedChannelManager() { in GetFixedChannelManager()
109 …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.h44 virtual std::unique_ptr<FixedChannelManager> GetFixedChannelManager();
/system/bt/gd/l2cap/le/
Dfixed_channel_manager.h37 class FixedChannelManager {
133FixedChannelManager(internal::FixedChannelServiceManagerImpl* service_manager, internal::LinkManag… in FixedChannelManager() function
139 DISALLOW_COPY_AND_ASSIGN(FixedChannelManager);
Dl2cap_le_module.cc88 std::unique_ptr<FixedChannelManager> L2capLeModule::GetFixedChannelManager() { in GetFixedChannelManager()
89 …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));
Dl2cap_le_module.h47 virtual std::unique_ptr<FixedChannelManager> GetFixedChannelManager();
/system/bt/gd/att/
Datt_module.cc36 l2cap::le::FixedChannelManager::RegistrationResult result, in OnAttRegistrationCompleteLe()
53 std::unique_ptr<bluetooth::l2cap::le::FixedChannelManager> l2cap_manager_le_( in impl()
/system/bt/gd/security/internal/
Dsecurity_manager_impl.h227 void OnL2capRegistrationCompleteLe(l2cap::le::FixedChannelManager::RegistrationResult result,
232 void OnConnectionFailureLe(bluetooth::l2cap::le::FixedChannelManager::ConnectionResult result);
249 std::unique_ptr<l2cap::le::FixedChannelManager> l2cap_manager_le_;

12