Home
last modified time | relevance | path

Searched defs:socket (Results 1 – 25 of 58) sorted by relevance

123

/libcore/support/src/test/java/tests/net/
DDelegatingSocketFactory.java42 protected Socket configureSocket(Socket socket) throws IOException { in configureSocket()
48 Socket socket = mDelegate.createSocket(); in createSocket() local
54 Socket socket = mDelegate.createSocket(host, port); in createSocket() local
61 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); in createSocket() local
67 Socket socket = mDelegate.createSocket(host, port); in createSocket() local
74 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort); in createSocket() local
DDelegatingSSLSocketFactory.java44 protected SSLSocket configureSocket(SSLSocket socket) throws IOException { in configureSocket()
60 SSLSocket socket = (SSLSocket) mDelegate.createSocket(); in createSocket() local
67 SSLSocket socket = (SSLSocket) mDelegate.createSocket(s, host, port, autoClose); in createSocket() local
73 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); in createSocket() local
80 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port, localHost, localPort); in createSocket() local
86 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); in createSocket() local
93 SSLSocket socket = (SSLSocket) mDelegate.createSocket(address, port, localAddress, localPort); in createSocket() local
/libcore/dalvik/src/main/java/dalvik/system/
DSocketTagger.java53 public final void tag(Socket socket) throws SocketException { in tag()
59 public final void untag(Socket socket) throws SocketException { in untag()
65 public final void tag(DatagramSocket socket) throws SocketException { in tag()
71 public final void untag(DatagramSocket socket) throws SocketException { in untag()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DHandshakeCompletedEventTest.java74 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_Constructor() local
89 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getCipherSuite() local
100 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getLocalCertificates() local
111 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getLocalPrincipal() local
123 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getPeerCertificateChain() local
146 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getPeerCertificates() local
166 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getPeerPrincipal() local
177 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getSession() local
189 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getSocket() local
201 private SSLSocket socket; field in HandshakeCompletedEventTest
[all …]
DX509ExtendedKeyManagerTest.java133 Socket socket) { in chooseClientAlias()
142 Socket socket) { in chooseServerAlias()
/libcore/ojluni/src/main/java/javax/net/ssl/
DX509ExtendedTrustManager.java97 String authType, Socket socket) throws CertificateException; in checkClientTrusted()
145 String authType, Socket socket) throws CertificateException; in checkServerTrusted()
DX509KeyManager.java84 Socket socket); in chooseClientAlias()
115 Socket socket); in chooseServerAlias()
DSSLContextSpi.java168 SSLSocket socket = getDefaultSocket(); in engineGetDefaultSSLParameters() local
192 SSLSocket socket = getDefaultSocket(); in engineGetSupportedSSLParameters() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DServerSocketChannelTest.java184 ServerSocket socket = ssc.socket(); in test_bind_socketSync() local
211 ServerSocket socket = ssc.socket(); in test_bind_socketSyncAfterBind() local
470 Socket socket = serverChannel.accept().socket(); in test_write_Blocking_RealData() local
513 Socket socket = serverChannel.accept().socket(); in test_read_LByteBuffer_Blocking_ReadWriteRealLargeData() local
558 Socket socket = serverChannel.accept().socket(); in test_read_LByteBuffer_NonBlocking_ReadWriteRealLargeData() local
580 Socket socket = serverChannel.accept().socket(); in test_write_LByteBuffer_NonBlocking_ReadWriteRealLargeData() local
592 Socket socket; field in ServerSocketChannelTest.WriteSocketThread
596 public WriteSocketThread(Socket socket, byte[] buffer) { in WriteSocketThread()
623 Socket socket = serverChannel.accept().socket(); in test_write_LByteBuffer_Blocking_ReadWriteRealLargeData() local
DMockServerSocketChannel.java37 public ServerSocket socket() { in socket() method in MockServerSocketChannel
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLServerSocketTest.java30 SSLServerSocket socket = new SSLServerSocket() { in testToString() local
DSSLSocketTest.java33 SSLSocket socket = new SSLSocket() { in test_SSLSocket_toString() local
/libcore/luni/src/test/java/libcore/javax/net/
DServerSocketFactoryTest.java79 Socket socket = new Socket(InetAddress.getLocalHost(), serverSocket.getLocalPort()); in testSocket() local
102 Socket socket = new Socket(); in assertBacklog() local
/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidDatagramTest.java42 DatagramSocket socket; field in OldAndroidDatagramTest.Reflector
121 DatagramSocket socket = null; in testDatagram() local
DServerSocketConcurrentCloseTest.java56 public void implAcceptExposedForTest(Socket socket) throws IOException { in testImplAccept_detectsClosedState()
202 Socket socket = new Socket(); in run() local
236 Socket socket = serverSocket.accept(); in run() local
DOldUnixSocketTest.java111 Socket socket = new Socket("127.0.0.1", port, false); in test_getOutputStream() local
DSocketTest.java277 Socket socket = new Socket("localhost", server.port); in testReadAfterClose() local
299 Socket socket = new Socket("localhost", server.port); in testWriteAfterClose() local
330 Socket socket = serverSocket.accept(); in assertAvailableReturnsZeroAfterSocketReadsAllData() local
339 Socket socket = new Socket("localhost", serverSocket.getLocalPort()); in assertAvailableReturnsZeroAfterSocketReadsAllData() local
/libcore/support/src/test/java/libcore/javax/net/ssl/
DForwardingX509ExtendedKeyManager.java38 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in chooseClientAlias()
43 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias()
DTestKeyManager.java63 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias()
88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias()
99 private void dumpSocket(Socket socket) { in dumpSocket()
DTestTrustManager.java88 public void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket) in checkClientTrusted()
153 public void checkServerTrusted(X509Certificate[] chain, String authType, Socket socket) in checkServerTrusted()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSocketChannelTest.java148 Socket socket = sc.socket(); in test_open_initialState() local
186 Socket socket = sc.socket(); in test_bind_socketStateSync() local
218 Socket socket = sc.socket(); in test_bind_socketObjectCreationAfterBind() local
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DX509KeyManagerImpl.java140 public String chooseClientAlias(String[] as, Principal[] aprincipal, Socket socket) { in chooseClientAlias()
184 public String chooseServerAlias(String as, Principal[] aprincipal, Socket socket) { in chooseServerAlias()
/libcore/ojluni/src/main/java/java/nio/channels/
DServerSocketChannel.java220 public abstract ServerSocket socket(); in socket() method in ServerSocketChannel
/libcore/ojluni/src/main/java/java/net/
DDatagramSocketImpl.java60 DatagramSocket socket; field in DatagramSocketImpl
62 void setDatagramSocket(DatagramSocket socket) { in setDatagramSocket()
/libcore/ojluni/src/main/java/jdk/net/
DSockets.java112 Method method, Object socket, in invokeSet()
131 Method method, Object socket, SocketOption<T> option) throws IOException in invokeGet()

123