Home
last modified time | relevance | path

Searched refs:SOCK_STREAM (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/os/
DFileBridge.java19 import static android.system.OsConstants.SOCK_STREAM;
71 ParcelFileDescriptor[] fds = ParcelFileDescriptor.createSocketPair(SOCK_STREAM); in FileBridge()
DParcelFileDescriptor.java26 import static android.system.OsConstants.SOCK_STREAM;
575 return createSocketPair(SOCK_STREAM); in createSocketPair()
606 return createReliableSocketPair(SOCK_STREAM); in createReliableSocketPair()
/frameworks/native/cmds/bugreportz/
Dmain.cpp92 s = socket_local_client("dumpstate", ANDROID_SOCKET_NAMESPACE_RESERVED, SOCK_STREAM); in main()
/frameworks/rs/
DrsFifoSocket.cpp39 int ret = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, sv); in init()
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java20 import static android.system.OsConstants.SOCK_STREAM;
126 FileDescriptor serverFd = Os.socket(AF_UNIX, SOCK_STREAM, 0); in run()
/frameworks/libs/binary_translation/base/
Dtracing.cc89 hints.ai_socktype = SOCK_STREAM; in TraceToSocket()
/frameworks/native/libs/binder/
DRpcSocketAddress.h94 .ai_socktype = SOCK_STREAM, in getAddrInfo()
DRpcSession.cpp152 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0, socks) < 0) { in setupUnixDomainSocketBootstrapClient()
596 socket(addr.addr()->sa_family, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0))); in setupOneSocketConnection()
DRpcServer.cpp566 socket(addr.addr()->sa_family, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0))); in setupSocketServer()
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel_factory.cpp63 socket_.Reset(socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0)); in Connect()
Dclient_channel_tests.cpp108 0, socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, channel_sockets)); in SetUp()
Dservice_endpoint.cpp154 fd.Reset(socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0));
401 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, channel_pair) == -1) { in CreateChannelSocketPair()
/frameworks/native/libs/binder/tests/rpc_fuzzer/
Dmain.cpp148 unique_fd fd(TEMP_FAILURE_RETRY(socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0))); in LLVMFuzzerTestOneInput()
/frameworks/base/services/core/java/com/android/server/clipboard/
DEmulatorClipboardMonitor.java74 final FileDescriptor fd = Os.socket(OsConstants.AF_VSOCK, OsConstants.SOCK_STREAM, 0); in openPipeImpl()
/frameworks/native/libs/binder/tests/
DbinderRpcTest.cpp151 unique_fd fd(TEMP_FAILURE_RETRY(socket(socket_addr.addr()->sa_family, SOCK_STREAM, AF_UNIX))); in initUnixSocket()
212 TEMP_FAILURE_RETRY(socket(addr.addr()->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0))); in connectTo()
226 if (!binder::Socketpair(SOCK_STREAM, &sockClient, &sockServer)) { in connectToUnixBootstrap()
278 if (!binder::Socketpair(SOCK_STREAM, &bootstrapClientFd, &socketFd)) { in createRpcTestSocketServerProcessEtc()
1158 TEMP_FAILURE_RETRY(socket(AF_VSOCK, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0))); in testSupportVsockLoopback()
1185 TEMP_FAILURE_RETRY(socket(AF_VSOCK, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0))); in testSupportVsockLoopback()
1516 if (!binder::Socketpair(SOCK_STREAM, &bootstrapFdClient, &bootstrapFdServer)) { in setUp()
/frameworks/base/core/jni/
Dandroid_net_LocalSocketImpl.cpp80 SOCK_STREAM); in socket_connect_local()
Dandroid_hardware_camera2_CameraMetadata.cpp467 if (socketpair(AF_LOCAL, SOCK_STREAM, /*protocol*/0, &sv[0]) < 0) { in CameraMetadata_dump()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java41 import static android.system.OsConstants.SOCK_STREAM;
276 FileDescriptor srvSocketFd = Os.socket(AF_INET, SOCK_STREAM, 0); in testCopy_SocketToFile_FileToSocket$noRavenwood()
313 FileDescriptor clientFd = Os.socket(AF_INET, SOCK_STREAM, 0); in testCopy_SocketToFile_FileToSocket$noRavenwood()
/frameworks/native/libs/binder/ndk/tests/
Dlibbinder_ndk_unit_test.cpp1041 EXPECT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, inFd)); in shellCmdToString()
1042 EXPECT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, outFd)); in shellCmdToString()
1043 EXPECT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, errFd)); in shellCmdToString()
/frameworks/base/core/java/android/net/
DLocalSocketImpl.java215 osType = OsConstants.SOCK_STREAM; in create()
/frameworks/av/media/libstagefright/rtsp/fuzzer/
Drtsp_connection_fuzzer.cpp304 mServerFd = socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0); in startServer()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java705 public static final int SOCK_STREAM = placeholder(); field in OsConstants
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp268 mSocket = socket(AF_INET, SOCK_STREAM, 0); in onConnect()
/frameworks/base/ravenwood/runtime-jni/
Dravenwood_os_constants.cpp558 initConstant(env, c, "SOCK_STREAM", SOCK_STREAM); in OsConstants_initConstants()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12