Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLServerSocketTest.java32 SSLServerSocket socket = in testSetEnabledCipherSuitesAffectsGetter() local
40 SSLServerSocket socket = in testSetEnabledCipherSuitesStoresCopy() local
50 SSLServerSocket socket = in testSetEnabledProtocolsAffectsGetter() local
58 SSLServerSocket socket = in testSetEnabledProtocolsStoresCopy() local
DPSKKeyManagerProxy.java47 protected SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
57 protected String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
67 protected String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DHandshakeCompletedEventTest.java75 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_Constructor() local
90 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getCipherSuite() local
101 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getLocalCertificates() local
112 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getLocalPrincipal() local
124 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getPeerCertificateChain() local
147 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getPeerCertificates() local
167 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getPeerPrincipal() local
178 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getSession() local
190 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in test_getSocket() local
202 private SSLSocket socket; field in HandshakeCompletedEventTest
[all …]
DX509ExtendedKeyManagerTest.java133 Socket socket) { in chooseClientAlias()
142 Socket socket) { in chooseServerAlias()
/libcore/dalvik/src/main/java/dalvik/system/
DSocketTagger.java52 public final void tag(Socket socket) throws SocketException { in tag()
58 public final void untag(Socket socket) throws SocketException { in untag()
/libcore/luni/src/main/java/javax/net/ssl/
DX509KeyManager.java46 Socket socket); in chooseClientAlias()
64 Socket socket); in chooseServerAlias()
/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.java33 public ServerSocket socket() { in socket() method in MockServerSocketChannel
DSocketChannelTest.java437 Socket socket = channel1.socket(); in testSocket_getInetAddress() local
447 Socket socket = channel1.socket(); in testSocket_getRemoteSocketAddress() local
457 Socket socket = channel1.socket(); in testSocket_getPort() local
466 Socket socket = channel1.socket(); in testSocket_getLocalAddress() local
474 Socket socket = channel1.socket(); in testSocket_getLocalSocketAddress() local
483 Socket socket = channel1.socket(); in testSocket_getLocalPort() local
493 Socket socket = channel1.socket(); in testSocket_bind() local
3243 Socket socket = null; in test_read_$ByteBuffer_Blocking() local
3703 Socket socket = channel1.socket(); in testSocket_setOptions() local
3745 public Socket socket() { in socket() method in SocketChannelTest.MockSocketChannel
DUnixSelectorTest.java32 ServerSocket socket = null; field in UnixSelectorTest.Server
DMockSocketChannel.java34 public Socket socket() { in socket() method in MockSocketChannel
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSocketChannelTest.java146 Socket socket = sc.socket(); in test_open_initialState() local
184 Socket socket = sc.socket(); in test_bind_socketStateSync() local
216 Socket socket = sc.socket(); in test_bind_socketObjectCreationAfterBind() local
DServerSocketChannelTest.java52 ServerSocket socket = ssc.socket(); in test_open_initialState() local
/libcore/luni/src/test/java/libcore/javax/net/
DServerSocketFactoryTest.java75 Socket socket = new Socket(InetAddress.getLocalHost(), serverSocket.getLocalPort()); in testSocket() local
98 Socket socket = new Socket(); in assertBacklog() local
/libcore/luni/src/main/java/java/nio/
DServerSocketChannelImpl.java45 private final ServerSocketAdapter socket; field in ServerSocketChannelImpl
54 @Override public ServerSocket socket() { in socket() method in ServerSocketChannelImpl
/libcore/luni/src/main/java/java/nio/channels/
DServerSocketChannel.java83 public abstract ServerSocket socket(); in socket() method in ServerSocketChannel
/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()
/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidDatagramTest.java42 DatagramSocket socket; field in OldAndroidDatagramTest.Reflector
121 DatagramSocket socket = null; in testDatagram() local
DSocketTest.java244 Socket socket = new Socket("localhost", server.port); in testReadAfterClose() local
266 Socket socket = new Socket("localhost", server.port); in testWriteAfterClose() local
297 Socket socket = serverSocket.accept(); in assertAvailableReturnsZeroAfterSocketReadsAllData() local
306 Socket socket = new Socket("localhost", serverSocket.getLocalPort()); in assertAvailableReturnsZeroAfterSocketReadsAllData() local
DOldUnixSocketTest.java106 Socket socket = new Socket("127.0.0.1", port, false); in test_getOutputStream() local
DOldSocketTest.java102 Socket socket = null; in test_ConstructorLjava_lang_StringI() local
616 Socket socket = new Socket(); in test_shutdownInput() local
889 Socket socket = new Socket(proxy); in test_bindLjava_net_SocketAddress_Proxy() local
1100 Socket socket = channel.socket(); in test_connectLjava_net_SocketAddress() local
1393 Socket socket = channel.socket(); in test_connectLjava_net_SocketAddressI() local
1693 Socket socket = channel.socket(); in test_getChannel() local
2039 Socket socket = new Socket(); in test_connect_unknownhost() local
2050 Socket socket = new Socket(); in test_connect_unresolved_unknown() local
2061 Socket socket = new Socket(); in test_connect_unresolved() local
2092 Socket socket = channel.socket(); in test_getOutputStream_shutdownOutput() 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()
DSSLSocketFactoryImpl.java17 public Socket createSocket(Socket socket, String s, int i, boolean flag) in createSocket()
/libcore/luni/src/main/java/java/util/logging/
DSocketHandler.java63 private Socket socket; field in SocketHandler

12