Home
last modified time | relevance | path

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

12345678910>>...13

/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLSocketImplTest.java68 SSLSocket socket = null; in testSSLSocketImpl1() local
134 SSLSocket socket = null; in testSSLSocketImpl2() local
198 SSLSocket socket = null; in testSSLSocketImpl3() local
265 SSLSocket socket = null; in testSSLSocketImpl4() local
331 SSLSocket socket = null; in testSSLSocketImpl5() local
396 SSLSocket socket = createSSLSocket(); in testGetSupportedCipherSuites() local
413 SSLSocket socket = createSSLSocket(); in testGetEnabledCipherSuites() local
460 SSLSocket socket = createSSLSocket(); in testSetEnabledCipherSuites() local
508 SSLSocket socket = createSSLSocket(); in testGetSupportedProtocols() local
526 SSLSocket socket = createSSLSocket(); in testGetEnabledProtocols() local
[all …]
/external/webrtc/webrtc/base/
Dproxyserver.cc43 void ProxyServer::OnAcceptEvent(AsyncSocket* socket) { in OnAcceptEvent()
83 void ProxyBinding::OnConnectRequest(AsyncProxyServerSocket* socket, in OnConnectRequest()
90 void ProxyBinding::OnInternalRead(AsyncSocket* socket) { in OnInternalRead()
95 void ProxyBinding::OnInternalWrite(AsyncSocket* socket) { in OnInternalWrite()
99 void ProxyBinding::OnInternalClose(AsyncSocket* socket, int err) { in OnInternalClose()
103 void ProxyBinding::OnExternalConnect(AsyncSocket* socket) { in OnExternalConnect()
109 void ProxyBinding::OnExternalRead(AsyncSocket* socket) { in OnExternalRead()
114 void ProxyBinding::OnExternalWrite(AsyncSocket* socket) { in OnExternalWrite()
118 void ProxyBinding::OnExternalClose(AsyncSocket* socket, int err) { in OnExternalClose()
125 void ProxyBinding::Read(AsyncSocket* socket, FifoBuffer* buffer) { in Read()
[all …]
Dsocketstream.cc15 SocketStream::SocketStream(AsyncSocket* socket) : socket_(NULL) { in SocketStream()
23 void SocketStream::Attach(AsyncSocket* socket) { in Attach()
36 AsyncSocket* socket = socket_; in Detach() local
100 void SocketStream::OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
105 void SocketStream::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
110 void SocketStream::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
115 void SocketStream::OnCloseEvent(AsyncSocket* socket, int err) { in OnCloseEvent()
Dasynctcpsocket.cc36 rtc::AsyncSocket* socket, in ConnectSocket()
51 AsyncTCPSocketBase::AsyncTCPSocketBase(AsyncSocket* socket, bool listen, in AsyncTCPSocketBase()
174 void AsyncTCPSocketBase::OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
178 void AsyncTCPSocketBase::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
217 void AsyncTCPSocketBase::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
229 void AsyncTCPSocketBase::OnCloseEvent(AsyncSocket* socket, int error) { in OnCloseEvent()
238 AsyncSocket* socket, in Create()
245 AsyncTCPSocket::AsyncTCPSocket(AsyncSocket* socket, bool listen) in AsyncTCPSocket()
299 void AsyncTCPSocket::HandleIncomingConnection(AsyncSocket* socket) { in HandleIncomingConnection()
Dsocketadapters.cc43 BufferedReadAdapter::BufferedReadAdapter(AsyncSocket* socket, size_t size) in BufferedReadAdapter()
102 void BufferedReadAdapter::OnReadEvent(AsyncSocket * socket) { in OnReadEvent()
128 AsyncProxyServerSocket::AsyncProxyServerSocket(AsyncSocket* socket, in AsyncProxyServerSocket()
177 AsyncSSLSocket::AsyncSSLSocket(AsyncSocket* socket) in AsyncSSLSocket()
188 void AsyncSSLSocket::OnConnectEvent(AsyncSocket * socket) { in OnConnectEvent()
219 AsyncSSLServerSocket::AsyncSSLServerSocket(AsyncSocket* socket) in AsyncSSLServerSocket()
250 AsyncHttpsProxySocket::AsyncHttpsProxySocket(AsyncSocket* socket, in AsyncHttpsProxySocket()
301 void AsyncHttpsProxySocket::OnConnectEvent(AsyncSocket * socket) { in OnConnectEvent()
311 void AsyncHttpsProxySocket::OnCloseEvent(AsyncSocket * socket, int err) { in OnCloseEvent()
517 AsyncSocksProxySocket::AsyncSocksProxySocket(AsyncSocket* socket, in AsyncSocksProxySocket()
[all …]
Dasyncsocket.cc21 AsyncSocketAdapter::AsyncSocketAdapter(AsyncSocket* socket) : socket_(NULL) { in AsyncSocketAdapter()
29 void AsyncSocketAdapter::Attach(AsyncSocket* socket) { in Attach()
111 void AsyncSocketAdapter::OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
115 void AsyncSocketAdapter::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
119 void AsyncSocketAdapter::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
123 void AsyncSocketAdapter::OnCloseEvent(AsyncSocket* socket, int err) { in OnCloseEvent()
Dasyncudpsocket.cc19 AsyncSocket* socket, in Create()
31 AsyncSocket* socket = in Create() local
38 AsyncUDPSocket::AsyncUDPSocket(AsyncSocket* socket) in AsyncUDPSocket()
102 void AsyncUDPSocket::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
124 void AsyncUDPSocket::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
Dtestutils.h77 void Monitor(AsyncSocket* socket) { in Monitor()
85 void Unmonitor(AsyncSocket* socket) { in Unmonitor()
108 void OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
111 void OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
114 void OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
117 void OnCloseEvent(AsyncSocket* socket, int error) { in OnCloseEvent()
281 SocketTestClient(AsyncSocket* socket) { in SocketTestClient()
289 AsyncSocket* socket() { return socket_.get(); } in socket() function
325 void Init(AsyncSocket* socket, int family) { in Init()
354 void OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
[all …]
Dssladapter_unittest.cc27 rtc::AsyncSocket* socket = rtc::Thread::Current()-> in CreateSocket() local
44 rtc::AsyncSocket* socket = CreateSocket(ssl_mode_); in SSLAdapterTestDummyClient() local
100 void OnSSLAdapterReadEvent(rtc::AsyncSocket* socket) { in OnSSLAdapterReadEvent()
114 void OnSSLAdapterCloseEvent(rtc::AsyncSocket* socket, int error) { in OnSSLAdapterCloseEvent()
195 rtc::AsyncSocket* socket = server_socket_.release(); in AcceptConnection() local
202 void OnServerSocketReadEvent(rtc::AsyncSocket* socket) { in OnServerSocketReadEvent()
231 void DoHandshake(rtc::AsyncSocket* socket) { in DoHandshake()
/external/jetty/src/java/org/eclipse/jetty/io/
DNetworkTrafficListener.java47 public void opened(Socket socket); in opened()
55 public void incoming(Socket socket, Buffer bytes); in incoming()
64 public void outgoing(Socket socket, Buffer bytes); in outgoing()
76 public void closed(Socket socket); in closed()
83 public void opened(Socket socket) in opened()
87 public void incoming(Socket socket, Buffer bytes) in incoming()
91 public void outgoing(Socket socket, Buffer bytes) in outgoing()
95 public void closed(Socket socket) in closed()
/external/webrtc/webrtc/p2p/base/
Dtcpport.cc158 if (rtc::AsyncPacketSocket* socket = in CreateConnection() local
199 rtc::AsyncPacketSocket * socket = NULL; in SendTo() local
252 void TCPPort::OnNewConnection(rtc::AsyncPacketSocket* socket, in OnNewConnection()
270 rtc::AsyncPacketSocket* socket = NULL; in GetIncoming() local
283 void TCPPort::OnReadPacket(rtc::AsyncPacketSocket* socket, in OnReadPacket()
290 void TCPPort::OnSentPacket(rtc::AsyncPacketSocket* socket, in OnSentPacket()
295 void TCPPort::OnReadyToSend(rtc::AsyncPacketSocket* socket) { in OnReadyToSend()
299 void TCPPort::OnAddressReady(rtc::AsyncPacketSocket* socket, in OnAddressReady()
308 rtc::AsyncPacketSocket* socket) in TCPConnection()
384 void TCPConnection::OnConnect(rtc::AsyncPacketSocket* socket) { in OnConnect()
[all …]
Drelayserver.cc33 void Send(rtc::AsyncPacketSocket* socket, const char* bytes, size_t size, in Send()
47 rtc::AsyncPacketSocket* socket, in SendStun()
55 void SendStunError(const StunMessage& msg, rtc::AsyncPacketSocket* socket, in SendStunError()
96 rtc::AsyncSocket* socket = server_sockets_.begin()->first; in ~RelayServer() local
102 void RelayServer::AddInternalSocket(rtc::AsyncPacketSocket* socket) { in AddInternalSocket()
109 void RelayServer::RemoveInternalSocket(rtc::AsyncPacketSocket* socket) { in RemoveInternalSocket()
118 void RelayServer::AddExternalSocket(rtc::AsyncPacketSocket* socket) { in AddExternalSocket()
125 void RelayServer::RemoveExternalSocket(rtc::AsyncPacketSocket* socket) { in RemoveExternalSocket()
134 void RelayServer::AddInternalServerSocket(rtc::AsyncSocket* socket, in AddInternalServerSocket()
143 rtc::AsyncSocket* socket) { in RemoveInternalServerSocket()
[all …]
Dtestrelayserver.h57 rtc::AsyncSocket* socket = in CreateListenSocket() local
64 void OnAccept(rtc::AsyncSocket* socket) { in OnAccept()
85 void OnInternalClose(rtc::AsyncPacketSocket* socket, int error) { in OnInternalClose()
88 void OnExternalClose(rtc::AsyncPacketSocket* socket, int error) { in OnExternalClose()
Dbasicpacketsocketfactory.cc51 rtc::AsyncSocket* socket = in CreateUdpSocket() local
77 rtc::AsyncSocket* socket = in CreateServerTcpSocket() local
111 rtc::AsyncSocket* socket = in CreateClientTcpSocket() local
182 int BasicPacketSocketFactory::BindSocket(AsyncSocket* socket, in BindSocket()
/external/conscrypt/src/test/java/org/conscrypt/
DDuckTypedPSKKeyManagerTest.java177 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
185 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
193 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
208 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
216 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
224 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
241 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
249 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
258 public SecretKeySpec getKey(String identityHint, String identity, Socket socket) { in getKey()
276 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDelegatingSocketFactory.java38 Socket socket = delegate.createSocket(); in createSocket() local
44 Socket socket = delegate.createSocket(host, port); in createSocket() local
51 Socket socket = delegate.createSocket(host, port, localAddress, localPort); in createSocket() local
57 Socket socket = delegate.createSocket(host, port); in createSocket() local
64 Socket socket = delegate.createSocket(host, port, localAddress, localPort); in createSocket() local
68 protected Socket configureSocket(Socket socket) throws IOException { in configureSocket()
DConnectionSpecTest.java69 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_defaultCiphers_noFallbackIndicator() local
98 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_defaultCiphers_withFallbackIndicator() local
131 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_explicitCiphers() local
170 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_missingRequiredCipher() local
196 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_missingTlsVersion() local
/external/okhttp/okio/okio/src/test/java/okio/
DSocketTimeoutTest.java39 Socket socket = socket(ONE_MB, 0); in readWithoutTimeout() local
47 Socket socket = socket(0, 0); in readWithTimeout() local
59 Socket socket = socket(0, ONE_MB); in writeWithoutTimeout() local
69 Socket socket = socket(0, 0); in writeWithTimeout() local
92 …static Socket socket(final int readableByteCount, final int writableByteCount) throws IOException { in socket() method in SocketTimeoutTest
117 Socket socket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in socket() local
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DConnectionSpecSelectorTest.java48 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in nonRetryableIOException() local
61 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in nonRetryableSSLHandshakeException() local
76 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in retryableSSLHandshakeException() local
95 SSLSocket socket = createSocketWithEnabledProtocols(enabledSocketTlsVersions); in someFallbacksSupported() local
123 SSLSocket socket = (SSLSocket) sslContext.getSocketFactory().createSocket(); in createSocketWithEnabledProtocols() local
128 private static void assertEnabledProtocols(SSLSocket socket, TlsVersion... required) { in assertEnabledProtocols()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java70 public void tagSocket(Socket socket) throws SocketException { in tagSocket()
73 public void untagSocket(Socket socket) throws SocketException { in untagSocket()
94 public String getSelectedProtocol(SSLSocket socket) { in getSelectedProtocol()
98 public void connectSocket(Socket socket, InetSocketAddress address, in connectSocket()
187 @Override public void connectSocket(Socket socket, InetSocketAddress address, in connectSocket()
215 @Override public String getSelectedProtocol(SSLSocket socket) { in getSelectedProtocol()
223 @Override public void tagSocket(Socket socket) throws SocketException { in tagSocket()
235 @Override public void untagSocket(Socket socket) throws SocketException { in untagSocket()
292 @Override public String getSelectedProtocol(SSLSocket socket) { in getSelectedProtocol()
/external/webrtc/webrtc/libjingle/xmpp/
Dxmppsocket.cc43 rtc::AsyncSocket* socket = in CreateCricketSocket() local
78 void XmppSocket::OnReadEvent(rtc::AsyncSocket * socket) { in OnReadEvent()
82 void XmppSocket::OnWriteEvent(rtc::AsyncSocket * socket) { in OnWriteEvent()
96 void XmppSocket::OnConnectEvent(rtc::AsyncSocket * socket) { in OnConnectEvent()
109 void XmppSocket::OnCloseEvent(rtc::AsyncSocket * socket, int error) { in OnCloseEvent()
/external/okhttp/android/main/java/com/squareup/okhttp/internal/
DPlatform.java62 public void tagSocket(Socket socket) throws SocketException { in tagSocket()
66 public void untagSocket(Socket socket) throws SocketException { in untagSocket()
97 public String getSelectedProtocol(SSLSocket socket) { in getSelectedProtocol()
111 public void connectSocket(Socket socket, InetSocketAddress address, in connectSocket()
/external/apache-http/src/org/apache/http/impl/
DSocketHttpClientConnection.java66 private Socket socket = null; field in SocketHttpClientConnection
85 final Socket socket, in createSessionInputBuffer()
92 final Socket socket, in createSessionOutputBuffer()
99 final Socket socket, in bind()
DSocketHttpServerConnection.java66 private Socket socket = null; field in SocketHttpServerConnection
85 final Socket socket, in createHttpDataReceiver()
92 final Socket socket, in createHttpDataTransmitter()
98 protected void bind(final Socket socket, final HttpParams params) throws IOException { in bind()
/external/conscrypt/src/main/java/org/conscrypt/
DPSKKeyManager.java116 String chooseServerKeyIdentityHint(Socket socket); in chooseServerKeyIdentityHint()
135 String chooseClientKeyIdentity(String identityHint, Socket socket); in chooseClientKeyIdentity()
158 SecretKey getKey(String identityHint, String identity, Socket socket); in getKey()

12345678910>>...13