HomeSort by relevance Sort by last modified time
    Searched refs:socket (Results 51 - 75 of 3980) sorted by null

1 23 4 5 6 7 8 91011>>

  /system/sepolicy/prebuilts/api/27.0/private/
access_vectors 34 # Define a common prefix for socket access vectors.
37 common socket
51 # socket-specific
233 class socket
234 inherits socket
237 inherits socket
244 inherits socket
250 inherits socket
268 inherits socket
271 inherits socket
    [all...]
  /system/sepolicy/prebuilts/api/28.0/private/
access_vectors 34 # Define a common prefix for socket access vectors.
37 common socket
51 # socket-specific
233 class socket
234 inherits socket
237 inherits socket
244 inherits socket
250 inherits socket
268 inherits socket
271 inherits socket
    [all...]
  /system/sepolicy/private/
access_vectors 34 # Define a common prefix for socket access vectors.
37 common socket
51 # socket-specific
233 class socket
234 inherits socket
237 inherits socket
244 inherits socket
250 inherits socket
268 inherits socket
271 inherits socket
    [all...]
  /external/syslinux/core/fs/pxe/
core.c 19 * Open a socket
21 * @param:socket, the socket to open
25 int core_udp_open(struct pxe_pvt_inode *socket)
27 struct net_private_lwip *priv = &socket->net.lwip;
45 * Close a socket
47 * @param:socket, the socket to open
49 void core_udp_close(struct pxe_pvt_inode *socket)
51 struct net_private_lwip *priv = &socket->net.lwip
289 struct pxe_pvt_inode *socket = PVT(inode); local
311 struct pxe_pvt_inode *socket = PVT(inode); local
    [all...]
