Lines Matching refs:ScopedFileDescriptor
510 GeneralResult<SyncFence> unvalidatedConvert(const ndk::ScopedFileDescriptor& syncFence) { in unvalidatedConvert()
556 GeneralResult<SyncFence> convert(const ndk::ScopedFileDescriptor& syncFence) { in convert()
645 [](const ndk::ScopedFileDescriptor& fd) { return fd.get() >= 0; })) { in aidlHandleFromNativeHandle()
664 .fd = ndk::ScopedFileDescriptor(fd.release()), in unvalidatedConvert()
690 .fd = ndk::ScopedFileDescriptor(fd.release()), in unvalidatedConvert()
995 nn::GeneralResult<ndk::ScopedFileDescriptor> unvalidatedConvert(const nn::SyncFence& syncFence) { in unvalidatedConvert()
997 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in unvalidatedConvert()
1000 nn::GeneralResult<ndk::ScopedFileDescriptor> unvalidatedConvertCache( in unvalidatedConvertCache()
1010 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in unvalidatedConvertCache()
1070 nn::GeneralResult<std::vector<ndk::ScopedFileDescriptor>> convert( in convert()
1076 std::vector<ndk::ScopedFileDescriptor> cacheFds; in convert()
1084 nn::GeneralResult<std::vector<ndk::ScopedFileDescriptor>> convert( in convert()