Home
last modified time | relevance | path

Searched refs:client2 (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/base/
Dphysicalsocketserver_unittest.cc137 scoped_ptr<AsyncSocket> client2(server_->CreateAsyncSocket(loopback.family(), in ConnectInternalAcceptError() local
139 sink.Monitor(client2.get()); in ConnectInternalAcceptError()
140 EXPECT_EQ(AsyncSocket::CS_CLOSED, client2->GetState()); in ConnectInternalAcceptError()
141 EXPECT_PRED1(IsUnspecOrEmptyIP, client2->GetLocalAddress().ipaddr()); in ConnectInternalAcceptError()
180 EXPECT_EQ(0, client2->Connect(server->GetLocalAddress())); in ConnectInternalAcceptError()
181 EXPECT_FALSE(client2->GetLocalAddress().IsNil()); in ConnectInternalAcceptError()
182 EXPECT_NE(server->GetLocalAddress(), client2->GetLocalAddress()); in ConnectInternalAcceptError()
185 EXPECT_EQ(AsyncSocket::CS_CONNECTING, client2->GetState()); in ConnectInternalAcceptError()
186 EXPECT_FALSE(sink.Check(client2.get(), testing::SSE_OPEN)); in ConnectInternalAcceptError()
187 EXPECT_FALSE(sink.Check(client2.get(), testing::SSE_CLOSE)); in ConnectInternalAcceptError()
Dvirtualsocket_unittest.cc182 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in TestDefaultRoute() local
188 EXPECT_TRUE(client2->CheckNextPacket("bizbaz", 6, &client1_addr)); in TestDefaultRoute()
193 EXPECT_EQ(3, client2->SendTo("foo", 3, client1_addr)); in TestDefaultRoute()
208 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in BasicTest() local
211 EXPECT_EQ(3, client2->SendTo("foo", 3, server_addr)); in BasicTest()
216 EXPECT_TRUE(client2->CheckNextPacket("bizbaz", 6, &client1_addr)); in BasicTest()
221 client2 = new TestClient(AsyncUDPSocket::Create(ss_, empty)); in BasicTest()
224 EXPECT_EQ(3, client2->SendTo("foo", 3, server_addr)); in BasicTest()
231 EXPECT_TRUE(client2->CheckNextPacket("bizbaz", 6, &server_addr2)); in BasicTest()
800 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in CrossFamilyDatagramTest() local
[all …]
Dsocket_unittest.cc879 scoped_ptr<TestClient> client2( in UdpInternal() local
883 EXPECT_EQ(3, client2->SendTo("foo", 3, addr1)); in UdpInternal()
888 EXPECT_TRUE(client2->CheckNextPacket("bizbaz", 6, &addr3)); in UdpInternal()
892 client2.reset(new TestClient(AsyncUDPSocket::Create(ss_, empty))); in UdpInternal()
895 EXPECT_EQ(3, client2->SendTo("foo", 3, addr1)); in UdpInternal()
901 EXPECT_TRUE(client2->CheckNextPacket("bizbaz", 6, &addr5)); in UdpInternal()
/external/ltp/testcases/network/nfsv4/locks/
Ddeploy_info16 ./locktests.py --setup -c client1 client2 client3 -s NFS_Server:/exported/directory
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java483 final SSLSocket client2 = (SSLSocket) c.clientContext.getSocketFactory().createSocket( in test_SSLSocket_confirmSessionReuse() local
487 client2.startHandshake(); in test_SSLSocket_confirmSessionReuse()
488 assertNotNull(client2.getSession()); in test_SSLSocket_confirmSessionReuse()
489 assertNotNull(client2.getSession().getId()); in test_SSLSocket_confirmSessionReuse()
490 final byte[] clientSessionId2 = client2.getSession().getId(); in test_SSLSocket_confirmSessionReuse()
493 client2.close(); in test_SSLSocket_confirmSessionReuse()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java1185 Future<TestSSLHandshakeCallbacks> client2 = in test_SSL_do_handshake_reusedSession() local
1203 TestSSLHandshakeCallbacks clientCallback2 = client2.get(TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_SSL_do_handshake_reusedSession()