Home
last modified time | relevance | path

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

123

/libcore/luni/src/test/java/libcore/java/net/
DDelegatingSocketFactory.java41 protected Socket configureSocket(Socket socket) throws IOException { in configureSocket()
47 Socket socket = mDelegate.createSocket(); in createSocket() local
53 Socket socket = mDelegate.createSocket(host, port); in createSocket() local
60 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); in createSocket() local
66 Socket socket = mDelegate.createSocket(host, port); in createSocket() local
73 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort); in createSocket() local
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
DSocketTest.java276 Socket socket = new Socket("localhost", server.port); in testReadAfterClose() local
298 Socket socket = new Socket("localhost", server.port); in testWriteAfterClose() local
329 Socket socket = serverSocket.accept(); in assertAvailableReturnsZeroAfterSocketReadsAllData() local
338 Socket socket = new Socket("localhost", serverSocket.getLocalPort()); in assertAvailableReturnsZeroAfterSocketReadsAllData() local
DOldUnixSocketTest.java111 Socket socket = new Socket("127.0.0.1", port, false); in test_getOutputStream() local
/libcore/dalvik/src/main/java/dalvik/system/
DSocketTagger.java63 public final void tag(Socket socket) throws SocketException { in tag()
71 public final void untag(Socket socket) throws SocketException { in untag()
78 public final void tag(DatagramSocket socket) throws SocketException { in tag()
85 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.java61 SSLSocket socket = new PlainSSLSocket(); in test_SSLSocket_toString() local
91 SSLSocket socket = new PlainSSLSocket(); in test_Alpn() local
/libcore/tools/docs/crypto/src/java/libcore/java/security/
DListProviders.java167 @Override public String chooseServerKeyIdentityHint(Socket socket) { return null; } in chooseServerKeyIdentityHint()
169 …@Override public String chooseClientKeyIdentity(String identityHint, Socket socket) { return null;… in chooseClientKeyIdentity()
171 …@Override public SecretKey getKey(String identityHint, String identity, Socket socket) { return nu… in getKey()
/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/support/src/test/java/libcore/javax/net/ssl/
DTestKeyManager.java62 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias()
87 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias()
98 private void dumpSocket(Socket socket) { in dumpSocket()
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()
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/luni/src/test/java/libcore/libcore/io/
DFdsanTest.java89 try (DatagramSocket socket = new DatagramSocket()) { in testDatagramSocket()
109 try (Socket socket = new Socket()) { in testSocket()
/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.java113 Method method, Object socket, in invokeSet()
132 Method method, Object socket, SocketOption<T> option) throws IOException in invokeGet()

123