/system/core/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 …]
|
/system/connectivity/wificond/tests/ |
D | server_unittest.cpp | 116 Server server_{unique_ptr<InterfaceTool>(if_tool_), member in android::wificond::__anond5c21cac0111::ServerTest 127 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 134 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 139 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &second_ap_if).isOk()); in TEST_F() 147 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 151 EXPECT_TRUE(server_.tearDownInterfaces().isOk()); in TEST_F() 153 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 159 EXPECT_TRUE(server_.createApInterface(kFakeInterfaceName, &ap_if).isOk()); in TEST_F() 164 EXPECT_TRUE(server_.tearDownApInterface( in TEST_F() 168 EXPECT_TRUE(server_.tearDownApInterface(kFakeInterfaceName, &success).isOk()); in TEST_F() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | polled_socket_test.cc | 40 server_.Initialize(kPort); in SetUp() 49 PolledSocketServer server_; member in test_vendor_lib::net::PolledSocketTest 64 server_.Receive(3, rx_buf.data()); in TEST_F() 66 server_.Receive(3, rx_buf.data()); in TEST_F()
|
/system/bt/gd/grpc/ |
D | grpc_module.cc | 50 server_ = builder.BuildAndStart(); in StartServer() 51 ASSERT(server_ != nullptr); in StartServer() 61 server_->Shutdown(); in StopServer()
|
D | grpc_module.h | 56 std::unique_ptr<::grpc::Server> server_ = nullptr; variable
|
/system/bt/gd/facade/ |
D | grpc_root_server.cc | 174 server_ = builder.BuildAndStart(); in StartServer() 176 ASSERT(server_ != nullptr); in StartServer() 181 server_->Shutdown(); in StopServer() 183 server_.reset(); in StopServer() 189 server_->Wait(); in RunGrpcLoop()
|
D | grpc_root_server.h | 37 std::unique_ptr<::grpc::Server> server_ = nullptr; variable
|
/system/core/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()
|
/system/core/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()
|
/system/update_engine/common/ |
D | http_fetcher_unittest.cc | 814 : server_(server) {} in FailureHttpFetcherTestDelegate() 817 if (server_) { in ~FailureHttpFetcherTestDelegate() 819 server_.reset(); in ~FailureHttpFetcherTestDelegate() 827 if (server_) { in ReceivedBytes() 829 server_.reset(); in ReceivedBytes() 844 unique_ptr<PythonHttpServer> server_; member in chromeos_update_engine::__anon3e472ea50711::FailureHttpFetcherTestDelegate
|