Lines Matching refs:dataCache
319 const hidl_vec<hidl_handle>& dataCache, in saveModelToCache() argument
328 modelCache, dataCache, cacheToken, preparedModelCallback); in saveModelToCache()
366 const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache() argument
372 modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache()
430 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
432 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
433 saveModelToCache(model, modelCache, dataCache); in TEST_P()
440 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
442 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
443 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
471 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
473 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
482 for (uint32_t i = 0; i < dataCache.size(); i++) { in TEST_P()
484 … write(dataCache[i].getNativeHandle()->data[0], &sampleBytes, sizeof(sampleBytes)), in TEST_P()
487 saveModelToCache(model, modelCache, dataCache); in TEST_P()
494 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
496 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
503 for (uint32_t i = 0; i < dataCache.size(); i++) { in TEST_P()
504 ASSERT_GE(read(dataCache[i].getNativeHandle()->data[0], &sampleByte, 1), 0); in TEST_P()
506 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
533 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
537 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
540 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
548 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
557 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
562 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
565 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
573 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
582 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
586 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
589 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
597 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
606 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
611 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
614 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
622 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
638 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
640 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
641 saveModelToCache(model, modelCache, dataCache); in TEST_P()
648 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
651 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
653 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
664 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
668 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
670 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
681 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
684 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
686 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
697 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
701 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
703 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
719 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
723 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
726 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
734 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
743 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
748 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
751 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
759 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
768 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
772 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
775 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
783 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
792 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
797 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
800 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
808 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
824 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
826 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
827 saveModelToCache(model, modelCache, dataCache); in TEST_P()
834 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
837 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
839 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
850 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
854 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
856 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
867 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
870 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
872 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
883 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
887 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
889 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
907 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
910 createCacheHandles(mDataCache, dataCacheMode, &dataCache); in TEST_P()
913 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
921 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
930 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
933 createCacheHandles(mDataCache, dataCacheMode, &dataCache); in TEST_P()
936 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
944 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
962 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
964 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
965 saveModelToCache(model, modelCache, dataCache); in TEST_P()
972 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
975 createCacheHandles(mDataCache, dataCacheMode, &dataCache); in TEST_P()
977 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
986 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
989 createCacheHandles(mDataCache, dataCacheMode, &dataCache); in TEST_P()
991 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
1046 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1048 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1049 saveModelToCache(modelMul, modelCache, dataCache); in TEST_P()
1059 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1061 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1065 saveModelToCache(modelAdd, modelCache, dataCache); in TEST_P()
1073 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1075 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1076 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
1108 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1110 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1111 saveModelToCache(modelMul, modelCache, dataCache); in TEST_P()
1121 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1123 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1124 saveModelToCache(modelAdd, modelCache, dataCache); in TEST_P()
1131 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1133 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1137 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
1170 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1172 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1173 saveModelToCache(modelMul, modelCache, dataCache); in TEST_P()
1181 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1183 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1184 saveModelToCache(modelAdd, modelCache, dataCache); in TEST_P()
1194 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1196 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1197 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
1284 hidl_vec<hidl_handle> modelCache, dataCache; in testCorruptedCache() local
1286 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in testCorruptedCache()
1287 saveModelToCache(model, modelCache, dataCache); in testCorruptedCache()
1298 hidl_vec<hidl_handle> modelCache, dataCache; in testCorruptedCache() local
1300 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in testCorruptedCache()
1301 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in testCorruptedCache()