/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; 46 Socket s; 60 // create the socket and then validate some basic state 61 s = new Socket(); 62 assertFalse("new socket should not be connected", s.isConnected()); 63 assertFalse("new socket should not be bound", s.isBound()); 64 assertFalse("new socket should not be closed", s.isClosed()); 65 assertFalse("new socket should not be in InputShutdown", s 67 assertFalse("new socket should not be in OutputShutdown", s 73 // Test for method java.net.Socket(java.lang.String, int 103 Socket socket = null; local 616 Socket socket = new Socket(); local 889 Socket socket = new Socket(proxy); local 1100 Socket socket = channel.socket(); local 1393 Socket socket = channel.socket(); local 1693 Socket socket = channel.socket(); local 2039 Socket socket = new Socket(); local 2050 Socket socket = new Socket(); local 2061 Socket socket = new Socket(); local 2092 Socket socket = channel.socket(); local [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...] |
Connection.java | 34 * the device side, the connection is bound to the UNIX-domain socket named 37 * 'android.sdk.controller' socket on the device. Typically, the port forwarding 52 * 2. Channels are connected to emulator via separate socket instance (though all 53 * of the connections share the same socket address). 61 * 1. Bind to "android.sdk.controller" socket, listening to emulator connections. 79 /** Server socket used to listen to emulator connections. */ 91 private List<Socket> mPendingSockets = new ArrayList<Socket>(); 110 * Binds to the socket, and starts the listening thread. 124 * Stops the listener, and closes the socket 133 LocalServerSocket socket; local 269 LocalServerSocket socket = mServerSocket; local [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/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...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant.jar | |
/prebuilts/tools/common/ant/ |
ant.jar | |
/prebuilts/tools/common/m2/internal/org/apache/ant/ant/1.8.0/ |
ant-1.8.0.jar | |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |
/prebuilts/sdk/5/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |
/prebuilts/sdk/7/ |
android.jar | |
/prebuilts/sdk/8/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |