/packages/modules/Bluetooth/system/gd/hci/facade/ |
D | acl_manager_facade.cc | 61 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 …]
|
D | le_acl_manager_facade.cc | 65 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/ |
D | acl_manager_test.cc | 270 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 …]
|
D | acl_manager_unittest.cc | 327 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/ |
D | pairing_client.cpp | 82 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/ |
D | acl.cc | 535 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/ |
D | pairing_client.cpp | 84 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/ |
D | le_acl_connection_test.cc | 181 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 222 …connection_->LeSubrateRequest(kIntervalMin, kIntervalMax, kLatency, kContinuationNumber, kTimeout); in TEST_F() 245 …connection_->LeSubrateRequest(kIntervalMin, kIntervalMax, kLatency, kContinuationNumber, kTimeout); in TEST_F()
|
D | classic_acl_connection_test.cc | 291 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()
|
D | le_impl_test.cc | 430 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/ |
D | transport.h | 271 connection_(nullptr), in atransport() 298 return connection_; in connection() 426 std::shared_ptr<Connection> connection_ GUARDED_BY(mutex_);
|
D | transport.cpp | 1093 if (!connection_->Attach(error)) { in Attach() 1120 if (!connection_->Detach(error)) { in Detach() 1132 connection_ = std::shared_ptr<Connection>(std::move(connection)); in SetConnection()
|