/external/chromium/net/socket/ |
socket.h | 15 // Represents a read/write socket. 16 class Socket { 18 virtual ~Socket() {} 20 // Reads data, up to buf_len bytes, from the socket. The number of bytes read 22 // ERR_SOCKET_NOT_CONNECTED should be returned if the socket is not currently 27 // operation is not completed immediately, the socket acquires a reference to 28 // the provided buffer until the callback is invoked or the socket is 29 // closed. If the socket is Disconnected before the read completes, the 34 // Writes data, up to buf_len bytes, to the socket. Note: only part of the 37 // the socket is not currently connected. The return value when th [all...] |
/external/webkit/Source/WebKit/android/wds/ |
Connection.h | 30 #include <sys/socket.h> 36 class Socket { 38 Socket(): m_fd(-1) {} 39 Socket(int fd): m_fd(fd) {} 40 ~Socket() { 46 // Open a new socket using PF_INET and SOCK_STREAM 66 Socket m_socket; 76 // Blocks on the established socket until a new connection arrives. 79 Socket m_socket;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
socket.h | 35 #include <sys/socket.h> 49 // Reuse the POSIX socket api errors. Note this depends on 143 // General interface for the socket implementations of various networks. The 145 class Socket { 147 virtual ~Socket() {} 149 // Returns the address to which the socket is bound. If the socket is not 153 // Returns the address to which the socket is connected. If the socket is 164 virtual Socket *Accept(SocketAddress *paddr) = 0 [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldSocketImplFactoryTest.java | 8 import java.net.Socket; 30 Socket.setSocketImplFactory(factory); 33 new Socket(); 41 Socket.setSocketImplFactory(factory); 48 Socket.setSocketImplFactory(null); 65 Field [] fields = Socket.class.getDeclaredFields();
|
OldSocketTest.java | 31 import java.net.Socket; 47 Socket s; 61 // create the socket and then validate some basic state 62 s = new Socket(); 63 assertFalse("new socket should not be connected", s.isConnected()); 64 assertFalse("new socket should not be bound", s.isBound()); 65 assertFalse("new socket should not be closed", s.isClosed()); 66 assertFalse("new socket should not be in InputShutdown", s 68 assertFalse("new socket should not be in OutputShutdown", s 74 // Test for method java.net.Socket(java.lang.String, int 104 Socket socket = null; local 648 Socket socket = new Socket(); local 977 Socket socket = new Socket(proxy); local 1199 Socket socket = channel.socket(); local 1517 Socket socket = channel.socket(); local 1874 Socket socket = channel.socket(); local 2236 Socket socket = new Socket(); local 2247 Socket socket = new Socket(); local 2258 Socket socket = new Socket(); local 2289 Socket socket = channel.socket(); local [all...] |
/external/v8/src/ |
platform.h | 135 class Socket; 250 // Factory method for creating platform dependent Socket. 251 // Please use delete to reclaim the storage for the returned Socket. 252 static Socket* CreateSocket(); 530 // Socket 533 class Socket { 535 virtual ~Socket() {} 540 virtual Socket* Accept() const = 0; 545 // Shutdown socket for both read and write. This causes blocking Send and 546 // Receive calls to exit. After Shutdown the Socket object cannot be used fo [all...] |
/libcore/luni/src/main/java/java/net/ |
Socket.java | 28 * Provides a client-side TCP socket. 30 public class Socket { 48 * Creates a new unconnected socket. When a SocketImplFactory is defined it 49 * creates the internal socket implementation, otherwise the default socket 50 * implementation will be used for this socket. 55 public Socket() { 61 * Creates a new unconnected socket using the given proxy type. When a 62 * {@code SocketImplFactory} is defined it creates the internal socket 63 * implementation, otherwise the default socket implementation will be use [all...] |
/external/qemu/android/ |
console.c | 92 typedef int Socket; 97 Socket sock; /* socket used for communication */ 108 /* listening socket */ 109 Socket listen_fd; 193 /* Detach the socket descriptor from a given ControlClient 195 * the client, or redirecting the socket to another service. 197 * NOTE: this does not close the socket. 216 /* Reattach a control client to a given socket. 217 * Return the old socket descriptor for the client [all...] |
/prebuilt/common/ant/ |
ant.jar | |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/sdk/13/ |
android.jar | |
/prebuilt/sdk/15/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |
/prebuilt/sdk/9/ |
android.jar | |