HomeSort by relevance Sort by last modified time
    Searched refs:Socket (Results 76 - 100 of 617) sorted by null

1 2 34 5 6 7 8 91011>>

  /device/generic/goldfish/wifi/ipv6proxy/
socket.cpp 17 #include "socket.h"
26 #include <sys/socket.h>
32 Socket::Socket() : mState(State::New), mSocket(-1) {
35 Socket::Socket(Socket&& other) : mState(other.mState), mSocket(other.mSocket) {
40 Socket::~Socket() {
48 Socket& Socket::operator=(Socket&& other)
    [all...]
router.h 22 #include "socket.h"
49 // Netlink socket for setting up neighbors and routes
50 Socket mSocket;
  /external/nist-sip/java/gov/nist/core/net/
SslNetworkLayer.java 35 import java.net.Socket;
93 public Socket createSocket(InetAddress address, int port)
95 return new Socket(address, port);
127 public Socket createSocket(InetAddress address, int port,
130 return new Socket(address, port, myAddress, 0);
132 return new Socket(address, port);
136 * Creates a new Socket, binds it to myAddress:myPort and connects it to
146 * @return a new Socket, bound on myAddress:myPort and connected to
148 * @throws IOException if binding or connecting the socket fail for a reason
149 * (exception relayed from the correspoonding Socket methods)
    [all...]
NetworkLayer.java 32 import java.net.Socket;
55 * @return the server socket
67 * @return the server socket
73 * Creates a stream socket and connects it to the specified port number at the specified IP address.
74 * comparable to "new java.net.Socket(address, port);"
78 * @return the socket
80 public Socket createSocket(InetAddress address, int port) throws IOException;
83 * Creates a stream socket and connects it to the specified port number at the specified IP address.
84 * comparable to "new java.net.Socket(address, port,localaddress);"
89 * @return the socket
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Library/OemMiscLib2P/
OemMiscLib2PHi1610.c 35 BOOLEAN OemIsSocketPresent (UINTN Socket)
37 if (0 == Socket)
42 if(1 == Socket)
70 UINTN OemGetDimmSlot(UINTN Socket, UINTN Channel)
  /external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/output/
TcpClientOutput.java 15 import java.net.Socket;
49 final Socket socket = createSocket(options); local
50 connection = new TcpConnection(socket, data);
76 * Open a socket based on the given configuration.
80 * @return opened socket
83 protected Socket createSocket(final AgentOptions options)
85 return new Socket(options.getAddress(), options.getPort());
  /libcore/ojluni/src/main/java/java/net/
SocketSecrets.java 34 /* obj must be a Socket or ServerSocket */
39 if (obj instanceof Socket) {
40 impl = ((Socket)obj).getImpl();
52 if (obj instanceof Socket) {
53 impl = ((Socket)obj).getImpl();
  /prebuilts/go/darwin-x86/src/net/internal/socktest/
main_unix_test.go 17 socketFunc = sw.Socket
22 socketFunc = syscall.Socket
main_windows_test.go 15 socketFunc = sw.Socket
20 socketFunc = syscall.Socket
  /prebuilts/go/linux-x86/src/net/internal/socktest/
main_unix_test.go 17 socketFunc = sw.Socket
22 socketFunc = syscall.Socket
main_windows_test.go 15 socketFunc = sw.Socket
20 socketFunc = syscall.Socket
  /external/apache-http/src/org/apache/http/impl/
SocketHttpClientConnection.java 36 import java.net.Socket;
49 * network Socket in order to receive and transmit data.
66 private Socket socket = null; field in class:SocketHttpClientConnection
85 final Socket socket,
88 return new SocketInputBuffer(socket, buffersize, params);
92 final Socket socket,
95 return new SocketOutputBuffer(socket, buffersize, params)
    [all...]
SocketHttpServerConnection.java 36 import java.net.Socket;
49 * network Socket in order to receive and transmit data.
66 private Socket socket = null; field in class:SocketHttpServerConnection
85 final Socket socket,
88 return new SocketInputBuffer(socket, buffersize, params);
92 final Socket socket,
95 return new SocketOutputBuffer(socket, buffersize, params)
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
DuckTypedPSKKeyManager.java 20 import java.net.Socket;
73 public String chooseServerKeyIdentityHint(Socket socket) {
76 .getMethod("chooseServerKeyIdentityHint", Socket.class)
77 .invoke(mDelegate, socket);
95 public String chooseClientKeyIdentity(String identityHint, Socket socket) {
98 .getMethod("chooseClientKeyIdentity", String.class, Socket.class)
99 .invoke(mDelegate, identityHint, socket);
117 public SecretKey getKey(String identityHint, String identity, Socket socket)
    [all...]
OpenSSLSocketFactoryImpl.java 24 import java.net.Socket;
61 * Configures the default socket to be created for all instances.
68 * Configures the socket to be created for this instance. If not called,
86 public Socket createSocket() throws IOException {
98 public Socket createSocket(String hostname, int port) throws IOException, UnknownHostException {
109 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort)
121 public Socket createSocket(InetAddress address, int port) throws IOException {
132 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
144 public Socket createSocket(Socket socket, String hostname, int port, boolean autoClose
    [all...]
  /external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
PSKKeyManagerProxy.java 21 import java.net.Socket;
45 protected SecretKey getKey(String identityHint, String identity, Socket socket) {
53 protected String chooseServerKeyIdentityHint(Socket socket) {
61 protected String chooseClientKeyIdentity(String identityHint, Socket socket) {
78 return getKey((String) args[0], (String) args[1], (Socket) args[2]);
84 return chooseServerKeyIdentityHint((Socket) args[0]);
90 return chooseClientKeyIdentity((String) args[0], (Socket) args[1])
    [all...]
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
reactive_socket_accept_op.hpp 29 template <typename Socket, typename Protocol>
33 reactive_socket_accept_op_base(socket_type socket,
34 socket_ops::state_type state, Socket& peer, const Protocol& protocol,
37 socket_(socket),
56 // On success, assign new connection to peer socket object.
72 Socket& peer_;
77 template <typename Socket, typename Protocol, typename Handler>
79 public reactive_socket_accept_op_base<Socket, Protocol>
84 reactive_socket_accept_op(socket_type socket,
85 socket_ops::state_type state, Socket& peer, const Protocol& protocol
    [all...]
  /libcore/ojluni/src/main/java/sun/net/
NetworkClient.java 28 import java.net.Socket;
50 /** Socket for communicating with server. */
51 protected Socket serverSocket = null;
148 * Return a socket connected to the server, with any
151 protected Socket doConnect (String server, int port)
153 Socket s;
157 new PrivilegedAction<Socket>() {
158 public Socket run() {
159 return new Socket(proxy);
166 s = new Socket(Proxy.NO_PROXY)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
X509ExtendedKeyManagerTest.java 20 import java.net.Socket;
41 * @see javax.net.ssl.X509KeyManager#chooseClientAlias(java.lang.String[], java.security.Principal[], java.net.Socket)
43 public String chooseClientAlias(String[] arg0, Principal[] arg1, Socket arg2) {
49 * @see javax.net.ssl.X509KeyManager#chooseServerAlias(java.lang.String, java.security.Principal[], java.net.Socket)
51 public String chooseServerAlias(String arg0, Principal[] arg1, Socket arg2) {
130 * java.security.Principal[], java.net.Socket)
133 Socket socket) {
139 * java.security.Principal[], java.net.Socket)
142 Socket socket)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
SocketFactoryTest.java 28 import java.net.Socket;
45 Socket s = sf.createSocket();
63 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport);
65 assertTrue("Failed to create socket", s.getPort() == sport);
100 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport);
102 assertTrue("Failed to create socket", s.getPort() == sport);
130 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport,
133 assertTrue("1: Failed to create socket", s.getPort() == sport);
160 try (Socket s = sf.createSocket(InetAddress.getLocalHost() /* ServerAddress */,
169 try (Socket s = sf.createSocket(InetAddress.getLocalHost() /* ServerAddress */
    [all...]
  /external/okhttp/okio/okio/src/test/java/okio/
SocketTimeoutTest.java 23 import java.net.Socket;
33 // The size of the socket buffers to use. Less than half the data transferred during tests to
39 Socket socket = socket(ONE_MB, 0); local
40 BufferedSource source = Okio.buffer(Okio.source(socket));
43 socket.close();
47 Socket socket = socket(0, 0) local
59 Socket socket = socket(0, ONE_MB); local
69 Socket socket = socket(0, 0); local
92 static Socket socket(final int readableByteCount, final int writableByteCount) throws IOException { method in class:SocketTimeoutTest
117 Socket socket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); local
    [all...]
  /system/core/fastboot/
tcp.cpp 59 static std::unique_ptr<TcpTransport> NewTransport(std::unique_ptr<Socket> socket,
69 explicit TcpTransport(std::unique_ptr<Socket> sock) : socket_(std::move(sock)) {}
75 std::unique_ptr<Socket> socket_;
81 std::unique_ptr<TcpTransport> TcpTransport::NewTransport(std::unique_ptr<Socket> socket,
83 std::unique_ptr<TcpTransport> transport(new TcpTransport(std::move(socket)));
98 Socket::GetErrorMessage().c_str());
107 Socket::GetErrorMessage().c_str());
182 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error)
    [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();
ConcurrentCloseTest.java 26 import java.net.Socket;
38 * Test that Socket.close called on another thread interrupts a thread that's blocked doing
50 Socket s = ss.accept();
53 assertEquals("Socket closed", expected.getMessage());
58 Socket s = new Socket();
65 assertEquals("Socket closed", expected.getMessage());
70 Socket s = new Socket();
77 assertEquals("Socket closed", expected.getMessage())
    [all...]
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
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...]

Completed in 1113 milliseconds

1 2 34 5 6 7 8 91011>>