Home
last modified time | relevance | path

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

12345678910>>...18

/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()
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()
/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 …]
/external/conscrypt/testing/src/main/java/tests/net/
DDelegatingSSLSocketFactory.java37 protected SSLSocket configureSocket(SSLSocket socket) throws IOException { in configureSocket()
50 SSLSocket socket = (SSLSocket) mDelegate.createSocket(); in createSocket() local
56 SSLSocket socket = (SSLSocket) mDelegate.createSocket(s, host, port, autoClose); in createSocket() local
61 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); in createSocket() local
67 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port, localHost, localPort); in createSocket() local
72 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); in createSocket() local
78 … SSLSocket socket = (SSLSocket) mDelegate.createSocket(address, port, localAddress, localPort); in createSocket() local
DDelegatingSocketFactory.java36 protected Socket configureSocket(Socket socket) throws IOException { in configureSocket()
41 Socket socket = mDelegate.createSocket(); in createSocket() local
46 Socket socket = mDelegate.createSocket(host, port); in createSocket() local
52 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); in createSocket() local
57 Socket socket = mDelegate.createSocket(host, port); in createSocket() local
63 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort); in createSocket() local
/external/conscrypt/repackaged/testing/src/main/java/tests/net/
DDelegatingSSLSocketFactory.java39 protected SSLSocket configureSocket(SSLSocket socket) throws IOException { in configureSocket()
52 SSLSocket socket = (SSLSocket) mDelegate.createSocket(); in createSocket() local
58 SSLSocket socket = (SSLSocket) mDelegate.createSocket(s, host, port, autoClose); in createSocket() local
63 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); in createSocket() local
69 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port, localHost, localPort); in createSocket() local
74 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); in createSocket() local
80 … SSLSocket socket = (SSLSocket) mDelegate.createSocket(address, port, localAddress, localPort); in createSocket() local
DDelegatingSocketFactory.java38 protected Socket configureSocket(Socket socket) throws IOException { in configureSocket()
43 Socket socket = mDelegate.createSocket(); in createSocket() local
48 Socket socket = mDelegate.createSocket(host, port); in createSocket() local
54 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); in createSocket() local
59 Socket socket = mDelegate.createSocket(host, port); in createSocket() local
65 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort); in createSocket() local
/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()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/net/
DSocketFacade.java70 private String getDatagramSocketId(DatagramSocket socket) { in getDatagramSocketId()
79 private String getSocketId(Socket socket) { in getSocketId()
88 private String getServerSocketId(ServerSocket socket) { in getServerSocketId()
159 Socket socket = new Socket(remoteAddr, remotePort.intValue(), localAddr, in openTcpSocket() local
177 Socket socket = sSocketHashMap.get(id); in closeTcpSocket() local
219 ServerSocket socket = sServerSocketHashMap.get(id); in closeTcpServerSocket() local
244 ServerSocket socket = sServerSocketHashMap.get(id); in getTcpServerSocketPort() local
261 Socket socket = serverSocket.accept(); in acceptTcpSocket() local
279 Socket socket = sSocketHashMap.get(id); in sendDataOverTcpSocket() local
301 Socket socket = sSocketHashMap.get(id); in recvDataOverTcpSocket() local
[all …]
/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/conscrypt/openjdk/src/test/java/org/conscrypt/
DDuckTypedPSKKeyManagerTest.java180 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
188 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
196 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
211 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
219 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
227 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
244 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
252 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
261 public SecretKeySpec getKey(String identityHint, String identity, Socket socket) { in getKey()
279 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
[all …]
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DDuckTypedPSKKeyManagerTest.java184 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
192 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
200 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
215 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
223 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
231 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
248 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
256 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
265 public SecretKeySpec getKey(String identityHint, String identity, Socket socket) { in getKey()
283 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
[all …]
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLServerSocketTest.java53 SSLServerSocket socket = in testSetEnabledCipherSuitesAffectsGetter_TLS12() local
64 SSLServerSocket socket = in testSetEnabledCipherSuitesAffectsGetter_TLS13() local
76 SSLServerSocket socket = in testSetEnabledCipherSuitesStoresCopy() local
87 SSLServerSocket socket = in testSetEnabledProtocolsAffectsGetter() local
96 SSLServerSocket socket = in testSetEnabledProtocolsStoresCopy() local
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLServerSocketTest.java49 SSLServerSocket socket = in testSetEnabledCipherSuitesAffectsGetter_TLS12() local
60 SSLServerSocket socket = in testSetEnabledCipherSuitesAffectsGetter_TLS13() local
73 SSLServerSocket socket = in testSetEnabledCipherSuitesStoresCopy() local
84 SSLServerSocket socket = in testSetEnabledProtocolsAffectsGetter() local
93 SSLServerSocket socket = in testSetEnabledProtocolsStoresCopy() local
/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_uv.cc82 static void uv_socket_destroy(grpc_custom_socket* socket) { in uv_socket_destroy()
111 grpc_custom_socket* socket = (grpc_custom_socket*)stream->data; in uv_read_callback() local
117 grpc_custom_socket* socket = (grpc_custom_socket*)handle->data; in uv_close_callback() local
126 static void uv_socket_read(grpc_custom_socket* socket, char* buffer, in uv_socket_read()
145 grpc_custom_socket* socket = (grpc_custom_socket*)req->data; in uv_write_callback() local
151 void uv_socket_write(grpc_custom_socket* socket, in uv_socket_write()
175 static void uv_socket_shutdown(grpc_custom_socket* socket) { in uv_socket_shutdown()
181 static void uv_socket_close(grpc_custom_socket* socket, in uv_socket_close()
216 static grpc_error* uv_socket_init(grpc_custom_socket* socket, int domain) { in uv_socket_init()
227 static grpc_error* uv_socket_getpeername(grpc_custom_socket* socket, in uv_socket_getpeername()
[all …]
Dsocket_windows.cc42 grpc_winsocket* grpc_winsocket_create(SOCKET socket, const char* name) { in grpc_winsocket_create()
55 SOCKET grpc_winsocket_wrapped_socket(grpc_winsocket* socket) { in grpc_winsocket_wrapped_socket()
119 static void socket_notify_on_iocp(grpc_winsocket* socket, grpc_closure* closure, in socket_notify_on_iocp()
132 void grpc_socket_notify_on_write(grpc_winsocket* socket, in grpc_socket_notify_on_write()
137 void grpc_socket_notify_on_read(grpc_winsocket* socket, grpc_closure* closure) { in grpc_socket_notify_on_read()
141 void grpc_socket_become_ready(grpc_winsocket* socket, in grpc_socket_become_ready()
Dtcp_client_custom.cc39 grpc_custom_socket* socket; member
50 grpc_custom_socket* socket = connect->socket; in custom_tcp_connect_cleanup() local
61 static void custom_close_callback(grpc_custom_socket* socket) {} in custom_close_callback()
65 grpc_custom_socket* socket = (grpc_custom_socket*)acp; in on_alarm() local
84 static void custom_connect_callback(grpc_custom_socket* socket, in custom_connect_callback()
122 grpc_custom_socket* socket = in tcp_connect() local
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc_gevent.pyx.pxi87 cdef grpc_error* socket_init(grpc_custom_socket* socket, int domain) with gil:
113 cdef void socket_connect(grpc_custom_socket* socket, const grpc_sockaddr* addr,
128 cdef void socket_destroy(grpc_custom_socket* socket) with gil:
131 cdef void socket_shutdown(grpc_custom_socket* socket) with gil:
138 cdef void socket_close(grpc_custom_socket* socket,
150 def socket_sendmsg(socket, write_bytes): argument
178 cdef void socket_write(grpc_custom_socket* socket, grpc_slice_buffer* buffer,
206 cdef void socket_read(grpc_custom_socket* socket, char* buffer,
214 cdef grpc_error* socket_getpeername(grpc_custom_socket* socket,
227 cdef grpc_error* socket_getsockname(grpc_custom_socket* socket,
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscrypt.java297 public static boolean isConscrypt(SSLSocket socket) { in isConscrypt()
301 private static AbstractConscryptSocket toConscrypt(SSLSocket socket) { in toConscrypt()
317 public static void setHostname(SSLSocket socket, String hostname) { in setHostname()
326 public static String getHostname(SSLSocket socket) { in getHostname()
334 public static String getHostnameOrIP(SSLSocket socket) { in getHostnameOrIP()
344 public static void setUseSessionTickets(SSLSocket socket, boolean useSessionTickets) { in setUseSessionTickets()
358 public static void setChannelIdEnabled(SSLSocket socket, boolean enabled) { in setChannelIdEnabled()
372 public static byte[] getChannelId(SSLSocket socket) throws SSLException { in getChannelId()
390 public static void setChannelIdPrivateKey(SSLSocket socket, PrivateKey privateKey) { in setChannelIdPrivateKey()
400 public static String getApplicationProtocol(SSLSocket socket) { in getApplicationProtocol()
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscrypt.java307 public static boolean isConscrypt(SSLSocket socket) { in isConscrypt()
311 private static AbstractConscryptSocket toConscrypt(SSLSocket socket) { in toConscrypt()
327 public static void setHostname(SSLSocket socket, String hostname) { in setHostname()
336 public static String getHostname(SSLSocket socket) { in getHostname()
344 public static String getHostnameOrIP(SSLSocket socket) { in getHostnameOrIP()
354 public static void setUseSessionTickets(SSLSocket socket, boolean useSessionTickets) { in setUseSessionTickets()
368 public static void setChannelIdEnabled(SSLSocket socket, boolean enabled) { in setChannelIdEnabled()
382 public static byte[] getChannelId(SSLSocket socket) throws SSLException { in getChannelId()
400 public static void setChannelIdPrivateKey(SSLSocket socket, PrivateKey privateKey) { in setChannelIdPrivateKey()
410 public static String getApplicationProtocol(SSLSocket socket) { in getApplicationProtocol()
[all …]
/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()

12345678910>>...18