/external/chromium/net/base/ |
ssl_client_auth_cache_unittest.cc | 19 std::string server1("foo1:443"); 34 EXPECT_FALSE(cache.Lookup(server1, &cached_cert)); 36 // Add client certificate for server1. 37 cache.Add(server1, cert1); 39 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 45 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 51 // Overwrite the client certificate for server1. 52 cache.Add(server1, cert3); 54 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 60 // Remove client certificate of server1 [all...] |
/external/chromium_org/net/ssl/ |
ssl_client_auth_cache_unittest.cc | 19 std::string server1("foo1:443"); 34 EXPECT_FALSE(cache.Lookup(server1, &cached_cert)); 36 // Add client certificate for server1. 37 cache.Add(server1, cert1.get()); 39 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 45 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 51 // Overwrite the client certificate for server1. 52 cache.Add(server1, cert3.get()); 54 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 60 // Remove client certificate of server1 [all...] |
/external/chromium/net/proxy/ |
proxy_server_unittest.cc | 307 const char* server1; member in struct:__anon5593 311 // -1 means server1 is less than server2 312 // 0 means server1 equals server2 313 // 1 means server1 is greater than server2 340 const net::ProxyServer server1 = local 342 tests[i].server1, net::ProxyServer::SCHEME_HTTP); 350 EXPECT_TRUE(server1 < server2); 351 EXPECT_FALSE(server2 < server1); 352 EXPECT_FALSE(server2 == server1); 355 EXPECT_FALSE(server1 < server2) [all...] |
/external/chromium_org/net/proxy/ |
proxy_server_unittest.cc | 307 const char* server1; member in struct:__anon11284 311 // -1 means server1 is less than server2 312 // 0 means server1 equals server2 313 // 1 means server1 is greater than server2 340 const net::ProxyServer server1 = local 342 tests[i].server1, net::ProxyServer::SCHEME_HTTP); 350 EXPECT_TRUE(server1 < server2); 351 EXPECT_FALSE(server2 < server1); 352 EXPECT_FALSE(server2 == server1); 355 EXPECT_FALSE(server1 < server2) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 51 private ServerSocket server1; field in class:OldSocketChannelTest 59 this.server1 = new ServerSocket(0); 60 this.localAddr1 = (InetSocketAddress) server1.getLocalSocketAddress(); 79 if (null != this.server1) { 81 this.server1.close(); 212 if (null != this.server1) { 213 this.server1.close(); 214 assertTrue(this.server1.isClosed()); 252 Socket acceptedSocket = server1.accept();
|
/frameworks/base/services/java/com/android/server/location/ |
GpsXtraDownloader.java | 58 String server1 = properties.getProperty("XTRA_SERVER_1"); local 61 if (server1 != null) count++; 71 if (server1 != null) mXtraServers[count++] = server1;
|
/external/chromium_org/ppapi/tests/ |
test_udp_socket_private.cc | 206 pp::UDPSocketPrivate server1(instance_), server2(instance_); 208 ASSERT_SUBTEST_SUCCESS(SetBroadcastOptions(&server1)); 212 ASSERT_SUBTEST_SUCCESS(BindUDPSocket(&server1, &server_address)); 214 ASSERT_TRUE(server1.GetBoundAddress(&server_address)); 226 ASSERT_SUBTEST_SUCCESS(PassMessage(&server1, &server2, 234 ASSERT_SUBTEST_SUCCESS(PassMessage(&server2, &server1, 237 // |second_message| also arrived to |server1|. 238 ASSERT_SUBTEST_SUCCESS(ReadSocket(&server1, &broadcast_address, 242 server1.Close();
|
test_udp_socket.cc | 213 pp::UDPSocket server1(instance_), server2(instance_); 215 ASSERT_SUBTEST_SUCCESS(SetBroadcastOptions(&server1)); 220 ASSERT_SUBTEST_SUCCESS(BindUDPSocket(&server1, any_address)); 222 pp::NetAddress server_address = server1.GetBoundAddress(); 239 ASSERT_SUBTEST_SUCCESS(PassMessage(&server1, &server2, broadcast_address, 246 ASSERT_SUBTEST_SUCCESS(PassMessage(&server2, &server1, broadcast_address, 248 // |second_message| was also received by |server1|. 249 ASSERT_SUBTEST_SUCCESS(ReadSocket(&server1, &recvfrom_address, 253 server1.Close();
|
/external/chromium_org/net/udp/ |
udp_socket_unittest.cc | 226 scoped_ptr<UDPServerSocket> server1( 230 server1->AllowAddressReuse(); 231 server1->AllowBroadcast(); 235 int rv = server1->Listen(listen_address); 240 rv = SendToSocket(server1.get(), first_message, broadcast_address); 242 std::string str = RecvFromSocket(server1.get()); 249 str = RecvFromSocket(server1.get()); 378 UDPServerSocket server1(NULL, NetLog::Source()); 379 server1.AllowAddressReuse(); 380 int rv = server1.Listen(bind_address) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SocketChannelTest.java | 63 private ServerSocket server1; field in class:SocketChannelTest 79 this.server1 = new ServerSocket(localAddr1.getPort()); 98 if (null != this.server1) { 100 this.server1.close(); [all...] |
/external/chromium/net/udp/ |
udp_socket_unittest.cc | 177 UDPServerSocket server1(NULL, NetLog::Source()); 178 int rv = server1.Listen(bind_address); 194 // Client sends to server1. 198 // Server1 waits for message. 199 std::string str = RecvFromSocket(&server1); 212 // Server1 sends reply. 213 rv = SendToSocket(&server1, simple_message,
|
/external/chromium_org/ipc/ |
ipc_sync_channel_unittest.cc | 695 // A shared worker thread so that server1 and server2 run on one thread. 699 // Server1 sends a sync msg to client1, which blocks the reply until 700 // server2 (which runs on the same worker thread as server1) responds 1568 RestrictedDispatchDeadlockServer* server1; local [all...] |
/external/chromium/base/ |
message_loop_unittest.cc | [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLSocketTest.java | 352 final SSLSocket server1 = (SSLSocket) c.serverSocket.accept(); local 353 final Future<byte[]> future1 = executor.submit(new SSLServerSessionIdCallable(server1)); 361 server1.close(); [all...] |
/external/chromium_org/base/message_loop/ |
message_loop_unittest.cc | [all...] |