Searched refs:fd1 (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/codec2/sfplugin/ |
D | C2OMXNode.cpp | 69 android::base::unique_fd &&fd1) { in queue() argument 73 std::move(work), fenceFd, std::move(fd0), std::move(fd1)); in queue() 126 uniqueFds.push_back(std::move(queue.workList.front().fd1)); in threadLoop() 171 fd1(std::move(uniqueFd1)) {} in WorkFence() 176 android::base::unique_fd fd1; member 402 android::base::unique_fd fd0, fd1; in emptyBuffer() local 421 fd1.reset(nativeHandle->numFds > 1 ? nativeHandle->data[1] : -1); in emptyBuffer() 426 (void)fd1.release(); in emptyBuffer() 486 mQueueThread->queue(comp, fenceFd, std::move(work), std::move(fd0), std::move(fd1)); in emptyBuffer()
|
/frameworks/libs/net/common/netd/libnetdutils/ |
D | FdTest.cpp | 42 Fd fd1(1); in TEST() local 43 Fd fd2(fd1); in TEST()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_file_test.cpp | 117 const int fd1 = 101; in TEST_F() local 122 UniqueFile uf1(fd1, testFile1); in TEST_F() 133 ASSERT_EQ(fd1, uf2.fd()); in TEST_F() 197 int fd1 = rf1.fd(); in TEST_F() local 207 ASSERT_EQ(fd1, rf2.fd()); in TEST_F()
|
/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 | 340 int fd1 = mMem.handle->data[0]; in isEquivalent() local 342 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()
|