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