Home
last modified time | relevance | path

Searched refs:localHost (Results 1 – 13 of 13) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSocketFactoryImpl.java109 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) in createSocket() argument
112 return createEngineSocket(hostname, port, localHost, in createSocket()
115 return createFileDescriptorSocket(hostname, port, localHost, in createSocket()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLSocketFactoryImpl.java112 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) in createSocket() argument
115 return createEngineSocket(hostname, port, localHost, in createSocket()
118 return createFileDescriptorSocket(hostname, port, localHost, in createSocket()
/external/conscrypt/repackaged/testing/src/main/java/tests/net/
DDelegatingSocketFactory.java52 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() argument
54 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); in createSocket()
DDelegatingSSLSocketFactory.java67 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() argument
69 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port, localHost, localPort); in createSocket()
/external/conscrypt/testing/src/main/java/tests/net/
DDelegatingSocketFactory.java50 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() argument
52 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); in createSocket()
DDelegatingSSLSocketFactory.java65 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() argument
67 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port, localHost, localPort); in createSocket()
/external/conscrypt/android/src/main/java/org/conscrypt/
DBaseOpenSSLSocketAdapterFactory.java55 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) in createSocket() argument
58 (OpenSSLSocketImpl) delegate.createSocket(hostname, port, localHost, localPort)); in createSocket()
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc2621 hostent* localHost; in LocalHostAddress() local
2622 localHost = gethostbyname( "" ); in LocalHostAddress()
2623 if(localHost) in LocalHostAddress()
2625 if(localHost->h_addrtype != AF_INET) in LocalHostAddress()
2635 (*(struct in_addr *)localHost->h_addr_list[0]).S_un.S_addr); in LocalHostAddress()
2649 hostent* localHost; in LocalHostAddress()
2650 localHost = gethostbyname(localname); in LocalHostAddress()
2651 if(localHost) in LocalHostAddress()
2653 if(localHost->h_addrtype != AF_INET) in LocalHostAddress()
2662 localIP = Htonl((*(struct in_addr*)*localHost->h_addr_list).s_addr); in LocalHostAddress()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DHttpsURLConnectionTest.java159 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in createSocket() argument
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DHttpsURLConnectionTest.java155 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in createSocket() argument
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestSSLContext.java450 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in clientAuth() argument
452 return set(sf.createSocket(host, port, localHost, localPort)); in clientAuth()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestSSLContext.java445 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in clientAuth() argument
447 return set(sf.createSocket(host, port, localHost, localPort)); in clientAuth()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java731 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in testConnectViaSocketFactory()