Searched refs:server_ (Results 1 – 6 of 6) sorted by relevance
/packages/modules/adb/tls/tests/ |
D | tls_connection_test.cpp | 214 server_ = TlsConnection::Create(TlsConnection::Role::Server, kTestRsa2048ServerCert, in SetUp() 218 ASSERT_NE(nullptr, server_); in SetUp() 225 server_.reset(); in TearDown() 257 std::unique_ptr<TlsConnection> server_; member in adb::tls::AdbWifiTlsConnectionTest 266 server_ = TlsConnection::Create(TlsConnection::Role::Server, "", in TEST_F() 272 server_ = TlsConnection::Create(TlsConnection::Role::Server, kTestRsa2048ServerCert, in TEST_F() 292 server_->SetCertVerifyCallback([](X509_STORE_CTX*) { return 1; }); in TEST_F() 297 ASSERT_EQ(server_->DoHandshake(), TlsError::Success); in TEST_F() 310 auto data = server_->ReadFully(msg_.size()); in TEST_F() 312 EXPECT_TRUE(server_->WriteFully( in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/gd/facade/ |
D | grpc_root_server.cc | 148 std::unique_ptr<::grpc::Server> server_ = nullptr; member 165 pimpl_->server_ = builder.BuildAndStart(); in StartServer() 167 log::assert_that(pimpl_->server_ != nullptr, "assert failed: pimpl_->server_ != nullptr"); in StartServer() 172 pimpl_->server_->Shutdown(); in StopServer() 178 pimpl_->server_->Wait(); in RunGrpcLoop()
|
/packages/modules/Bluetooth/system/gd/grpc/ |
D | grpc_module.cc | 52 server_ = builder.BuildAndStart(); in StartServer() 53 log::assert_that(server_ != nullptr, "assert failed: server_ != nullptr"); in StartServer() 64 server_->Shutdown(); in StopServer()
|
D | grpc_module.h | 56 std::unique_ptr<::grpc::Server> server_ = nullptr; variable
|
/packages/modules/adb/pairing_connection/tests/ |
D | pairing_connection_test.cpp | 172 server_ = CreateServer(server_pswd); in InitPairing() 203 ServerPtr server_; member in adb::pairing::AdbPairingConnectionTest 341 auto port = pairing_server_start(server_.get(), server_waiter.ResultCallback, &server_waiter); in TEST_F() 360 server_.reset(); in TEST_F() 380 auto port = pairing_server_start(server_.get(), server_waiter.ResultCallback, &server_waiter); in TEST_F() 394 server_.reset(); in TEST_F()
|
/packages/modules/adb/client/pairing/tests/ |
D | pairing_connection_test.cpp | 89 server_ = PairingServer::create(server_pswd, server_info_, cert, key, kDefaultPairingPort); in initPairing() 125 std::unique_ptr<PairingServer> server_; member in adbwifi::pairing::AdbWifiPairingConnectionTest 212 ASSERT_TRUE(server_->start(server_callback, nullptr)); in TEST_F() 245 server_.reset(); in TEST_F() 273 ASSERT_TRUE(server_->start(server_callback, nullptr)); in TEST_F() 295 server_.reset(); in TEST_F() 465 server_.reset(); in TEST_F()
|