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

<<11121314151617181920>>

  /packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
NativeLlcpServiceSocket.java 41 LlcpSocket socket = doAccept(mLocalMiu, mLocalRw, mLocalLinearBufferLength); local
42 if (socket == null) throw new IOException();
43 return socket;
  /packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
NativeLlcpServiceSocket.java 41 LlcpSocket socket = doAccept(mLocalMiu, mLocalRw, mLocalLinearBufferLength); local
42 if (socket == null) throw new IOException();
43 return socket;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
udp.h 3 * operating system. INET is implemented using the BSD Socket
29 /* UDP socket options */
31 #define UDP_ENCAP 100 /* Set the socket to accept encapsulated packets */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
udp.h 3 * operating system. INET is implemented using the BSD Socket
29 /* UDP socket options */
31 #define UDP_ENCAP 100 /* Set the socket to accept encapsulated packets */
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/
ws2san.h 96 IN SOCKET s,
104 IN SOCKET s,
110 IN SOCKET s,
120 IN SOCKET s,
127 IN SOCKET s,
142 IN SOCKET s,
175 IN SOCKET s,
184 IN SOCKET s,
191 IN SOCKET s,
202 IN SOCKET s
    [all...]
  /system/core/include/sysutils/
NetlinkListener.h 37 NetlinkListener(int socket);
38 NetlinkListener(int socket, int format);
40 NetlinkListener(int socket, int format = NETLINK_FORMAT_ASCII);
  /system/core/libcutils/
