HomeSort by relevance Sort by last modified time
    Searched refs:Socket (Results 26 - 50 of 415) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/v8/src/
debug-agent.h 42 // Debugger agent which starts a socket listener on the debugger port and
69 void CreateSession(Socket* socket);
77 Socket* server_; // Server socket for listen/accept.
95 DebuggerAgentSession(DebuggerAgent* agent, Socket* client)
108 Socket* client_;
119 static SmartArrayPointer<char> ReceiveMessage(const Socket* conn);
120 static bool SendConnectMessage(const Socket* conn,
122 static bool SendMessage(const Socket* conn, const Vector<uint16_t> message)
    [all...]
  /external/v8/src/
debug-agent.h 42 // Debugger agent which starts a socket listener on the debugger port and
69 void CreateSession(Socket* socket);
77 Socket* server_; // Server socket for listen/accept.
95 DebuggerAgentSession(DebuggerAgent* agent, Socket* client)
108 Socket* client_;
119 static SmartArrayPointer<char> ReceiveMessage(const Socket* conn);
120 static bool SendConnectMessage(const Socket* conn,
122 static bool SendMessage(const Socket* conn, const Vector<uint16_t> message)
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
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...]
OldUnixSocketTest.java 27 import java.net.Socket;
36 Socket pingClient = new Socket();
42 Socket worker = pingServer.accept();
87 Socket theSocket = new Socket();
106 Socket socket = new Socket("127.0.0.1", port, false); local
107 OutputStream o = socket.getOutputStream()
    [all...]
  /external/apache-harmony/support/src/test/java/tests/support/
Support_HttpSocket.java 23 import java.net.Socket;
30 private final Socket instance;
34 Support_HttpSocket(Socket socket) {
35 instance = socket;
  /external/chromium_org/remoting/base/
socket_reader.h 14 class Socket;
19 // SocketReader reads data from a socket and then calls a callback for each
21 // pending read request for the socket, so the calling code should never try
22 // reading from the same socket again (e.g. it may result in data being lost).
33 // Starts reading from |socket|. |read_result_callback| is called for each
36 void Init(net::Socket* socket, ReadResultCallback read_result_callback);
44 net::Socket* socket_;
  /external/chromium_org/tools/android/forwarder2/
daemon.h 15 class Socket;
29 virtual void OnDaemonReady(Socket* daemon_socket) = 0;
36 // Called after the daemon bound its Unix Domain Socket. This can be used to
40 virtual void OnClientConnected(scoped_ptr<Socket> client_socket) = 0;
44 // bind/connect the underlying Unix Domain Socket.
host_controller.h 16 #include "tools/android/forwarder2/socket.h"
60 scoped_ptr<Socket> adb_control_socket,
66 void StartForwarder(scoped_ptr<Socket> host_server_data_socket);
68 // Helper method that creates a socket and adds the appropriate event file
70 scoped_ptr<Socket> CreateSocket();
85 scoped_ptr<Socket> adb_control_socket_;
forwarder.cc 13 #include "tools/android/forwarder2/socket.h"
18 // Helper class to buffer reads and writes from one socket to another.
22 BufferedCopier(Socket* socket_from,
23 Socket* socket_to)
75 Socket* socket_from_;
76 Socket* socket_to_;
89 // method to launch operations. Thread stops automatically if one of the socket
91 // socket, are written first. When this happens, the instance will delete itself
97 Forwarder(scoped_ptr<Socket> socket1, scoped_ptr<Socket> socket2
    [all...]
socket.h 10 #include <sys/socket.h>
20 // Wrapper class around unix socket api. Can be used to create, bind or
23 class Socket {
25 Socket();
26 ~Socket();
33 // Just a wrapper around unix socket shutdown(), see man 2 shutdown.
36 // Just a wrapper around unix socket close(), see man 2 close.
40 bool Accept(Socket* new_socket);
42 // Returns the port allocated to this socket or zero on error.
68 // terminator is not written to the socket
    [all...]
socket.cc 5 #include "tools/android/forwarder2/socket.h"
13 #include <sys/socket.h>
34 bool Socket::BindUnix(const std::string& path) {
43 bool Socket::BindTcp(const std::string& host, int port) {
52 bool Socket::ConnectUnix(const std::string& path) {
61 bool Socket::ConnectTcp(const std::string& host, int port) {
70 Socket::Socket()
80 Socket::~Socket() {
410 Socket socket; local
    [all...]
  /frameworks/support/v4/ics/android/support/v4/net/
TrafficStatsCompatIcs.java 21 import java.net.Socket;
48 public static void tagSocket(Socket socket) throws SocketException {
49 TrafficStats.tagSocket(socket);
52 public static void untagSocket(Socket socket) throws SocketException {
53 TrafficStats.untagSocket(socket);
  /libcore/luni/src/main/java/javax/net/ssl/
X509KeyManager.java 20 import java.net.Socket;
39 * @param socket
40 * the socket for the connection, or {@code null} if
41 * the alias selected does not depend on a specific socket.
46 Socket socket);
57 * @param socket
58 * the socket for the connection, or {@code null} if
59 * the alias selected does not depend on a specific socket.
64 Socket socket)
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLSocketFactoryTest.java 20 import java.net.Socket;
57 assertNotNull("Incorrect default socket factory",
62 * javax.net.ssl.SSLSocketFactory#createSocket(Socket s, String host, int port, boolean autoClose)
71 Socket st = new Socket("localhost", sport);
72 Socket s = sf.createSocket(st, "localhost", sport, false);
78 Socket st = new Socket("localhost", sport);
79 Socket s = sf.createSocket(st, "localhost", sport, true);
95 Socket s = sf.createSocket(new Socket(), "localhost", 1080, false)
    [all...]
  /external/nist-sip/java/gov/nist/core/net/
DefaultNetworkLayer.java 34 import java.net.Socket;
74 public Socket createSocket(InetAddress address, int port)
76 return new Socket(address, port);
117 public Socket createSocket(InetAddress address, int port,
120 return new Socket(address, port, myAddress, 0);
122 return new Socket(address, port);
126 * Creates a new Socket, binds it to myAddress:myPort and connects it to
136 * @return a new Socket, bound on myAddress:myPort and connected to
138 * @throws IOException if binding or connecting the socket fail for a reason
139 * (exception relayed from the correspoonding Socket methods
    [all...]
  /external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
UnixSocketTest.java 27 import java.net.Socket;
35 * @tests java.net.Socket#getInputStream()
40 Socket pingClient = new Socket();
46 Socket worker = pingServer.accept();
91 Socket theSocket = new Socket();
110 Socket socket = new Socket("127.0.0.1", port, false) local
    [all...]
  /external/chromium/webkit/glue/
p2p_transport.h 11 class Socket;
48 // Returns socket interface that can be used to send/receive
50 // the socket are canceled when the transport is destroyed.
51 virtual net::Socket* GetChannel() = 0;
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLSocketFactoryImpl.java 21 import java.net.Socket;
56 public Socket createSocket() throws IOException {
63 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
67 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
76 public Socket createSocket(InetAddress host, int port) throws IOException {
80 public Socket createSocket(InetAddress address,
92 public Socket createSocket(Socket s, String host, int port, boolean autoClose)
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
SocketFactoryTest.java 26 import java.net.Socket;
39 * Class under test for java.net.Socket createSocket()
57 Socket s;
85 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
90 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
96 public Socket createSocket(InetAddress host, int port) throws IOException {
101 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)
  /libcore/support/src/test/java/tests/net/
StuckServer.java 23 import java.net.Socket;
34 private ArrayList<Socket> clients = new ArrayList<Socket>();
52 Socket client = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort());
81 for (Socket client : clients) {
  /external/chromium_org/v8/test/cctest/
test-sockets.cc 63 Socket* server_; // Server socket used for bind/accept.
64 Socket* client_; // Single client connection used by the test.
65 Semaphore* listening_; // Signalled when the server socket is in listen mode.
72 // Create the server socket and bind it to the requested port.
96 static bool SendAll(Socket* socket, const char* data, int len) {
99 int status = socket->Send(data, len);
119 // Create a socket listener.
125 Socket* client = OS::CreateSocket()
    [all...]
  /external/v8/test/cctest/
test-sockets.cc 38 Socket* server_; // Server socket used for bind/accept.
39 Socket* client_; // Single client connection used by the test.
40 Semaphore* listening_; // Signalled when the server socket is in listen mode.
47 // Create the server socket and bind it to the requested port.
71 static bool SendAll(Socket* socket, const char* data, int len) {
74 int status = socket->Send(data, len);
94 // Create a socket listener.
100 Socket* client = OS::CreateSocket()
    [all...]
  /external/apache-http/src/org/apache/http/conn/scheme/
PlainSocketFactory.java 37 import java.net.Socket;
62 * @return the one and only plain socket factory
79 public Socket createSocket() {
80 return new Socket();
84 public Socket connectSocket(Socket sock, String host, int port,
129 * Checks whether a socket connection is secure.
130 * This factory creates plain socket connections
133 * @param sock the connected socket
139 public final boolean isSecure(Socket sock
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketFactoryTest.java 22 import java.net.Socket;
55 Socket s = sf.createSocket(null, null, -1, false);
62 Socket ssl = sf.createSocket(new Socket(), null, -1, false);
71 Socket s = new Socket(host, port);
73 Socket ssl = sf.createSocket(s, null, -1, false);
  /external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
Socks5Client.java 20 import java.net.Socket;
59 * Returns the initialized socket that can be used to transfer data between peers via the SOCKS5
63 * @return socket the initialized socket
64 * @throws IOException if initializing the socket failed due to a network error
69 public Socket getSocket(int timeout) throws IOException, XMPPException, InterruptedException,
73 FutureTask<Socket> futureTask = new FutureTask<Socket>(new Callable<Socket>() {
75 public Socket call() throws Exception {
    [all...]

Completed in 1425 milliseconds

12 3 4 5 6 7 8 91011>>