/libcore/luni/src/main/java/java/nio/ |
DatagramChannelImpl.java | 58 private DatagramSocket socket; field in class:DatagramChannelImpl 72 // whether the socket is bound 83 fd = IoBridge.socket(false); 97 * Getting the internal DatagramSocket If we have not the socket, we create 101 synchronized public DatagramSocket socket() { method in class:DatagramChannelImpl 102 if (socket == null) { 103 socket = new DatagramSocketAdapter(new PlainDatagramSocketImpl(fd, localPort), this); 105 return socket; 110 * some or all of the bound state has been left to the OS to decide, or when the Socket handled 114 * if the associated socket (if present) needs to be update [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-dynload/ |
_socket.so | |
/bionic/libc/bionic/ |
recv.cpp | 30 #include <sys/socket.h> 32 ssize_t recv(int socket, void *buf, size_t len, int flags) { 33 return recvfrom(socket, buf, len, flags, NULL, 0);
|
send.cpp | 29 #include <sys/socket.h> 31 ssize_t send(int socket, const void* buf, size_t len, int flags) { 32 return sendto(socket, buf, len, flags, NULL, 0);
|
/developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
SimpleWebServer.java | 31 import java.net.Socket; 89 Log.e(TAG, "Error closing the server socket.", e); 98 Socket socket = mServerSocket.accept(); local 99 handle(socket); 100 socket.close(); 112 * @param socket The client socket. 115 private void handle(Socket socket) throws IOException [all...] |
/developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
SimpleWebServer.java | 31 import java.net.Socket; 89 Log.e(TAG, "Error closing the server socket.", e); 98 Socket socket = mServerSocket.accept(); local 99 handle(socket); 100 socket.close(); 112 * @param socket The client socket. 115 private void handle(Socket socket) throws IOException [all...] |
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
SimpleWebServer.java | 31 import java.net.Socket; 89 Log.e(TAG, "Error closing the server socket.", e); 98 Socket socket = mServerSocket.accept(); local 99 handle(socket); 100 socket.close(); 112 * @param socket The client socket. 115 private void handle(Socket socket) throws IOException [all...] |
/device/asus/flo/sepolicy/ |
mpdecision.te | 16 # Create under /dev/socket/mpdecision 20 # Also support mpdecision creating the /dev/socket/pb socket
|
/device/lge/hammerhead/sepolicy/ |
mpdecision.te | 16 # Create under /dev/socket/mpdecision 20 # Also support mpdecision creating the /dev/socket/pb socket
|
/device/moto/shamu/sepolicy/ |
ims.te | 32 # Allow ims to create and use socket to communicate between ims processes. 33 allow ims self:socket create_socket_perms; 41 # Talks to init via property socket.
|
/external/compiler-rt/test/tsan/ |
fd_socket_connect_norace.cc | 7 #include <sys/socket.h> 15 int c = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 26 int s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
|
fd_socket_norace.cc | 7 #include <sys/socket.h> 16 int c = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 30 int s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/ |
NioEndpoint.java | 57 private SocketChannel socket; field in class:NioEndpoint 62 public NioEndpoint( SelectorKernel kernel, long id, SocketChannel socket ) 65 this.socket = socket; 92 // Note: even though we may be disconnected from the socket.isConnected() 97 throw new KernelException( "Error closing endpoint for socket:" + socket, e ); 108 return String.valueOf(socket.socket().getRemoteSocketAddress()); 113 return socket.isConnected() [all...] |
/external/kernel-headers/original/uapi/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 */
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/socket/ |
StubServerSocketFactory.java | 16 package org.mockftpserver.core.socket;
21 import org.mockftpserver.core.socket.ServerSocketFactory;
45 * @see org.mockftpserver.core.socket.ServerSocketFactory#createServerSocket(int)
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyServer.java | 27 import java.net.Socket; 57 Socket socket = null; local 59 socket = serverSocket.accept(); 61 SSLSocket sslSocket = doSsl(socket); 74 Util.closeQuietly(socket); 77 Util.closeQuietly(socket); 82 private SSLSocket doSsl(Socket socket) throws IOException { 84 socket, socket.getInetAddress().getHostAddress(), socket.getPort(), true) [all...] |
/external/sepolicy/ |
drmserver.te | 29 # /data/app/tlcd_sock socket file. 30 # Clearly, /data/app is the most logical place to create a socket. Not. 35 # Delete old socket file if present.
|
/external/strace/tests/ |
net-yy.test | 3 # Check decoding of ip:port pairs associated with socket descriptors 22 sed -rn "/^$child"' /!d; / socket\(/,$ s/^[0-9]+ +[^ ]+ (.+)/\1/p' "$LOG" > "$LOG"-connect && 23 sed -rn "/^$child"' /d; /SIGCHLD/d; / socket\(/,$ s/^[0-9]+ +[^ ]+ (.+)/\1/p' "$LOG" > "$LOG"-accept ||
|
unix-yy.test | 4 # associated with unix domain socket descriptors. 24 sed -rn "/^$child"' /!d; / socket\(/,$ s/^[0-9]+ +[^ ]+ (.+)/\1/p' "$LOG" > "$LOG"-connect && 25 sed -rn "/^$child"' /d; /SIGCHLD/d; / socket\(/,$ s/^[0-9]+ +[^ ]+ (.+)/\1/p' "$LOG" > "$LOG"-accept ||
|
/external/valgrind/none/tests/ |
fdleak_cmsg.stderr.exp | 4 Open AF_UNIX socket ...: /tmp/sock 7 Open AF_UNIX socket ...: /tmp/sock 34 Open AF_UNIX socket ...: <unknown>
|
/libcore/luni/src/main/java/java/net/ |
DatagramSocketImplFactory.java | 21 * This interface defines a factory for datagram socket implementations. It is 22 * used by the class {@code DatagramSocket} to create a new datagram socket 32 * @return the new datagram socket implementation.
|
SocketUtils.java | 24 * Helps us reuse more of Socket's implementation in SocketChannelImpl.SocketAdapter. 25 * It's not the case that we should set isCreated in the Socket(SocketImpl) constructor; 29 public static void setCreated(Socket s) {
|
/libcore/luni/src/main/native/ |
java_io_FileDescriptor.cpp | 21 #include <sys/socket.h> 25 // If getsockopt succeeds, we know we're dealing with a socket. 26 // This is the cheapest way we know of to test whether an fd is a socket.
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldAndroidDatagramTest.java | 42 DatagramSocket socket; field in class:OldAndroidDatagramTest.Reflector 59 socket.receive(packet); 74 socket.send(packet); 81 socket.close(); 91 socket = new DatagramSocket(port, address); 121 DatagramSocket socket = null; local 131 socket = new DatagramSocket(2345, InetAddress.getLocalHost()); 141 socket.send(packet); 150 socket.receive(packet); 161 if (socket != null) [all...] |
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
SecurityTest.java | 28 BluetoothSocket socket = local 31 socket.connect(); 35 socket.close();
|