/external/chromium/net/socket/ |
ssl_server_socket_nss.cc | 5 #include "net/socket/ssl_server_socket_nss.h" 39 #include "net/socket/nss_ssl_util.h" 40 #include "net/socket/ssl_error_params.h" 49 Socket* socket, X509Certificate* cert, crypto::RSAPrivateKey* key, 51 return new SSLServerSocketNSS(socket, cert, key, ssl_config); 55 Socket* transport_socket, 190 /* Push SSL onto our fake I/O socket */ 232 // Server socket doesn't need session tickets. 343 // Tell SSL we're a server; needed if not letting NSPR do socket I/ [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
openssladapter.cc | 60 "socket", 73 BIO* BIO_new_socket(talk_base::AsyncSocket* socket) { 78 ret->ptr = socket; 85 b->num = 0; // 1 means socket closed 99 talk_base::AsyncSocket* socket = static_cast<talk_base::AsyncSocket*>(b->ptr); 101 int result = socket->Recv(out, outl); 106 } else if (socket->IsBlocking()) { 115 talk_base::AsyncSocket* socket = static_cast<talk_base::AsyncSocket*>(b->ptr); 117 int result = socket->Send(in, inl); 120 } else if (socket->IsBlocking()) [all...] |
schanneladapter.cc | 108 SChannelAdapter::SChannelAdapter(AsyncSocket* socket) 109 : SSLAdapter(socket), state_(SSL_NONE), 126 if (socket_->GetState() != Socket::CS_CONNECTED) { 610 // socket api doesn't support nice shutdown at this point, we don't bother. 620 Socket::ConnState 632 SChannelAdapter::OnConnectEvent(AsyncSocket* socket) { 636 AsyncSocketAdapter::OnConnectEvent(socket); 647 SChannelAdapter::OnReadEvent(AsyncSocket* socket) { 649 AsyncSocketAdapter::OnReadEvent(socket); 675 SChannelAdapter::OnWriteEvent(AsyncSocket* socket) { [all...] |
win32socketserver.cc | 82 description = "Using a non-blocking socket, will notify later"; 215 parent_->OnSocketNotify(static_cast<SOCKET>(wParam), wsa_event, wsa_error); 260 int Win32Socket::Attach(SOCKET s) { 293 LOG(LS_WARNING) << "GetLocalAddress: unable to get local addr, socket=" 310 LOG(LS_WARNING) << "GetRemoteAddress: unable to get remote addr, socket=" 391 Socket::ConnState Win32Socket::GetState() const { 468 SOCKET s = ::accept(socket_, reinterpret_cast<sockaddr*>(&saddr), &cbAddr); 474 Win32Socket* socket = new Win32Socket; local 475 if (0 == socket->Attach(s)) 476 return socket; 715 Win32Socket* socket = new Win32Socket; local [all...] |
socketadapters.cc | 58 BufferedReadAdapter::BufferedReadAdapter(AsyncSocket* socket, size_t size) 59 : AsyncSocketAdapter(socket), buffer_size_(size), 109 void BufferedReadAdapter::OnReadEvent(AsyncSocket * socket) { 110 ASSERT(socket == socket_); 113 AsyncSocketAdapter::OnReadEvent(socket); 177 AsyncSSLSocket::AsyncSSLSocket(AsyncSocket* socket) 178 : BufferedReadAdapter(socket, 1024) { 188 void AsyncSSLSocket::OnConnectEvent(AsyncSocket * socket) { 189 ASSERT(socket == socket_); 214 // FIX: if SignalConnect causes the socket to be destroyed, we are in troubl [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
openssladapter.cc | 95 "socket", 108 BIO* BIO_new_socket(talk_base::AsyncSocket* socket) { 113 ret->ptr = socket; 120 b->num = 0; // 1 means socket closed 134 talk_base::AsyncSocket* socket = static_cast<talk_base::AsyncSocket*>(b->ptr); 136 int result = socket->Recv(out, outl); 141 } else if (socket->IsBlocking()) { 150 talk_base::AsyncSocket* socket = static_cast<talk_base::AsyncSocket*>(b->ptr); 152 int result = socket->Send(in, inl); 155 } else if (socket->IsBlocking()) [all...] |
schanneladapter.cc | 108 SChannelAdapter::SChannelAdapter(AsyncSocket* socket) 109 : SSLAdapter(socket), state_(SSL_NONE), 126 if (socket_->GetState() != Socket::CS_CONNECTED) { 607 // socket api doesn't support nice shutdown at this point, we don't bother. 617 Socket::ConnState 629 SChannelAdapter::OnConnectEvent(AsyncSocket* socket) { 633 AsyncSocketAdapter::OnConnectEvent(socket); 644 SChannelAdapter::OnReadEvent(AsyncSocket* socket) { 646 AsyncSocketAdapter::OnReadEvent(socket); 672 SChannelAdapter::OnWriteEvent(AsyncSocket* socket) { [all...] |
macasyncsocket.cc | 6 // type (yet). It works asynchronously, which means that users of this socket 8 // notifications about this socket. It uses CFSockets for signals, but prefers 9 // the basic bsd socket operations rather than their CFSocket wrappers when 43 // Returns the address to which the socket is bound. If the socket is not 50 // the underlying bsd socket. 61 // Returns the address to which the socket is connected. If the socket is not 77 // Bind the socket to a local address. 268 native_socket_ = INVALID_SOCKET; // invalidates the socket [all...] |
socketadapters.cc | 58 BufferedReadAdapter::BufferedReadAdapter(AsyncSocket* socket, size_t size) 59 : AsyncSocketAdapter(socket), buffer_size_(size), 109 void BufferedReadAdapter::OnReadEvent(AsyncSocket * socket) { 110 ASSERT(socket == socket_); 113 AsyncSocketAdapter::OnReadEvent(socket); 177 AsyncSSLSocket::AsyncSSLSocket(AsyncSocket* socket) 178 : BufferedReadAdapter(socket, 1024) { 188 void AsyncSSLSocket::OnConnectEvent(AsyncSocket * socket) { 189 ASSERT(socket == socket_); 214 // FIX: if SignalConnect causes the socket to be destroyed, we are in troubl [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
mediachannel.h | 38 #include "talk/base/socket.h" 408 virtual int SetOption(SocketType type, talk_base::Socket::Option opt, 426 // Called when the socket's ability to send has changed. 464 talk_base::Socket::Option opt, [all...] |
filemediaengine_unittest.cc | 79 talk_base::Socket::Option opt, int option) {
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageChannel.java | 56 import java.net.Socket; 83 * and invoking it on the message read from the UDP socket. The parsed structure 709 // Use the socket from the message processor (for firewall 710 // support use the same socket as the message processor 711 // socket -- feature request # 18 from java.net). This also 715 // Bind the socket to the stack address in case there 793 Socket outputSocket = sipStack.ioHandler.sendBytes( 799 // The socket is cached (dont close it!); [all...] |
/frameworks/base/core/java/android/os/ |
ParcelFileDescriptor.java | 46 import java.net.Socket; 59 * Optional socket used to communicate close events, status at close, and 324 * Create a new ParcelFileDescriptor from the specified Socket. The new 326 * the Socket, so you must still close the Socket as well as the new 329 * @param socket The Socket whose FileDescriptor is used to create 333 * specified Socket. 335 public static ParcelFileDescriptor fromSocket(Socket socket) { [all...] |
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
port.h | 179 // Functions on the underlying socket(s). 180 virtual int SetOption(talk_base::Socket::Option opt, int value) = 0;
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
mediachannel.h | 36 #include "talk/base/socket.h" 75 virtual int SetOption(SocketType type, talk_base::Socket::Option opt,
|
channel.h | 158 virtual int SetOption(SocketType type, talk_base::Socket::Option o, int val);
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AndroidKeyPairGeneratorTest.java | 24 import java.net.Socket; 530 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { 535 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) {
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLSocketImpl.java | 26 import java.net.Socket; 85 private final Socket socket; field in class:OpenSSLSocketImpl 104 * getSoTimeout to delegate to the wrapped socket. 114 this.socket = this; 121 this.socket = this; 128 this.socket = this; 135 this.socket = this; 144 this.socket = this; 152 this.socket = this [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
port_unittest.cc | 60 using talk_base::Socket; 191 virtual int SetOption(talk_base::Socket::Option opt, int value) { 194 virtual int GetOption(talk_base::Socket::Option opt, int* value) { 749 // per-factory and not when socket is created. 779 // socket is not bound yet (GetState() returns STATE_BINDING). 784 // Returns remote address. Returns zeroes if this is not a client TCP socket. 801 virtual int GetOption(Socket::Option opt, int* value) { return 0; } 802 virtual int SetOption(Socket::Option opt, int value) { return 0; } 1136 FakeAsyncPacketSocket *socket = new FakeAsyncPacketSocket(); local 1153 FakeAsyncPacketSocket *socket = new FakeAsyncPacketSocket(); local 1177 FakeAsyncPacketSocket *socket = new FakeAsyncPacketSocket(); local [all...] |
fakesession.h | 180 virtual int SetOption(talk_base::Socket::Option opt, int value) {
|
turnport.cc | 263 void TurnPort::OnSocketConnect(talk_base::AsyncPacketSocket* socket) { 264 LOG(LS_INFO) << "TurnPort connected to " << socket->GetRemoteAddress() 269 void TurnPort::OnSocketClose(talk_base::AsyncPacketSocket* socket, int error) { 298 int TurnPort::SetOption(talk_base::Socket::Option opt, int value) { 300 // If socket is not created yet, these options will be applied during socket 308 int TurnPort::GetOption(talk_base::Socket::Option opt, int* value) { 345 void TurnPort::OnReadPacket(talk_base::AsyncPacketSocket* socket, 348 ASSERT(socket == socket_.get()); 378 void TurnPort::OnReadyToSend(talk_base::AsyncPacketSocket* socket) { [all...] |
/external/chromium_org/remoting/protocol/ |
channel_multiplexer.cc | 16 #include "net/socket/stream_socket.h" 208 // Socket must be destroyed before the channel. 214 DCHECK(!socket_); // Can't create more than one socket per channel. 227 // Notify the socket that we have more data. 401 callback.Run(scoped_ptr<net::Socket>()); 415 scoped_ptr<net::StreamSocket> socket) { 417 base_channel_ = socket.Pass(); 446 scoped_ptr<net::StreamSocket> socket; local 448 socket = GetOrCreateChannel(c.name)->CreateSocket(); 449 c.callback.Run(socket.Pass()) [all...] |
fake_session.cc | 382 callback.Run(scoped_ptr<net::Socket>(datagram_channels_[name]));
|
/cts/libs/testserver/src/android/webkit/cts/ |
CtsTestServer.java | 59 import java.net.Socket; 627 // We cannot close the socket here, because we need to respond. 856 Socket socket = mSocket.accept(); local [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLSocketImplTest.java | 24 import java.net.Socket; 68 SSLSocket socket = null; local 72 socket = new SSLSocketImpl(JSSETestData.getSSLParameters()); 73 socket.connect( 75 ((SSLSocketImpl) socket).init(); 76 socket.setUseClientMode(true); 79 final SSLSocket s = socket; 103 socket.close(); 114 if (socket != null) { 116 socket.close() 128 SSLSocket socket = null; local 186 SSLSocket socket = null; local 247 SSLSocket socket = null; local 307 SSLSocket socket = null; local 366 SSLSocket socket = createSSLSocket(); local 383 SSLSocket socket = createSSLSocket(); local 428 SSLSocket socket = createSSLSocket(); local 474 SSLSocket socket = createSSLSocket(); local 492 SSLSocket socket = createSSLSocket(); local 537 SSLSocket socket = createSSLSocket(); local 638 SSLSocket socket = null; local 696 SSLSocket socket = createSSLSocket(); local 717 SSLSocket socket = createSSLSocket(); local 738 SSLSocket socket = createSSLSocket(); local 753 SSLSocket socket = null; local 828 SSLSocket socket = createSSLSocket(); local 858 SSLSocket socket = null; local 917 SSLSocket socket = null; local 973 SSLSocket socket = null; local 1029 SSLSocket socket = null; local 1059 SSLSocket socket = null; local 1089 SSLSocket socket = null; local 1119 SSLSocket socket = null; local 1148 SSLSocket socket = createSSLSocket(); local [all...] |