HomeSort by relevance Sort by last modified time
    Searched full:socket (Results 251 - 275 of 4983) sorted by null

<<11121314151617181920>>

  /external/selinux/libsepol/tests/policies/test-deps/
base-metreq.conf 24 class socket
87 # Define a common prefix for socket access vectors.
90 common socket
103 # socket-specific
201 class socket
202 inherits socket
205 inherits socket
213 inherits socket
216 inherits socket
240 inherits socket
    [all...]
base-notmetreq.conf 24 class socket
86 # Define a common prefix for socket access vectors.
89 common socket
102 # socket-specific
200 class socket
201 inherits socket
204 inherits socket
212 inherits socket
215 inherits socket
239 inherits socket
    [all...]
small-base.conf 24 class socket
87 # Define a common prefix for socket access vectors.
90 common socket
103 # socket-specific
201 class socket
202 inherits socket
205 inherits socket
213 inherits socket
216 inherits socket
240 inherits socket
    [all...]
  /external/selinux/libsepol/tests/policies/test-expander/
alias-base.conf 24 class socket
87 # Define a common prefix for socket access vectors.
90 common socket
103 # socket-specific
201 class socket
202 inherits socket
205 inherits socket
213 inherits socket
216 inherits socket
240 inherits socket
    [all...]
role-base.conf 24 class socket
87 # Define a common prefix for socket access vectors.
90 common socket
103 # socket-specific
201 class socket
202 inherits socket
205 inherits socket
213 inherits socket
216 inherits socket
240 inherits socket
    [all...]
user-base.conf 24 class socket
87 # Define a common prefix for socket access vectors.
90 common socket
103 # socket-specific
201 class socket
202 inherits socket
205 inherits socket
213 inherits socket
216 inherits socket
240 inherits socket
    [all...]
  /external/selinux/libsepol/tests/policies/test-hooks/
cmp_policy.conf 24 class socket
87 # Define a common prefix for socket access vectors.
90 common socket
103 # socket-specific
201 class socket
202 inherits socket
205 inherits socket
213 inherits socket
216 inherits socket
240 inherits socket
    [all...]
small-base.conf 24 class socket
87 # Define a common prefix for socket access vectors.
90 common socket
103 # socket-specific
201 class socket
202 inherits socket
205 inherits socket
213 inherits socket
216 inherits socket
240 inherits socket
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
HandshakeCompletedEventTest.java 75 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); local
76 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session);
90 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); local
91 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session);
101 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); local
102 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session);
112 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); local
113 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session);
124 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); local
125 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session)
147 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); local
167 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); local
178 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); local
190 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); local
202 private SSLSocket socket; field in class:HandshakeCompletedEventTest
495 SSLSocket socket = (SSLSocket)sslContext.getSocketFactory().createSocket(); local
    [all...]
  /external/libnfc-nxp/src/
phFriNfc_LlcpTransport.c 86 /* Go through socket list to check if current SAP is in use */
99 /* No socket is using current SAP, proceed with binding */
198 /* Search a socket with the SN */
202 /* Test if the CO socket is in Listen state or the CL socket is bound
364 /* Match service name in socket list */
558 // Store callbacks and socket index, so they can safely be
679 /* Reset all the socket info in the table */
    [all...]
phFriNfc_LlcpTransport_Connection.c 60 /* Test the socket */
65 /* Set socket state to Connected */
75 /* Store the Llcp socket in a local Llcp socket */
78 /* Reset the socket and set the socket state to default */
160 /* Set the socket state to accepted */
185 /* Set the socket in connecting state */
210 /* Set the socket in connecting state */
508 /* Search a socket with the SN *
    [all...]
  /frameworks/base/core/java/android/net/
LocalSocketAddress.java 20 * A UNIX-domain (AF_LOCAL) socket address. For use with
33 /** A socket in the Linux abstract namespace */
36 * A socket in the Android reserved namespace in /dev/socket.
37 * Only the init process may create a socket here.
41 * A socket named with a normal filesystem path.
  /system/bt/test/suite/cases/
rfcomm.c 19 #include <sys/socket.h>
37 TASSERT(len != -1 && len != 0, "Unable to read complete response from socket.");
49 TASSERT(error == BT_STATUS_SUCCESS, "Error creating RFCOMM socket: %d", error);
50 TASSERT(fd != -1, "Error creating RFCOMM socket: invalid fd");
54 TASSERT(read(fd, &channel, sizeof(channel)) == sizeof(channel), "Channel not read from RFCOMM socket.");
55 TASSERT(read(fd, &signal, sizeof(signal)) == sizeof(signal), "Connection signal not read from RFCOMM socket.");
  /system/vold/
