/external/quake/quake/src/WinQuake/ |
net_mp.h | 26 int MPATH_CloseSocket (int socket);
27 int MPATH_Connect (int socket, struct qsockaddr *addr);
29 int MPATH_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int MPATH_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
31 int MPATH_Broadcast (int socket, byte *buf, int len);
34 int MPATH_GetSocketAddr (int socket, struct qsockaddr *addr);
|
net_udp.h | 26 int UDP_CloseSocket (int socket); 27 int UDP_Connect (int socket, struct qsockaddr *addr); 29 int UDP_Read (int socket, byte *buf, int len, struct qsockaddr *addr); 30 int UDP_Write (int socket, byte *buf, int len, struct qsockaddr *addr); 31 int UDP_Broadcast (int socket, byte *buf, int len); 34 int UDP_GetSocketAddr (int socket, struct qsockaddr *addr);
|
net_wins.h | 26 int WINS_CloseSocket (int socket);
27 int WINS_Connect (int socket, struct qsockaddr *addr);
29 int WINS_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int WINS_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
31 int WINS_Broadcast (int socket, byte *buf, int len);
34 int WINS_GetSocketAddr (int socket, struct qsockaddr *addr);
|
net_wipx.h | 26 int WIPX_CloseSocket (int socket);
27 int WIPX_Connect (int socket, struct qsockaddr *addr);
29 int WIPX_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
30 int WIPX_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
31 int WIPX_Broadcast (int socket, byte *buf, int len);
34 int WIPX_GetSocketAddr (int socket, struct qsockaddr *addr);
|
/frameworks/base/core/java/android/net/ |
LinkSocketNotifier.java | 32 * If the duplicate socket is accepted, the original will be marked invalid 53 * @param socket the LinkSocket that lost its link 60 public void onLinkLost(LinkSocket socket); 66 * @param socket the LinkSocket for which a new link was not found 73 public void onNewLinkUnavailable(LinkSocket socket); 78 * @param socket the linkSocet for which capabilities have changed 87 public void onCapabilitiesChanged(LinkSocket socket, LinkCapabilities changedCapabilities);
|
/system/core/include/cutils/ |
uevent.h | 21 #include <sys/socket.h> 28 ssize_t uevent_kernel_multicast_recv(int socket, void *buffer, size_t length); 29 ssize_t uevent_kernel_multicast_uid_recv(int socket, void *buffer, size_t length, uid_t *uid);
|
/system/core/include/sysutils/ |
NetlinkListener.h | 36 NetlinkListener(int socket); 37 NetlinkListener(int socket, int format); 39 NetlinkListener(int socket, int format = NETLINK_FORMAT_ASCII);
|
/sdk/emulator/opengl/tests/ut_renderer/ |
ut_renderer.cpp | 31 TcpStream *socket = new TcpStream(); local 33 if (socket->listen(CODEC_SERVER_PORT) < 0) { 38 UnixStream *socket = new UnixStream(); 40 if (socket->listen(CODEC_SERVER_PORT) < 0) { 49 SocketStream *glStream = socket->accept();
|
/system/core/libsysutils/src/ |
NetlinkListener.cpp | 19 #include <sys/socket.h> 34 NetlinkListener::NetlinkListener(int socket) : 35 SocketListener(socket, false) { 40 NetlinkListener::NetlinkListener(int socket, int format) : 41 SocketListener(socket, false), mFormat(format) { 46 int socket = cli->getSocket(); local 51 socket, mBuffer, sizeof(mBuffer), &uid));
|
/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/kernel-headers/original/linux/ |
net.h | 2 * NET An implementation of the SOCKET network access protocol. 22 #include <asm/socket.h> 49 SS_UNCONNECTED, /* unconnected to any socket */ 51 SS_CONNECTED, /* connected to socket */ 68 * enum sock_type - Socket types 69 * @SOCK_STREAM: stream (connection) socket 70 * @SOCK_DGRAM: datagram (conn.less) socket 71 * @SOCK_RAW: raw socket 73 * @SOCK_SEQPACKET: sequential packet socket 74 * @SOCK_DCCP: Datagram Congestion Control Protocol socket 107 struct socket { struct [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLSocketImplTest.java | 24 import java.net.Socket; 68 SSLSocket socket = null; local 72 socket = new SSLSocketImpl(JSSETestData.getSSLParameters()); 73 socket.connect( 75 ((SSLSocketImpl) socket).init(); 76 socket.setUseClientMode(true); 79 final SSLSocket s = socket; 103 socket.close(); 114 if (socket != null) { 116 socket.close() 128 SSLSocket socket = null; local 186 SSLSocket socket = null; local 247 SSLSocket socket = null; local 307 SSLSocket socket = null; local 366 SSLSocket socket = createSSLSocket(); local 383 SSLSocket socket = createSSLSocket(); local 428 SSLSocket socket = createSSLSocket(); local 474 SSLSocket socket = createSSLSocket(); local 492 SSLSocket socket = createSSLSocket(); local 537 SSLSocket socket = createSSLSocket(); local 638 SSLSocket socket = null; local 696 SSLSocket socket = createSSLSocket(); local 717 SSLSocket socket = createSSLSocket(); local 738 SSLSocket socket = createSSLSocket(); local 753 SSLSocket socket = null; local 828 SSLSocket socket = createSSLSocket(); local 858 SSLSocket socket = null; local 917 SSLSocket socket = null; local 973 SSLSocket socket = null; local 1029 SSLSocket socket = null; local 1059 SSLSocket socket = null; local 1089 SSLSocket socket = null; local 1119 SSLSocket socket = null; local 1148 SSLSocket socket = createSSLSocket(); local [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
LocalSocketTest.java | 33 // create client and server socket 95 //close client socket 104 //close server socket 115 LocalSocket socket = new LocalSocket(); local 118 assertFalse(socket.isBound()); 119 socket.bind(addr); 120 assertTrue(socket.isBound()); 121 assertEquals(addr, socket.getLocalSocketAddress()); 123 String str = socket.toString(); 126 socket.setReceiveBufferSize(1999) [all...] |
/frameworks/base/voip/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/apache-http/src/org/apache/http/impl/ |
DefaultHttpClientConnection.java | 35 import java.net.Socket; 56 final Socket socket, 58 if (socket == null) { 59 throw new IllegalArgumentException("Socket may not be null"); 65 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params)); 66 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); 70 socket.setSoLinger(linger > 0, linger); 72 super.bind(socket, params);
|
DefaultHttpServerConnection.java | 35 import java.net.Socket; 55 public void bind(final Socket socket, final HttpParams params) throws IOException { 56 if (socket == null) { 57 throw new IllegalArgumentException("Socket may not be null"); 63 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params)); 64 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); 68 socket.setSoLinger(linger > 0, linger); 70 super.bind(socket, params);
|
/libcore/dalvik/src/main/java/dalvik/system/ |
SocketTagger.java | 20 import java.net.Socket; 24 * Callbacks for socket assignment and reassignment. 37 * thread. The socket is either newly connected or reused from a connection 47 * <p><strong>Note:</strong> this method will not be invoked when the socket 52 public final void tag(Socket socket) throws SocketException { 53 if (!socket.isClosed()) { 54 tag(socket.getFileDescriptor$()); 58 public final void untag(Socket socket) throws SocketException [all...] |
/system/core/rootdir/etc/ |
dbus.conf | 8 <!-- Only allow socket-credentials-based authentication --> 11 <!-- Only listen on a local socket. (abstract=/path/to/socket 15 <listen>unix:path=/dev/socket/dbus</listen> 17 <!-- Allow everything, D-Bus socket is protected by unix filesystem
|
/external/chromium/third_party/libjingle/source/talk/base/ |
ssladapter.h | 39 SSLAdapter(AsyncSocket* socket) 40 : AsyncSocketAdapter(socket), ignore_bad_cert_(false) { } 46 // If StartSSL is called while the socket is closed or connecting, the SSL 47 // negotiation will begin as soon as the socket connects. 51 static SSLAdapter* Create(AsyncSocket* socket);
|
asyncsocket.cc | 38 AsyncSocketAdapter::AsyncSocketAdapter(AsyncSocket* socket) : socket_(NULL) { 39 Attach(socket); 46 void AsyncSocketAdapter::Attach(AsyncSocket* socket) { 48 socket_ = socket;
|
/frameworks/support/v4/ics/android/support/v4/net/ |
TrafficStatsCompatIcs.java | 21 import java.net.Socket; 48 public static void tagSocket(Socket socket) throws SocketException { 49 TrafficStats.tagSocket(socket); 52 public static void untagSocket(Socket socket) throws SocketException { 53 TrafficStats.untagSocket(socket);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/netatalk/ |
at.h | 26 #include <sys/socket.h>
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/netatalk/ |
at.h | 26 #include <sys/socket.h>
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/netatalk/ |
at.h | 26 #include <sys/socket.h>
|
/cts/suite/audio_quality/lib/include/audio/ |
AudioProtocol.h | 74 * @param socket socket to read 79 static bool handleReplyHeader(ClientSocket& socket, uint32_t* data, CommandId& id); 82 AudioProtocol(ClientSocket& socket, uint32_t command) 84 mSocket(socket) {}; 105 CmdDownload(ClientSocket& socket) 106 : AudioProtocol(socket, ECmdDownload) {}; 114 CmdStartPlayback(ClientSocket& socket) 115 : AudioProtocol(socket, ECmdStartPlayback) {}; 122 CmdStopPlayback(ClientSocket& socket) [all...] |