Lines Matching refs:dataCache
322 const hidl_vec<hidl_handle>& dataCache, in saveModelToCache() argument
331 dataCache, cacheToken, preparedModelCallback); in saveModelToCache()
369 const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache() argument
375 {}, modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache()
433 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
435 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
436 saveModelToCache(model, modelCache, dataCache); in TEST_P()
443 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
445 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
446 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
473 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
475 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
484 for (uint32_t i = 0; i < dataCache.size(); i++) { in TEST_P()
486 write(dataCache[i].getNativeHandle()->data[0], &dummyBytes, sizeof(dummyBytes)), in TEST_P()
489 saveModelToCache(model, modelCache, dataCache); in TEST_P()
496 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
498 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
505 for (uint32_t i = 0; i < dataCache.size(); i++) { in TEST_P()
506 ASSERT_GE(read(dataCache[i].getNativeHandle()->data[0], &dummyByte, 1), 0); in TEST_P()
508 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
534 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
538 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
541 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()
572 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
581 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
585 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
588 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
595 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
604 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
609 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
612 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
619 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
635 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
637 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
638 saveModelToCache(model, modelCache, dataCache); in TEST_P()
645 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
648 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
650 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
661 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
665 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
667 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
678 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
681 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
683 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
694 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
698 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
700 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
716 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
720 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
723 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
730 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
739 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
744 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
747 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
754 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
763 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
767 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
770 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
777 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
786 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
791 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
794 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
801 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
817 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
819 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
820 saveModelToCache(model, modelCache, dataCache); in TEST_P()
827 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
830 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
832 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
843 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
847 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
849 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
860 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
863 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
865 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
876 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
880 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
882 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
900 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
903 createCacheHandles(mDataCache, dataCacheMode, &dataCache); in TEST_P()
906 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
913 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
922 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
925 createCacheHandles(mDataCache, dataCacheMode, &dataCache); in TEST_P()
928 saveModelToCache(model, modelCache, dataCache, &preparedModel); in TEST_P()
935 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
953 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
955 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
956 saveModelToCache(model, modelCache, dataCache); in TEST_P()
963 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
966 createCacheHandles(mDataCache, dataCacheMode, &dataCache); in TEST_P()
968 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
977 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
980 createCacheHandles(mDataCache, dataCacheMode, &dataCache); in TEST_P()
982 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
1037 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1039 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1040 saveModelToCache(modelMul, modelCache, dataCache); in TEST_P()
1050 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1052 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1056 saveModelToCache(modelAdd, modelCache, dataCache); in TEST_P()
1064 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1066 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1067 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
1099 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1101 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1102 saveModelToCache(modelMul, modelCache, dataCache); in TEST_P()
1112 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1114 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1115 saveModelToCache(modelAdd, modelCache, dataCache); in TEST_P()
1122 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1124 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1128 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
1161 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1163 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1164 saveModelToCache(modelMul, modelCache, dataCache); in TEST_P()
1172 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1174 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1175 saveModelToCache(modelAdd, modelCache, dataCache); in TEST_P()
1185 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local
1187 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P()
1188 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P()
1275 hidl_vec<hidl_handle> modelCache, dataCache; in testCorruptedCache() local
1277 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in testCorruptedCache()
1278 saveModelToCache(model, modelCache, dataCache); in testCorruptedCache()
1289 hidl_vec<hidl_handle> modelCache, dataCache; in testCorruptedCache() local
1291 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in testCorruptedCache()
1292 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in testCorruptedCache()