Home
last modified time | relevance | path

Searched refs:connection_ (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Bluetooth/system/gd/hci/facade/
Dacl_manager_facade.cc61 connection.second.connection_->GetAclQueueEnd()->UnregisterDequeue(); in ~AclManagerFacadeService()
94 … connection->second.connection_->Disconnect(DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION); in Disconnect()
110 connection->second.connection_->AuthenticationRequested(); in AuthenticationRequested()
143 connection->second.connection_->AuthenticationRequested(); in ConnectionCommand()
149 connection->second.connection_->Disconnect(view.GetReason()); in ConnectionCommand()
155 connection->second.connection_->ChangeConnectionPacketType(view.GetPacketType()); in ConnectionCommand()
161 connection->second.connection_->SetConnectionEncryption(view.GetEncryptionEnable()); in ConnectionCommand()
166 connection->second.connection_->ChangeConnectionLinkKey(); in ConnectionCommand()
171 connection->second.connection_->ReadClockOffset(); in ConnectionCommand()
177 …connection->second.connection_->HoldMode(view.GetHoldModeMaxInterval(), view.GetHoldModeMinInterva… in ConnectionCommand()
[all …]
Dle_acl_manager_facade.cc65 if (conn.second.connection_ != nullptr) { in ~LeAclManagerFacadeService()
66 conn.second.connection_->GetAclQueueEnd()->UnregisterDequeue(); in ~LeAclManagerFacadeService()
67 conn.second.connection_.reset(); in ~LeAclManagerFacadeService()
140 … connection->second.connection_->Disconnect(DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION); in Disconnect()
174 connection->second.connection_->Disconnect(view.GetReason()); in ConnectionCommand()
245 connection->second.connection_->GetAclQueueEnd()->RegisterEnqueue( in SendAclData()
263 connection->second.connection_->GetAclQueueEnd()->UnregisterEnqueue(); in enqueue_packet()
363 … : handle_(handle), connection_(std::move(connection)), event_stream_(std::move(event_stream)) {} in Connection()
424 std::shared_ptr<LeAclConnection> connection_; member in bluetooth::hci::facade::LeAclManagerFacadeService::Connection
/packages/modules/Bluetooth/system/gd/hci/
Dacl_manager_test.cc270 connection_ = GetLastConnection(); in SetUp()
271 connection_->RegisterCallbacks(&mock_connection_management_callbacks_, client_handler_); in SetUp()
280 connection_.reset(); in TearDown()
287 std::shared_ptr<ClassicAclConnection> connection_; member in bluetooth::hci::acl_manager::AclManagerWithConnectionTest
414 connection_ = GetLastLeConnection(); in SetUp()
423 connection_.reset(); in TearDown()
431 std::shared_ptr<LeAclConnection> connection_; member in bluetooth::hci::acl_manager::AclManagerWithLeConnectionTest
447 ASSERT_EQ(connection_->GetLocalAddress(), my_initiating_address); in TEST_F()
448 ASSERT_EQ(connection_->GetRemoteAddress(), remote_with_type_); in TEST_F()
612 ASSERT_EQ(connection_->GetRemoteAddress(), remote_with_type_); in TEST_F()
[all …]
Dacl_manager_unittest.cc327 connection_ = GetLastConnection(); in SetUp()
328 connection_->RegisterCallbacks(&mock_connection_management_callbacks_, client_handler_); in SetUp()
339 std::shared_ptr<ClassicAclConnection> connection_; member in bluetooth::hci::acl_manager::__anond0d203480111::AclManagerWithConnectionTest
446 connection_ = GetLastLeConnection(); in SetUp()
464 std::shared_ptr<LeAclConnection> connection_; member in bluetooth::hci::acl_manager::__anond0d203480111::AclManagerWithLeConnectionTest
/packages/modules/adb/client/pairing/
Dpairing_client.cpp82 ConnectionPtr connection_; member in adbwifi::pairing::__anon5847fc2b0111::PairingClientImpl
98 if (connection_ != nullptr) { in ~PairingClientImpl()
99 connection_.reset(); in ~PairingClientImpl()
139 connection_ = ConnectionPtr( in StartConnection()
142 CHECK(connection_); in StartConnection()
145 if (!pairing_connection_start(connection_.get(), osh, OnPairingResult, this)) { in StartConnection()
/packages/modules/Bluetooth/system/main/shim/
Dacl.cc535 connection_(std::move(connection)) {} in ClassicShimAclConnection()
538 connection_->RegisterCallbacks(this, handler_); in RegisterCallbacks()
542 connection_->ReadRemoteVersionInformation(); in ReadRemoteControllerInformation()
543 connection_->ReadRemoteSupportedFeatures(); in ReadRemoteControllerInformation()
659 ToRawAddress(connection_->GetAddress()), ToLegacyRole(new_role)); in OnRoleChange()
660 BTM_LogHistory(kBtmLogTag, ToRawAddress(connection_->GetAddress()), in OnRoleChange()
686 connection_->ReadRemoteExtendedFeatures(1); in OnReadRemoteSupportedFeaturesComplete()
705 connection_->ReadRemoteExtendedFeatures(page_number + 1); in OnReadRemoteExtendedFeaturesComplete()
708 hci::Address GetRemoteAddress() const { return connection_->GetAddress(); } in GetRemoteAddress()
711 connection_->Disconnect(reason); in InitiateDisconnect()
[all …]
/packages/modules/adb/pairing_connection/tests/
Dpairing_client.cpp84 ConnectionPtr connection_; member in adb::pairing::__anon1681300e0111::PairingClientImpl
105 connection_(nullptr, ConnectionDeleter) { in PairingClientImpl()
173 connection_ = CreatePairingConnection(pswd_, peer_info_, cert_, priv_key_); in StartConnection()
174 if (connection_ == nullptr) { in StartConnection()
179 if (!pairing_connection_start(connection_.get(), fd.release(), PairingResultCallback, this)) { in StartConnection()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_acl_connection_test.cc181 connection_ = new LeAclConnection( in SetUp()
187 connection_->RegisterCallbacks(&callbacks_, handler_); in SetUp()
192 delete connection_; in TearDown()
214 LeAclConnection* connection_; member in bluetooth::hci::acl_manager::__anonc5d659a60111::LeAclConnectionTest
222connection_->LeSubrateRequest(kIntervalMin, kIntervalMax, kLatency, kContinuationNumber, kTimeout); in TEST_F()
245connection_->LeSubrateRequest(kIntervalMin, kIntervalMax, kLatency, kContinuationNumber, kTimeout); in TEST_F()
Dclassic_acl_connection_test.cc291 connection_ = in SetUp()
293 connection_->RegisterCallbacks(&callbacks_, handler_); in SetUp()
295 connection_management_callbacks_ = connection_->GetEventCallbacks( in SetUp()
301 connection_.reset(); in TearDown()
307 std::unique_ptr<ClassicAclConnection> connection_; member in bluetooth::hci::acl_manager::ClassicAclConnectionWithCallbacksTest
315 ASSERT_TRUE(connection_->Disconnect(reason)); in TEST_F()
Dle_impl_test.cc430 connection_ = std::move(conn); in SetUp()
431 connection_->RegisterCallbacks(&connection_management_callbacks_, handler_); in SetUp()
456 connection_.reset(); in TearDown()
461 std::unique_ptr<LeAclConnection> connection_; member in bluetooth::hci::acl_manager::LeImplWithConnectionTest
/packages/modules/adb/
Dtransport.h271 connection_(nullptr), in atransport()
298 return connection_; in connection()
426 std::shared_ptr<Connection> connection_ GUARDED_BY(mutex_);
Dtransport.cpp1093 if (!connection_->Attach(error)) { in Attach()
1120 if (!connection_->Detach(error)) { in Detach()
1132 connection_ = std::shared_ptr<Connection>(std::move(connection)); in SetConnection()