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 …]
DNetworkAgentTest.kt1030 qosTestSocket = assertNotNull(agent.network?.socketFactory?.createSocket()).also { in setupForQosCallbackTesting()
DConnectivityManagerTest.java1342 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/src/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/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.java279 if (!createSocket()) { in start()
504 private boolean createSocket() { in createSocket() method in RouterAdvertisementDaemon
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java499 Socket s = network.getSocketFactory().createSocket(); in getBoundSocket()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java696 SSLSocket sslSocket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in setupSSLSocket()