Home
last modified time | relevance | path

Searched refs:CacheToken (Results 1 – 25 of 25) sorted by relevance

/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/
DDevice.h39 using CacheToken = hidl_array<uint8_t, nn::kByteSizeOfCacheToken>; variable
70 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback) override;
74 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token,
78 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback) override;
81 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token,
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DMockDevice.h27 using CacheToken = variable
69 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback),
73 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback),
84 const CacheToken& token, const sp<V1_3::IPreparedModelCallback>& callback),
88 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token,
DDeviceTest.cpp124 const CacheToken& /*token*/, const sp<V1_3::IPreparedModelCallback>& cb) in makePreparedModelReturn()
137 const CacheToken& /*token*/, const sp<V1_3::IPreparedModelCallback>& cb) in makePreparedModelFromCacheReturn() argument
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientDevice.h69 const nn::CacheToken& token) const override;
74 const nn::CacheToken& token) const override;
86 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const;
89 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const;
DInvalidDevice.h56 const nn::CacheToken& token) const override;
61 const nn::CacheToken& token) const override;
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockDevice.h42 const std::vector<SharedHandle>& dataCache, const CacheToken& token),
46 const std::vector<SharedHandle>& dataCache, const CacheToken& token),
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DMockDevice.h27 using CacheToken = variable
69 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback),
73 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback),
DDeviceTest.cpp116 const CacheToken& /*token*/, const sp<V1_2::IPreparedModelCallback>& cb) in makePreparedModelReturn()
128 const CacheToken& /*token*/, const sp<V1_2::IPreparedModelCallback>& cb) in makePreparedModelFromCacheReturn() argument
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DDevice.cpp178 const CacheToken& token, in prepareModel_1_2()
188 const auto nnToken = nn::CacheToken(token); in prepareModel_1_2()
207 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, in prepareModel_1_3()
219 const auto nnToken = nn::CacheToken(token); in prepareModel_1_3()
238 const CacheToken& token, in prepareModelFromCache()
246 const auto nnToken = nn::CacheToken(token); in prepareModelFromCache()
262 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, in prepareModelFromCache_1_3()
271 const auto nnToken = nn::CacheToken(token); in prepareModelFromCache_1_3()
477 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback) { in prepareModel_1_2()
492 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, in prepareModel_1_3()
[all …]
/hardware/interfaces/neuralnetworks/utils/common/src/
DInvalidDevice.cpp87 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/) const { in prepareModel()
93 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/) const { in prepareModelFromCache()
DResilientDevice.cpp182 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModel()
200 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache()
237 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelInternal()
251 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCacheInternal()
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h68 const nn::CacheToken& token) const override;
73 const nn::CacheToken& token) const override;
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h68 const nn::CacheToken& token) const override;
73 const nn::CacheToken& token) const override;
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h70 const nn::CacheToken& token) const override;
75 const nn::CacheToken& token) const override;
DUtils.h38 using V1_2::utils::CacheToken;
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DDevice.cpp190 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModel()
202 const auto hidlToken = V1_2::utils::CacheToken{token}; in prepareModel()
218 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache()
222 const auto hidlToken = V1_2::utils::CacheToken{token}; in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DDevice.h70 const nn::CacheToken& token) const override;
75 const nn::CacheToken& token) const override;
DConversions.h131 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/1.2/utils/src/
DDevice.cpp239 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModel()
249 const auto hidlToken = CacheToken{token}; in prepareModel()
264 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache()
267 const auto hidlToken = CacheToken{token}; in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DDevice.h87 const nn::CacheToken& token) const override;
92 const nn::CacheToken& token) const override;
DUtils.h37 using CacheToken = hidl_array<uint8_t, static_cast<size_t>(Constant::BYTE_SIZE_OF_CACHE_TOKEN)>; variable
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DDevice.cpp146 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/) const { in prepareModel()
166 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/) const { in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DDevice.cpp146 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/) const { in prepareModel()
167 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/) const { in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DDevice.cpp217 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModel()
243 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache()
DConversions.cpp734 nn::GeneralResult<std::vector<uint8_t>> unvalidatedConvert(const nn::CacheToken& cacheToken) { in unvalidatedConvert()
1013 nn::GeneralResult<std::vector<uint8_t>> convert(const nn::CacheToken& cacheToken) { in convert()