| /libcore/ojluni/src/main/java/javax/net/ |
| D | ServerSocketFactory.java | 123 public abstract ServerSocket createServerSocket(int port) in createServerSocket() 154 createServerSocket(int port, int backlog) in createServerSocket() 192 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket() 215 public ServerSocket createServerSocket(int port) in createServerSocket() 221 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() 228 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket()
|
| D | SocketFactory.java | 162 public abstract Socket createSocket(String host, int port) in createSocket() 194 createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 220 public abstract Socket createSocket(InetAddress host, int port) in createSocket() 251 createSocket(InetAddress address, int port, in createSocket() 275 public Socket createSocket(String host, int port) in createSocket() 281 public Socket createSocket(InetAddress address, int port) in createSocket() 287 public Socket createSocket(String host, int port, in createSocket() 294 public Socket createSocket(InetAddress address, int port, in createSocket()
|
| /libcore/ojluni/src/main/java/java/net/ |
| D | InetSocketAddress.java | 63 private int port; field in InetSocketAddress.InetSocketAddressHolder 65 private InetSocketAddressHolder(String hostname, InetAddress addr, int port) { in InetSocketAddressHolder() 142 private static int checkPort(int port) { in checkPort() 174 public InetSocketAddress(int port) { in InetSocketAddress() 175 this((InetAddress)null, port); in InetSocketAddress() local 193 public InetSocketAddress(InetAddress addr, int port) { in InetSocketAddress() 226 public InetSocketAddress(String hostname, int port) { in InetSocketAddress() 239 private InetSocketAddress(int port, String hostname) { in InetSocketAddress() 264 public static InetSocketAddress createUnresolved(String host, int port) { in createUnresolved()
|
| D | Socket.java | 214 public Socket(String host, int port) in Socket() 247 public Socket(InetAddress address, int port) throws IOException { in Socket() 287 public Socket(String host, int port, InetAddress localAddr, in Socket() 328 public Socket(InetAddress address, int port, InetAddress localAddr, in Socket() 376 public Socket(String host, int port, boolean stream) throws IOException { in Socket() 417 public Socket(InetAddress host, int port, boolean stream) throws IOException { in Socket() 431 private Socket(InetAddress[] addresses, int port, SocketAddress localAddr, in Socket() 603 int port = epoint.getPort(); in connect() local 609 security.checkConnect(epoint.getHostName(), port); in connect() local 611 security.checkConnect(addr.getHostAddress(), port); in connect() local [all …]
|
| D | AbstractPlainSocketImpl.java | 117 protected void connect(String host, int port) in connect() 146 protected void connect(InetAddress address, int port) throws IOException { in connect() 196 private void connectToAddress(InetAddress address, int port, int timeout) throws IOException { in connectToAddress() 198 doConnect(InetAddress.getLocalHost(), port, timeout); in connectToAddress() local 346 synchronized void doConnect(InetAddress address, int port, int timeout) throws IOException { in doConnect() 464 void setPort(int port) { in setPort() 725 abstract void socketConnect(InetAddress address, int port, int timeout) in socketConnect() 727 abstract void socketBind(InetAddress address, int port) in socketBind()
|
| D | SocketImpl.java | 65 protected int port; field in SocketImpl 90 protected abstract void connect(String host, int port) throws IOException; in connect() 100 protected abstract void connect(InetAddress address, int port) throws IOException; in connect() 122 protected abstract void bind(InetAddress host, int port) throws IOException; in bind()
|
| D | DatagramSocket.java | 132 … private synchronized void connectInternal(InetAddress address, int port) throws SocketException { in connectInternal() 147 security.checkConnect(address.getHostAddress(), port); in connectInternal() local 148 security.checkAccept(address.getHostAddress(), port); in connectInternal() local 289 public DatagramSocket(int port) throws SocketException { in DatagramSocket() 317 public DatagramSocket(int port, InetAddress laddr) throws SocketException { in DatagramSocket() 404 int port = epoint.getPort(); in bind() local 475 public void connect(InetAddress address, int port) { in connect()
|
| D | CookieManager.java | 223 int port = uri.getPort(); in get() local 318 int port = uri.getPort(); in put() local 365 static private boolean isInPortList(String lst, int port) { in isInPortList()
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
| D | SSLEngineTest.java | 72 int port = 1010; in test_ConstructorLjava_lang_StringI01() local 75 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI01() local 96 int port = 8080; in test_ConstructorLjava_lang_StringI02() local 99 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI02() local 328 int port = 8080; in test_unwrap_02() local 364 int port = 8080; in test_unwrap_03() local 386 int port = 8080; in test_unwrap_04() local 424 int port = 8080; in test_unwrap_05() local 443 int port = 8080; in test_unwrap_06() local 470 int port = 8080; in test_wrap_02() local [all …]
|
| /libcore/support/src/test/java/tests/net/ |
| D | DelegatingSSLSocketFactory.java | 65 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket() 72 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 78 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 85 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 91 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
|
| D | DelegatingSocketFactory.java | 53 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 59 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 66 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 72 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
|
| /libcore/ojluni/src/main/java/sun/net/ |
| D | NetHooks.java | 85 int port) in beforeTcpBind() 97 int port) in beforeTcpConnect()
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ |
| D | ServerSocketFactoryTest.java | 114 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket() 119 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() 125 public ServerSocket createServerSocket(int port, int backlog, in createServerSocket()
|
| /libcore/luni/src/test/java/libcore/javax/net/ssl/ |
| D | SSLSocketFactoryTest.java | 114 public Socket createSocket(Socket s, String host, int port, boolean autoClose) { in createSocket() 119 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket() 125 public Socket createSocket(InetAddress host, int port) { in createSocket() 130 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in createSocket() 135 public Socket createSocket(String host, int port) { in createSocket() 245 int port = sa.getPort(); in test_SSLSocketFactory_createSocket() local
|
| /libcore/luni/src/test/java/libcore/java/net/ |
| D | DatagramSocketTest.java | 72 final int port = 9999; in testPendingException() local 77 s.connect(InetAddress.getLocalHost(), port); in testPendingException() local 115 final int port = 9999; in test_b31218085() local 120 s.connect(InetAddress.getLocalHost(), port); in test_b31218085() local
|
| /libcore/ojluni/src/main/java/java/security/cert/ |
| D | LDAPCertStoreParameters.java | 54 private int port; field in LDAPCertStoreParameters 70 public LDAPCertStoreParameters(String serverName, int port) { in LDAPCertStoreParameters()
|
| /libcore/ojluni/src/main/java/javax/net/ssl/ |
| D | SSLServerSocketFactory.java | 202 public ServerSocket createServerSocket(int port) in createServerSocket() 209 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() 217 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket()
|
| D | SSLSocket.java | 902 protected SSLSocket(String host, int port) in SSLSocket() 927 protected SSLSocket(InetAddress address, int port) in SSLSocket() 958 protected SSLSocket(String host, int port, in SSLSocket() 989 protected SSLSocket(InetAddress address, int port, in SSLSocket()
|
| D | SSLServerSocket.java | 98 protected SSLServerSocket(int port) in SSLServerSocket() 134 protected SSLServerSocket(int port, int backlog) in SSLServerSocket() 179 protected SSLServerSocket(int port, int backlog, InetAddress address) in SSLServerSocket()
|
| /libcore/ojluni/src/main/java/sun/nio/ch/ |
| D | FileDescriptorHolderSocketImpl.java | 62 protected void connect(String host, int port) throws IOException { in connect() 67 protected void connect(InetAddress address, int port) throws IOException { in connect() 77 protected void bind(InetAddress host, int port) throws IOException { in bind()
|
| /libcore/ojluni/src/main/java/java/util/logging/ |
| D | SocketHandler.java | 86 private int port; field in SocketHandler 150 public SocketHandler(String host, int port) throws IOException { in SocketHandler()
|
| /libcore/luni/src/main/native/ |
| D | NetworkUtilities.cpp | 31 jobject sockaddrToInetAddress(JNIEnv* env, const sockaddr_storage& ss, jint* port) { in sockaddrToInetAddress() 91 static bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss,… in inetAddressToSockaddr() 178 bool inetAddressToSockaddrVerbatim(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss… in inetAddressToSockaddrVerbatim() 182 bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss, sockle… in inetAddressToSockaddr()
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
| D | InetSocketAddressTest.java | 84 int port; field in InetSocketAddressTest.HostPortPair 86 public HostPortPair(String host, int port) { in HostPortPair()
|
| D | SocketImplTest.java | 98 protected void bind(InetAddress address, int port) throws IOException { in bind() 104 protected void connect(String host, int port) throws IOException { in connect() 107 protected void connect(InetAddress address, int port) in connect()
|
| /libcore/support/src/test/java/libcore/javax/net/ssl/ |
| D | TestSSLContext.java | 100 public final int port; field in TestSSLContext 191 …public InetSocketAddress getLoopbackAsHostname(String hostname, int port) throws IOException, Clas… in getLoopbackAsHostname() 215 int port) { in TestSSLContext() 295 int port = serverSocket.getLocalPort(); in create() local 391 public Socket createSocket(String host, int port) in clientAuth() 395 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in clientAuth() 399 public Socket createSocket(InetAddress host, int port) throws IOException { in clientAuth() 402 public Socket createSocket(InetAddress address, int port, in clientAuth() 414 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in clientAuth()
|