Searched refs:fd1 (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/codec2/sfplugin/ |
D | C2OMXNode.cpp | 68 android::base::unique_fd &&fd1) { in queue() argument 72 std::move(work), fenceFd, std::move(fd0), std::move(fd1)); in queue() 125 uniqueFds.push_back(std::move(queue.workList.front().fd1)); in threadLoop() 170 fd1(std::move(uniqueFd1)) {} in WorkFence() 175 android::base::unique_fd fd1; member 401 android::base::unique_fd fd0, fd1; in emptyBuffer() local 420 fd1.reset(nativeHandle->numFds > 1 ? nativeHandle->data[1] : -1); in emptyBuffer() 425 (void)fd1.release(); in emptyBuffer() 473 mQueueThread->queue(comp, fenceFd, std::move(work), std::move(fd0), std::move(fd1)); in emptyBuffer()
|
/frameworks/base/core/java/android/os/ |
D | ParcelFileDescriptor.java | 540 final FileDescriptor fd1 = new FileDescriptor(); in createSocketPair() local 541 Os.socketpair(AF_UNIX, type | ifAtLeastQ(SOCK_CLOEXEC), 0, fd0, fd1); in createSocketPair() 544 new ParcelFileDescriptor(fd1) }; in createSocketPair() 570 final FileDescriptor fd1 = new FileDescriptor(); in createReliableSocketPair() local 571 Os.socketpair(AF_UNIX, type | ifAtLeastQ(SOCK_CLOEXEC), 0, fd0, fd1); in createReliableSocketPair() 574 new ParcelFileDescriptor(fd1, comm[1]) }; in createReliableSocketPair()
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceServer.java | 175 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/native/services/sensorservice/ |
D | SensorDirectConnection.cpp | 341 int fd1 = mMem.handle->data[0]; in isEquivalent() local 343 ret = (fd1 == fd2); in isEquivalent()
|
/frameworks/native/libs/vr/libpdx/ |
D | serialization_tests.cpp | 703 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()
|