sockets.c 21 /* For the socket trust (credentials) check */
36 ALOGE("could not get socket credentials: %s\n", strerror(errno));
41 ALOGE("untrusted userid on other end of socket: userid %d\n", cr.uid);
socket_local_server.c 36 #include <sys/socket.h>
46 /* Only the bottom bits are really the socket type; there are flags too. */
50 * Binds a pre-created socket(AF_LOCAL) 's' to 'name'
91 /** Open a server-side UNIX domain datagram socket in the Linux non-filesystem
102 s = socket(AF_LOCAL, type, 0);
  /system/extras/tests/net_test/
csocket.py 15 """Python wrapper for C socket calls and data structures."""
20 import socket namespace
50 raise socket.error(errno, os.strerror(errno))
55 family = socket.AF_INET6
60 addr = socket.inet_pton(family, addr)
61 return SockaddrIn6((family, socket.ntohs(port), socket.ntohl(flowinfo),
64 family = socket.AF_INET
66 addr = socket.inet_pton(family, addr)
67 return SockaddrIn((family, socket.ntohs(port), addr)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ssl.py 7 import socket namespace
40 ssl.sslwrap_simple(socket.socket(socket.AF_INET))
47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock)
67 s = socket.socket(socket.AF_INET
    [all...]
test_ftplib.py 9 import socket namespace
102 s = socket.create_connection((ip, port), timeout=10)
107 sock = socket.socket()
108 sock.bind((self.socket.getsockname()[0], 0))
121 s = socket.create_connection((ip, port), timeout=10)
126 sock = socket.socket(socket.AF_INET6)
127 sock.bind((self.socket.getsockname()[0], 0)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ssl.py 7 import socket namespace
40 ssl.sslwrap_simple(socket.socket(socket.AF_INET))
47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock)
67 s = socket.socket(socket.AF_INET
    [all...]
test_ftplib.py 9 import socket namespace
102 s = socket.create_connection((ip, port), timeout=10)
107 sock = socket.socket()
108 sock.bind((self.socket.getsockname()[0], 0))
121 s = socket.create_connection((ip, port), timeout=10)
126 sock = socket.socket(socket.AF_INET6)
127 sock.bind((self.socket.getsockname()[0], 0)
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothSocket.java 38 * A connected or connecting Bluetooth socket.
41 * {@link java.net.Socket} and {@link java.net.ServerSocket}. On the server
43 * socket. When a connection is accepted by the {@link BluetoothServerSocket},
48 * <p>The most common type of Bluetooth socket is RFCOMM, which is the type
62 * <p>Once the socket is connected, whether initiated as a client or accepted
66 * automatically connected to the socket.
70 * operations and close the socket.
94 /** RFCOMM socket */
97 /** SCO socket */
100 /** L2CAP 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);
131 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport,
134 assertTrue("1: Failed to create socket", s.getPort() == sport);
177 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport,
180 assertTrue("1: Failed to create socket", s.getPort() == sport)
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
KeyManagerImplTest.java 22 import java.net.Socket;
39 String al = km.chooseClientAlias(keyType, null, new Socket());
48 al = km.chooseServerAlias("RSA", null, new Socket());
66 String al = km.chooseClientAlias(keyType, null, new Socket());
75 al = km.chooseServerAlias("RSA", null, new Socket());
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockWebServer.java 32 import java.net.Socket;
85 private final Map<Socket, Boolean> openClientSockets = new ConcurrentHashMap<Socket, Boolean>();
213 // The acceptExecutor handles the Socket.accept() and hands each request off to the
239 logger.log(Level.WARNING, "MockWebServer server socket close failed", e);
241 for (Iterator<Socket> s = openClientSockets.keySet().iterator(); s.hasNext(); ) {
246 logger.log(Level.WARNING, "MockWebServer socket close failed", e);
263 Socket socket;
265 socket = serverSocket.accept()
410 SSLSocket socket = (SSLSocket) sslSocketFactory.createSocket( local
    [all...]
  /external/sepolicy/
bluetooth.te 10 # Socket creation under /data/misc/bluedroid.
21 # SELinux does not presently define a specific socket class for
26 allow bluetoothdomain self:socket create_socket_perms;
33 # Allow clients to use a socket provided by the bluetooth app.
56 # Bluetooth Sim Access Profile Socket to the RIL
  /external/vogar/src/vogar/monitor/
TargetMonitor.java 24 import java.net.Socket;
54 final Socket socket = serverSocket.accept(); local
55 return new TargetMonitor(new PrintStream(socket.getOutputStream())) {
57 socket.close();
  /development/samples/USB/AdbTest/src/com/android/adb/
AdbDevice.java 118 AdbSocket socket; local
121 socket = new AdbSocket(this, id);
122 mSockets.put(id, socket);
124 if (socket.open(destination)) {
125 return socket;
137 public void socketClosed(AdbSocket socket) {
139 mSockets.remove(socket.getId());
178 AdbSocket socket = getSocket(message.getArg1()); local
179 if (socket == null) {
180 log("ERROR socket not found")
    [all...]
  /external/opencv/
README.rdoc 13 For those of you running on the emulator, I built a very simple Socket-based Camera server that will send images over a socket connection. This uses the QuickTime libraries which are present by default on Mac OS X, but I haven't tested on other OSes. If it doesn't work for you, you can always try the original WebcamBroadcaster I derived mine from which uses the JMF (which doesn't work with Mac OS X, hence the QTWebcamBroadcaster):
37 <b>NOTE:</b> If you plan to use the Socket Camera, you will need to build and run the [OPENCV_ANDROID_ROOT]/tests/QTWebcamBroadcaster first. Also, if you use Eclipse to develop Android, there are already projects defined for both of these applications. You can simply import them into your workspace.
53 Using the emulator there are two slightly different 'flavors' of running. Both are socket based cameras, but one is written in C++ and emulates a real OpenCV Capture while the other (loosely) emulates a camera implementation in Java. The C++ version is the default as it is slightly faster and takes a little less memory. Also, the ultimate goal is to hook up with a real camera in C++ so that we don't have to pass huge amounts of data (images) back and forth through the JNI interface.
55 <b>NOTE:</b> For all of these examples you cannot use localhost or 127.0.0.1 as your address for the socket camera. The reason is because when the client is running on the Android emulator, both of these map to Android's localhost, not the machine you are running the emulator on. This means you have to be connected to a network in order to use the socket camera, a limitation.
61 * Start the WebcamBroadcaster - this is a socket server that grabs images from your camera and serves them up
63 * Once the application comes up, you will have to configure for your machine address and port for the socket camera to work.
69 To use Java, you have to make a small code change. Eventually we will make this a configurable option without having to make a code change. The reason is because when we send data over a socket from Java to Java it is faster to send serialized buffered images. However, when we send data to C++, we have to send a raw byte array.
72 * Start the WebcamBroadcaster - this is a socket server that grabs images from your camera and serves them u
    [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...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
reduction.py 2 # Module to allow connection and socket objects to be transferred
40 import socket namespace
178 # Register `socket.socket` with `ForkingPickler`
182 s = socket.fromfd(fd, family, type_, proto)
183 if s.__class__ is not socket.socket:
184 s = socket.socket(_sock=s)
197 ForkingPickler.register(socket.socket, reduce_socket
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
reduction.py 2 # Module to allow connection and socket objects to be transferred
40 import socket namespace
178 # Register `socket.socket` with `ForkingPickler`
182 s = socket.fromfd(fd, family, type_, proto)
183 if s.__class__ is not socket.socket:
184 s = socket.socket(_sock=s)
197 ForkingPickler.register(socket.socket, reduce_socket
    [all...]
  /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 404 milliseconds

<<11121314151617181920>>