Home
last modified time | relevance | path

Searched refs:ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN (Results 1 – 12 of 12) sorted by relevance

/frameworks/ml/nn/common/
DTokenHasher.cpp34 SHA256_Update(&mHasher, token, ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN) == 0) { in TokenHasher()
50 static_assert(SHA256_DIGEST_LENGTH == ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, in finish()
52 mToken.resize(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN); in finish()
/frameworks/ml/nn/runtime/
DCompilationBuilder.h101 uint8_t mToken[ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN];
DCompilationBuilder.cpp128 std::copy(token, token + ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, mToken); in setCaching()
DVersionedInterfaces.cpp1151 std::string filename(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN * 2 + 1, '0'); in getCacheHandles()
1152 for (uint32_t i = 0; i < ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN; i++) { in getCacheHandles()
1159 cacheFileName[ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN * 2] = '1'; in getCacheHandles()
1164 cacheFileName[ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN * 2] = '2'; in getCacheHandles()
DNeuralNetworks.cpp598 static_assert(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN == 32,
601 ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN,
/frameworks/ml/nn/runtime/test/
DTestPartitioning.cpp2113 tokenOut->resize(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN); in getTransformedCacheTokenSingle()
2114 std::copy(token, token + ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, tokenOut->begin()); in getTransformedCacheTokenSingle()
2228 std::vector<uint8_t> tokenIn(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in TEST_F()
2249 std::vector<uint8_t> tokenIn(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in TEST_F()
2270 std::vector<uint8_t> tokenIn(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in TEST_F()
2293 std::vector<uint8_t> tokenIn(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in TEST_F()
2316 std::vector<uint8_t> tokenIn1(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in TEST_F()
2317 std::vector<uint8_t> tokenIn2(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 1); in TEST_F()
2358 std::vector<uint8_t> tokenIn(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in TEST_F()
2380 std::vector<uint8_t> tokenIn(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in TEST_F()
[all …]
DTestGenerated.cpp337 mToken = std::vector<uint8_t>(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in SetUp()
DTestNeuralNetworksWrapper.h302 if (token.size() != ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN) { in setCaching()
DTestValidation.cpp1100 std::vector<uint8_t> token(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in TEST_F()
1160 std::vector<uint8_t> token(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in TEST_F()
2333 std::vector<uint8_t> token(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in TEST_F()
2373 std::vector<uint8_t> token(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in TEST_F()
/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h5870 enum { ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN = 32 }; enumerator
DNeuralNetworksWrapper.h389 if (token.size() != ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN) { in setCaching()
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t296 enum { ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN = 32 };
1214 * ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN. The user should ensure that