Home
last modified time | relevance | path

Searched refs:cacheToken (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DPrepareModelConfig.aidl42 byte[32] cacheToken;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DPrepareModelConfig.aidl42 byte[32] cacheToken;
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DPrepareModelConfig.aidl85 byte[BYTE_SIZE_OF_CACHE_TOKEN] cacheToken;
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h150 nn::GeneralResult<std::vector<uint8_t>> unvalidatedConvert(const nn::CacheToken& cacheToken);
190 nn::GeneralResult<std::vector<uint8_t>> convert(const nn::CacheToken& cacheToken);
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DCompilationCachingTests.cpp327 std::vector<uint8_t> cacheToken(std::begin(mToken), std::end(mToken)); in saveModelToCache() local
330 modelCache, dataCache, cacheToken, preparedModelCallback); in saveModelToCache()
378 std::vector<uint8_t> cacheToken(std::begin(mToken), std::end(mToken)); in prepareModelFromCache() local
380 kNoDeadline, modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache()
396 kNoDeadline, modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp819 nn::GeneralResult<std::vector<uint8_t>> unvalidatedConvert(const nn::CacheToken& cacheToken) { in unvalidatedConvert() argument
820 return std::vector<uint8_t>(cacheToken.begin(), cacheToken.end()); in unvalidatedConvert()
1152 nn::GeneralResult<std::vector<uint8_t>> convert(const nn::CacheToken& cacheToken) { in convert() argument
1153 return validatedConvert(cacheToken); in convert()
DInvalidDevice.cpp192 config.modelCache, config.dataCache, utils::toVec(config.cacheToken), in prepareModelWithConfig()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCompilationCachingTests.cpp325 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()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DCompilationCachingTests.cpp328 hidl_array<uint8_t, sizeof(mToken)> cacheToken(mToken); in saveModelToCache() local
331 dataCache, cacheToken, preparedModelCallback); in saveModelToCache()
373 hidl_array<uint8_t, sizeof(mToken)> cacheToken(mToken); in prepareModelFromCache() local
375 {}, modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DDevice.cpp325 config.modelCache, config.dataCache, utils::toVec(config.cacheToken), in prepareModelWithConfig()