Searched refs:cacheToken (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Conversions.h | 131 nn::GeneralResult<std::vector<uint8_t>> unvalidatedConvert(const nn::CacheToken& cacheToken); 167 nn::GeneralResult<std::vector<uint8_t>> convert(const nn::CacheToken& cacheToken);
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | CompilationCachingTests.cpp | 325 std::vector<uint8_t> cacheToken(std::begin(mToken), std::end(mToken)); in saveModelToCache() local 328 modelCache, dataCache, cacheToken, preparedModelCallback); in saveModelToCache() 376 std::vector<uint8_t> cacheToken(std::begin(mToken), std::end(mToken)); in prepareModelFromCache() local 378 kNoDeadline, modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache() 394 kNoDeadline, modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Conversions.cpp | 734 nn::GeneralResult<std::vector<uint8_t>> unvalidatedConvert(const nn::CacheToken& cacheToken) { in unvalidatedConvert() argument 735 return std::vector<uint8_t>(cacheToken.begin(), cacheToken.end()); in unvalidatedConvert() 1013 nn::GeneralResult<std::vector<uint8_t>> convert(const nn::CacheToken& cacheToken) { in convert() argument 1014 return validatedConvert(cacheToken); in convert()
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | CompilationCachingTests.cpp | 325 hidl_array<uint8_t, sizeof(mToken)> cacheToken(mToken); in saveModelToCache() local 328 modelCache, dataCache, cacheToken, preparedModelCallback); in saveModelToCache() 370 hidl_array<uint8_t, sizeof(mToken)> cacheToken(mToken); in prepareModelFromCache() local 372 modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache()
|