/libcore/luni/src/test/java/libcore/java/net/ |
D | DelegatingSocketFactory.java | 41 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
|
D | OldAndroidDatagramTest.java | 42 DatagramSocket socket; field in OldAndroidDatagramTest.Reflector 121 DatagramSocket socket = null; in testDatagram() local
|
D | ServerSocketConcurrentCloseTest.java | 56 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
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | SocketTagger.java | 90 public final void tag(Socket socket) throws SocketException { in tag() 112 public final void untag(Socket socket) throws SocketException { in untag() 129 public final void tag(DatagramSocket socket) throws SocketException { in tag() 150 public final void untag(DatagramSocket socket) throws SocketException { in untag()
|
/libcore/dalvik/src/test/java/libcore/dalvik/system/ |
D | SocketTaggerTest.java | 54 DatagramSocket socket = new DatagramSocket(); in testTagDatagramSocket() local 69 DatagramSocket socket = new DatagramSocket(); in testUntagDatagramSocket() local 84 Socket socket = new Socket(); in testTagSocket() local 99 Socket socket = new Socket(); in testUntagSocket() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | HandshakeCompletedEventTest.java | 74 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 …]
|
D | X509ExtendedKeyManagerTest.java | 133 Socket socket) { in chooseClientAlias() 142 Socket socket) { in chooseServerAlias()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | X509ExtendedTrustManager.java | 97 String authType, Socket socket) throws CertificateException; in checkClientTrusted() 145 String authType, Socket socket) throws CertificateException; in checkServerTrusted()
|
D | X509KeyManager.java | 84 Socket socket); in chooseClientAlias() 115 Socket socket); in chooseServerAlias()
|
D | SSLContextSpi.java | 168 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/ |
D | ServerSocketChannelTest.java | 184 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
|
/libcore/tools/docs/crypto/src/java/libcore/java/security/ |
D | ListProviders.java | 167 @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/ssl/ |
D | SSLServerSocketTest.java | 30 SSLServerSocket socket = new SSLServerSocket() { in testToString() local
|
D | SSLSocketTest.java | 61 SSLSocket socket = new PlainSSLSocket(); in test_SSLSocket_toString() local 91 SSLSocket socket = new PlainSSLSocket(); in test_Alpn() local
|
/libcore/ojluni/src/test/java/net/SocketOptions/ |
D | OptionsTest.java | 184 Socket socket = (Socket)s; in legacyGetOption() local 208 ServerSocket socket = (ServerSocket)s; in legacyGetOption() local 224 DatagramSocket socket = (DatagramSocket)s; in legacyGetOption() local 243 MulticastSocket socket = (MulticastSocket)s; in legacyGetOption() local
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestKeyManager.java | 62 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()
|
D | ForwardingX509ExtendedKeyManager.java | 38 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in chooseClientAlias() 43 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias()
|
D | TestTrustManager.java | 88 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/javax/net/ |
D | ServerSocketFactoryTest.java | 79 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/nio/channels/ |
D | SocketChannelTest.java | 148 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/android/system/ |
D | OsTest.java | 407 private static void expectBindException(FileDescriptor socket, SocketAddress addr, in expectBindException() 415 private static void expectConnectException(FileDescriptor socket, SocketAddress addr, in expectConnectException() 423 private static void expectSendtoException(FileDescriptor socket, SocketAddress addr, in expectSendtoException() 433 private static void expectBindConnectSendtoSuccess(FileDescriptor socket, String socketDesc, in expectBindConnectSendtoSuccess() 491 int sendtoErrno, FileDescriptor socket, String socketDesc, SocketAddress addr) { in expectBindConnectSendtoErrno()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | FdsanTest.java | 89 try (DatagramSocket socket = new DatagramSocket()) { in testDatagramSocket() 109 try (Socket socket = new Socket()) { in testSocket()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | ServerSocketChannel.java | 225 public abstract ServerSocket socket(); in socket() method in ServerSocketChannel
|
/libcore/ojluni/src/main/java/java/net/ |
D | DatagramSocketImpl.java | 54 DatagramSocket socket; field in DatagramSocketImpl 56 void setDatagramSocket(DatagramSocket socket) { in setDatagramSocket()
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 113 Method method, Object socket, in invokeSet() 132 Method method, Object socket, SocketOption<T> option) throws IOException in invokeGet()
|