Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DSSLCertificateSocketFactoryTest.java118 mSocketFactory.createSocket(localhostAddress, HTTPS_PORT); in createSocket_io_error_expected()
126 mSocketFactory.createSocket(localhostAddress, HTTPS_PORT, localhostAddress, 0); in createSocket_io_error_expected()
135 mSocketFactory.createSocket(socket, "localhost", HTTPS_PORT, true); in createSocket_io_error_expected()
174 Socket socket = mSocketFactory.createSocket(TEST_HOST, HTTPS_PORT); in createSocket_simple_with_hostname_verification()
180 mSocketFactory.createSocket(TEST_HOST, HTTPS_PORT); in createSocket_simple_with_hostname_verification()
202 Socket socket = mSocketFactory.createSocket(underlying, TEST_HOST, HTTPS_PORT, true); in createSocket_wrapped_with_hostname_verification()
209 mSocketFactory.createSocket(underlying, TEST_HOST, HTTPS_PORT, true); in createSocket_wrapped_with_hostname_verification()
231 Socket socket = mSocketFactory.createSocket(TEST_HOST, HTTPS_PORT, mLocalAddress, 0); in createSocket_bound_with_hostname_verification()
237 mSocketFactory.createSocket(TEST_HOST, HTTPS_PORT, mLocalAddress, 0); in createSocket_bound_with_hostname_verification()
269 Socket socket = mSocketFactory.createSocket(mTestHostAddress, HTTPS_PORT); in createSocket_simple_no_hostname_verification()
[all …]
DConnectivityManagerTest.java1642 final Socket s = network.getSocketFactory().createSocket(); in getConnectedSocket()
/packages/modules/Connectivity/framework/src/android/net/
DNetwork.java208 Socket socket = createSocket(); in connectToHost()
226 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() method in Network.NetworkBoundSocketFactory
232 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket() method in Network.NetworkBoundSocketFactory
234 Socket socket = createSocket(); in createSocket()
247 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() method in Network.NetworkBoundSocketFactory
248 Socket socket = createSocket(); in createSocket()
260 public Socket createSocket(String host, int port) throws IOException { in createSocket() method in Network.NetworkBoundSocketFactory
265 public Socket createSocket() throws IOException { in createSocket() method in Network.NetworkBoundSocketFactory
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java130 socket = createSocket(); in open()
173 Socket createSocket() throws MessagingException; in createSocket() method
181 protected Socket createSocket() throws MessagingException { in createSocket() method in MailTransport
183 return socketCreator.createSocket(); in createSocket()
194 return network.getSocketFactory().createSocket(); in createSocket()
209 .createSocket(socket, address.getHostName(), address.getPort(), true); in reopenTls()
/packages/modules/NetworkStack/tests/integration/signature/android/net/netlink/
DInetDiagSocketIntegrationTest.java77 public FileDescriptor createSocket() throws Exception { in createSocket() method in InetDiagSocketIntegrationTest.Connection
109 remoteFd = createSocket(); in TcpConnection()
114 localFd = createSocket(); in TcpConnection()
134 localFd = createSocket(); in UdpConnection()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketProvider.java135 createSocket(LOCAL_NET, createLPForTetheredInterface(newP2pIface, ifaceIndex));
411 createSocket(networkKey, lp); in handleLinkPropertiesChanged()
475 createSocket(LOCAL_NET, createLPForTetheredInterface(name, ifaceIndex)); in handleTetherInterfacesChanged()
484 private void createSocket(NetworkKey networkKey, LinkProperties lp) { in createSocket() method in MdnsSocketProvider
619 createSocket(new NetworkAsKey(network), lp); in retrieveAndNotifySocketFromNetwork()
630 createSocket( in retrieveAndNotifySocketFromInterface()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpManager.java44 Socket socket = network.getSocketFactory().createSocket(host, port, in createMsrpSession()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DRouterAdvertisementDaemon.java276 if (!createSocket()) { in start()
501 private boolean createSocket() { in createSocket() method in RouterAdvertisementDaemon
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java440 Socket s = network.getSocketFactory().createSocket(); in getBoundSocket()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java751 SSLSocket sslSocket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in setupSSLSocket()