/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 | 173 mFds{fd}, in HandleSyncMem() 180 int memFd() const {return mFds.mMem;} in memFd() 197 } mFds; member 206 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/module/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/module/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/native/libs/binder/ |
D | Parcel.cpp | 636 if (otherRpcFields->mFds != nullptr) { in appendFrom() 637 if (rpcFields->mFds == nullptr) { in appendFrom() 638 rpcFields->mFds = std::make_unique<decltype(rpcFields->mFds)::element_type>(); in appendFrom() 640 rpcFields->mFds->reserve(otherRpcFields->mFds->size()); in appendFrom() 666 int oldFd = toRawFd(otherRpcFields->mFds->at(fdIndex)); in appendFrom() 673 rpcFields->mFds->emplace_back(unique_fd(newFd)); in appendFrom() 676 if (status_t status = writeInt32(rpcFields->mFds->size() - 1); status != OK) { in appendFrom() 735 return rpcFields->mFds != nullptr && !rpcFields->mFds->empty(); in hasFileDescriptors() 800 } else if (const auto* rpcFields = maybeRpcFields(); rpcFields && rpcFields->mFds) { in debugReadAllFileDescriptors() 801 for (const auto& fd : *rpcFields->mFds) { in debugReadAllFileDescriptors() [all …]
|
D | RpcState.cpp | 621 std::ref(altPoll), rpcFields->mFds.get()); in transactAddress() 1147 rpcFields->mFds.get()); in processTransactInternal() 1229 if (rpcFields->mFds && !rpcFields->mFds->empty()) { in validateParcel() 1237 if (rpcFields->mFds->size() > kMaxFdsPerMsg) { in validateParcel() 1240 << rpcFields->mFds->size() << " (max is " << kMaxFdsPerMsg << ")"; in validateParcel() 1251 if (rpcFields->mFds->size() > kMaxFdsPerMsg) { in validateParcel() 1254 << rpcFields->mFds->size() << " (max is " << kMaxFdsPerMsg << ")"; in validateParcel()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerHistoricalSession.java | 68 private final int mFds; field in PackageInstallerHistoricalSession 113 this.mFds = fds; in PackageInstallerHistoricalSession() 173 pw.printPair("mFds", mFds); in dump()
|
D | PackageInstallerSession.java | 503 private final ArrayList<RevocableFileDescriptor> mFds = new ArrayList<>(); field in PackageInstallerSession 1266 mStageDirInUse, mDestroyed, mFds.size(), mBridges.size(), mFinalStatus, in createHistoricalSession() 1955 mFds.add(fd); in doWriteInternal() 2023 mFds.remove(fd); in doWriteInternal() 2121 for (RevocableFileDescriptor fd : mFds) { in assertNoWriteFileTransfersOpenLocked() 5352 for (RevocableFileDescriptor fd : mFds) { 5414 pw.printPair("mFds", mFds.size());
|
/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/native/libs/binder/include/binder/ |
D | Parcel.h | 1366 std::unique_ptr<std::vector<std::variant<binder::unique_fd, binder::borrowed_fd>>> mFds;
|
/frameworks/native/include/binder/ |
D | Parcel.h | 1366 std::unique_ptr<std::vector<std::variant<binder::unique_fd, binder::borrowed_fd>>> mFds;
|