Home
last modified time | relevance | path

Searched refs:ScopedFileDescriptor (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DCompilationCachingTests.cpp76 std::vector<ndk::ScopedFileDescriptor>* fds) { in createCacheFds()
97 std::vector<ndk::ScopedFileDescriptor>* fds) { in createCacheFds()
257 std::vector<ndk::ScopedFileDescriptor> modelHandle, dataHandle, tmpHandle; in SetUp()
317 const std::vector<ndk::ScopedFileDescriptor>& modelCache, in saveModelToCache()
318 const std::vector<ndk::ScopedFileDescriptor>& dataCache, in saveModelToCache()
369 void prepareModelFromCache(const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModelFromCache()
370 const std::vector<ndk::ScopedFileDescriptor>& dataCache, in prepareModelFromCache()
417 void verifyModelPreparationBehaviour(const std::vector<ndk::ScopedFileDescriptor>& modelCache, in verifyModelPreparationBehaviour()
418 const std::vector<ndk::ScopedFileDescriptor>& dataCache, in verifyModelPreparationBehaviour()
491 std::vector<ndk::ScopedFileDescriptor> modelCache, dataCache; in TEST_P()
[all …]
DGeneratedTestHarness.cpp646 std::vector<ndk::ScopedFileDescriptor> waitFor; in EvaluatePreparedModel()
DMemoryDomainTests.cpp201 ndk::ScopedAStatus executeFenced(const Request&, const std::vector<ndk::ScopedFileDescriptor>&, in executeFenced() argument
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DMockDevice.h48 int64_t deadline, const std::vector<ndk::ScopedFileDescriptor>& modelCache,
49 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
54 (int64_t deadline, const std::vector<ndk::ScopedFileDescriptor>& modelCache,
55 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
DMockPreparedModel.h38 (const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor,
DDeviceTest.cpp118 const std::vector<ndk::ScopedFileDescriptor>& /*modelCache*/, in makePreparedModelReturn()
119 const std::vector<ndk::ScopedFileDescriptor>& /*dataCache*/, in makePreparedModelReturn()
130 const std::vector<ndk::ScopedFileDescriptor>& /*modelCache*/, in makePreparedModelFromCacheReturn() argument
131 const std::vector<ndk::ScopedFileDescriptor>& /*dataCache*/, in makePreparedModelFromCacheReturn()
DPreparedModelTest.cpp60 const std::vector<ndk::ScopedFileDescriptor>& /*waitFor*/, in makeFencedExecutionResult()
64 .syncFence = ndk::ScopedFileDescriptor(-1)}; in makeFencedExecutionResult()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DInvalidDevice.h52 const std::vector<ndk::ScopedFileDescriptor>& modelCache,
53 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
57 int64_t deadline, const std::vector<ndk::ScopedFileDescriptor>& modelCache,
58 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
DConversions.h100 GeneralResult<SyncFence> unvalidatedConvert(const ndk::ScopedFileDescriptor& syncFence);
116 GeneralResult<SyncFence> convert(const ndk::ScopedFileDescriptor& syncFence);
162 nn::GeneralResult<ndk::ScopedFileDescriptor> unvalidatedConvert(const nn::SyncFence& syncFence);
164 nn::GeneralResult<ndk::ScopedFileDescriptor> unvalidatedConvertCache(
183 nn::GeneralResult<std::vector<ndk::ScopedFileDescriptor>> convert(
185 nn::GeneralResult<std::vector<ndk::ScopedFileDescriptor>> convert(
DPreparedModel.h74 const std::vector<ndk::ScopedFileDescriptor>& waitFor, bool measure,
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DUtils.cpp30 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()
DInvalidDevice.cpp126 const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModel()
127 const std::vector<ndk::ScopedFileDescriptor>& dataCache, const std::vector<uint8_t>& token, in prepareModel()
171 int64_t /*deadline*/, const std::vector<ndk::ScopedFileDescriptor>& /*modelCache*/, in prepareModelFromCache() argument
172 const std::vector<ndk::ScopedFileDescriptor>& /*dataCache*/, in prepareModelFromCache()
DConversions.cpp510 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()
[all …]
DPreparedModel.cpp147 const std::vector<ndk::ScopedFileDescriptor>& waitFor, in executeFencedInternal()
/hardware/interfaces/common/support/
Dtest.cpp23 using ndk::ScopedFileDescriptor;
55 .fds = std::vector<ScopedFileDescriptor>(2), in makeTestAidlHandle()
DNativeHandle.cpp47 to.fds = std::vector<ndk::ScopedFileDescriptor>(handle->numFds); in toAidl()