Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel_factory.cpp63 socket_.Reset(socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0)); in Connect()
88 remote.sun_family = AF_UNIX; 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));
159 local.sun_family = AF_UNIX;
401 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, channel_pair) == -1) { in CreateChannelSocketPair()
/frameworks/native/libs/binder/tests/rpc_fuzzer/
Dmain.cpp132 .sun_family = AF_UNIX, in LLVMFuzzerTestOneInput()
148 unique_fd fd(TEMP_FAILURE_RETRY(socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0))); in LLVMFuzzerTestOneInput()
/frameworks/native/libs/binder/
DFdUtils.h94 return Socketpair(AF_UNIX, type, 0, left, right); in Socketpair()
DRpcSocketAddress.h41 explicit UnixSocketAddress(const char* path) : mAddr({.sun_family = AF_UNIX}) { in UnixSocketAddress()
DRpcSession.cpp152 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0, socks) < 0) { in setupUnixDomainSocketBootstrapClient()
/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.java19 import static android.system.OsConstants.AF_UNIX;
126 FileDescriptor serverFd = Os.socket(AF_UNIX, SOCK_STREAM, 0); in run()
/frameworks/native/libs/sensor/
DBitTube.cpp70 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sockets) == 0) { in init()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java19 import static android.system.OsConstants.AF_UNIX;
586 Os.socketpair(AF_UNIX, type | ifAtLeastQ(SOCK_CLOEXEC), 0, fd0, fd1); in createSocketPair()
618 Os.socketpair(AF_UNIX, type | ifAtLeastQ(SOCK_CLOEXEC), 0, fd0, fd1); in createReliableSocketPair()
635 Os.socketpair(AF_UNIX, SOCK_SEQPACKET | ifAtLeastQ(SOCK_CLOEXEC), 0, comm1, comm2); in createCommSocketPair()
/frameworks/native/libs/gui/
DBitTube.cpp49 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sockets) == 0) { in init()
/frameworks/native/libs/binder/tests/
DbinderRpcTestService.cpp185 case AF_UNIX: in main()
DbinderLibTest.cpp1997 const bool created = socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sockets.data()) == 0; in onTransact()
DbinderRpcTest.cpp151 unique_fd fd(TEMP_FAILURE_RETRY(socket(socket_addr.addr()->sa_family, SOCK_STREAM, AF_UNIX))); in initUnixSocket()
/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.java224 fd = Os.socket(OsConstants.AF_UNIX, osType, 0); in create()
/frameworks/base/media/java/android/media/midi/
DMidiDeviceServer.java200 Os.socketpair(OsConstants.AF_UNIX, OsConstants.SOCK_SEQPACKET, 0, fd0, fd1); in createSeqPacketSocketPair()
/frameworks/base/core/jni/
Dfd_utils.cpp431 if (addr->sa_family != AF_UNIX) { in GetSocketName()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java135 public static final int AF_UNIX = placeholder(); field in OsConstants
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp599 if (socketpair(AF_UNIX, SOCK_DGRAM, 0, pair)) { in set()
/frameworks/native/libs/input/
DInputTransport.cpp361 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sockets)) { in openInputChannelPair()
/frameworks/base/ravenwood/runtime-jni/
Dravenwood_os_constants.cpp90 initConstant(env, c, "AF_UNIX", AF_UNIX); in OsConstants_initConstants()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt27655 field public static final int AF_UNIX;