/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
p2ptransportchannel.h | 84 virtual int SetOption(talk_base::Socket::Option opt, int value); 156 typedef std::map<talk_base::Socket::Option, int> OptionMap;
|
rawtransportchannel.h | 68 virtual int SetOption(talk_base::Socket::Option opt, int value);
|
transportchannel.h | 34 #include "talk/base/socket.h" 64 // Sets a socket option on this channel. Note that not all options are 66 virtual int SetOption(talk_base::Socket::Option opt, int value) = 0;
|
udpport.h | 66 virtual int SetOption(talk_base::Socket::Option opt, int value); 74 // Handles sending using the local UDP socket. 78 void OnAddresReady(talk_base::AsyncPacketSocket* socket, 82 void OnReadPacket(talk_base::AsyncPacketSocket* socket,
|
stunport.h | 82 virtual int SetOption(talk_base::Socket::Option opt, int value); 94 void OnReadPacket(talk_base::AsyncPacketSocket* socket,
|
/frameworks/base/core/java/android/net/ |
LinkSocket.java | 26 import java.net.Socket; 34 public class LinkSocket extends Socket { 46 * Creates a new unconnected socket. 54 * Creates a new unconnected socket usign the given proxy type. 56 * @param proxy the specified proxy for this socket 66 * @return the {@code LinkProperties} for the socket 74 * Set the {@code LinkCapabilies} needed for this socket. If the socket is already connected 75 * or is a duplicate socket the request is ignored and {@code false} will 78 * @param needs the needs of the socket [all...] |
/libcore/luni/src/main/java/libcore/io/ |
IoUtils.java | 24 import java.net.Socket; 71 * Closes 'socket', ignoring any exceptions. Does nothing if 'socket' is null. 73 public static void closeQuietly(Socket socket) { 74 if (socket != null) { 76 socket.close();
|
/libcore/support/src/test/java/tests/http/ |
MockWebServer.java | 31 import java.net.Socket; 69 private final Set<Socket> openClientSockets 70 = Collections.newSetFromMap(new ConcurrentHashMap<Socket, Boolean>()); 196 logger.log(Level.WARNING, "MockWebServer server socket close failed", e); 198 for (Iterator<Socket> s = openClientSockets.iterator(); s.hasNext();) { 203 logger.log(Level.WARNING, "MockWebServer socket close failed", e); 215 Socket socket; 217 socket = serverSocket.accept(); 224 socket.close() [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
Socket.java | 28 * Encapsulates a connection with the emulator over a UNIX-domain socket. 30 public class Socket { 31 /** UNIX-domain socket connected with the emulator. */ 33 /** Channel name for the connection established via this socket. */ 44 * Constructs Socket instance. 46 * @param socket Socket connection with the emulator. 50 public Socket(LocalSocket socket, String name, ByteOrder endian) { 51 mSocket = socket; 99 LocalSocket socket = mSocket; local 116 LocalSocket socket = mSocket; local 153 LocalSocket socket = mSocket; local 182 LocalSocket socket; local [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
ServerSocketChannelTest.java | 25 import java.net.Socket; 118 // Test for socket() 122 * Test method for 'java.nio.channels.ServerSocketChannel.socket()' 127 ServerSocket s1 = this.serverChannel.socket(); 130 ServerSocket s2 = this.serverChannel.socket(); 134 // socket close makes the channel close 143 ServerSocket s1 = this.serverChannel.socket(); 146 ServerSocket s2 = this.serverChannel.socket(); 150 // socket close makes the channel close 160 ServerSocket s1 = this.serverChannel.socket(); 346 Socket socket = serverChannel.accept().socket(); local 390 Socket socket = serverChannel.accept().socket(); local 435 Socket socket = serverChannel.accept().socket(); local 457 Socket socket = serverChannel.accept().socket(); local 469 Socket socket; field in class:ServerSocketChannelTest.WriteSocketThread 500 Socket socket = serverChannel.accept().socket(); local [all...] |
SocketChannelTest.java | 28 import java.net.Socket; 279 Socket s1 = this.channel1.socket(); 281 Socket s2 = this.channel1.socket(); 291 Socket s1 = this.channel1.socket(); 294 Socket s2 = this.channel1.socket(); 303 Socket s1 = null 373 Socket socket = channel1.socket(); local 383 Socket socket = channel1.socket(); local 393 Socket socket = channel1.socket(); local 402 Socket socket = channel1.socket(); local 411 Socket socket = channel1.socket(); local 420 Socket socket = channel1.socket(); local 430 Socket socket = channel1.socket(); local 3180 Socket socket = null; local 3530 Socket socket = channel1.socket(); local 3571 public Socket socket() { method in class:SocketChannelTest.MockSocketChannel [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
TrafficStatsTest.java | 27 import java.net.Socket; 92 // Transfer 1MB of data across an explicitly localhost socket. 101 Socket socket = new Socket("localhost", server.getLocalPort()); local 104 socket.setTcpNoDelay(true); 105 OutputStream out = socket.getOutputStream(); 112 socket.close(); 119 Socket socket = server.accept() local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
physicalsocketserver.h | 39 typedef int SOCKET; 66 virtual SOCKET GetSocket() = 0; 74 // A socket server that provides the real sockets of the underlying OS. 81 virtual Socket* CreateSocket(int type); 85 AsyncSocket* WrapSocket(SOCKET s);
|
sslsocketfactory.h | 73 virtual Socket* CreateSocket(int type);
|
asyncsocket.h | 33 #include "talk/base/socket.h" 37 // TODO: Remove Socket and rename AsyncSocket to Socket. 39 // Provides the ability to perform socket I/O asynchronously. 40 class AsyncSocket : public Socket { 55 // The adapted socket may explicitly be NULL, and later assigned using Attach. 59 explicit AsyncSocketAdapter(AsyncSocket* socket); 61 void Attach(AsyncSocket* socket); 115 virtual void OnConnectEvent(AsyncSocket* socket) { 118 virtual void OnReadEvent(AsyncSocket* socket) { [all...] |
/external/javassist/src/main/javassist/tools/rmi/ |
ObjectImporter.java | 155 Socket sock = new Socket(servername, port); 224 Socket sock = new Socket(servername, port);
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestKeyManager.java | 20 import java.net.Socket; 63 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 71 dumpSocket(socket); 73 return dumpAlias(keyManager.chooseClientAlias(keyTypes, issuers, socket)); 88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 94 dumpSocket(socket); 96 return dumpAlias(keyManager.chooseServerAlias(keyType, issuers, socket)); 99 private void dumpSocket(Socket socket) [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
MailTransport.java | 35 import java.net.Socket; 76 private Socket mSocket; 173 mSocket = new Socket(); 176 // After the socket connects to an SSL server, confirm that the hostname is as expected 202 * TODO should we explicitly close the old socket? This seems funky to abandon it. 232 * connected socket. You MUST call this if you did not supply a hostname 240 * @param socket An SSL socket which has been connected to a server 245 private void verifyHostname(Socket socket, String hostname) throws IOException [all...] |
/external/v8/src/ |
platform.h | 108 class Socket; 238 // Factory method for creating platform dependent Socket. 239 // Please use delete to reclaim the storage for the returned Socket. 240 static Socket* CreateSocket(); 632 // Socket 635 class Socket { 637 virtual ~Socket() {} 642 virtual Socket* Accept() const = 0; 647 // Shutdown socket for both read and write. This causes blocking Send and 648 // Receive calls to exit. After Shutdown the Socket object cannot be used fo [all...] |
/libcore/luni/src/main/java/libcore/net/url/ |
FtpURLConnection.java | 31 import java.net.Socket; 73 private Socket controlSocket; 75 private Socket dataSocket; 215 controlSocket = new Socket(); 217 controlSocket = new Socket(currentProxy);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
AuthenticatorTest.java | 27 import java.net.Socket; 145 Socket s = ss.accept();
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
TCPMessageProcessor.java | 31 import java.net.Socket; 50 * accept socket). 108 * Run method for the thread that gets created for each accept socket. 111 // Accept new connectins on our socket. 133 Socket newsock = sock.accept();
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
Socks5BytestreamRequest.java | 17 import java.net.Socket;
179 * Accepts the SOCKS5 Bytestream initialization request and returns the socket to send/receive
185 * @return the socket to send/receive data
198 Socket socket = null;
local 219 // establish socket
226 socket = socks5Client.getSocket(timeout);
246 if (selectedHost == null || socket == null) {
254 return new Socks5BytestreamSession(socket, selectedHost.getJID().equals(
273 String errorMessage = "Could not establish socket with any provided host"; [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLServerSocketImpl.java | 21 import java.net.Socket; 117 * Enables/disables the TLS Channel ID extension for this server socket. 124 * Checks whether the TLS Channel ID extension is enabled for this server socket. 174 public Socket accept() throws IOException { 180 OpenSSLSocketImpl socket = new OpenSSLSocketImpl(sslParameters, local 183 socket.setChannelIdEnabled(channelIdEnabled); 184 implAccept(socket); 185 return socket;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppRfcommListener.java | 37 import java.net.Socket; 93 Socket clientSocket = mTcpServerSocket.accept(); 95 if (V) Log.v(TAG, "Socket connected!");
|