Searched refs:ScopedFileDescriptor (Results 1 – 16 of 16) sorted by relevance
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | CompilationCachingTests.cpp | 76 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 …]
|
D | GeneratedTestHarness.cpp | 646 std::vector<ndk::ScopedFileDescriptor> waitFor; in EvaluatePreparedModel()
|
D | MemoryDomainTests.cpp | 201 ndk::ScopedAStatus executeFenced(const Request&, const std::vector<ndk::ScopedFileDescriptor>&, in executeFenced() argument
|
/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, 54 (int64_t deadline, const std::vector<ndk::ScopedFileDescriptor>& modelCache, 55 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
|
D | MockPreparedModel.h | 38 (const Request& request, const std::vector<ndk::ScopedFileDescriptor>& waitFor,
|
D | DeviceTest.cpp | 118 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()
|
D | PreparedModelTest.cpp | 60 const std::vector<ndk::ScopedFileDescriptor>& /*waitFor*/, in makeFencedExecutionResult() 64 .syncFence = ndk::ScopedFileDescriptor(-1)}; in makeFencedExecutionResult()
|
/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, 57 int64_t deadline, const std::vector<ndk::ScopedFileDescriptor>& modelCache, 58 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
|
D | Conversions.h | 100 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(
|
D | PreparedModel.h | 74 const std::vector<ndk::ScopedFileDescriptor>& waitFor, bool measure,
|
/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() 171 int64_t /*deadline*/, const std::vector<ndk::ScopedFileDescriptor>& /*modelCache*/, in prepareModelFromCache() argument 172 const std::vector<ndk::ScopedFileDescriptor>& /*dataCache*/, in prepareModelFromCache()
|
D | Conversions.cpp | 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() [all …]
|
D | PreparedModel.cpp | 147 const std::vector<ndk::ScopedFileDescriptor>& waitFor, in executeFencedInternal()
|
/hardware/interfaces/common/support/ |
D | test.cpp | 23 using ndk::ScopedFileDescriptor; 55 .fds = std::vector<ScopedFileDescriptor>(2), in makeTestAidlHandle()
|
D | NativeHandle.cpp | 47 to.fds = std::vector<ndk::ScopedFileDescriptor>(handle->numFds); in toAidl()
|