Searched refs:AccessMode (Results 1 – 1 of 1) sorted by relevance
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | CompilationCachingTests.cpp | 96 enum class AccessMode { READ_WRITE, READ_ONLY, WRITE_ONLY }; enum 101 const std::vector<AccessMode>& mode, hidl_vec<hidl_handle>* handles) { in createCacheHandles() 107 if (mode[i] == AccessMode::READ_ONLY) { in createCacheHandles() 109 } else if (mode[i] == AccessMode::WRITE_ONLY) { in createCacheHandles() 111 } else if (mode[i] == AccessMode::READ_WRITE) { in createCacheHandles() 126 void createCacheHandles(const std::vector<std::vector<std::string>>& fileGroups, AccessMode mode, in createCacheHandles() 128 createCacheHandles(fileGroups, std::vector<AccessMode>(fileGroups.size(), mode), handles); in createCacheHandles() 293 createCacheHandles(mModelCache, AccessMode::WRITE_ONLY, &modelHandle); in SetUp() 294 createCacheHandles(mDataCache, AccessMode::WRITE_ONLY, &dataHandle); in SetUp() 295 createCacheHandles({{mTmpCache}}, AccessMode::WRITE_ONLY, &tmpHandle); in SetUp() [all …]
|