Home
last modified time | relevance | path

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

/system/bt/gd/hci/facade/
Dacl_manager_facade.cc55 connection.second.connection_->GetAclQueueEnd()->UnregisterDequeue(); in ~AclManagerFacadeService()
82 … connection->second.connection_->Disconnect(DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION); in Disconnect()
95 connection->second.connection_->AuthenticationRequested(); in AuthenticationRequested()
125 connection->second.connection_->AuthenticationRequested(); in ConnectionCommand()
131 connection->second.connection_->Disconnect(view.GetReason()); in ConnectionCommand()
137 connection->second.connection_->ChangeConnectionPacketType(view.GetPacketType()); in ConnectionCommand()
143 connection->second.connection_->SetConnectionEncryption(view.GetEncryptionEnable()); in ConnectionCommand()
148 connection->second.connection_->ChangeConnectionLinkKey(); in ConnectionCommand()
153 connection->second.connection_->ReadClockOffset(); in ConnectionCommand()
159 …connection->second.connection_->HoldMode(view.GetHoldModeMaxInterval(), view.GetHoldModeMinInterva… in ConnectionCommand()
[all …]
Dle_acl_manager_facade.cc55 if (conn.second.connection_ != nullptr) { in ~LeAclManagerFacadeService()
56 conn.second.connection_->GetAclQueueEnd()->UnregisterDequeue(); in ~LeAclManagerFacadeService()
57 conn.second.connection_.reset(); in ~LeAclManagerFacadeService()
101 … connection->second.connection_->Disconnect(DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION); in Disconnect()
132 connection->second.connection_->Disconnect(view.GetReason()); in ConnectionCommand()
163 connection->second.connection_->GetAclQueueEnd()->RegisterEnqueue( in SendAclData()
181 connection->second.connection_->GetAclQueueEnd()->UnregisterEnqueue(); in enqueue_packet()
267 … : handle_(handle), connection_(std::move(connection)), event_stream_(std::move(event_stream)) {} in Connection()
290 std::shared_ptr<LeAclConnection> connection_; member in bluetooth::hci::facade::LeAclManagerFacadeService::Connection
/system/bt/gd/hci/
Dacl_manager_test.cc461 connection_ = GetLastConnection(); in SetUp()
462 connection_->RegisterCallbacks(&mock_connection_management_callbacks_, client_handler_); in SetUp()
480 std::shared_ptr<ClassicAclConnection> connection_; member in bluetooth::hci::acl_manager::__anon0d2b85f20111::AclManagerWithConnectionTest
612 connection_ = GetLastLeConnection(); in SetUp()
630 std::shared_ptr<LeAclConnection> connection_; member in bluetooth::hci::acl_manager::__anon0d2b85f20111::AclManagerWithLeConnectionTest
644 ASSERT_EQ(connection_->GetLocalAddress(), my_initiating_address); in TEST_F()
645 ASSERT_EQ(connection_->GetRemoteAddress(), remote_with_type_); in TEST_F()
716 ASSERT_EQ(connection_->GetRemoteAddress(), remote_with_type_); in TEST_F()
717 ASSERT_EQ(connection_->GetHandle(), handle_); in TEST_F()
721 auto queue_end = connection_->GetAclQueueEnd(); in TEST_F()
[all …]
/system/core/adb/client/pairing/
Dpairing_client.cpp82 ConnectionPtr connection_; member in adbwifi::pairing::__anon35b3e0a10111::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()
/system/core/adb/pairing_connection/tests/
Dpairing_client.cpp84 ConnectionPtr connection_; member in adb::pairing::__anonffd5a0040111::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()
/system/core/adb/
Dtransport.h267 connection_(nullptr), in atransport()
294 return connection_; in connection()
409 std::shared_ptr<Connection> connection_ GUARDED_BY(mutex_);
Dtransport.cpp1126 connection_ = std::shared_ptr<Connection>(std::move(connection)); in SetConnection()