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

<<21222324252627282930>>

  /libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
X509KeyManagerImpl.java 12 import java.net.Socket;
140 public String chooseClientAlias(String[] as, Principal[] aprincipal, Socket socket) {
147 if (socket == null) {
184 public String chooseServerAlias(String as, Principal[] aprincipal, Socket socket) {
190 if (as.equals(server) && socket != null) {
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
SapSocketTest.java 86 socket sap_uim_socket1 stream 666 root bluetooth
88 Ensure the socket is present in /dev/socket:
112 * Precondition: Add the sap_uim_socket1 to rild in init.rc: socket
115 * Ensure the socket is present in /dev/socket: srw-rw-rw- root bluetooth
166 assertTrue("Failed to connect to the socket " + SOCKET_NAME_RIL_BT + ":" + e, false);
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepServer.java 101 ConnectionThread(LlcpSocket socket, int fragmentLength) {
103 mSock = socket;
104 mMessager = new SnepMessenger(false, socket, fragmentLength);
185 if (DBG) Log.d(TAG, "about create LLCP service socket");
192 if (DBG) Log.d(TAG, "failed to create LLCP service socket");
195 if (DBG) Log.d(TAG, "created LLCP service socket");
207 if (DBG) Log.d(TAG, "Server socket shut down.");
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_kqueue.py 4 import socket namespace
85 serverSocket = socket.socket()
88 client = socket.socket()
92 except socket.error, e:
169 a, b = socket.socketpair()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
netcontext.py 19 import socket namespace
116 The IP version for the nodecon (socket.AF_INET or
117 socket.AF_INET6).
136 _proto_to_text = {socket.IPPROTO_TCP: 'tcp',
137 socket.IPPROTO_UDP: 'udp'}
151 The protocol number for the portcon (socket.IPPROTO_TCP
152 or socket.IPPROTO_UDP).
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/setools/policyrep/
netcontext.py 19 import socket namespace
116 The IP version for the nodecon (socket.AF_INET or
117 socket.AF_INET6).
136 _proto_to_text = {socket.IPPROTO_TCP: 'tcp',
137 socket.IPPROTO_UDP: 'udp'}
151 The protocol number for the portcon (socket.IPPROTO_TCP
152 or socket.IPPROTO_UDP).
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_kqueue.py 4 import socket namespace
85 serverSocket = socket.socket()
88 client = socket.socket()
92 except socket.error, e:
169 a, b = socket.socketpair()
  /external/jetty/src/java/org/eclipse/jetty/util/ssl/
AliasedX509KeyManager.java 21 import java.net.Socket;
55 * @see javax.net.ssl.X509KeyManager#chooseClientAlias(java.lang.String[], java.security.Principal[], java.net.Socket)
57 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)
59 return _keyAlias == null ? _keyManager.chooseClientAlias(keyType, issuers, socket) : _keyAlias;
64 * @see javax.net.ssl.X509KeyManager#chooseServerAlias(java.lang.String, java.security.Principal[], java.net.Socket)
66 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket)
68 return _keyAlias == null ?_keyManager.chooseServerAlias(keyType, issuers, socket) : _keyAlias;
  /frameworks/base/services/core/java/com/android/server/am/
NativeCrashListener.java 36 * Set up a Unix domain socket that debuggerd will connect() to in
51 // Use a short timeout on socket operations and abandon the connection
95 * Daemon thread that accept()s incoming domain socket connections from debuggerd
108 // The file system entity for this socket is created with 0700 perms, owned
119 FileDescriptor serverFd = Os.socket(AF_UNIX, SOCK_STREAM, 0);
130 if (MORE_DEBUG) Slog.v(TAG, "Got debuggerd socket " + peerFd);
132 // Only the superuser is allowed to talk to us over this socket
159 Slog.d(TAG, "Exception closing socket: " + e.getMessage());
166 Slog.e(TAG, "Unable to init native debug socket!", e);
  /system/netd/server/
FwmarkServer.cpp 24 #include <sys/socket.h>
105 // Called after a socket accept(). The kernel would've marked the NetId and necessary
112 // Called before a socket connect() happens. Set an appropriate NetId into the fwmark so
113 // that the socket routes consistently over that network. Do this even if the socket
138 // we set a VPN's NetId into a socket without setting the explicit bit is here, in
139 // ON_CONNECT, but we won't do that if the socket has the protect bit set. If the VPN
177 // with a socket that looks like that of a system proxy but is not (see comments for
180 // In any case, it's appropriate that if the socket has an implicit VPN NetId mark, the
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.ecf.provider.filetransfer.httpclient4_1.0.300.v20130604-1622.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.ecf.provider.filetransfer.httpclient4_1.0.300.v20130604-1622.jar 
  /external/apache-http/android/src/android/net/http/
HttpConnection.java 21 import java.net.Socket;
54 Socket sock = new Socket(mHost.getHostName(), mHost.getPort());
  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
ThreadSafeClientConnManager.java 34 import java.net.Socket;
183 // When using a recycled Socket, we need to re-tag it with any
186 final Socket socket = entry.getConnection().getSocket(); local
187 if (socket != null) {
188 TrafficStats.tagSocket(socket);
191 log.debug("Problem tagging socket.", iox);
218 // When recycling a Socket, we un-tag it to avoid collecting
221 final Socket socket = entry.getConnection().getSocket()
    [all...]
  /external/deqp/execserver/tools/
xsClient.cpp 63 void sendMessage (de::Socket& socket, const Message& message)
69 // Write to socket.
75 deSocketResult result = socket.send(&buf[pos], numLeft, &numSent);
84 void readBytes (de::Socket& socket, vector<deUint8>& dst, int numBytes)
92 deSocketResult result = socket.receive(&dst[numRead], numLeft, &curNumRead);
101 Message* readMessage (de::Socket& socket)
105 readBytes(socket, header, MESSAGE_HEADER_SIZE)
    [all...]
  /external/kernel-headers/original/uapi/asm-mips/asm/
socket.h 29 socket to transmit pending data. */
44 #define SO_DOMAIN 0x1029 /* domain/socket family */
61 /* Socket filtering */
  /external/strace/tests/
netlink_unix_diag.c 6 #include <sys/socket.h>
93 if (socket(PF_LOCAL, SOCK_STREAM, 0) ||
100 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG) != 1)
  /frameworks/native/cmds/bugreport/
bugreport.cpp 19 #include <sys/socket.h>
34 // Socket will not be available until service starts.
57 printf("WARNING: Cannot set socket timeout: %s\n", strerror(errno));
  /libcore/luni/src/main/native/
NetworkUtilities.h 18 #include <sys/socket.h>
28 // you want if you're about to perform an operation on a socket, since all our sockets
38 // for the MCAST_JOIN_GROUP, MCAST_LEAVE_GROUP, and other multicast socket options.
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/psdk_inc/
_fd_types.h 24 SOCKET fd_array[FD_SETSIZE];
31 int WINAPI __WSAFDIsSet(SOCKET,fd_set *);
60 #define FD_ISSET(fd,set) __WSAFDIsSet((SOCKET)(fd),(fd_set *)(set))
  /system/netd/client/
FwmarkClient.cpp 24 #include <sys/socket.h>
30 const sockaddr_un FWMARK_SERVER_PATH = {AF_UNIX, "/dev/socket/fwmarkd"};
48 mChannel = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0);
  /dalvik/dx/tests/098-dex-jsr-ret-throw/
expected.txt 40 ViewDebug.java:567@0010: move-object v2:"client"Ljava/net/Socket; <- v11:<nul
49 throws <any>}(java.net.ServerSocket.accept:()Ljava/net/Socket; catch java.io
56 ViewDebug.java:569@0015: move-object v2:"client"Ljava/net/Socket; <- v11:Ljav
57 a/net/Socket;
89 ViewDebug.java:573@0020: move-object v15:Ljava/net/Socket; <- v2:Ljava/net/So
91 ViewDebug.java:573@0021: Rop{invoke-virtual . <- Ljava/net/Socket; call throw
92 s <any>}(java.net.Socket.getInputStream:()Ljava/io/InputStream; catch java.la
93 ng.Object) . <- v15:Ljava/net/Socket;
147 ViewDebug.java:577@003b: move-object v11:Ljava/net/Socket; <- v2:Ljava/net/So
149 ViewDebug.java:577@003c: Rop{invoke-static . <- Ljava/net/Socket; call throw
    [all...]
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/
AbstractFtpServer.java 25 import org.mockftpserver.core.socket.DefaultServerSocketFactory;
26 import org.mockftpserver.core.socket.ServerSocketFactory;
83 // Simple value object that holds the socket and thread for a single session
85 Socket socket; field in class:AbstractFtpServer.SessionInfo
153 Socket clientSocket = serverSocket.accept();
161 sessionInfo.socket = clientSocket;
166 LOG.trace("Socket exception: " + e.toString());
292 * Set the port number to which the server control connection socket will bind. The default value is 21.
301 * Return the port number to which the server control connection socket will bind. The default value is 21.
    [all...]
  /external/sepolicy/
file_contexts 82 /dev/socket(/.*)? u:object_r:socket_device:s0
83 /dev/socket/adbd u:object_r:adbd_socket:s0
84 /dev/socket/sap_uim_socket[0-9] u:object_r:sap_uim_socket:s0
85 /dev/socket/cryptd u:object_r:vold_socket:s0
86 /dev/socket/dnsproxyd u:object_r:dnsproxyd_socket:s0
87 /dev/socket/dumpstate u:object_r:dumpstate_socket:s0
88 /dev/socket/fwmarkd u:object_r:fwmarkd_socket:s0
89 /dev/socket/gps u:object_r:gps_socket:s0
90 /dev/socket/installd u:object_r:installd_socket:s0
91 /dev/socket/lmkd u:object_r:lmkd_socket:s
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppTransfer.java 63 import java.net.Socket;
352 * 3.2) Try a few seconds to connect to target socket
517 /* create a TCP socket */
519 super("Socket Connect Thread");
526 /* create a Rfcomm Socket */
529 super("Socket Connect Thread");
537 /* create a Rfcomm Socket */
540 super("Socket Connect Thread");
554 Log.v(TAG, "Error when close socket");
566 /* Use TCP socket to connect *
    [all...]

Completed in 374 milliseconds

<<21222324252627282930>>