Home
last modified time | relevance | path

Searched refs:fd1 (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.cpp63 android::base::unique_fd &&fd1) { in queue() argument
67 std::move(work), fenceFd, std::move(fd0), std::move(fd1)); in queue()
98 uniqueFds.push_back(std::move(queue.workList.front().fd1)); in threadLoop()
138 fd1(std::move(uniqueFd1)) {} in WorkFence()
143 android::base::unique_fd fd1; member
341 android::base::unique_fd fd0, fd1; in emptyBuffer() local
360 fd1.reset(nativeHandle->numFds > 1 ? nativeHandle->data[1] : -1); in emptyBuffer()
365 (void)fd1.release(); in emptyBuffer()
411 mQueueThread->queue(comp, fenceFd, std::move(work), std::move(fd0), std::move(fd1)); in emptyBuffer()
/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_tethering_OffloadHardwareInterface.cpp106 fd1(conntrackSocket(NF_NETLINK_CONNTRACK_NEW | NF_NETLINK_CONNTRACK_DESTROY)), in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload() local
108 if (fd1.get() < 0 || fd2.get() < 0) { in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload()
113 hidl_handle h1(handleFromFileDescriptor(std::move(fd1))), in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java513 final FileDescriptor fd1 = new FileDescriptor(); in createSocketPair() local
514 Os.socketpair(AF_UNIX, type | ifAtLeastQ(SOCK_CLOEXEC), 0, fd0, fd1); in createSocketPair()
517 new ParcelFileDescriptor(fd1) }; in createSocketPair()
543 final FileDescriptor fd1 = new FileDescriptor(); in createReliableSocketPair() local
544 Os.socketpair(AF_UNIX, type | ifAtLeastQ(SOCK_CLOEXEC), 0, fd0, fd1); in createReliableSocketPair()
547 new ParcelFileDescriptor(fd1, comm[1]) }; in createReliableSocketPair()
/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp196 int fd1 = mMem.handle->data[0]; in isEquivalent() local
198 ret = (fd1 == fd2); in isEquivalent()
/frameworks/base/media/java/android/media/midi/
DMidiDeviceServer.java175 final FileDescriptor fd1 = new FileDescriptor(); in createSeqPacketSocketPair() local
176 Os.socketpair(OsConstants.AF_UNIX, OsConstants.SOCK_SEQPACKET, 0, fd0, fd1); in createSeqPacketSocketPair()
177 return new FileDescriptor[] { fd0, fd1 }; in createSeqPacketSocketPair()
/frameworks/base/cmds/incidentd/src/
DIncidentService.cpp578 int fd1 = dup(fd); in dump() local
579 if (fd1 < 0) { in dump()
586 mHandler->scheduleStreamingReport(incidentArgs, NULL, fd1); in dump()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceTest.java593 private boolean fileDescriptorsEqual(FileDescriptor fd1, FileDescriptor fd2) {
595 StructStat fd1Stat = Os.fstat(fd1);
/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp703 LocalHandle fd1; in TEST() local
706 fd1 = LocalHandle(100); in TEST()
707 Serialize(fd1, &result); in TEST()
715 Serialize(std::forward_as_tuple(fd1, fd2), &result); in TEST()
726 fd1.Release(); // Don't try to close fd 100. in TEST()
729 fd1 = LocalHandle(-2); in TEST()
730 Serialize(fd1, &result); in TEST()