Home
last modified time | relevance | path

Searched refs:sockets (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/gui/
DBitTube.cpp71 int sockets[2]; in init() local
72 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sockets) == 0) { in init()
74 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof(rcvbuf)); in init()
75 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof(sndbuf)); in init()
77 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &size, sizeof(size)); in init()
78 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)); in init()
79 fcntl(sockets[0], F_SETFL, O_NONBLOCK); in init()
80 fcntl(sockets[1], F_SETFL, O_NONBLOCK); in init()
81 mReceiveFd = sockets[0]; in init()
82 mSendFd = sockets[1]; in init()
/frameworks/native/libs/input/
DInputTransport.cpp122 int sockets[2]; in openInputChannelPair() local
123 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sockets)) { in openInputChannelPair()
133 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair()
134 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair()
135 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair()
136 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair()
140 outServerChannel = new InputChannel(serverChannelName, sockets[0]); in openInputChannelPair()
144 outClientChannel = new InputChannel(clientChannelName, sockets[1]); in openInputChannelPair()
/frameworks/base/docs/html/tools/debugging/
Dddms.jd222 sockets before use.</p>
239 by manually tagging (and untagging) individual sockets using {@link
249 automatically tag sockets internally based on the active tag (as identified by
251 These APIs correctly tag/untag sockets when recycled through
258 and thus used by the HTTP client to tag sockets. The {@code finally} statement
/frameworks/base/docs/html/training/efficient-downloads/
Defficient-network-access.jd154 …tsTag()} method, followed by manually tagging (and untagging) individual sockets using {@code tagS…
161 …ries automatically tag sockets based on the current {@code getThreadStatsTag()} value. These libra…
/frameworks/base/docs/html/training/basics/network-ops/
Dmanaging.jd92 connectivity exists and if it is possible to establish sockets and pass
162 sockets.</li>
/frameworks/base/docs/html/training/wearables/data-layer/
Dindex.jd90 devices. For instance, don't try to open low-level sockets to create a communication
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dnsd-wifi-direct.jd43 Internet connection, it uses standard Java sockets, and using these in Android
Dwifi-direct.jd41 but it does use standard Java sockets, which require the {@link
Dnsd.jd109 <p>If you're working with sockets, here's how you can initialize a socket to any
/frameworks/base/docs/html/guide/topics/connectivity/
Dwifip2p.jd478 sockets. The basic steps of transferring data are as follows:</p>
601 * Clean up any open sockets when done
/frameworks/base/docs/html/training/articles/
Dsecurity-tips.jd393 or network sockets. This is a special case of leaking permission-protected data,
528 techniques such as network sockets and shared files. We strongly encourage you to instead
/frameworks/base/docs/html/tools/help/
Dadb.jd375 …<p>You can also use adb to set up forwarding to named abstract UNIX domain sockets, as illustrated…
/frameworks/base/docs/html/about/versions/
Dandroid-2.3.jd582 <li>Improved {@link javax.net.ssl} server sockets.</li>
Dandroid-4.0.jd675 to the Internet, communicating to Wi-Fi P2P peers with standard java sockets requires Internet
/frameworks/base/docs/html/guide/topics/providers/
Ddocument-provider.jd854 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
/frameworks/base/docs/html/guide/topics/text/
Dcopy-paste.jd951 Streams from sockets.