/frameworks/native/libs/sensor/ |
D | BitTube.cpp | 72 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof(rcvbuf)); in init() 73 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof(sndbuf)); in init() 75 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &size, sizeof(size)); in init() 76 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)); in init()
|
/frameworks/base/core/java/android/net/ |
D | LocalSocketImpl.java | 424 StructTimeval timeval = Os.getsockoptTimeval(fd, OsConstants.SOL_SOCKET, in getOption() 432 toReturn = Os.getsockoptInt(fd, OsConstants.SOL_SOCKET, osOpt); in getOption() 436 Os.getsockoptLinger(fd, OsConstants.SOL_SOCKET, OsConstants.SO_LINGER); in getOption() 483 Os.setsockoptLinger(fd, OsConstants.SOL_SOCKET, OsConstants.SO_LINGER, linger); in setOption() 489 Os.setsockoptTimeval(fd, OsConstants.SOL_SOCKET, OsConstants.SO_RCVTIMEO, in setOption() 491 Os.setsockoptTimeval(fd, OsConstants.SOL_SOCKET, OsConstants.SO_SNDTIMEO, in setOption() 498 Os.setsockoptInt(fd, OsConstants.SOL_SOCKET, osOpt, intValue); in setOption()
|
/frameworks/native/libs/gui/ |
D | BitTube.cpp | 51 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof(rcvbuf)); in init() 52 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof(sndbuf)); in init() 54 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &size, sizeof(size)); in init() 55 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)); in init()
|
/frameworks/base/core/java/android/net/util/ |
D | SocketUtils.java | 19 import static android.system.OsConstants.SOL_SOCKET; 54 Os.setsockoptIfreq(socket, SOL_SOCKET, SO_BINDTODEVICE, iface); in bindSocketToInterface()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | NativeCrashListener.java | 21 import static android.system.OsConstants.SOL_SOCKET; 208 Os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, timeout); in consumeNativeCrashData() 209 Os.setsockoptTimeval(fd, SOL_SOCKET, SO_SNDTIMEO, timeout); in consumeNativeCrashData()
|
/frameworks/native/libs/binder/ |
D | OS_unix_base.cpp | 98 cmsg->cmsg_level = SOL_SOCKET; in sendMessageOnSocket() 134 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { in receiveMessageFromSocket()
|
D | RpcSession.cpp | 631 int ret = getsockopt(transportFd.fd.get(), SOL_SOCKET, SO_ERROR, &connErrno, in setupOneSocketConnection()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_ZygoteCommandBuffer.cpp | 360 if (getsockopt(socket, SOL_SOCKET, SO_PEERCRED, &credentials, &cred_size) == -1 in getSocketPeerUid() 424 if (getsockopt(session_socket, SOL_SOCKET, SO_RCVTIMEO, &timeout, &timeout_size) != 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly() 519 if (setsockopt(session_socket, SOL_SOCKET, SO_RCVTIMEO, &timeout, timeout_size) != 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly() 523 if (setsockopt(session_socket, SOL_SOCKET, SO_SNDTIMEO, &timeout, timeout_size) != 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
|
D | android_net_LocalSocketImpl.cpp | 399 err = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds); in socket_get_peer_credentials()
|
/frameworks/native/cmds/bugreportz/ |
D | main.cpp | 109 if (setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) == -1) { in main()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | ipc_helper.cpp | 215 control->cmsg_level = SOL_SOCKET; in Send() 223 control->cmsg_level = SOL_SOCKET; in Send() 313 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_CREDENTIALS && in Receive() 317 } else if (cmsg->cmsg_level == SOL_SOCKET && in Receive()
|
D | service_endpoint.cpp | 414 if (setsockopt(local_socket->Get(), SOL_SOCKET, SO_PASSCRED, &optval, in CreateChannelSocketPair() 776 if (setsockopt(channel_fd.Get(), SOL_SOCKET, SO_PASSCRED, &optval, in RegisterNewChannelForTests()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 618 if (setsockopt(pair[0], SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) { in set() 843 setsockopt(deviceSocket, SOL_SOCKET, SO_RCVBUF, &output, sizeof(output)); in threadLoop() 844 setsockopt(deviceSocket, SOL_SOCKET, SO_SNDBUF, &output, sizeof(output)); in threadLoop()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 371 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair() 372 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair() 373 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair() 374 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize)); in openInputChannelPair()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPConnection.cpp | 134 CHECK_EQ(setsockopt(s, SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)), 0); in bumpSocketBufferSize() 256 setsockopt(*rtpSocket, SOL_SOCKET, SO_REUSEADDR, (int *)&sockopt, sizeof(sockopt)); in MakeRTPSocketPair() 257 setsockopt(*rtcpSocket, SOL_SOCKET, SO_REUSEADDR, (int *)&sockopt, sizeof(sockopt)); in MakeRTPSocketPair()
|
D | ARTPWriter.cpp | 1642 setsockopt(mRTPSocket, SOL_SOCKET, SO_REUSEADDR, (int *)&sockopt, sizeof(sockopt)); in makeSocketPairAndBind() 1643 setsockopt(mRTCPSocket, SOL_SOCKET, SO_REUSEADDR, (int *)&sockopt, sizeof(sockopt)); in makeSocketPairAndBind()
|
D | ARTSPConnection.cpp | 385 CHECK_EQ(getsockopt(mSocket, SOL_SOCKET, SO_ERROR, &err, &optionLen), 0); in onCompleteConnection()
|
/frameworks/av/media/libstagefright/rtsp/fuzzer/ |
D | rtsp_connection_fuzzer.cpp | 312 if (setsockopt(mServerFd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt))) { in startServer()
|
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/ |
D | OsConstants.java | 706 public static final int SOL_SOCKET = placeholder(); field in OsConstants
|
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 378 cmsg->cmsg_level = SOL_SOCKET; in AHardwareBuffer_sendHandleToUnixSocket()
|
/frameworks/base/ravenwood/runtime-jni/ |
D | ravenwood_os_constants.cpp | 559 initConstant(env, c, "SOL_SOCKET", SOL_SOCKET); in OsConstants_initConstants()
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcTest.cpp | 1226 int ret = getsockopt(connectFd.get(), SOL_SOCKET, SO_ERROR, &connectErrno, in testSupportVsockLoopback()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 27970 field public static final int SOL_SOCKET;
|