tftp.c 22 struct pxe_pvt_inode *socket = PVT(inode); local
23 if (!socket->tftp_goteof) {
26 core_udp_close(socket);
45 struct pxe_pvt_inode *socket = PVT(inode); local
52 core_udp_send(socket, &err_buf, 4 + len + 1);
65 struct pxe_pvt_inode *socket = PVT(inode); local
71 core_udp_send(socket, ack_packet_buf, 4);
88 struct pxe_pvt_inode *socket = PVT(inode); local
102 ack_packet(inode, socket->tftp_lastpkt);
105 buf_len = socket->tftp_blksize + 4
188 struct pxe_pvt_inode *socket = PVT(inode); local
    [all...]
  /external/swiftshader/src/Common/
Socket.cpp 15 #include "Socket.hpp"
28 Socket::Socket(SOCKET socket) : socket(socket)
32 Socket::Socket(const char *address, const char *port)
35 socket = INVALID_SOCKET
    [all...]
  /system/sepolicy/prebuilts/api/26.0/private/
access_vectors 33 # Define a common prefix for socket access vectors.
36 common socket
49 # socket-specific
231 class socket
232 inherits socket
235 inherits socket
242 inherits socket
248 inherits socket
266 inherits socket
269 inherits socket
    [all...]
  /external/autotest/venv/lucifer/cmd/test/
abort_socket.py 5 """Listen on socket until a datagram is received.
15 import socket
29 sock = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
  /external/syslinux/core/include/
net.h 13 int core_udp_open(struct pxe_pvt_inode *socket);
14 void core_udp_close(struct pxe_pvt_inode *socket);
16 void core_udp_connect(struct pxe_pvt_inode *socket,
18 void core_udp_disconnect(struct pxe_pvt_inode *socket);
20 int core_udp_recv(struct pxe_pvt_inode *socket, void *buf, uint16_t *buf_len,
23 void core_udp_send(struct pxe_pvt_inode *socket,
26 void core_udp_sendto(struct pxe_pvt_inode *socket, const void *data, size_t len,
34 int core_tcp_open(struct pxe_pvt_inode *socket);
35 int core_tcp_connect(struct pxe_pvt_inode *socket, uint32_t ip, uint16_t port);
36 bool core_tcp_is_connected(struct pxe_pvt_inode *socket);
    [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/libsysutils/src/
NetlinkListener.cpp 21 #include <sys/socket.h>
25 #include <linux/netlink.h> /* out of order because must follow sys/socket.h */
36 NetlinkListener::NetlinkListener(int socket) :
37 SocketListener(socket, false) {
42 NetlinkListener::NetlinkListener(int socket, int format) :
43 SocketListener(socket, false), mFormat(format) {
48 int socket = cli->getSocket(); local
57 count = TEMP_FAILURE_RETRY(uevent_kernel_recv(socket,
  /external/conscrypt/testing/src/main/java/tests/net/
DelegatingSSLSocketFactory.java 19 import java.net.Socket;
33 * Invoked after obtaining a socket from the delegate and before returning it to the caller.
37 protected SSLSocket configureSocket(SSLSocket socket) throws IOException {
38 return socket;
49 public Socket createSocket() throws IOException {
50 SSLSocket socket = (SSLSocket) mDelegate.createSocket(); local
51 return configureSocket(socket);
54 public Socket createSocket(Socket s, String host, int port, boolean autoClose)
56 SSLSocket socket = (SSLSocket) mDelegate.createSocket(s, host, port, autoClose) local
61 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); local
67 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port, localHost, localPort); local
72 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); local
78 SSLSocket socket = (SSLSocket) mDelegate.createSocket(address, port, localAddress, localPort); local
    [all...]
  /libcore/support/src/test/java/tests/net/
DelegatingSSLSocketFactory.java 21 import java.net.Socket;
40 * Invoked after obtaining a socket from the delegate and before returning it to the caller.
44 protected SSLSocket configureSocket(SSLSocket socket) throws IOException {
45 return socket;
59 public Socket createSocket() throws IOException {
60 SSLSocket socket = (SSLSocket) mDelegate.createSocket(); local
61 return configureSocket(socket);
65 public Socket createSocket(Socket s, String host, int port, boolean autoClose)
67 SSLSocket socket = (SSLSocket) mDelegate.createSocket(s, host, port, autoClose) local
73 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); local
80 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port, localHost, localPort); local
86 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); local
93 SSLSocket socket = (SSLSocket) mDelegate.createSocket(address, port, localAddress, localPort); local
    [all...]
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
Socket.java 28 * Encapsulates a connection with the emulator over a UNIX-domain socket.
30 public class Socket {
31 /** UNIX-domain socket connected with the emulator. */
33 /** Channel name for the connection established via this socket. */
44 * Constructs Socket instance.
46 * @param socket Socket connection with the emulator.
50 public Socket(LocalSocket socket, String name, ByteOrder endian) {
51 mSocket = socket;
99 LocalSocket socket = mSocket; local
116 LocalSocket socket = mSocket; local
153 LocalSocket socket = mSocket; local
182 LocalSocket socket; local
    [all...]
  /external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/output/
TcpConnection.java 15 import java.net.Socket;
24 * Handler for a single socket based remote connection.
30 private final Socket socket; field in class:TcpConnection
38 public TcpConnection(final Socket socket, final RuntimeData data) {
39 this.socket = socket;
45 this.writer = new RemoteControlWriter(socket.getOutputStream());
46 this.reader = new RemoteControlReader(socket.getInputStream())
    [all...]
  /external/webrtc/webrtc/base/
proxyserver.h 38 void OnConnectRequest(AsyncProxyServerSocket* socket,
40 void OnInternalRead(AsyncSocket* socket);
41 void OnInternalWrite(AsyncSocket* socket);
42 void OnInternalClose(AsyncSocket* socket, int err);
43 void OnExternalConnect(AsyncSocket* socket);
44 void OnExternalRead(AsyncSocket* socket);
45 void OnExternalWrite(AsyncSocket* socket);
46 void OnExternalClose(AsyncSocket* socket, int err);
48 static void Read(AsyncSocket* socket, FifoBuffer* buffer);
49 static void Write(AsyncSocket* socket, FifoBuffer* buffer)
    [all...]
socketstream.h 24 explicit SocketStream(AsyncSocket* socket);
27 void Attach(AsyncSocket* socket);
47 void OnConnectEvent(AsyncSocket* socket);
48 void OnReadEvent(AsyncSocket* socket);
49 void OnWriteEvent(AsyncSocket* socket);
50 void OnCloseEvent(AsyncSocket* socket, int err);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
ServerSocketChannelTest.java 25 import java.net.Socket;
117 assertNull(ssc.socket().getLocalSocketAddress());
119 ssc.socket().bind(null);
121 InetSocketAddress localAddress = (InetSocketAddress) ssc.socket().getLocalSocketAddress();
131 portHog.socket().bind(null);
136 ssc.socket().bind(portHog.socket().getLocalSocketAddress());
150 ssc.socket().bind(null);
161 portPickingChannel.socket().bind(null);
163 InetSocketAddress address = (InetSocketAddress) portPickingChannel.socket().getLocalSocketAddress()
184 ServerSocket socket = ssc.socket(); local
211 ServerSocket socket = ssc.socket(); local
470 Socket socket = serverChannel.accept().socket(); local
513 Socket socket = serverChannel.accept().socket(); local
558 Socket socket = serverChannel.accept().socket(); local
580 Socket socket = serverChannel.accept().socket(); local
592 Socket socket; field in class:ServerSocketChannelTest.WriteSocketThread
623 Socket socket = serverChannel.accept().socket(); local
    [all...]
  /frameworks/opt/net/voip/src/jni/rtp/
RtpStream.cpp 22 #include <sys/socket.h>
48 int socket = ::socket(ss.ss_family, SOCK_DGRAM, 0); local
50 if (socket == -1 || bind(socket, (sockaddr *)&ss, sizeof(ss)) != 0 ||
51 getsockname(socket, (sockaddr *)&ss, &len) != 0) {
53 ::close(socket);
61 env->SetIntField(thiz, gSocket, socket);
64 ::close(socket);
66 socket = ::socket(ss.ss_family, SOCK_DGRAM, 0)
91 int socket = env->GetIntField(thiz, gSocket); local
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
ConscryptSocketBase.java 28 import java.net.Socket;
39 * Base class for all (non-wrapping) Conscrypt socket implementations.
42 final Socket socket; field in class:ConscryptSocketBase
81 * to another socket.
86 this.socket = this;
94 this.socket = this;
102 this.socket = this;
111 this.socket = this;
120 this.socket = this
    [all...]
  /external/apache-http/src/org/apache/http/impl/
DefaultHttpClientConnection.java 35 import java.net.Socket;
61 final Socket socket,
63 if (socket == null) {
64 throw new IllegalArgumentException("Socket may not be null");
70 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params));
71 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params));
75 socket.setSoLinger(linger > 0, linger);
77 super.bind(socket, params);
DefaultHttpServerConnection.java 35 import java.net.Socket;
60 public void bind(final Socket socket, final HttpParams params) throws IOException {
61 if (socket == null) {
62 throw new IllegalArgumentException("Socket may not be null");
68 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params));
69 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params));
73 socket.setSoLinger(linger > 0, linger);
75 super.bind(socket, params);
  /external/autotest/client/site_tests/network_WlanHasIP/
network_WlanHasIP.py 9 import fcntl, socket, struct
24 None, since socket.inet_ntoa will fail with IOError.
32 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
34 ipaddress = socket.inet_ntoa(fcntl.ioctl(
  /external/curl/docs/cmdline-opts/
egd-file.d 3 Help: EGD socket path for random data
7 Specify the path name to the Entropy Gathering Daemon socket. The socket is
  /external/apache-http/src/org/apache/http/impl/io/
SocketOutputBuffer.java 35 import java.net.Socket;
41 * {@link Socket} bound session output buffer.
57 final Socket socket,
61 if (socket == null) {
62 throw new IllegalArgumentException("Socket may not be null");
69 init(socket.getOutputStream(), 8192, params);

Completed in 345 milliseconds

1 23 4 5 6 7 8 91011>>