Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DNativeHandle.java38 private FileDescriptor[] mFds; field in NativeHandle
88 mFds = fds.clone(); in NativeHandle()
102 return mFds.length == 1 && mInts.length == 0; in hasSingleFileDescriptor()
112 FileDescriptor[] fds = new FileDescriptor[mFds.length]; in dup()
114 for (int i = 0; i < mFds.length; i++) { in dup()
116 int fdint = Os.fcntlInt(mFds[i], F_DUPFD_CLOEXEC, 0); in dup()
127 if (mFds == null) { in checkOpen()
143 for (FileDescriptor fd : mFds) { in close()
153 mFds = null; in close()
173 return mFds[0]; in getFileDescriptor()
[all …]
/frameworks/av/media/codec2/vndk/internal/
DC2HandleIonInternal.h28 mFds{ bufferFd }, in C2HandleIon()
36 int bufferFd() const { return mFds.mBuffer; } in bufferFd()
45 } mFds; member
56 numFds = sizeof(mFds) / sizeof(int),
/frameworks/av/media/codec2/vndk/include/
DC2SurfaceSyncObj.h153 mFds{fd}, in HandleSyncMem()
160 int memFd() const {return mFds.mMem;} in memFd()
177 } mFds; member
186 numFds = sizeof(mFds) / sizeof(int),
/frameworks/base/core/java/com/android/internal/os/
DTransferPipe.java49 final ParcelFileDescriptor[] mFds; field in TransferPipe
73 mFds = ParcelFileDescriptor.createPipe(); in TransferPipe()
78 return mFds[0]; in getReadFd()
82 return mFds[1]; in getWriteFd()
220 if (mFds[num] != null) { in closeFd()
221 if (DEBUG) Slog.i(TAG, "Closing: " + mFds[num]); in closeFd()
223 mFds[num].close(); in closeFd()
226 mFds[num] = null; in closeFd()
/frameworks/av/media/bufferpool/1.0/vts/
Dallocator.cpp37 mFds{ ashmemFd }, in HandleAshmem()
40 int ashmemFd() const { return mFds.mAshmem; } in ashmemFd()
51 } mFds; member
61 numFds = sizeof(mFds) / sizeof(int),
/frameworks/av/media/bufferpool/2.0/tests/
Dallocator.cpp37 mFds{ ashmemFd }, in HandleAshmem()
40 int ashmemFd() const { return mFds.mAshmem; } in ashmemFd()
51 } mFds; member
61 numFds = sizeof(mFds) / sizeof(int),
/frameworks/av/media/codec2/vndk/
DC2DmaBufAllocator.cpp58 mFds{bufferFd}, in C2HandleBuf()
63 int bufferFd() const { return mFds.mBuffer; } in bufferFd()
71 } mFds; member
82 numFds = sizeof(mFds) / sizeof(int),
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java388 private final ArrayList<RevocableFileDescriptor> mFds = new ArrayList<>(); field in PackageInstallerSession
1472 mFds.add(fd); in doWriteInternal()
1536 mFds.remove(fd); in doWriteInternal()
1634 for (RevocableFileDescriptor fd : mFds) { in assertNoWriteFileTransfersOpenLocked()
4189 for (RevocableFileDescriptor fd : mFds) {
4250 pw.printPair("mFds", mFds.size());