Searched refs:mFds (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | NativeHandle.java | 38 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/ |
D | C2HandleIonInternal.h | 28 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/ |
D | C2SurfaceSyncObj.h | 153 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/ |
D | TransferPipe.java | 49 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/ |
D | allocator.cpp | 37 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/ |
D | allocator.cpp | 37 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/ |
D | C2DmaBufAllocator.cpp | 58 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/ |
D | PackageInstallerSession.java | 388 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());
|