/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
rawtransportchannel.h | 68 virtual int SetOption(talk_base::Socket::Option opt, int value);
|
relayport.cc | 38 // How long to wait for a socket to connect to remote host in milliseconds 47 talk_base::AsyncPacketSocket* socket, 50 talk_base::AsyncPacketSocket* socket() const { return socket_; } function in class:cricket::RelayConnection 64 int SetSocketOption(talk_base::Socket::Option opt, int value); 75 // Return the latest error generated by the socket. 78 // Called on behalf of a StunRequest to write data to the socket. This is 106 // Returns the last error on the socket of this entry. 121 RelayConnection* socket); 123 // Sends a packet to the given destination address using the socket of this 133 // Sets this option on the socket of each connection 472 talk_base::AsyncPacketSocket* socket = NULL; local [all...] |
/frameworks/base/core/java/android/net/http/ |
AndroidHttpClientConnection.java | 58 import java.net.Socket; 81 private Socket socket = null; field in class:AndroidHttpClientConnection 89 * Bind socket and set HttpParams to AndroidHttpClientConnection 90 * @param socket outgoing socket 95 final Socket socket, 97 if (socket == null) { 98 throw new IllegalArgumentException("Socket may not be null") [all...] |
HttpsConnection.java | 44 import java.net.Socket; 58 * SSL socket factory 176 Socket proxySock = null; 178 proxySock = new Socket 269 "failed to create an SSL socket"; 303 errorMessage = "failed to create an SSL socket";
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 25 import java.net.Socket; 171 Socket gotSocket = this.channel1.socket(); 252 Socket acceptedSocket = server1.accept(); 286 ssc.socket().bind(null, 0); 305 sc.connect(ssc.socket().getLocalSocketAddress()); 321 sc.connect(ssc.socket().getLocalSocketAddress()); 358 public Socket socket() { method in class:OldSocketChannelTest.MockSocketChannel
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerFlakyNetworkTest.java | 35 import java.net.Socket; 265 Socket socket, int buffersize, HttpParams params) throws IOException { 266 return createSessionOutputBuffer(socket, buffersize, params); 270 Socket socket, int buffersize, HttpParams params) throws IOException { 271 return new SocketOutputBuffer(socket, buffersize, params) {
|
/external/apache-http/src/org/apache/http/impl/conn/ |
SingleClientConnManager.java | 36 import java.net.Socket; 254 // When using a recycled Socket, we need to re-tag it with any 257 final Socket socket = uniquePoolEntry.connection.getSocket(); 258 if (socket != null) { 259 SocketTagger.get().tag(socket); 262 log.debug("Problem tagging socket.", iox); 297 // When recycling a Socket, we un-tag it to avoid collecting 299 final Socket socket = uniquePoolEntry.connection.getSocket() [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
asynctcpsocket.cc | 53 // This will still return a socket even if we failed to listen on 55 // connections on this socket, the corresponding port is still 63 AsyncTCPSocket::AsyncTCPSocket(AsyncSocket* socket, bool listen) 64 : socket_(socket), 141 Socket::ConnState AsyncTCPSocket::GetState() const { 145 int AsyncTCPSocket::GetOption(Socket::Option opt, int* value) { 149 int AsyncTCPSocket::SetOption(Socket::Option opt, int value) { 213 void AsyncTCPSocket::OnConnectEvent(AsyncSocket* socket) { 217 void AsyncTCPSocket::OnReadEvent(AsyncSocket* socket) { 218 ASSERT(socket_.get() == socket); [all...] |
/external/chromium_org/chrome/browser/extensions/api/socket/ |
udp_socket.cc | 5 #include "chrome/browser/extensions/api/socket/udp_socket.h" 18 : Socket(owner_extension_id), 201 Socket::SocketType UDPSocket::GetSocketType() const { 202 return Socket::TYPE_UDP;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
thread_unittest.cc | 66 // Receives on a socket and sends by posting messages. 69 SocketClient(AsyncSocket* socket, const SocketAddress& addr, 71 : socket_(AsyncUDPSocket::Create(socket, addr)), 83 void OnPacket(AsyncPacketSocket* socket, const char* buf, size_t size, 99 // Receives messages and sends on a socket. 102 MessageClient(Thread* pth, Socket* socket) 103 : thread_(pth), socket_(socket) { 119 Socket* socket_; 168 Socket* socket = th1.socketserver()->CreateAsyncSocket(addr.family() local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
fakenetworkinterface.h | 177 virtual int SetOption(SocketType type, talk_base::Socket::Option opt, 179 if (opt == talk_base::Socket::OPT_SNDBUF) { 181 } else if (opt == talk_base::Socket::OPT_RCVBUF) {
|
/frameworks/base/core/java/android/net/ |
TrafficStats.java | 30 import java.net.Socket; 113 * Set active tag to use when accounting {@link Socket} traffic originating 117 * {@link #tagSocket(Socket)}. 130 * Get the active tag used when accounting {@link Socket} traffic originating 132 * {@link #tagSocket(Socket)}. 141 * Clear any active tag set to account {@link Socket} traffic originating 151 * Set specific UID to use when accounting {@link Socket} traffic 156 * {@link #tagSocket(Socket)}. 173 * Tag the given {@link Socket} with any statistics parameters active for 175 * parameters. When finished, call {@link #untagSocket(Socket)} to remov [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
KeyManagerImpl.java | 19 import java.net.Socket; 45 * from socket or engine. 87 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 92 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) {
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ViewHierarchyLoader.java | 31 import java.net.Socket; 42 Socket socket = null; local 51 socket = new Socket(); 52 socket.connect(new InetSocketAddress("127.0.0.1", 55 out = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())); 56 in = new BufferedReader(new InputStreamReader(socket.getInputStream(), "utf-8")); 125 socket.close();
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLSocketTest.java | 26 import java.net.Socket; 467 Socket socket = event.getSocket(); 480 System.out.println("Socket=" + socket); 516 assertNotNull(socket); 517 assertSame(client, socket); [all...] |
/external/chromium_org/jingle/glue/ |
pseudotcp_adapter_unittest.cc | 80 class FakeSocket : public net::Socket { 114 // net::Socket interface. 174 net::Socket* client_socket, 175 net::Socket* host_socket) 293 net::Socket* host_socket_; 294 net::Socket* client_socket_;
|
/external/chromium_org/v8/src/ |
platform.h | 128 class Socket; 320 // Factory method for creating platform dependent Socket. 321 // Please use delete to reclaim the storage for the returned Socket. 322 static Socket* CreateSocket(); 785 // Socket 788 class Socket { 790 virtual ~Socket() {} 795 virtual Socket* Accept() const = 0; 800 // Shutdown socket for both read and write. This causes blocking Send and 801 // Receive calls to exit. After Shutdown the Socket object cannot be used fo [all...] |
platform-posix.cc | 45 #include <sys/socket.h> 802 // POSIX socket support. 805 class POSIXSocket : public Socket { 808 // Create the socket. 809 socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 819 explicit POSIXSocket(int socket): socket_(socket) { } 825 Socket* Accept() const; 830 // Shutdown socket for both read and write. 873 Socket* POSIXSocket::Accept() const 878 int socket; local [all...] |
d8-debug.cc | 174 // Make sure that socket support is initialized. 175 ok = i::Socket::SetUp(); 177 printf("Unable to initialize socket support %d\n", i::Socket::LastError()); 188 printf("Unable to connect to debug agent %d\n", i::Socket::LastError());
|
/libcore/crypto/src/test/java/org/conscrypt/ |
NativeCryptoTest.java | 26 import java.net.Socket; 625 Socket socket, FileDescriptor fd, 641 if (socket != null) { 642 socket.close(); 648 private final Socket socket; field in class:NativeCryptoTest.TestSSLHandshakeCallbacks 652 public TestSSLHandshakeCallbacks(Socket socket, 655 this.socket = socket [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLSocketFactoriesTest.java | 25 import java.net.Socket; 183 + "socket,String,int,boolean)"); 185 Socket socket = new Socket( local 189 socket, "localhost", ssocket.getLocalPort(), 289 final String server_message = "Hello from SSL Server Socket!"; 290 final String client_message = "Hello from SSL Socket!"; 306 System.out.println("Socket accepted: " + s);
|
/external/javassist/src/main/javassist/tools/web/ |
Webserver.java | 37 private ServerSocket socket; field in class:Webserver 102 socket = new ServerSocket(port); 132 * Closes the socket. 135 socket.close(); 180 ServiceThread th = new ServiceThread(this, socket.accept()); 188 final void process(Socket clnt) throws IOException { 393 Socket sock; 395 public ServiceThread(Webserver w, Socket s) {
|
/external/v8/src/ |
d8-debug.cc | 171 // Make sure that socket support is initialized. 172 ok = i::Socket::SetUp(); 174 printf("Unable to initialize socket support %d\n", i::Socket::LastError()); 185 printf("Unable to connect to debug agent %d\n", i::Socket::LastError());
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainTestActivity.java | 30 import java.net.Socket; 221 Socket socket) { 226 socket.getInetAddress().getHostName(), socket.getPort(), 242 Socket socket) {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 33 import java.net.Socket; 109 Socket s = defaultSSLSF 131 // create the SSL server socket acting as a server 171 // create the SSL server socket acting as a server 209 // create the SSL server socket acting as a server [all...] |