/frameworks/native/libs/gui/ |
D | BitTube.cpp | 71 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/ |
D | InputTransport.cpp | 126 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/ |
D | efficient-network-access.jd | 154 …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/ |
D | managing.jd | 92 connectivity exists and if it is possible to establish sockets and pass 162 sockets.</li>
|
/frameworks/base/docs/html/training/wearables/data-layer/ |
D | index.jd | 90 devices. For instance, don't try to open low-level sockets to create a communication
|
/frameworks/base/docs/html/training/connect-devices-wirelessly/ |
D | nsd-wifi-direct.jd | 43 Internet connection, it uses standard Java sockets, and using these in Android
|
D | wifi-direct.jd | 41 but it does use standard Java sockets, which require the {@link
|
D | nsd.jd | 109 <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/ |
D | gather-data.jd | 127 how the APIs that you are using access and manage network sockets. Some networking libraries
|
/frameworks/base/docs/html/guide/topics/connectivity/ |
D | wifip2p.jd | 478 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/ |
D | security-tips.jd | 393 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/ |
D | document-provider.jd | 852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
|
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/ |
D | document-provider.jd | 852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/ |
D | document-provider.jd | 852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
|
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/ |
D | document-provider.jd | 852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
|
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/ |
D | document-provider.jd | 852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.3.jd | 582 <li>Improved {@link javax.net.ssl} server sockets.</li>
|
D | android-4.0.jd | 675 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/ |
D | document-provider.jd | 852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | document-provider.jd | 854 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
|
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/providers/ |
D | document-provider.jd | 852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
|
/frameworks/base/docs/html/guide/topics/text/ |
D | copy-paste.jd | 951 Streams from sockets.
|
/frameworks/base/docs/html-intl/intl/vi/guide/topics/providers/ |
D | document-provider.jd | 852 // be pipes or sockets (see ParcelFileDescriptor for helper methods).
|