Home
last modified time | relevance | path

Searched refs:createSocket (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLSocketFactoryWrapper.java111 public Socket createSocket()throws IOException { in createSocket() method in SSLSocketFactoryWrapper
112 return mFactory.createSocket(); in createSocket()
115 public Socket createSocket(final Socket socket, final String host, final int port, in createSocket() method in SSLSocketFactoryWrapper
117 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(socket, host, port, autoClose); in createSocket()
127 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() method in SSLSocketFactoryWrapper
128 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(host, port); in createSocket()
138 public Socket createSocket(String host, int i, InetAddress inetAddress, int i2) throws in createSocket() method in SSLSocketFactoryWrapper
140 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(host, i, inetAddress, i2); in createSocket()
150 public Socket createSocket(InetAddress inetAddress, int i) throws IOException { in createSocket() method in SSLSocketFactoryWrapper
151 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(inetAddress, i); in createSocket()
[all …]
DSSLSocketFactory.java273 public Socket createSocket() in createSocket() method in SSLSocketFactory
277 return socketfactory.createSocket(); in createSocket()
300 ((sock != null) ? sock : createSocket()); in connectSocket()
377 public Socket createSocket( in createSocket() method in SSLSocketFactory
383 SSLSocket sslSocket = (SSLSocket) socketfactory.createSocket( in createSocket()
/packages/services/Telephony/tests/src/com/android/phone/common/mail/
DMailTransportTest.java79 Socket socket = transport.createSocket(); in testCreateSocket_anyNetwork()
89 Socket socket = transport.createSocket(); in testCreateSocket_networkSpecified()
101 public Socket createSocket() { in testCreateSocket_socketCreator()
112 Socket socket = transport.createSocket(); in testCreateSocket_socketCreator()
113 assertTrue(socket == socketCreator.createSocket()); in testCreateSocket_socketCreator()
187 public Socket createSocket() throws MessagingException { in testOpen_createSocketFailed()
206 when(mockSocketFactory.createSocket()) in testOpen_network_createSocketFailed()
232 public Socket createSocket() throws MessagingException { in testOpen_connectFailed_one()
257 public Socket createSocket() throws MessagingException { in testOpen_connectFailed_multi()
338 public Socket createSocket() throws MessagingException { in createSocket() method in MailTransportTest.TestSocketCreator
[all …]
/packages/services/Telephony/src/com/android/phone/common/mail/
DMailTransport.java127 mSocket = createSocket(); in open()
141 .createSocket(mSocket, address.getHostName(), address.getPort(), true); in open()
180 Socket createSocket() throws MessagingException; in createSocket() method
188 protected Socket createSocket() throws MessagingException { in createSocket() method in MailTransport
190 return mSocketCreator.createSocket(); in createSocket()
200 return mNetwork.getSocketFactory().createSocket(); in createSocket()
/packages/apps/Email/provider_src/com/android/email/mail/transport/
DMailTransport.java116 mContext, mHostAuth, null, canTrustAllCertificates()).createSocket(); in open()
168 .createSocket(mSocket, getHost(), getPort(), true); in reopenTls()