Searched refs:CreateServer (Results 1 – 2 of 2) sorted by relevance
/system/core/adb/pairing_connection/tests/ |
D | pairing_connection_test.cpp | 172 server_ = CreateServer(server_pswd); in InitPairing() 176 ServerPtr CreateServer(const std::vector<uint8_t>& pswd) { in CreateServer() function in adb::pairing::AdbPairingConnectionTest 177 return CreateServer(pswd, &server_info_, kTestRsa2048ServerCert, kTestRsa2048ServerPrivKey, in CreateServer() 194 static ServerPtr CreateServer(const std::vector<uint8_t>& pswd, const PeerInfo* peer_info, in CreateServer() function in adb::pairing::AdbPairingConnectionTest 218 ASSERT_DEATH({ auto server = CreateServer({}, nullptr, "", "", 0); }, ""); in TEST_F() 222 auto server = CreateServer({}, &server_info_, kTestRsa2048ServerCert, in TEST_F() 229 auto server = CreateServer({0x01}, nullptr, kTestRsa2048ServerCert, in TEST_F() 236 auto server = CreateServer({0x01}, &server_info_, "", kTestRsa2048ServerPrivKey, 0); in TEST_F() 241 { auto server = CreateServer({0x01}, &server_info_, kTestRsa2048ServerCert, "", 0); }, in TEST_F() 244 auto server = CreateServer({0x01}, &server_info_, kTestRsa2048ServerCert, in TEST_F() [all …]
|
/system/update_engine/common/ |
D | http_fetcher_unittest.cc | 216 virtual HttpServer* CreateServer() = 0; 246 HttpServer* CreateServer() override { return new NullHttpServer; } in CreateServer() function in chromeos_update_engine::MockHttpFetcherTest 289 HttpServer* CreateServer() override { return new PythonHttpServer; } in CreateServer() function in chromeos_update_engine::LibcurlHttpFetcherTest 360 HttpServer* CreateServer() override { return new NullHttpServer; } in CreateServer() function in chromeos_update_engine::FileFetcherTest 483 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() 499 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() 523 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() 624 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() 714 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() 783 unique_ptr<HttpServer> server(this->test_.CreateServer()); in TYPED_TEST() [all …]
|