HomeSort by relevance Sort by last modified time
    Searched refs:host_socket (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/tools/android/common/
adb_connection.cc 56 int host_socket = socket(AF_INET, SOCK_STREAM, 0); local
57 if (host_socket < 0) {
62 DisableNagle(host_socket);
70 if (HANDLE_EINTR(connect(host_socket, reinterpret_cast<sockaddr*>(&addr),
73 CloseSocket(host_socket);
80 int ret = HANDLE_EINTR(send(host_socket, request + bytes_sent,
84 CloseSocket(host_socket);
94 int response_length = HANDLE_EINTR(recv(host_socket, response,
100 CloseSocket(host_socket);
104 return host_socket;
    [all...]
  /external/chromium_org/tools/android/forwarder2/
device_listener.cc 22 scoped_ptr<Socket> host_socket,
30 SendCommand(command::BIND_ERROR, listener_port, host_socket.get());
36 SendCommand(command::BIND_SUCCESS, listener_port, host_socket.get());
40 host_socket.Pass(), listener_port, error_callback));
63 scoped_ptr<Socket> host_socket,
69 host_socket_(host_socket.Pass()),
device_listener.h 30 // running on the host, through |host_socket|. Then the class expects a call to
49 static scoped_ptr<DeviceListener> Create(scoped_ptr<Socket> host_socket,
64 scoped_ptr<Socket> host_socket,
device_controller.h 41 DeviceController(scoped_ptr<Socket> host_socket, int exit_notifier_fd);
device_controller.cc 28 scoped_ptr<Socket> host_socket(new Socket());
29 if (!host_socket->BindUnix(adb_unix_socket)) {
36 new DeviceController(host_socket.Pass(), exit_notifier_fd));
48 DeviceController::DeviceController(scoped_ptr<Socket> host_socket,
50 : host_socket_(host_socket.Pass()),
  /external/chromium_org/remoting/protocol/
connection_tester.h 33 net::StreamSocket* host_socket,
70 net::Socket* host_socket,
channel_multiplexer_unittest.cc 82 FakeSocket* host_socket = local
86 host_socket->PairWith(client_socket);
89 host_socket->set_async_write(true);
93 scoped_ptr<net::StreamSocket>* host_socket,
98 host_socket, &counter));
105 EXPECT_TRUE(host_socket->get());
145 scoped_ptr<net::StreamSocket> host_socket; local
148 CreateChannel(kTestChannelName, &host_socket, &client_socket));
152 StreamConnectionTester tester(host_socket.get(), client_socket.get(),
connection_tester.cc 18 net::StreamSocket* host_socket,
22 host_socket_(host_socket),
131 net::Socket* host_socket,
136 host_socket_(host_socket),
  /external/chromium_org/tools/android/forwarder/
forwarder.cc 276 int host_socket = tools::ConnectAdbHostSocket(server->forward_to_); local
277 if (host_socket >= 0) {
280 fcntl(host_socket, F_SETFL, fcntl(host_socket, F_GETFL) | O_NONBLOCK);
288 forwarder_info->socket2 = host_socket;
  /external/chromium_org/jingle/glue/
pseudotcp_adapter_unittest.cc 170 net::Socket* host_socket)
172 host_socket_(host_socket),

Completed in 1992 milliseconds