Home
last modified time | relevance | path

Searched refs:sockets (Results 1 – 23 of 23) 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.cpp126 int sockets[2]; in openInputChannelPair() local
127 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sockets)) { in openInputChannelPair()
137 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair()
138 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair()
139 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair()
140 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair()
144 outServerChannel = new InputChannel(serverChannelName, sockets[0]); in openInputChannelPair()
148 outClientChannel = new InputChannel(clientChannelName, sockets[1]); in openInputChannelPair()
/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/training/performance/battery/network/
Dgather-data.jd127 how the APIs that you are using access and manage network sockets. Some networking libraries
/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-intl/intl/zh-cn/guide/topics/providers/
Ddocument-provider.jd852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Ddocument-provider.jd852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/
Ddocument-provider.jd852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/
Ddocument-provider.jd852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/
Ddocument-provider.jd852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
/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-intl/intl/in/guide/topics/providers/
Ddocument-provider.jd852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
/frameworks/base/docs/html/guide/topics/providers/
Ddocument-provider.jd854 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/providers/
Ddocument-provider.jd852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
/frameworks/base/docs/html/guide/topics/text/
Dcopy-paste.jd951 Streams from sockets.
/frameworks/base/docs/html-intl/intl/vi/guide/topics/providers/
Ddocument-provider.jd852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).