Lines Matching refs:AccessMode
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()
477 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
478 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
487 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
488 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
518 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
519 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
541 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
542 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
582 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
583 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
609 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
610 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
635 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
636 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
662 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
663 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
692 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
693 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
703 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
704 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
720 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
721 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
736 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
737 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
753 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
754 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
774 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
775 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
801 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
802 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
827 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
828 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
854 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
855 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
884 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
885 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
895 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
896 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
912 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
913 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
928 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
929 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
945 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
946 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
960 std::vector<AccessMode> modelCacheMode(mNumModelCache, AccessMode::READ_WRITE); in TEST_P()
961 std::vector<AccessMode> dataCacheMode(mNumDataCache, AccessMode::READ_WRITE); in TEST_P()
966 modelCacheMode[i] = AccessMode::READ_ONLY; in TEST_P()
969 modelCacheMode[i] = AccessMode::READ_WRITE; in TEST_P()
991 dataCacheMode[i] = AccessMode::READ_ONLY; in TEST_P()
994 dataCacheMode[i] = AccessMode::READ_WRITE; in TEST_P()
1018 std::vector<AccessMode> modelCacheMode(mNumModelCache, AccessMode::READ_WRITE); in TEST_P()
1019 std::vector<AccessMode> dataCacheMode(mNumDataCache, AccessMode::READ_WRITE); in TEST_P()
1024 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
1025 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1034 modelCacheMode[i] = AccessMode::WRITE_ONLY; in TEST_P()
1037 modelCacheMode[i] = AccessMode::READ_WRITE; in TEST_P()
1048 dataCacheMode[i] = AccessMode::WRITE_ONLY; in TEST_P()
1051 dataCacheMode[i] = AccessMode::READ_WRITE; in TEST_P()
1106 createCacheHandles(modelCacheMul, AccessMode::READ_WRITE, &modelCache); in TEST_P()
1107 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1119 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
1120 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1133 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
1134 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1169 createCacheHandles(modelCacheMul, AccessMode::READ_WRITE, &modelCache); in TEST_P()
1170 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1182 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
1183 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1192 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
1193 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1232 createCacheHandles(modelCacheMul, AccessMode::READ_WRITE, &modelCache); in TEST_P()
1233 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1243 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
1244 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1256 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P()
1257 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1330 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in testCorruptedCache()
1331 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in testCorruptedCache()
1344 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in testCorruptedCache()
1345 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in testCorruptedCache()