NetlinkManager.cpp 21 #include <sys/socket.h>
61 if ((mSock = socket(PF_NETLINK, SOCK_DGRAM | SOCK_CLOEXEC,
63 SLOGE("Unable to create uevent socket: %s", strerror(errno));
68 SLOGE("Unable to set uevent socket SO_RCVBUFFORCE option: %s", strerror(errno));
73 SLOGE("Unable to set uevent socket SO_PASSCRED option: %s", strerror(errno));
78 SLOGE("Unable to bind uevent socket: %s", strerror(errno));
  /external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
MockWebServer.java 42 import java.net.Socket;
108 private final Set<Socket> openClientSockets =
109 Collections.newSetFromMap(new ConcurrentHashMap<Socket, Boolean>());
298 * @param inetAddress the address to create the server socket on
309 * Starts the server and binds to the given socket address.
311 * @param inetSocketAddress the socket address to bind the server on
334 for (Iterator<Socket> s = openClientSockets.iterator(); s.hasNext(); ) {
347 Socket socket;
349 socket = serverSocket.accept()
535 SSLSocket socket = (SSLSocket) sslSocketFactory.createSocket( local
821 private final Socket socket; field in class:MockWebServer.SpdySocketHandler
    [all...]
  /external/deqp/execserver/tools/
xsTest.cpp 69 void sendMessage (de::Socket& socket, const Message& message)
75 // Write to socket.
81 deSocketResult result = socket.send(&buf[pos], numLeft, &numSent);
90 void readBytes (de::Socket& socket, vector<deUint8>& dst, int numBytes)
98 deSocketResult result = socket.receive(&dst[numRead], numLeft, &curNumRead);
107 Message* readMessage (de::Socket& socket)
111 readBytes(socket, header, MESSAGE_HEADER_SIZE)
298 de::Socket socket; local
    [all...]
  /external/skia/experimental/nanomsg/
picture_demo.cpp 40 static void send_picture(int socket, const PictureHeader& header, const SkData& skp) {
53 nn_sendmsg(socket, &msg, 0/*flags*/);
56 static SkPicture* recv_picture(int socket, PictureHeader* header) {
60 int size = nn_recv(socket, &msg, NN_MSG, 0/*flags*/);
96 int socket = nn_socket(AF_SP, NN_REQ); local
98 // Clients connect a socket to an endpoint.
99 nn_connect(socket, dataEndpoint);
103 send_picture(socket, header, *skp);
107 nn_recv(socket, &ack, sizeof(ack), 0/*flags*/);
132 // Servers bind a socket to an endpoint
    [all...]
  /external/v8/tools/testrunner/server/
presence_handler.py 29 import socket namespace
47 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
104 sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
109 sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/
ServerSocketChannel.java 29 * stream-oriented listening socket. Binding and manipulation of socket options
31 * by calling {@code socket()}. ServerSocketChannels can not be constructed for
32 * an already existing server-socket, nor can a {@link java.net.SocketImpl} be assigned.
34 * A server-socket channel is open but not bound when created by the {@code
51 * Creates an open and unbound server-socket channel.
65 * Gets the valid operations of this channel. Server-socket channels support
78 * Return the server-socket assigned this channel, which does not declare
81 * @return the server-socket assigned to this channel.
83 public abstract ServerSocket socket(); method in class:ServerSocketChannel
    [all...]
  /libcore/luni/src/main/java/java/util/logging/
SocketHandler.java 23 import java.net.Socket;
26 * A handler that writes log messages to a socket connection.
63 // the socket connection
64 private Socket socket; field in class:SocketHandler
103 // Initialize the socket connection and prepare the output stream
125 this.socket = new Socket(host, p);
131 super.internalSetOutputStream(new BufferedOutputStream(this.socket.getOutputStream()));
141 if (this.socket != null)
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketFactoryTest.java 24 import java.net.Socket;
114 public Socket createSocket(Socket s, String host, int port, boolean autoClose) {
119 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
125 public Socket createSocket(InetAddress host, int port) {
130 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) {
135 public Socket createSocket(String host, int port) {
230 Socket s = sf.createSocket(null, null, -1, false);
237 Socket ssl = sf.createSocket(new Socket(), null, -1, false)
    [all...]
  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestKeyManager.java 20 import java.net.Socket;
63 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) {
71 dumpSocket(socket);
73 return dumpAlias(keyManager.chooseClientAlias(keyTypes, issuers, socket));
88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) {
94 dumpSocket(socket);
96 return dumpAlias(keyManager.chooseServerAlias(keyType, issuers, socket));
99 private void dumpSocket(Socket socket)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
winsock.h 277 WINSOCK_API_LINKAGE SOCKET WSAAPI accept(SOCKET s,struct sockaddr *addr,int *addrlen);
278 WINSOCK_API_LINKAGE int WSAAPI bind(SOCKET s,const struct sockaddr *name,int namelen);
279 WINSOCK_API_LINKAGE int WSAAPI closesocket(SOCKET s);
280 WINSOCK_API_LINKAGE int WSAAPI connect(SOCKET s,const struct sockaddr *name,int namelen);
281 WINSOCK_API_LINKAGE int WSAAPI ioctlsocket(SOCKET s,__LONG32 cmd,u_long *argp);
282 WINSOCK_API_LINKAGE int WSAAPI getpeername(SOCKET s,struct sockaddr *name,int *namelen);
283 WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen);
284 WINSOCK_API_LINKAGE int WSAAPI getsockopt(SOCKET s,int level,int optname,char *optval,int *optlen);
291 WINSOCK_API_LINKAGE int WSAAPI listen(SOCKET s,int backlog)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_urllib2net.py 7 import socket namespace
80 # underlying socket
82 # delve deep into response to fetch socket._socketobject
85 self.assertTrue(abused_fileobject.__class__ is socket._fileobject)
89 self.assertTrue(fileobject.__class__ is socket._fileobject)
136 ## if socket.gethostname() == 'bitdiddle':
138 ## elif socket.gethostname() == 'bitdiddle.concentric.net':
226 if isinstance(err[0], socket.timeout):
236 except socket.timeout:
255 self.assertTrue(socket.getdefaulttimeout() is None
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_urllib2net.py 7 import socket namespace
80 # underlying socket
82 # delve deep into response to fetch socket._socketobject
85 self.assertTrue(abused_fileobject.__class__ is socket._fileobject)
89 self.assertTrue(fileobject.__class__ is socket._fileobject)
136 ## if socket.gethostname() == 'bitdiddle':
138 ## elif socket.gethostname() == 'bitdiddle.concentric.net':
226 if isinstance(err[0], socket.timeout):
236 except socket.timeout:
255 self.assertTrue(socket.getdefaulttimeout() is None
    [all...]

Completed in 807 milliseconds

<<11121314151617181920>>