Searched refs:ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN (Results 1 – 12 of 12) sorted by relevance
/frameworks/ml/nn/common/ |
D | TokenHasher.cpp | 34 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/ |
D | CompilationBuilder.h | 101 uint8_t mToken[ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN];
|
D | CompilationBuilder.cpp | 128 std::copy(token, token + ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, mToken); in setCaching()
|
D | VersionedInterfaces.cpp | 1151 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()
|
D | NeuralNetworks.cpp | 598 static_assert(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN == 32, 601 ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN,
|
/frameworks/ml/nn/runtime/test/ |
D | TestPartitioning.cpp | 2113 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 …]
|
D | TestGenerated.cpp | 337 mToken = std::vector<uint8_t>(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN, 0); in SetUp()
|
D | TestNeuralNetworksWrapper.h | 302 if (token.size() != ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN) { in setCaching()
|
D | TestValidation.cpp | 1100 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/ |
D | NeuralNetworks.h | 5870 enum { ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN = 32 }; enumerator
|
D | NeuralNetworksWrapper.h | 389 if (token.size() != ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN) { in setCaching()
|
/frameworks/ml/nn/tools/api/ |
D | NeuralNetworks.t | 296 enum { ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN = 32 }; 1214 * ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN. The user should ensure that
|