/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | CompilationCachingTests.cpp | 74 std::vector<ndk::ScopedFileDescriptor>* fds) { in createCacheFds() 95 std::vector<ndk::ScopedFileDescriptor>* fds) { in createCacheFds() 259 std::vector<ndk::ScopedFileDescriptor> modelHandle, dataHandle, tmpHandle; in SetUp() 319 const std::vector<ndk::ScopedFileDescriptor>& modelCache, in saveModelToCache() 320 const std::vector<ndk::ScopedFileDescriptor>& dataCache, in saveModelToCache() 371 void prepareModelFromCache(const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModelFromCache() 372 const std::vector<ndk::ScopedFileDescriptor>& dataCache, in prepareModelFromCache() 419 void verifyModelPreparationBehaviour(const std::vector<ndk::ScopedFileDescriptor>& modelCache, in verifyModelPreparationBehaviour() 420 const std::vector<ndk::ScopedFileDescriptor>& dataCache, in verifyModelPreparationBehaviour() 493 std::vector<ndk::ScopedFileDescriptor> modelCache, dataCache; in TEST_P() [all …]
|
/hardware/interfaces/tetheroffload/aidl/default/ |
D | Offload.h | 38 const ndk::ScopedFileDescriptor& in_fd1, const ndk::ScopedFileDescriptor& in_fd2, 65 ndk::ScopedFileDescriptor mFd1; 66 ndk::ScopedFileDescriptor mFd2;
|
D | Offload.cpp | 58 ndk::ScopedAStatus Offload::initOffload(const ndk::ScopedFileDescriptor& in_fd1, in initOffload() 59 const ndk::ScopedFileDescriptor& in_fd2, in initOffload() 74 mFd1 = ndk::ScopedFileDescriptor(dup(fd1)); in initOffload() 75 mFd2 = ndk::ScopedFileDescriptor(dup(fd2)); in initOffload()
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | MockDevice.h | 48 int64_t deadline, const std::vector<ndk::ScopedFileDescriptor>& modelCache, 49 const std::vector<ndk::ScopedFileDescriptor>& dataCache, 58 (int64_t deadline, const std::vector<ndk::ScopedFileDescriptor>& modelCache, 59 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
|
D | MockPreparedModel.h | 37 (const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor, 46 (const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor,
|
D | MockExecution.h | 34 (const std::vector<ndk::ScopedFileDescriptor>& waitFor, int64_t deadline,
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/ |
D | Device.h | 67 int64_t deadlineNs, const std::vector<ndk::ScopedFileDescriptor>& modelCache, 68 const std::vector<ndk::ScopedFileDescriptor>& dataCache, 72 int64_t deadlineNs, const std::vector<ndk::ScopedFileDescriptor>& modelCache, 73 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
|
D | PreparedModel.h | 49 const std::vector<ndk::ScopedFileDescriptor>& waitFor, 62 const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor,
|
D | Execution.h | 46 ndk::ScopedAStatus executeFenced(const std::vector<ndk::ScopedFileDescriptor>& waitFor,
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | InvalidDevice.h | 52 const std::vector<ndk::ScopedFileDescriptor>& modelCache, 53 const std::vector<ndk::ScopedFileDescriptor>& dataCache, 60 int64_t deadline, const std::vector<ndk::ScopedFileDescriptor>& modelCache, 61 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
|
D | Conversions.h | 103 GeneralResult<SharedHandle> unvalidatedConvert(const ndk::ScopedFileDescriptor& handle); 123 GeneralResult<SharedHandle> convert(const ndk::ScopedFileDescriptor& handle); 139 const std::vector<ndk::ScopedFileDescriptor>& handles); 181 nn::GeneralResult<ndk::ScopedFileDescriptor> unvalidatedConvert(const nn::SyncFence& syncFence); 182 nn::GeneralResult<ndk::ScopedFileDescriptor> unvalidatedConvert(const nn::SharedHandle& handle); 209 nn::GeneralResult<std::vector<ndk::ScopedFileDescriptor>> convert( 211 nn::GeneralResult<std::vector<ndk::ScopedFileDescriptor>> convert(
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Utils.cpp | 30 nn::GeneralResult<ndk::ScopedFileDescriptor> clone(const ndk::ScopedFileDescriptor& fd); 48 nn::GeneralResult<ndk::ScopedFileDescriptor> clone(const ndk::ScopedFileDescriptor& fd) { in clone() 50 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in clone()
|
D | InvalidDevice.cpp | 126 const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModel() 127 const std::vector<ndk::ScopedFileDescriptor>& dataCache, const std::vector<uint8_t>& token, in prepareModel() 197 int64_t /*deadline*/, const std::vector<ndk::ScopedFileDescriptor>& /*modelCache*/, in prepareModelFromCache() argument 198 const std::vector<ndk::ScopedFileDescriptor>& /*dataCache*/, in prepareModelFromCache()
|
D | Conversions.cpp | 533 GeneralResult<SharedHandle> unvalidatedConvert(const ndk::ScopedFileDescriptor& handle) { in unvalidatedConvert() 585 GeneralResult<SharedHandle> convert(const ndk::ScopedFileDescriptor& handle) { in convert() 618 const std::vector<ndk::ScopedFileDescriptor>& handles) { in convert() 653 [](const ndk::ScopedFileDescriptor& fd) { return fd.get() >= 0; })) { in aidlHandleFromNativeHandle() 673 .fd = ndk::ScopedFileDescriptor(fd.release()), in unvalidatedConvert() 699 .fd = ndk::ScopedFileDescriptor(fd.release()), in unvalidatedConvert() 1115 nn::GeneralResult<ndk::ScopedFileDescriptor> unvalidatedConvert(const nn::SyncFence& syncFence) { in unvalidatedConvert() 1117 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in unvalidatedConvert() 1120 nn::GeneralResult<ndk::ScopedFileDescriptor> unvalidatedConvert(const nn::SharedHandle& handle) { in unvalidatedConvert() 1122 return ndk::ScopedFileDescriptor(duplicatedFd.release()); in unvalidatedConvert() [all …]
|
/hardware/interfaces/tetheroffload/aidl/vts/functional/ |
D | VtsHalTetheroffloadTargetTest.cpp | 157 ndk::ScopedFileDescriptor fd1 = ndk::ScopedFileDescriptor(ufd1.release()); in initOffload() 163 ndk::ScopedFileDescriptor fd2 = ndk::ScopedFileDescriptor(ufd2.release()); in initOffload() 201 ndk::ScopedFileDescriptor fd1 = ndk::ScopedFileDescriptor(-1); in TEST_P() 202 ndk::ScopedFileDescriptor fd2 = ndk::ScopedFileDescriptor(-1); in TEST_P() 212 ndk::ScopedFileDescriptor fd1 = ndk::ScopedFileDescriptor(-1); in TEST_P() 217 ndk::ScopedFileDescriptor fd2 = ndk::ScopedFileDescriptor(ufd2.release()); in TEST_P() 231 ndk::ScopedFileDescriptor fd1 = ndk::ScopedFileDescriptor(ufd1.release()); in TEST_P() 232 ndk::ScopedFileDescriptor fd2 = ndk::ScopedFileDescriptor(-1); in TEST_P()
|
/hardware/interfaces/dumpstate/aidl/vts/functional/ |
D | VtsHalDumpstateTargetTest.cpp | 128 std::vector<::ndk::ScopedFileDescriptor> dumpstateFds; // empty file descriptor vector in TEST_P() 142 std::vector<::ndk::ScopedFileDescriptor> dumpstateFds; in TEST_P() 166 std::vector<::ndk::ScopedFileDescriptor> dumpstateFds; in TEST_P() 194 std::vector<::ndk::ScopedFileDescriptor> dumpstateFds; in TEST_P() 212 std::vector<::ndk::ScopedFileDescriptor> dumpstateFds; in TEST_P() 233 std::vector<::ndk::ScopedFileDescriptor> dumpstateFds; in TEST_P()
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/ |
D | PreparedModel.cpp | 85 const std::vector<ndk::ScopedFileDescriptor>& waitFor) { in convertSyncFences() 152 const std::vector<ndk::ScopedFileDescriptor>& waitFor, bool measureTiming, in executeFenced() 169 ndk::ScopedFileDescriptor fileDescriptor; in executeFenced() 172 fileDescriptor = ndk::ScopedFileDescriptor(uniqueFd.release()); in executeFenced() 215 const nn::IExecution& execution, const std::vector<ndk::ScopedFileDescriptor>& waitFor, in executeFenced() 224 ndk::ScopedFileDescriptor fileDescriptor; in executeFenced() 227 fileDescriptor = ndk::ScopedFileDescriptor(uniqueFd.release()); in executeFenced() 259 const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor, in executeFenced() 292 const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor, in executeFencedWithConfig() 357 ndk::ScopedAStatus Execution::executeFenced(const std::vector<ndk::ScopedFileDescriptor>& waitFor, in executeFenced()
|
D | Device.cpp | 164 const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModel() 165 const std::vector<ndk::ScopedFileDescriptor>& dataCache, const std::vector<uint8_t>& token, in prepareModel() 199 const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModelFromCache() 200 const std::vector<ndk::ScopedFileDescriptor>& dataCache, const std::vector<uint8_t>& token, in prepareModelFromCache() 287 const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModel() 288 const std::vector<ndk::ScopedFileDescriptor>& dataCache, in prepareModel() 305 int64_t deadlineNs, const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModelFromCache() 306 const std::vector<ndk::ScopedFileDescriptor>& dataCache, const std::vector<uint8_t>& token, in prepareModelFromCache()
|
/hardware/google/graphics/common/hwc3/impl/ |
D | TranslateHwcAidl.h | 65 inline void translate(const int32_t& fd, ndk::ScopedFileDescriptor& sfd) { in translate() 67 sfd = ndk::ScopedFileDescriptor(fd); in translate() 158 inline void translate(const ndk::ScopedFileDescriptor& in, int32_t& out) { in translate() 160 auto& sfd = const_cast<ndk::ScopedFileDescriptor&>(in); in translate()
|
D | HalImpl.h | 94 ndk::ScopedFileDescriptor* acquireFence) override; 98 int32_t presentDisplay(int64_t display, ndk::ScopedFileDescriptor& fence, 100 std::vector<ndk::ScopedFileDescriptor>* outReleaseFences) override; 113 const ndk::ScopedFileDescriptor& fence, common::Dataspace dataspace, 125 const ndk::ScopedFileDescriptor& acquireFence) override; 160 const ndk::ScopedFileDescriptor& releaseFence) override; 164 const ndk::ScopedFileDescriptor& releaseFence) override;
|
/hardware/google/graphics/common/hwc3/include/ |
D | IComposerHal.h | 166 ndk::ScopedFileDescriptor* aqcuireFence) = 0; 170 virtual int32_t presentDisplay(int64_t display, ndk::ScopedFileDescriptor& fence, 172 std::vector<ndk::ScopedFileDescriptor>* outReleaseFences) = 0; 186 const ndk::ScopedFileDescriptor& fence, 199 const ndk::ScopedFileDescriptor& acquireFence) = 0; 231 const ndk::ScopedFileDescriptor& releaseFence) = 0; 235 const ndk::ScopedFileDescriptor& releaseFence) = 0;
|
/hardware/interfaces/dumpstate/aidl/default/ |
D | Dumpstate.h | 34 ::ndk::ScopedAStatus dumpstateBoard(const std::vector<::ndk::ScopedFileDescriptor>& in_fds,
|
/hardware/interfaces/graphics/composer/aidl/include/android/hardware/graphics/composer3/ |
D | ComposerServiceWriter.h | 81 void setPresentFence(int64_t display, ::ndk::ScopedFileDescriptor presentFence) { in setPresentFence() 93 std::vector<::ndk::ScopedFileDescriptor> releaseFences) { in setReleaseFences()
|
/hardware/interfaces/common/support/ |
D | test.cpp | 23 using ndk::ScopedFileDescriptor; 55 .fds = std::vector<ScopedFileDescriptor>(2), in makeTestAidlHandle()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/ |
D | MockVehicleCallback.cpp | 35 using ::ndk::ScopedFileDescriptor; 44 resultsCopy.sharedMemoryFd = ScopedFileDescriptor(dup(fd)); in storeResults()
|