HomeSort by relevance Sort by last modified time
    Searched refs:Socket (Results 1 - 25 of 421) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/tools/android/forwarder2/
forwarder.h 13 class Socket;
15 void StartForwarder(scoped_ptr<Socket> socket1, scoped_ptr<Socket> socket2);
device_listener.h 17 #include "tools/android/forwarder2/socket.h"
49 static scoped_ptr<DeviceListener> Create(scoped_ptr<Socket> host_socket,
57 void SetAdbDataSocket(scoped_ptr<Socket> adb_data_socket);
63 scoped_ptr<Socket> listener_socket,
64 scoped_ptr<Socket> host_socket,
75 scoped_ptr<Socket> adb_data_socket);
88 // The local device listener socket for accepting connections from the local
90 const scoped_ptr<Socket> listener_socket_;
91 // The listener socket for sending control commands.
92 const scoped_ptr<Socket> host_socket_
    [all...]
command.h 12 class Socket;
36 bool ReadCommand(Socket* socket,
40 // Helper function to read the command from the |socket| and return true if the
42 bool ReceivedCommand(command::Type command, Socket* socket);
44 bool SendCommand(command::Type command, int port, Socket* socket);
  /libcore/luni/src/main/java/javax/net/
DefaultSocketFactory.java 22 import java.net.Socket;
34 public Socket createSocket() throws IOException {
35 return new Socket();
39 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
40 return new Socket(host, port);
44 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
46 return new Socket(host, port, localHost, localPort);
50 public Socket createSocket(InetAddress host, int port) throws IOException {
51 return new Socket(host, port);
55 public Socket createSocket(InetAddress address, int port, InetAddress localAddress
    [all...]
SocketFactory.java 22 import java.net.Socket;
28 * to create specific socket types with additional socket-level functionality.
35 * Gets the default socket factory of the system which can be used to create
38 * @return the system default socket factory.
54 * Creates a new socket which is not connected to any remote host. This
58 * @return the created unconnected socket.
60 * if an error occurs while creating a new socket.
62 public Socket createSocket() throws IOException {
68 * Creates a new socket which is connected to the remote host specified b
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
socketfactory.h 31 #include "talk/base/socket.h"
40 // Returns a new socket for blocking communication. The type can be
45 virtual Socket* CreateSocket(int type) = 0;
46 virtual Socket* CreateSocket(int family, int type) = 0;
47 // Returns a new socket for nonblocking communication. The type can be
  /libcore/luni/src/main/java/java/net/
SocketUtils.java 24 * Helps us reuse more of Socket's implementation in SocketChannelImpl.SocketAdapter.
25 * It's not the case that we should set isCreated in the Socket(SocketImpl) constructor;
29 public static void setCreated(Socket s) {
  /external/apache-http/src/org/apache/http/conn/scheme/
LayeredSocketFactory.java 35 import java.net.Socket;
40 * See there for things to consider when implementing a socket factory.
49 * Returns a socket connected to the given host that is layered over an
50 * existing socket. Used primarily for creating secure sockets through
53 * @param socket the existing socket
56 * @param autoClose a flag for closing the underling socket when the created
57 * socket is closed
59 * @return Socket a new socket
    [all...]
SocketFactory.java 36 import java.net.Socket;
44 * The factory encapsulates the logic for establishing a socket connection.
57 * Creates a new, unconnected socket.
58 * The socket should subsequently be passed to
61 * @return a new socket
63 * @throws IOException if an I/O error occurs while creating the socket
65 Socket createSocket()
71 * Connects a socket to the given host.
73 * @param sock the socket to connect, as obtained from
75 * <code>null</code> indicates that a new socket
    [all...]
  /external/smack/src/org/jivesoftware/smack/proxy/
DirectSocketFactory.java 24 import java.net.Socket;
43 public Socket createSocket(String host, int port)
46 Socket newSocket = new Socket(Proxy.NO_PROXY);
52 public Socket createSocket(String host ,int port, InetAddress localHost,
56 return new Socket(host,port,localHost,localPort);
59 public Socket createSocket(InetAddress host, int port)
62 Socket newSocket = new Socket(Proxy.NO_PROXY);
67 public Socket createSocket( InetAddress address, int port,
    [all...]
  /external/chromium_org/v8/src/
debug-agent.h 40 class Socket;
43 // Debugger agent which starts a socket listener on the debugger port and
57 void CreateSession(Socket* socket);
65 Socket* server_; // Server socket for listen/accept.
83 DebuggerAgentSession(DebuggerAgent* agent, Socket* client)
96 Socket* client_;
107 static SmartArrayPointer<char> ReceiveMessage(Socket* conn);
108 static bool SendConnectMessage(Socket* conn, const char* embedding_host)
    [all...]
  /external/chromium_org/v8/src/platform/
socket.h 40 // Socket
43 class Socket V8_FINAL {
45 Socket();
46 ~Socket() { Shutdown(); }
51 Socket* Accept() V8_WARN_UNUSED_RESULT;
56 // Shutdown socket for both read and write. This causes blocking Send and
57 // Receive calls to exit. After |Shutdown()| the Socket object cannot be
66 // Set the value of the SO_REUSEADDR socket option.
80 typedef SOCKET NativeHandle;
92 explicit Socket(NativeHandle native_handle) : native_handle_(native_handle) {
    [all...]
  /external/apache-http/src/org/apache/http/conn/
OperatedClientConnection.java 35 import java.net.Socket;
88 * Obtains the socket for this connection.
93 * @return the socket for communicating with the
96 Socket getSocket()
108 * the unconnected socket that will be connected before
110 * the connection to close that socket if
112 * is called before it is open. Closing the unconnected socket
121 * @param sock the unconnected socket which is about to
125 void opening(Socket sock, HttpHost target)
152 * socket connection
    [all...]
  /external/chromium/net/udp/
datagram_client_socket.h 9 #include "net/socket/socket.h"
16 class DatagramClientSocket : public DatagramSocket, public Socket {
20 // Initialize this socket as a client socket to server at |address|.
  /external/chromium/third_party/libjingle/source/talk/base/
socketfactory.h 31 #include "talk/base/socket.h"
40 // Returns a new socket for blocking communication. The type can be
42 virtual Socket* CreateSocket(int type) = 0;
44 // Returns a new socket for nonblocking communication. The type can be
  /external/chromium_org/net/udp/
datagram_client_socket.h 8 #include "net/socket/socket.h"
16 public Socket {
20 // Initialize this socket as a client socket to server at |address|.
  /libcore/luni/src/test/java/libcore/java/net/
ServerSocketTest.java 21 import java.net.Socket;
30 final Socket[] result = new Socket[1];
42 new Socket(ss.getInetAddress(), ss.getLocalPort());
  /libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
SSLSocketFactoryImpl.java 6 import java.net.Socket;
17 public Socket createSocket(Socket socket, String s, int i, boolean flag)
19 if (socket == null) {
20 throw new IOException("incorrect socket");
30 socket = new Socket(s, i);
32 socket = new Socket(s, i)
    [all...]
  /cts/libs/vogar-expect/src/vogar/util/
IoUtils.java 21 import java.net.Socket;
34 public static void closeQuietly(Socket c) {
  /external/apache-http/src/org/apache/http/impl/io/
SocketOutputBuffer.java 35 import java.net.Socket;
41 * {@link Socket} bound session output buffer.
52 final Socket socket,
56 if (socket == null) {
57 throw new IllegalArgumentException("Socket may not be null");
64 init(socket.getOutputStream(), 8192, params);
  /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...]
ssl_server_socket.h 10 #include "net/socket/socket.h"
22 // SSLServerSocket takes an already connected socket and performs SSL on top of
27 class SSLServerSocket : public Socket {
31 // Performs an SSL server handshake on the existing socket. The given socket
40 // Creates an SSL server socket using an already connected socket. A certificate
43 // This created server socket will take ownership of |socket|. However |key
    [all...]
  /external/chromium_org/net/socket/
socket.h 15 // Represents a read/write socket.
16 class NET_EXPORT Socket {
18 virtual ~Socket() {}
20 // Reads data, up to |buf_len| bytes, from the socket. The number of bytes
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: data may be
37 // the socket is not currently connected. The return value when th
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/socket/
socket.cc 5 #include "chrome/browser/extensions/api/socket/socket.h"
14 #include "net/socket/socket.h"
18 const char kSocketTypeNotSupported[] = "Socket type does not support this API";
20 static base::LazyInstance<ProfileKeyedAPIFactory<ApiResourceManager<Socket> > >
25 ProfileKeyedAPIFactory<ApiResourceManager<Socket> >*
26 ApiResourceManager<Socket>::GetFactoryInstance() {
30 Socket::Socket(const std::string& owner_extension_id
    [all...]
  /frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
SocketConnect.java 6 import java.net.Socket;
16 public SocketConnect(Socket from, Socket to) throws IOException {
41 public static void connect(Socket first, Socket second) {

Completed in 1826 milliseconds

1 2 3 4 5 6 7 8 91011>>